3D Lingo Dictionary > O-S > smoothness

 

smoothness

Syntax

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

Description

3D extruder model resource and text property; allows you to get or set an integer controlling the number of segments used to create a 3D text cast member. The higher the number, the smoother the text appears. The range of this property is 1 to 10, and the default value is 5.

It is recommended that you see the extrude3D 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 smoothness of Logo to 8. When Logo is displayed in 3D mode, the edges of its letters will be very smooth.

member("Logo").smoothness = 8

In this example, the model resource of the model Slogan is extruded text. This statement sets the smoothness of Slogan's model resource to 1, causing the Slogan's letters to appear very angular.

member("Scene").model("Slogan").resource.smoothness = 1

See also

extrude3D, numSegments