Python API 2.0 Reference
OpenMaya.MMeshSmoothOptions Class Reference
+ Inheritance diagram for OpenMaya.MMeshSmoothOptions:

Public Member Functions

def __init__ ()
 

Static Public Member Functions

def __new__ ()
 

Static Public Attributes

int kCatmullClark = 0
 
int kInvalidSubdivision = -1
 
int kLastSubdivision = 4
 
int kOpenSubdivCatmullClarkAdaptive = 3
 
int kOpenSubdivCatmullClarkUniform = 2
 
Boundary Rules
int kCreaseAll = 1
 
int kCreaseEdge = 2
 
int kInvalid = -1
 
int kLast = 3
 
int kLegacy = 0
 

Properties

 boundaryRule = property(...)
 
 divisions = property(...)
 
 keepBorderEdge = property(...)
 
 keepHardEdge = property(...)
 
 propEdgeHardness = property(...)
 
 smoothUVs = property(...)
 
 smoothness = property(...)
 
 subdivisionType = property(...)
 

Detailed Description

Options for control of smooth mesh generation.

Constructors

Signature Parameters Description
MMeshSmoothOptions()  

Default constructor. Returns a new, empty MMeshSmoothOptions object.

 


Constructor & Destructor Documentation

def OpenMaya.MMeshSmoothOptions.__init__ ( )
Initialize self.  See help(type(self)) for accurate signature.

Member Function Documentation

def OpenMaya.MMeshSmoothOptions.__new__ ( )
static
Create and return a new object.  See help(type) for accurate signature.

Member Data Documentation

OpenMaya.MMeshSmoothOptions.kCreaseAll = 1
static
Name: kCreaseAll
Type: int
Description: Crease boundary edges & vertices with valence of exactly 2.
OpenMaya.MMeshSmoothOptions.kCreaseEdge = 2
static
Name: kCreaseEdge
Type: int
Description: Crease boundary edges only.
OpenMaya.MMeshSmoothOptions.kInvalid = -1
static
Name: kInvalid
Type: int
Description:  
OpenMaya.MMeshSmoothOptions.kLast = 3
static
Name: kLast
Type: int
Description: Used to enumerate boundary rule constants.
OpenMaya.MMeshSmoothOptions.kLegacy = 0
static
Name: kLegacy
Type: int
Description: Use the legacy algorithm, which performs no creasing.

Property Documentation

OpenMaya.MMeshSmoothOptions.boundaryRule = property(...)
static
 Determines how boundary edges and vertices are creased.
OpenMaya.MMeshSmoothOptions.divisions = property(...)
static
 Number of subdivisions used in smoothing.
OpenMaya.MMeshSmoothOptions.keepBorderEdge = property(...)
static
 If True, border edges will not be smoothed.
OpenMaya.MMeshSmoothOptions.keepHardEdge = property(...)
static
 If True, hard edges will not be smoothed.
OpenMaya.MMeshSmoothOptions.propEdgeHardness = property(...)
static
 If True, the hardness of edges in the base cage will be propagated to the edges of the smoothed mesh which derive from them.
OpenMaya.MMeshSmoothOptions.smoothness = property(...)
static
 The degree of smoothness desired. Ranges from 0.0 (hard) to 1.0 (fully smoothed).
OpenMaya.MMeshSmoothOptions.smoothUVs = property(...)
static
 If True, UVs will be smoothed as well as geometry. If False, only geometry will be smoothed.
OpenMaya.MMeshSmoothOptions.subdivisionType = property(...)
static
 Determines subdivision algorithm used for mesh smoothing.