3D Lingo Dictionary > T-Z > tunnelDepth |  |

tunnelDepth

Syntax

    member(whichTextmember).tunnelDepth
    member(whichCastMember).modelResource(whichExtruderModelResource).tunnelDepth

Description

A 3D extruder model resource property, as well as a text cast member property. Using this property allows you to get or set the extrusion depth (the distance between the front and back faces) of a 3D text model resource Possible values are floating point numbers between 1.0 and 100.0. The default value is 50.0.

It is recommended that you see `extrudeToMember` entry for more information about working with extruder model resources and text cast members.

Example

In this example, the cast member logo is a text cast member. This statement sets the tunnelDepth of logo to 5. When logo is displayed in 3D mode, its letters will be very shallow.

    member("logo").tunnelDepth = 5

In this example, the model resource of the model Slogan is extruded text. This statement sets the `tunnelDepth` of Slogan's model resource to 1000. Slogan's letters will be extremely deep.

    member("scene").model("Slogan").resource.tunnelDepth = 1000

See also

`extrude3D`