User Guide

344 Chapter 16: Working with Models and Model Resources
The extruder model resource
You can create extruder model resources only by using an existing text cast member. In many
cases, you may choose to use the 3D text capabilities of the Property inspector instead.
Creating an extruder model resource is simple. If member 1 is a text cast member and member 2
is a 3D cast member, use the following script:
member(1).extrude3d(member(2))
This generates a model resource in member 2 that is an extrusion of the 2D text in member 1.
Extruder model resources inherit all the 3D-related properties of the source text cast member.
For example:
mr = member("text").extrude3d(member("3D"))
put mr.smoothness
-- 5
put mr.tunnelDepth
-- 50
emitter.
path
Get and set Vector positions that define the path the
particles follow.
Vector list.
emitter.
path
Strength
Get and set Degree to which particles remain on a
path.
Percentage between
0.0 and 100.0.
emitter.min
Speed
Get and set Minimum emission speed. (Particles are
emitted at random speeds between a
minimum and a maximum.)
Settable value. The
default is
1.0.
emitter.max
Speed
Get and set Maximum emission speed. (Particles are
emitted at random speeds between a
minimum and a maximum.)
Settable value. The
default is
1.0.
emitter.drag
Get and set A drag value affecting simulation at each
animation step.
Percentage between
0.0 and 100.0.
emitter.gravit
y
Get and set Vector representing simulated gravity.
The vector’s length indicates its strength.
Any vector.
emitter.wind
Get and set A vector representing simulated wind
pushing particles in a given direction. The
vector’s length indicates its strength.
Any vector.
Property Access Description Value Range