Go to: Return value. Related commands. Flags. Examples.

Synopsis

polyExtrudeFacet [flags]

Extrude faces. Faces can be extruded separately or together, and manipulations can be performed either in world or object space.

Return value

string The node name.

Related commands

polyAppend, polyAppendVertex, polyExtrudeEdge, polyBevel, polySplit, polySplitVertex, polyCreateFacet, polySubdivideEdge, polySubdivideFacet, polyTriangulate, polySmooth, polyChipOff

Flags

attraction, constructionHistory, divisions, gravity, gravityX, gravityY, gravityZ, inputCurve, keepFacesTogether, localDirection, localDirectionX, localDirectionY, localDirectionZ, localRotate, localRotateX, localRotateY, localRotateZ, localScale, localScaleX, localScaleY, localScaleZ, localTranslate, localTranslateX, localTranslateY, localTranslateZ, magnX, magnY, magnet, name, offset, pivot, pivotX, pivotY, pivotZ, random, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scaleY, scaleZ, smoothingAngle, translate, translateX, translateY, translateZ, weight, worldSpace

Long name (short name)[argument types]Properties
-keepFacesTogether (-kft) booleanquerycreateedit
This flag specifies how to extrude faces. If "on", faces are pulled together (connected ones stay connected and only outside edges form new faces), otherwise they are pulled independently (each edge on selected faces creates a new face and manipulations are performed on each selected face separately).
C: Default is "on".
Q: When queried, this flag returns an int.
-worldSpace (-ws) booleanquerycreateedit
This flag specifies which reference to use. If "on" : all geometrical values are taken in world reference. If "off" : all geometrical values are taken in object reference.
C: Default is off.
Q: When queried, this flag returns an int.
-random (-ran) floatquerycreateedit
This flag specifies the random value for all parameters.
C: Default is 0.0. The range is [-10.0, 10.0].
Q: When queried, this flag returns a float.
-inputCurve (-inc) nurbsCurvecreate
This flag specifies the curve to be used as input for extrusion
C: The selected faces will be extruded along the curve. It will be useful to set a higher value (greater than 4) for the '-d/-divisions' flag, to get good results. The normal of the surface has to be aligned with the direction of the curve. The extrusion is evenly distributed in the curve's parameter space, and not on the curve's geometry space
-divisions (-d) intquerycreateedit
This flag specifies the number of subdivisions.
C: Default is 1
Q: When queried, this flag returns an int.
-smoothingAngle (-sma) anglequerycreateedit
This flag specifies smoothingAngle threshold used to determine whether newly created edges are hard or soft.
C: Default is 30.0. The range is [0, 180].
Q: When queried, this flag returns a float.

Global Values

-translate (-t) linear linear linearquerycreateedit
This flag specifies the translation vector.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].
-translateX (-tx) linearquerycreateedit
This flag specifies the X translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-translateY (-ty) linearquerycreateedit
This flag specifies the Y translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-translateZ (-tz) linearquerycreateedit
This flag specifies the Z translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-rotate (-ro) angle angle anglequerycreateedit
This flag specifies the rotation angles around X, Y, Z.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].
-rotateX (-rx) anglequerycreateedit
This flag specifies the rotation angle around X.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-rotateY (-ry) anglequerycreateedit
This flag specifies the rotation angle around Y.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-rotateZ (-rz) anglequerycreateedit
This flag specifies the rotation angle around Z.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-scale (-s) linear linear linearquerycreateedit
This flag specifies the scaling vector.
C: Default is 1.0 1.0 1.0.
Q: When queried, this flag returns a float[3].
-scaleX (-sx) linearquerycreateedit
This flag specifies X for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-scaleY (-sy) linearquerycreateedit
This flag specifies Y for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-scaleZ (-sz) linearquerycreateedit
This flag specifies Z for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-pivot (-pvt) float float floatquerycreateedit
This flag specifies the pivot for scaling and rotation.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].
-pivotX (-pvx) floatquerycreateedit
This flag specifies the X pivot for scaling and rotation.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-pivotY (-pvy) floatquerycreateedit
This flag specifies the Y pivot for scaling and rotation.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-pivotZ (-pvz) floatquerycreateedit
This flag specifies the Z pivot for scaling and rotation.
C: Default is 0.0.
Q: When queried, this flag returns a float.

