A Polyline is a simple chain of line segments through a series of supplied vertices.
Parameter Rules
vertices: | An array of Points. |
Example: |
return[p(0,0,0),
p(0.75+2,0),
p(0.75+4,6,0),
p(0.5+4,6,0),
p(0.5+4,6.25,0),
p(0.6+4,6.25,0),
p(0.75+4,6.5,0),
p(0.8+4,6.75,0),
p(0.8+4,7,0),
p(0.8+4,7.25,0),
p(0.7+4,7.5,0),
p(0.6+4,7.75,0),
p(0.6+4,8,0),
p(0.7+4,8.5,0),
p(0.7+4,8.6,0),
p(0.6+4,8.65,0),
p(0.55+4,8.65,0),
p(0.5+4,8.75,0),
p(0.25+4,9,0),
p(0.25+4,7,0),
p(0.25+3,5,0),
p(2.75,4,0),
p(2.25,3,0),
p(2 ,2,0),
p(1.25,0.75,0),
p(0,0.25,0),
p(0,0,0)];
Mixins
PointRenderMixin
BaseAssembly
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
vertices |
array |
[] |
Inputs |
Cached |
Project Example:
In your kBridge Examples Projects folder, open the project called ‘Geometry Examples’.
Polyline2 has a color value as "Blue". You can build any shape with different points in the vertices rule. This shape is used to revolve into a vase in another project.