RegularPolygonNode

This generator node generates vertex data for all kind of regular polygons. A few examples:

../_images/npoly.png

Attribute Reference

Name

niceName dist10 (⇨ wstring) dist50 plug_in plug_out , f_default Unnamed

Human readable name of this node (eg. “Rectangle 1”). The name can be changed to any string in the Attribute Editor or in the Outliner.

General settings

Number of corners
numVertices dist10 (⇨ int) dist50 plug_in plug_out , f_default 6
Outer radius
outerRadius dist10 (⇨ double) dist50 plug_in plug_out , f_default 10

Star shape

Inner radius
innerRadius dist10 (⇨ double) dist50 plug_in plug_out , f_default 5

Create hole

Hole Radius
holeRadius dist10 (⇨ double) dist50 plug_in plug_out , f_default 4
Hole is a star
starHole dist10 (⇨ bool) dist50 plug_in plug_out , f_default False

Other Attributes

Hole
hasHole dist10 (⇨ bool) dist50 plug_in plug_out , f_default False
Holes output
holes dist10 (⇨ vec2[][]) dist50 plug_out , f_default Empty Array
Outline output
outlines dist10 (⇨ vec2[][]) dist50 plug_out , f_default Empty Array
Star Shape
starShape dist10 (⇨ bool) dist50 plug_in plug_out , f_default False
Object Name

name dist10 (⇨ string) dist50 plug_in plug_out , f_default Unnamed

Object name. The object name can be used to address objects from PYTHON scripts or from an expression (eg. in the Attribute Editor). More information about object names can be found Object Names