Local Values

-offset (-off) floatquerycreateedit
This flag specifies the local offset. Each edge of each selected face moves towards the inside of the face by given distance (in local reference).
C: Default is 0.0.
-localTranslate (-lt) linear linear linearquerycreateedit
This flag specifies the local translation vector.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].
-localTranslateX (-ltx) linearquerycreateedit
This flag specifies the X local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-localTranslateY (-lty) linearquerycreateedit
This flag specifies the Y local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-localTranslateZ (-ltz) linearquerycreateedit
This flag specifies the Z local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-localRotate (-lr) angle angle anglequerycreateedit
This flag specifies the local rotations : (slantRot, slantRoll, twistRot).
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3]. Local rotation (slantRot, slantRoll, twistRot).
-localRotateX (-lrx) anglequerycreateedit
This flag specifies local rotation X angle (Slant Rot around slantAxis).
C: Default is 0.0. The range is [0, 360].
Q: When queried, this flag returns a float.
-localRotateY (-lry) anglequerycreateedit
This flag specifies local rotation Y angle (Slant Roll of slantAxis).
C: Default is 0.0. The range is [0, 180].
Q: When queried, this flag returns a float.
-localRotateZ (-lrz) anglequerycreateedit
This flag specifies local rotation Z angle (Twist around normal).
C: Default is 0.0. The range is [0, 360].
Q: When queried, this flag returns a float.
-localDirection (-ld) linear linear linearquerycreateedit
This flag specifies the local slant axis (see local rotation).
C: Default is 0.0 0.0 1.0.
Q: When queried, this flag returns a float[3].
-localDirectionX (-ldx) linearquerycreateedit
This flag specifies X for the local slant axis.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-localDirectionY (-ldy) linearquerycreateedit
This flag specifies Y for the local slant axis.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-localDirectionZ (-ldz) linearquerycreateedit
This flag specifies Z for the local slant axis.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-localScale (-ls) linear linear linearquerycreateedit
This flag specifies the local scaling vector.
C: Default is 1.0 1.0 1.0.
Q: When queried, this flag returns a float[3].
-localScaleX (-lsx) linearquerycreateedit
This flag specifies X for local scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-localScaleY (-lsy) linearquerycreateedit
This flag specifies Y for local scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.
-localScaleZ (-lsz) linearquerycreateedit
This flag specifies Z for local scaling vector : Flattening.
C: Default is 1.0. The range is [0.0, 1.0].
Q: When queried, this flag returns a float.

Dynamic Values

-weight (-w) floatquerycreateedit
This flag specifies the weight, related to gravity.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-gravity (-g) linear linear linearquerycreateedit
This flag specifies the gravity vector.
C: Default is 0.0 -1.0 0.0.
Q: When queried, this flag returns a float[3].
-gravityX (-gx) linearquerycreateedit
This flag specifies X for the gravity vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-gravityY (-gy) linearquerycreateedit
This flag specifies Y for the gravity vector.
C: Default is -1.0.
Q: When queried, this flag returns a float.
-gravityZ (-gz) linearquerycreateedit
This flag specifies Z for the gravity vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-attraction (-att) floatquerycreateedit
This flag specifies the attraction, related to magnet.
C: Default is 0.0. The range is [-2.0, 2.0].
Q: When queried, this flag returns a float.
-magnet (-m) linear linear linearquerycreateedit
This flag specifies the magnet vector.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].
-magnX (-mx) linearquerycreateedit
This flag specifies X for the magnet vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.
-magnY (-my) linearquerycreateedit
This flag specifies Y for the magnet vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

Common Flags

-name (-n) stringcreate
Name the resulting object.
-constructionHistory (-ch) booleanquerycreate
Turn the construction history on or off (where applicable).
Q: When queried, this flag returns an int.

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

Examples


	//<I>Separate</I>
	polyPlane -n plg -w 10 -h 10;
    polyExtrudeFacet -kft false -ltz 2 -ls .5 .5 0 plg.f[71:72] plg.f[81:82];
    //facets are extruded then scaled separately

	
	//<I>Together</I>
    polyExtrudeFacet -kft true -ltz 2 -ls .5 .5 0 plg.f[17:18] plg.f[27:28];
    //facets are extruded then scaled together