Arc : Shape

Constructor

arc ...

Properties

<Arc>.radius      Float       default: 25.0   -- animatable

The arc radius.

<Arc>.from        Float       default: 45.0   -- animatable

Location of the start point as an angle measured from the local positive X axis.

<Arc>.to          Float       default: 135.0  -- animatable

Location of the end point as an angle measured from the local positive X axis.

<Arc>.pie         Boolean     default: false

When on, creates a closed spline in the form of a pie. The start point and end point are connected to the center with straight segments.

<Arc>.reverse Boolean default: false

When on, the direction of the arc spline is reversed, and the first vertex is placed at the opposite end of an open arc. As long as the shape remains an original shape (and not an editable spline), you can switch its direction by toggling reverse. Once the arc is converted to an editable spline, you can use Reverse at the Spline sub-object level to reverse direction.

<Arc>.steps       Integer     default: 6

Number of divisions between each vertex.

<Arc>.optimize    Boolean     default: true

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

<Arc>.adaptive    Boolean     default: false

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

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

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

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

Diameter of the rendered spline.

<Arc>.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.

<Arc>.viewport_thickness Float       default: 1.0   

Diameter of the viewport spline.

<Arc>.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.

<Arc>.viewport_angle      Float       default: 0.0   

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

<Arc>.DisplayRenderMesh   Boolean    default: false

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

<Arc>.UseViewportSettings   Boolean     default: false   

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

<Arc>.DisplayRenderSettings   Boolean   default: true   

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

<Arc>.renderable Boolean   default: true

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

<Arc>.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 Reverse property is not accessible to MAXScript in 3ds max 4.

See also