Jan Novak
03-27-2003, 01:49 AM
Hi!
Could anybody kidnly kick me into the right direction with MaxScript,
please?
I need to add slice modifier to an object and change the slice plane. I know
how to add the modifier (addModifier b (sliceModifier slice_type:1), but
cannot change the plane. I don't know how to write the syntax correctly. All
I need is an example I will find my way from there. MaxScript help says:
-quote
<sliceModifier>.slice_plane SubAnim
At this sub-object level, you can transform and animate the gizmo like any
other object to determine where the slice occurs. Scaling the gizmo has no
effect, because its extents are effectively infinite. If you need to limit
the extent of the slice, use it on a sub-object selection set of faces,
rather than on the entire object.
<sliceModifier.Slice_Plane>.position Point3 default: [0,0,0] -- animatable
The position of the slice plane object.
<sliceModifier.Slice_Plane>.rotation Quat default: (quat 0 0 0 1) --
animatable
The rotation of the slice plane object.
<sliceModifier.Slice_Plane>.scale Point3 default: [1,1,1] -- animatable
The scale of the slice plane object.
-unquote
Could somebody kindly give me an example how to write this SubAnim into my
slice modifier, please?
Many thanks in advance!
:)
J.
Could anybody kidnly kick me into the right direction with MaxScript,
please?
I need to add slice modifier to an object and change the slice plane. I know
how to add the modifier (addModifier b (sliceModifier slice_type:1), but
cannot change the plane. I don't know how to write the syntax correctly. All
I need is an example I will find my way from there. MaxScript help says:
-quote
<sliceModifier>.slice_plane SubAnim
At this sub-object level, you can transform and animate the gizmo like any
other object to determine where the slice occurs. Scaling the gizmo has no
effect, because its extents are effectively infinite. If you need to limit
the extent of the slice, use it on a sub-object selection set of faces,
rather than on the entire object.
<sliceModifier.Slice_Plane>.position Point3 default: [0,0,0] -- animatable
The position of the slice plane object.
<sliceModifier.Slice_Plane>.rotation Quat default: (quat 0 0 0 1) --
animatable
The rotation of the slice plane object.
<sliceModifier.Slice_Plane>.scale Point3 default: [1,1,1] -- animatable
The scale of the slice plane object.
-unquote
Could somebody kindly give me an example how to write this SubAnim into my
slice modifier, please?
Many thanks in advance!
:)
J.
