Value > MAXWrapper > Modifier > Flex |
Sets the amount of flex and bend. Larger values increase the effect. Range=0 to 1000.
Sets the spring strength. A value of 100 is rigid. Range=0 to 100.
Sets the time for the object to come to rest. Lower values increase the time for the object to come to rest. Range=0 to 100.
Turns the use of weights on/off.
The type of solver that will be used:
The higher the solver number, the more accurate/stable it is, and the slower it will run.
The number of samples per frame that the solver will use. The higher the number, the more accurate and stable; at the cost of a slower system.
This parameter slaves to the stretch strength/sway fields. It is normalized then copied to the strength/sway fields to prevent the system from becoming unstable.
This parameter slaves to the torque strength/sway fields. It is normalized then copied to the strength/sway fields to prevent the system from becoming unstable.
Sets the amount of weight that the brush leaves on the mesh. Higher values leave more weight. Range=-1 to 1.
Set the size of the brush in world units. Range=.001 to 99999.
Set the hardness of the brush. A value of 1 is soft. Range=-1 to 1.
Turn on to change the value of the Vertex Weight parameter to assign absolute weights to the selected vertices. Turn off to add or remove weight based on the vertices current weight.
Assigns force effect to particle space warps identified in an array.
Array contains a list of collider objects that flex will use.
Flex will start computing at this frame.
Flex will stop computing after this time.
Forces flex to ignore any selection in the stack, causing it to flex the entire object.
Enables the advance spring fields. When this is off, the Stretch and Torque parameters are slaved to the Stretch and Stiffness parameters.
Controls the strength of stretch springs.
Controls the sway of stretch springs.
Controls the strength of torque springs.
Controls the sway of torque springs.
Turns on/off the hold length parameter.
The maximum percentage the spring can stretch/squash.
Flag to determine how springs will be added:
0- Single spring across selected vertices
2- Edge Springs across only selected vertices
4- Hold Springs across only selected vertices
Turns on/off the display of spring when in sub-object mode.
The maximum distance that will be looked around when the hold springs are added.
<Flex>.extraStrength ArrayParameter default: #(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2) -- float array
Control the strength of extra springs (those that belong to a group other than 0 [stretch] or 1 [torque]).
<Flex>.extraSway ArrayParameter default: #(0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2) -- float array
Control the sway of extra springs (those that belong to a group other than 0 [stretch] or 1 [torque]).
Turns on/off lazy evaluation, which causes the system to be reevaluated less at the expense of a less accurate display.
<Flex>.springColors ArrayParameter default: #([0,0,1], [0.909091,0,0], [0.818182,0,0], [0.727273,0,0], [0.636364,0,0], [0.545455,0,0], [0.454545,0,0], [0.363636,0,0], [0.272727,0,0], [0.181818,0,0], [0.0909091,0,0], [0,0,0]) -- point3 array
The colors for the springs for each group.
<Flex>.customSpringDisplay ArrayParameter default: #(true, true, true, true, true, true, true, true, true, true, true, true) -- bool array
This boolean array lets you turn on/off the display of the spring group.
The number of times the system is recursed when using create soft body.
The amount the flex effect is multiplied after each recursion when using create soft body.
The following property is defined by Flex, but is not used:
Presses the paint button in the flex interface.
Presses the Set Reference button in the flex interface.
Presses the Reset button in the flex interface.
Adds a force to the force list.
force (node) - The force to be added to the force list.
Removes a force to the force list.
force (integer) - The index of the force to be removed. If this index = -1 then the selected force will be removed.
Returns and integer containing the number of points in the system.
Selects the vertices passed in sel .
Sel (bitarray) - The bitarray that holds the selection.
Update (boolean) - Determines whether the viewports get updated.
Returns bitarray containing the current selected vertices.
Returns the weight of a specific vertex.
index (integer) - The index of the vertex you want to get the weight of.
Sets the weight of vertices. These tables should be the same size.
index_tab (integer table) - A table of indices of the vertex you want to set the weight of.
values_tab (float table) - A table of values containing the weights.
Sel (bitarray) - The bitarray that holds the edge selection.
Update (boolean) - Determines whether the viewports get updated.
Returns bitarray containing the current edge selection list.
This creates one spring between 2 selected vertices that belong to a group.
flag (integer) - The group that this spring will belong to.
addDupes (boolean) - Will add duplicates if true.
This creates a spring between the 2 specified vertices.
a (integer) - Index of vertex of the start of the spring.
b (integer) - Index of the vertex of the end of the spring.
flag (integer) - Group springs belongs to (0 to12).
addDupes (boolean) - When true, if there is a duplicate spring it will be added.
Removes all the springs the in the system.
Equivalent of hitting the Add Spring button in theuserinterface.
Equivalent of hitting the Remove Spring button in theuserinterface.
Equivalent of hitting the Options button in theuserinterface.
Equivalent of hitting the Create Simple Soft Bodies button in theuserinterface.
This removes all springs that are connected to a vertex.
a (integer) - The vertex index to be checked.
This removes all springs that are connected to both vertex a and b.
a (integer) - First vertex index.
b (integer) - Second vertex index.
Remove a spring from the list which is at index in the spring list.
index (integer) - Index of the spring.
Returns the number of springs in the system
Returns the group that the spring belongs to.
index (integer) - Index of the spring you want to examine.
index (integer) - Index of the spring.
group (integer) - The group number (0-12).
Gets the rest length of a particular spring.
index (integer) - Index of the spring that you want to examine.
Sets the rest length of a particular spring.
index (integer) - Index of the spring that you want to examine.
length (float) - The rest length of the spring.
Returns the index of a spring that uses vertex a and b.
a (integer) - Index of the start vertex of the spring.
b (integer) - Index of the start end of the spring.
Returns the number of vertices in the object the Flex modifier is applied to.
Returns the weight of the specified vertex.
Selects the specified vertices. Clears any previously selected vertices.
Returns 0 if the specified vertex is not an edge vertex, 1 if it is an edge vertex.
Sets the specified vertices to not be edge vertices.
Sets the specified vertices to be edge vertices.
flexOps.SetVertexWeights <Flex> (<vertex_index_integer> | <index_integer_array>) (<weight_integer> | <weight_integer_array>)
Assigns the specified weights to the specified vertices. If the vertices and weights are specified as arrays, the arrays must be of equal size.