gear::xsi::geometry Namespace Reference
Functions |
| def | getSymSubComponent |
| | get the symmetrical suncomponent indices.
|
| def | mirrorCluster |
| | Create a symmetrical cluster.
|
| def | isFrozen |
| | Return True if given geometry has an empty stack of deformers.
|
| def | getOperatorFromStack |
| | Return an operator of given type from the deformer stack of given geometry.
|
| def | getStars |
| | Return the indexes of point with a certian number of edges connected to them.
|
| def | mergeWithClusters |
| | Merge geometries and keep the clusters.
|
| def | splitPolygonIsland |
| | Split a geometry into sub island component.
|
Detailed Description
This file is part of GEAR.
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
Company: Studio Nest (TM)
Date: 2010 / 11 / 15
- Author:
- Jeremie Passerin
Function Documentation
| def gear::xsi::geometry::getSymSubComponent |
( |
|
indexes, |
|
|
|
subcomponentType, |
|
|
|
mesh | |
|
) |
| | |
get the symmetrical suncomponent indices.
- Parameters:
-
| indexes | List of Integer - List of subcomponent index to mirror. |
| subcomponentType | String - Type of subcomponent. (pntSubComponent, polySubComponent or edgeSubComponent) |
| mesh | Geometry - The owner mesh. |
- Returns:
- List of Integer - The list of symmetrical indices.
| def gear::xsi::geometry::mirrorCluster |
( |
|
cls |
) |
|
Create a symmetrical cluster.
- Parameters:
-
- Returns:
- Cluster
| def gear::xsi::geometry::isFrozen |
( |
|
obj |
) |
|
Return True if given geometry has an empty stack of deformers.
- Parameters:
-
- Returns:
- Boolean
| def gear::xsi::geometry::getOperatorFromStack |
( |
|
obj, |
|
|
|
opType, |
|
|
|
firstOnly = True | |
|
) |
| | |
Return an operator of given type from the deformer stack of given geometry.
- Parameters:
-
| obj | Geometry - The geometry to check. |
| opType | String - The type of the operator to find. |
| firstOnly | Boolean - Only return first matching operator. |
- Returns:
- An operator if firstOnly is true, a collection of operator if it's false, False if there is no such operator.
| def gear::xsi::geometry::getStars |
( |
|
obj, |
|
|
|
count, |
|
|
|
equalOrSuperior = False | |
|
) |
| | |
Return the indexes of point with a certian number of edges connected to them.
- Parameters:
-
| obj | Geometry |
| count | Integer - Number of edges we are looking for |
| equalOrSuperior | - True to also return point with more than the given count |
- Returns:
- List of Integer
| def gear::xsi::geometry::mergeWithClusters |
( |
|
objects |
) |
|
Merge geometries and keep the clusters.
- Parameters:
-
- Returns:
- Operator - The merge operator
| def gear::xsi::geometry::splitPolygonIsland |
( |
|
obj |
) |
|
Split a geometry into sub island component.
- Parameters:
-
- Returns:
- List of Polymesh