Star : Shape

Constructor

star ...

Properties

<Star>.radius1              Float       default: 25.0 -- alias: Radius_1

The radius of the inner vertices of the star.

<Star>.radius2              Float       default: 12.0 -- alias: Radius_2

The radius of the outer vertices of the star.

<Star>.points               Integer     default: 6    -- alias: numPoints

The number of points on the star. The valid range is from 3 to 100.

<Star>.distort              Float       default: 0.0  -- alias: Distortion

Rotates the outer vertices about the center of the star. This produces a saw-tooth affect.

<Star>.fillet1 Float default: 0.0

Rounds the inner vertices (the valleys) of the star.

<Star>.fillet2 Float default: 0.0

Rounds the outer vertices (the points) of the star.

<Star>.steps       Integer     default: 6

The number of divisions between each vertex.

<Star>.optimize    Boolean     default: true

When on, removes unneeded steps from straight segments in the spline.

<Star>.adaptive    Boolean     default: false

When on, adaptive sets the number of steps for each spline to produce a smooth curve. Straight segments always receive 0 steps.

<Star>.angle       Float      default: 0.0   -- animatable

The rotational position of the cross-section in the renderer.

<Star>.thickness   Float      default: 1.0   -- animatable

Radius of the rendered spline.

<Star>.sides      Float      default: 12.0  -- animatable

Sets the number of sides for the spline mesh in the renderer. A value of 4 will give you a square cross section, for example.

<Star>.viewport_thickness Float      default: 1.0   

Diameter of the viewport spline.

<Star>.viewport_sides      Integer    default: 12    

Sets the number of sides for the spline mesh in the viewports. A value of 4 will give you a square cross section, for example.

<Star>.viewport_angle      Float      default: 0.0   

The rotational position of the cross-section in the viewports.

<Star>.DisplayRenderMesh   Boolean   default: false

When on, displays the mesh generated by the spline in the viewports.

<Star>.UseViewportSettings   Boolean    default: false   

When on, displays the mesh generated by the Viewport settings.

<Star>.DisplayRenderSettings  Boolean    default: true   

When on, displays the mesh generated by the render settings.

<Star>.renderable Boolean   default: true

When on, the spline is displayed in the rendered scene.

<Star>.mapCoords Boolean   default: false

Turn this on to apply mapping coordinates. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.

Notes

The Fillet_Radius_1 and Fillet_Radius_2 properties are not accessible to MAXScript in 3ds max 4.

In order to access the points property for Star, you need to access the property via the baseobject property of the node. This is because points is also a property name for all nodes, and conflicts with the Star's points property. For example:

MyStar.baseobject.points=10 -- set number of Star points to 10

See also