Create a Polygon
ID
tool-primitive-curves-polygon-by-edge
Name
Polygon By Edge
Group
Primitive Curves
Package
Tool
Keywords
Render
After creating the node, connect the start point of the polygon edge to the first port, the second port gets the endpoint of the polygon edge, the third port gets the point on the polygon plane, and the number of sides of the polygon to the fourth port. On the output ports, you will receive the resulting polygon by side endpoints, polygon plane, and a number of segments. The center of the polygon, and distances from the center to the polygon corner and side.
Circle
Rectangle
Ellipse
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
startPoint | Point | Start point of polygon edge | [0,0,0] |
endPoint | Point | End point of polygon edge | [10,0,0] |
planePoint | Point | Point on polygon plane | [5,5,0] |
countOfSides | Number | Number of sides | 6 |
Outputs
Name | Type | Description |
---|---|---|
curve | Curve | Return N sides Polygon |
origin | Point | Centre of polygon |
outRadius | Number | Distance from centre to polygon corner |
inRadius | Number | The radius of the circumscribing circle of a resulting polygon |