Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

polyAppendFacetCtx [-append boolean] [-isRotateAvailable boolean] [-maximumNumberOfPoints int] [-planarConstraint boolean] [-rotate float] [-subdivision int]

polyAppendFacetCtx is undoable, queryable, and editable.

Create a new context to append facets on polygonal objects

Return value

None

In query mode, return type is based on queried flag.

Flags

append, isRotateAvailable, maximumNumberOfPoints, planarConstraint, rotate, subdivision
Long name (short name) Argument types Properties
-append(-ap) boolean createqueryedit
Allows to switch to polyCreateFacetCtx tool
-isRotateAvailable(-isr) boolean query
Tells if the control associated to rotate flag is available. If several edges are already selected and they are not aligned (thus there is no "rotation axis") the rotation is no longer available.
-maximumNumberOfPoints(-mp) int createqueryedit
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 createqueryedit
Allows/avoid new facet to be non-planar.
If on, all new points will be projected onto current facet plane. Selected edges will be checked as well.
-rotate(-r) float createqueryedit
Rotate current facet around the first edge selected.
-subdivision(-s) int createqueryedit
Number of sub-edges created for each new edge. Default is 1.

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.

MEL examples

// Create a poly plane
polyPlane -w 10 -h 10 -sx 10 -sy 10 -n pPlane1;

// Create a new poly append facet context, set it to add four vertices per new edge, and then switch to it
polyAppendFacetCtx -s 4 polyAppendFacetCtx1;
setToolTo polyAppendFacetCtx1;