node segment - blossommerz/locus-hub GitHub Wiki
Home > Primitives > Segment
< Previous: Point: Polar | Next: Line >
A finite edge between two points - wire a list of points against a single point for a list of segments.
Category: Primitives | Add menu: Primitives > Segment
- Start (point): the point the segment begins at.
- End (point): the point the segment ends at.
Point lists pair index-for-index. Wire a list of points into one side and a single point into the other, and that single point is shared with every point on the list - one segment per list entry.
- Segment (curve): the finite straight edge between the two points - a single segment, or a list of segments when a list is wired in.
A straight edge with two ends, the simplest thing in the graph that is a shape rather than a position.
Segments are the usual raw material: wire several into Region: Curves to make something fillable, into Offset to thicken them, or into Mark as Seam to tag a boundary. The pairing rule above is what makes a fan or a star easy, one point shared against a list of others.
Unlike a Line or a Ray, a segment stops where you put it, so it can bound a region.
< Previous: Point: Polar | Next: Line >
- In the modeling view: Segment - draw the same segment directly on the canvas.

