3D Lingo Dictionary > E-K > extrude3D |  |

extrude3D

Syntax

    member(whichTextCastmember).extrude3D(member(which3dCastmember))

Description

3D command; creates a new `#extruder` model resource in the 3D cast member `which3DCastmember` from the text in `whichTextCastmember`.

Note that this is not the same as using the 3D `displayMode` of a text cast member.

To create a model using `extrude3D`:

1 | Create a new `#extruder` model resource in a 3D cast member:
    textResource = member("textMember").extrude3D(member("3DMember"))
2 | Create a new model using the model resource created in step 1:
    member("3DMember").newModel("myText", textResource)

Example

In this example, Logo is a text cast member and Scene is a 3D cast member. The first line creates a model resource in Scene which is a 3D version of the text in Logo. The second line uses this model resource to create a model named 3dLogo.

    myTextModelResource =  member("Logo").extrude3d(member("Scene"))
    member("Scene").newModel("3dLogo", myTextModelResource)

See also

`bevelDepth`, `bevelType`, `displayFace`, `smoothness`, `tunnelDepth`, `displayMode`