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

Synopsis

polyExtrudeEdge [-constructionHistory boolean] [-divisions int] [-inputCurve nurbsCurve] [-keepFacesTogether boolean] [-localDirection linear linear linear] [-localDirectionX linear] [-localDirectionY linear] [-localDirectionZ linear] [-localRotate angle angle angle] [-localRotateX angle] [-localRotateY angle] [-localRotateZ angle] [-localScale linear linear linear] [-localScaleX linear] [-localScaleY linear] [-localScaleZ linear] [-localTranslate linear linear linear] [-localTranslateX linear] [-localTranslateY linear] [-localTranslateZ linear] [-name string] [-pivot float float float] [-pivotX float] [-pivotY float] [-pivotZ float] [-random float] [-rotate angle angle angle] [-rotateX angle] [-rotateY angle] [-rotateZ angle] [-scale linear linear linear] [-scaleX linear] [-scaleY linear] [-scaleZ linear] [-smoothingAngle angle] [-translate linear linear linear] [-translateX linear] [-translateY linear] [-translateZ linear] [-worldSpace boolean]

polyExtrudeEdge is undoable, queryable, and editable.

Extrude edges separately or together.

Flags

constructionHistory, divisions, inputCurve, keepFacesTogether, localDirection, localDirectionX, localDirectionY, localDirectionZ, localRotate, localRotateX, localRotateY, localRotateZ, localScale, localScaleX, localScaleY, localScaleZ, localTranslate, localTranslateX, localTranslateY, localTranslateZ, name, pivot, pivotX, pivotY, pivotZ, random, rotate, rotateX, rotateY, rotateZ, scale, scaleX, scaleY, scaleZ, smoothingAngle, translate, translateX, translateY, translateZ, worldSpace
Long name (short name) [argument types] Properties
-keepFacesTogether(-kft) boolean createqueryedit
This flag specifies how to extrude edgess. If "on", edges are pulled together (connected ones stay connected), otherwise they are pulled independentely.
C: Default is "on".
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.

-worldSpace(-ws) boolean createqueryedit
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.

In query mode, this flag needs a value.

-random(-ran) float createqueryedit
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.

In query mode, this flag needs a value.

-inputCurve(-inc) nurbsCurve create
This flag specifies the curve to be used as input for extrusion
C: The selected edges 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) int createqueryedit
This flag specifies the number of subdivisions.
C: Default is 1
Q: When queried, this flag returns an int.

In query mode, this flag needs a value.

-smoothingAngle(-sma) angle createqueryedit
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

In query mode, this flag needs a value.

-translate(-t) linear linear linear createqueryedit
This flag specifies the translation vector.
C: Default is 0.0 0.0 0.0.
Q: When queried, this flag returns a float[3].

In query mode, this flag needs a value.

-translateX(-tx) linear createqueryedit
This flag specifies the X translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-translateY(-ty) linear createqueryedit
This flag specifies the Y translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-translateZ(-tz) linear createqueryedit
This flag specifies the Z translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-rotate(-ro) angle angle angle createqueryedit
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].

In query mode, this flag needs a value.

-rotateX(-rx) angle createqueryedit
This flag specifies the rotation angle around X.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-rotateY(-ry) angle createqueryedit
This flag specifies the rotation angle around Y.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-rotateZ(-rz) angle createqueryedit
This flag specifies the rotation angle around Z.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-scale(-s) linear linear linear createqueryedit
This flag specifies the scaling vector.
C: Default is 1.0 1.0 1.0.
Q: When queried, this flag returns a float[3].

In query mode, this flag needs a value.

-scaleX(-sx) linear createqueryedit
This flag specifies X for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-scaleY(-sy) linear createqueryedit
This flag specifies Y for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-scaleZ(-sz) linear createqueryedit
This flag specifies Z for scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-pivot(-pvt) float float float createqueryedit
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].

In query mode, this flag needs a value.

-pivotX(-pvx) float createqueryedit
This flag specifies the X pivot for scaling and rotation.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-pivotY(-pvy) float createqueryedit
This flag specifies the Y pivot for scaling and rotation.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-pivotZ(-pvz) float createqueryedit
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

In query mode, this flag needs a value.

-localTranslate(-lt) linear linear linear createqueryedit
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].

In query mode, this flag needs a value.

-localTranslateX(-ltx) linear createqueryedit
This flag specifies the X local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localTranslateY(-lty) linear createqueryedit
This flag specifies the Y local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localTranslateZ(-ltz) linear createqueryedit
This flag specifies the Z local translation vector.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localRotate(-lr) angle angle angle createqueryedit
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).

In query mode, this flag needs a value.

-localRotateX(-lrx) angle createqueryedit
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.

In query mode, this flag needs a value.

-localRotateY(-lry) angle createqueryedit
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.

In query mode, this flag needs a value.

-localRotateZ(-lrz) angle createqueryedit
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.

In query mode, this flag needs a value.

-localDirection(-ld) linear linear linear createqueryedit
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].

In query mode, this flag needs a value.

-localDirectionX(-ldx) linear createqueryedit
This flag specifies X for the local slant axis.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localDirectionY(-ldy) linear createqueryedit
This flag specifies Y for the local slant axis.
C: Default is 0.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localDirectionZ(-ldz) linear createqueryedit
This flag specifies Z for the local slant axis.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localScale(-ls) linear linear linear createqueryedit
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].

In query mode, this flag needs a value.

-localScaleX(-lsx) linear createqueryedit
This flag specifies X for local scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localScaleY(-lsy) linear createqueryedit
This flag specifies Y for local scaling vector.
C: Default is 1.0.
Q: When queried, this flag returns a float.

In query mode, this flag needs a value.

-localScaleZ(-lsz) linear createqueryedit
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.

In query mode, this flag needs a value.

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

In query mode, this flag needs a value.


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

Return value


string The node name.

Related

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

MEL examples

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


// <I>Together</I>
polyPlane -n plg -w 10 -h 10;
polyExtrudeEdge -kft true -ltz 2 -ls .5 .5 0 plg.e[71:72] plg.e[81:82];
// edges are extruded then scaled together
delete plg;