OpenMaya.MMeshSmoothOptions Class Reference

Class Description

Options for control of smooth mesh generation.

Constructors

Signature Parameters Description
MMeshSmoothOptions()  

Default constructor. Returns a new, empty MMeshSmoothOptions object.

 


+ Inheritance diagram for OpenMaya.MMeshSmoothOptions:

Public Member Functions

__init__ ()
 

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
 
 divisions
 
 keepBorderEdge
 
 keepHardEdge
 
 propEdgeHardness
 
 smoothUVs
 
 smoothness
 
 subdivisionType
 

Constructor & Destructor Documentation

OpenMaya.MMeshSmoothOptions.__init__ ( )
x.__init__(...) initializes x; see help(type(x)) for 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
static
 Determines how boundary edges and vertices are creased.
OpenMaya.MMeshSmoothOptions.divisions
static
 Number of subdivisions used in smoothing.
OpenMaya.MMeshSmoothOptions.keepBorderEdge
static
 If True, border edges will not be smoothed.
OpenMaya.MMeshSmoothOptions.keepHardEdge
static
 If True, hard edges will not be smoothed.
OpenMaya.MMeshSmoothOptions.propEdgeHardness
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
static
 The degree of smoothness desired. Ranges from 0.0 (hard) to 1.0 (fully smoothed).
OpenMaya.MMeshSmoothOptions.smoothUVs
static
 If True, UVs will be smoothed as well as geometry. If False, only geometry will be smoothed.
OpenMaya.MMeshSmoothOptions.subdivisionType
static
 Determines subdivision algorithm used for mesh smoothing.