SpaceFFDBox - superclass: SpacewarpObject; super-superclass:node - classID: #(1743405235, -25546556)
Constructor
spaceFFDBox...
Properties
<SpaceFFDBox>.length Float default: 0.0 -- animatable
Sets the length of the lattice.
<SpaceFFDBox>.width Float default: 0.0 -- animatable
Sets the width of the lattice.
<SpaceFFDBox>.height Float default: 0.0 -- animatable
Sets the length of the lattice.
<SpaceFFDBox>.dispLattice Boolean default: true -- alias: Lattice
When turned on, lines are drawn connecting the control points to make a grid.
<SpaceFFDBox>.dispSource Boolean default: false -- alias: Source_Volume
When on, the control points and lattice are displayed in their unmodified state.
<SpaceFFDBox>.deformType Integer default: 0
Specifies which vertices are affected by the FFD:
0 - Only In Volume (Only vertices that lie inside the source volume are deformed. Vertices outside the source volume are not affected.)
1 - All Vertices (All vertices are deformed regardless of whether they lie inside or outside the source volume, depending on the *.falloff*
value.)
<SpaceFFDBox>.falloff Float default: 0.0 -- animatable
The distance from the lattice that the FFD effect will decrease to zero.
When this value is set to 0, it's effectively turned off, and there is no falloff; that is, all vertices are affected regardless of their distance from the lattice.
The units of the Falloff parameter are specified relative to the size of the lattice: A falloff of 1 means that the effect will go to 0 for points that are a lattice width/length/height away from the lattice (depending on which side they are on).
<SpaceFFDBox>.tension Float default: 25.0 -- animatable
Sets the tension of the deformation splines.
<SpaceFFDBox>.continuity Float default: 25.0 -- animatable
Sets the continuity of the deformation splines.
Associated Methods
bindSpaceWarp <node> <spaceFFDBox_node>
conformToShape <spaceFFDBox_node>
Available in 3ds Max 2017 and higher: conforms the control points of the SpaceFFDBox to the node the SpaceFFDBox is applied to. If an instance of the SpaceFFDBox has been applied to more than one object, no action is performed.
resetLattice <spaceFFDBox_node>
Available in 3ds Max 2017 and higher: resets the control points of the SpaceFFDBox to their default positions.
getDimensions <spaceFFDBox_node>
setDimensions <spaceFFDBox_node> <Point3>
Available in 3ds Max 2017 and higher: Get and set the number of control points for the SpaceFFDBox. The first component value in the Point3 specifies the number of Width control points, the second the number of Length control points, and the third the number of Height control points. The minimum value for each component value is 2.
animateAll <spaceFFDBox_node>
Available in 3ds Max 2017 and higher: Applies controllers to all control points of the SpaceFFDBox.
The default number of control points in a SpaceFFDBox created by MAXScript is 4x4x4.
Associated Binding Modifier
FFD_Binding
This modifier is automatically created by the bindSpaceWarp() method, and is not otherwise creatable by MAXScript. There are no properties associated with this binding modifier.
The number of control points in a SpaceFFDBox created by MAXScript is always 4x4x4.
There is no method for assigning controllers to the FFD control points, nor is there a method for assigning the number or accessing the number of Length, Width, and Height points using MAXScript in 3ds Max.
See also Class and Object Inspector Functions and Scripting Vertex and Control Point Animation for details on accessing the control points in an FFD.