Your Ad Here

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

Synopsis

blend2 [-autoAnchor boolean] [-autoNormal boolean] [-constructionHistory boolean] [-curveOnSurface boolean] [-flipLeftNormal boolean] [-flipRightNormal boolean] [-leftAnchor float] [-leftEnd float] [-leftStart float] [-multipleKnots boolean] [-name string] [-object boolean] [-polygon int] [-positionTolerance float] [-range boolean] [-rebuild boolean] [-replaceOriginal boolean] [-reverseLeft boolean] [-reverseRight boolean] [-rightAnchor float] [-rightEnd float] [-rightStart float] [-tangentTolerance float] object1 object2 [object3]...

blend2 is undoable, queryable, and editable.

This command creates a surface by blending between given curves. This is an enhancement (more user control) compared to blend which is now obsolete.

Flags

autoAnchor, autoNormal, constructionHistory, curveOnSurface, flipLeftNormal, flipRightNormal, leftAnchor, leftEnd, leftStart, multipleKnots, name, object, polygon, positionTolerance, range, rebuild, replaceOriginal, reverseLeft, reverseRight, rightAnchor, rightEnd, rightStart, tangentTolerance
Long name (short name) [argument types] Properties
-multipleKnots(-mk) boolean queryedit
If true, use the new blend which produces fully multiple interior knots
Default: true

In query mode, this flag needs a value.

-positionTolerance(-pt) float queryedit
The positional C(0) tolerance of the blend surface to the adjacent surfaces.
Default: 0.1

In query mode, this flag needs a value.

-tangentTolerance(-tt) float queryedit
The tangent G(1) continuity tolerance of the blend surface to the adjacent surfaces.
Default: 0.1

In query mode, this flag needs a value.

-autoNormal(-an) boolean queryedit
If true, the direction of each starting tangent is computed based on given geometry.
Default: true

In query mode, this flag needs a value.

-flipLeftNormal(-fln) boolean queryedit
If true, flip the starting tangent off the left boundary.
Default: false

In query mode, this flag needs a value.

-flipRightNormal(-frn) boolean queryedit
If true, flip the starting tangent off the right boundary.
Default: false

In query mode, this flag needs a value.

-autoAnchor(-aa) boolean queryedit
If true and both paths are closed, automatically determine the value on the right rail so that they match
Default: true

In query mode, this flag needs a value.

-leftAnchor(-la) float queryedit
The reference parameter on the left boundary where the blend surface starts in the case of the closed rail.
Default: 0.0

In query mode, this flag needs a value.

-leftStart(-ls) float queryedit
The reference parameter on the left boundary where the blend surface starts.
Default: 0.0

In query mode, this flag needs a value.

-leftEnd(-le) float queryedit
The reference parameter on the left boundary where the blend surface ends.
Default: 1.0

In query mode, this flag needs a value.

-reverseLeft(-rvl) boolean queryedit
If true, reverse the direction off the left boundary. autoDirection must be false for this value to be considered.
Default: false

In query mode, this flag needs a value.

-rightAnchor(-ra) float queryedit
The reference parameter on the right boundary where the blend surface starts in the case of the closed rail.
Default: 0.0

In query mode, this flag needs a value.

-rightStart(-rs) float queryedit
The reference parameter on the right boundary where the blend surface starts.
Default: 0.0

In query mode, this flag needs a value.

-rightEnd(-re) float queryedit
The reference parameter on the right boundary where the blend surface ends.
Default: 1.0

In query mode, this flag needs a value.

-reverseRight(-rvr) boolean queryedit
If true, reverse the direction of the right boundary. autoDirection must be false for this value to be considered.
Default: false

In query mode, this flag needs a value.

-name(-n) string create
Name the resulting object
-constructionHistory(-ch) boolean create
Turn the construction history on or off (not available in all commands)
-object(-o) boolean create
Create the result, or just the dependency node (not available in all commands)
-replaceOriginal(-rpo) boolean create
Create "in place" (i.e., replace) (not available in all commands)
-curveOnSurface(-cos) boolean create
If possible, create 2D curve as a result (not available in all commands)
-polygon(-po) int create
The value of this argument controls the type of the object created by this operation (not available in all commands)
  • 0: nurbs surface
  • 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)
  • 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)
  • 3: Bezier surface
  • 4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)
-range(-rn) boolean create
Force a curve range on complete input curve (not available in all commands)
-rebuild(-rb) boolean create
Rebuild the input curve(s) before using them in the operation. Use nurbsCurveRebuildPref to set the parameters for the conversion. (not available in all commands)

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[]] (object name and node name)

MEL examples

// Do blend with auto direction and with no history:
blend2 -ad on -ch off;

// Do blend with no auto direction
blend2 -ad off -fl on -fr on;

  

Return to Autodesk Index


Your Ad Here