Functions | |
| def | getSymSubComponent |
| SUBCOMPONENT. More... | |
| def | mirrorCluster |
| Create a symmetrical cluster. More... | |
| def | isFrozen |
| CONSTRUCTION HISTORY. More... | |
| def | getOperatorFromStack |
| Return an operator of given type from the deformer stack of given geometry. More... | |
| def | getStars |
| POLYMESH. More... | |
| def | mergeWithClusters |
| Merge geometries and keep the clusters. More... | |
| def | splitPolygonIsland |
| Split a geometry into sub island component. More... | |
| def | createIslandsClusters |
| Create an cluster of type clsType for each island. More... | |
| def | getIslands |
| Return a list of subcomponent indexes. More... | |
| def | addClusterCenter |
| Create a null for each given point of the geometry and apply a ClusterCenter op. More... | |
This file is part of GEAR_mc. GEAR_mc is a fork of Jeremie Passerin's GEAR project. GEAR is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl.html>. Author: Jeremie Passerin geerem@hotmail.com www.jeremiepasserin.com Fork Author: Miquel Campos hello@miqueltd.com www.miqueltd.com Date: 2013 / 08 / 16
| def gear.xsi.geometry.addClusterCenter | ( | obj, | |
pnt_index = [] |
|||
| ) |
Create a null for each given point of the geometry and apply a ClusterCenter op.
| obj | Geometry |
| pnt_index | List of Integer - The indexes of the points (None to work on all the points) |
| def gear.xsi.geometry.createIslandsClusters | ( | obj, | |
clsType = c.siPolygonCluster |
|||
| ) |
Create an cluster of type clsType for each island.
| obj | Polymesh |
| def gear.xsi.geometry.getIslands | ( | obj, | |
clsType = c.siPolygonCluster |
|||
| ) |
Return a list of subcomponent indexes.
| obj | Polymesh |
| def gear.xsi.geometry.getOperatorFromStack | ( | obj, | |
| opType, | |||
firstOnly = True |
|||
| ) |
Return an operator of given type from the deformer stack of given geometry.
| obj | Geometry - The geometry to check. |
| opType | String - The type of the operator to find. |
| firstOnly | Boolean - Only return first matching operator. |
| def gear.xsi.geometry.getStars | ( | obj, | |
| count, | |||
equalOrSuperior = False |
|||
| ) |
POLYMESH.
======================================================== Return the indexes of point with a certian number of edges connected to them
| obj | Geometry |
| count | Integer - Number of edges we are looking for |
| equalOrSuperior | - True to also return point with more than the given count |
| def gear.xsi.geometry.getSymSubComponent | ( | indexes, | |
| subcomponentType, | |||
| mesh | |||
| ) |
SUBCOMPONENT.
getSymSubComponent ===================================== get the symmetrical suncomponent indices.
| indexes | List of Integer - List of subcomponent index to mirror. |
| subcomponentType | String - Type of subcomponent. (pntSubComponent, polySubComponent or edgeSubComponent) |
| mesh | Geometry - The owner mesh. |
| def gear.xsi.geometry.isFrozen | ( | obj | ) |
CONSTRUCTION HISTORY.
======================================================== Return True if given geometry has an empty stack of deformers
| Geometry |
| def gear.xsi.geometry.mergeWithClusters | ( | objects | ) |
Merge geometries and keep the clusters.
| objects | List of Polymesh |
| def gear.xsi.geometry.mirrorCluster | ( | cls | ) |
Create a symmetrical cluster.
| cls | Cluster |
| def gear.xsi.geometry.splitPolygonIsland | ( | obj | ) |
Split a geometry into sub island component.
| obj | Polymesh |
1.8.5