FFDBox - superclass: modifier; super-superclass:MAXWrapper - classID: #(-1967952699, -2099773836)
Constructor
ffdBox ...
Properties
<FFDBox>.dispLattice Boolean default: true -- alias: Lattice
Draws lines connecting the control points to make a grid.
<FFDBox>.dispSource Boolean default: false&emdash;alias: Source_Volume
Displays the control points and lattice in their unmodified state.
<FFDBox>.deformType Integer default: 0
deformType = 0 - Only In Volume; 1 - All Vertices
<FFDBox>.falloff Float default: 0.0 -- animatable
Determines the distance from the lattice that the FFD effect will decrease to zero.
<FFDBox>.tension Float default: 25.0 -- animatable
Adjusts the tension of the deformation splines.
<FFDBox>.continuity Float default: 25.0 -- animatable
Adjusts the continuity of the deformation splines.
<FFDBox>.inPoints Boolean default: true -- alias: Inside_Points
Only control points inside the object are affected by Conform to Shape.
<FFDBox>.outPoints Boolean default: true -- alias: Outside_Points
Only control points outside the object are affected by Conform to Shape.
<FFDBox>.offset Float default: 0.05 -- animatable
The distance by which control points affected by Conform to Shape are offset from the object surface.
<FFDBox>.lattice_transform SubAnim
<FFDBox.lattice_transform>.position Point3 default: [0,0,0] -- animatable
<FFDBox.lattice_transform>.rotation Quat default: (quat 0 0 0 1) -- animatable
<FFDBox.lattice_transform>.scale Point3 default: [1,1,1] -- animatable
Methods
conformToShape <FFDBox>
conforms the control points of the FFD to the node the FFD is applied to. If an instance of the FFD modifier has been applied to more than one object, no action is performed.
resetLattice <FFDBox>
resets the control points of the FFD to their default positions.
getDimensions <FFDBox>
setDimensions <FFDBox> <Point3>
Get and set the number of control points for the FFDBox modifier. 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.
animateVertex <FFDBox> {<integer_index> | <integer_index_array> | #all}
Applies controllers to the specified control points of the FFD modifier.
By assigning controllers to the control points, the control points are added to the driver subAnim and appear as animatables in the Track View, allowing further scripting of the control points.
EXAMPLE
animateVertex $box01.modifier[1] #all
The control points to be animated are specified by index number or with the keyword #all
to animate all control points.
See also Class and Object Inspector Functions and Scripting Vertex and Control Point Animationfor details on accessing the control points in an FFD and Modifier Sub-Object Transform Properties for details on the coordinate system used for FFD control points.
animateAll <FFDBox>
Applies controllers to all control points of the FFD modifier.
The default number of control points in a FFDBox created by MAXScript is 4x4x4.