Expand description
Utility functions for creating common vertex patterns
Functionsยง
- create_
line - Create vertices for a line from start to end point
- create_
line_ plot - Create vertices for a parametric line plot (1px line segments)
- create_
line_ plot_ dashed - Create dashed/dotted line vertices by selectively including segments. Approximation: pattern is applied per original segment index.
- create_
point_ cloud - Create vertices for a point cloud
- create_
scatter_ plot - Create vertices for a scatter plot
- create_
thick_ polyline - Create thick polyline as triangles (used when line width > 1)
- create_
thick_ polyline_ dashed - Create dashed/dotted thick polyline by skipping segments in the extruder.
- create_
thick_ polyline_ round_ caps - Round caps variant: square caps plus approximated semicircle fan at ends
- create_
thick_ polyline_ square_ caps - Square caps variant: extend endpoints by half width
- create_
thick_ polyline_ with_ join - Thick polyline with join style
- create_
triangle - Create vertices for a triangle
- extrude_
polyline - CPU polyline extrusion for thick lines (butt caps, miter joins simplified) Input: contiguous points. Output: triangle list vertices.
- extrude_
polyline_ with_ join - Extrude polyline with join styles at internal vertices.