NGon : Shape

Constructor

ngon ...

Properties

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

The NGon radius.

<NGon>.scribe            Integer    default: 0

Sets whether the NGon is:

0- Circumscribed (Radius is measured from the center to the sides of the NGon)

1- Inscribed (Radius is measured from the center to the corners of the NGon)

<NGon>.sides             Integer    default: 6     -- animatable

Number of sides and vertices used by the NGon.

<NGon>.corner_Radius      Float      default: 0.0   -- animatable

Degree of rounding to apply to the corners of the NGon. A setting of 0 specifies a standard unrounded corner.

<NGon>.circular          Boolean    default: true  -- animatable

When on, specifies a circular NGon.

<NGon>.steps       Integer    default: 6

The number of divisions between each vertex.

<NGon>.optimize       Boolean    default: true

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

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

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

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

<NGon>.radius Float   default: 1.0   -- animatable

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

Radius of the rendered spline.

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

<NGon>.viewport_thickness Float      default: 1.0   

Diameter of the viewport spline.

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

<NGon>.viewport_angle      Float      default: 0.0   

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

<NGon>.DisplayRenderMesh   Boolean   default: false

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

<NGon>.UseViewportSettings   Boolean    default: false   

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

<NGon>.DisplayRenderSettings   Boolean    default: true   

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

<NGon>.renderable Boolean   default: true

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

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

See also