node square - blossommerz/locus-hub GitHub Wiki
Home > Primitives > Square
< Previous: Rectangle: Directed | Next: Regular Polygon: Edge >
A square from one side - two adjacent corners.
Category: Primitives | Add menu: Primitives > Square
Give it two adjacent corners - one side of the square - and it builds the full square on that edge. The side length is the distance between the two corners, and the square's orientation follows the edge, so tilting the corners tilts the square. It pairs the two corner lists index-for-index, one square per pair.
- Corner 1 (point): one end of a side.
- Corner 2 (point): the adjacent corner; the distance between the two is the side length.
- Region (region): one square per pair of corners.
- Edges (curve): its sides, as separate curves, grouped per shape.
- Points (point): its corners, grouped the same way.
The three are views of the same shape, so build on whichever suits. For what the shape was built from, rather than what it is, use Explode.
Defined by one side rather than by a size, which is what makes it useful in a construction: lay the two corners on something you have already drawn and the square inherits its position, its size and its angle in one go.
< Previous: Rectangle: Directed | Next: Regular Polygon: Edge >
- In the modeling view: Square - draw the same square directly on the canvas.

