Go to: Synopsis. Return value. Flags. MEL examples.
polyCreateFacetCtx [-append boolean] [-exists] [-image1 string] [-image2 string] [-image3 string] [-maximumNumberOfPoints int] [-planarConstraint boolean] [-subdivision int] [-texture int]
polyCreateFacetCtx is undoable, queryable, and editable.
Create a new context to create polygonal objects
None
In query mode, return type is based on queried flag.
append, exists, image1, image2, image3, maximumNumberOfPoints, planarConstraint, subdivision, texture
Long name (short name) |
Argument types |
Properties |
|
-append(-ap)
|
boolean
|
|
|
Allows to switch to polyAppendFacetCtx tool
|
|
-exists(-ex)
|
|
|
|
Returns true or false depending upon whether the
specified object exists. Other flags are ignored.
|
|
-image1(-i1)
|
string
|
|
|
First of three possible icons representing the tool
associated with the context.
|
|
-image2(-i2)
|
string
|
|
|
Second of three possible icons representing the tool
associated with the context.
|
|
-image3(-i3)
|
string
|
|
|
Third of three possible icons representing the tool
associated with the context.
|
|
-maximumNumberOfPoints(-mp)
|
int
|
|
|
Allows the ability to set a upper bound on the number of
points in interactively place before polygon is
created. A value less than 2 will mean that there is no
upper bound.
|
|
-planarConstraint(-pc)
|
boolean
|
|
|
allows/avoid new facet to be non-planar.
If on, all new points will be projected onto
current facet plane.
|
|
-subdivision(-s)
|
int
|
|
|
Number of subdivisions for each edge.
Default: 1
|
|
-texture(-tx)
|
int
|
|
|
What texture mechanism to be applied
0=No textures, 1=Normalized, Undistorted textures
2=Unitized textures
Default: 0
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// Create a new poly facet create context, set it to add four vertices per new edge, then switch to it
polyCreateFacetCtx -s 4 polyCreateFacetCtx1;
setToolTo polyCreateFacetCtx1;