Skip to content

Artisan Grasshopper

Layout

2 components in Manufacturing › Layout.

Copies

Lays copies of a piece in a row along -Y, each copy shifted by the piece’s bounding box depth plus a gap, so multi-part pieces keep their parts together

Nickname: Copies · Tab: Manufacturing › Layout

Inputs

NameNicknameTypeAccessDefaultDescription
PiecePieceGeometrylist—The piece to copy: one or several objects that move together
CopiesNIntegeritem1Number of copies to add (the original is kept as copy 0)
GapGapNumberitem0Extra distance between consecutive copies

Outputs

NameNicknameTypeAccessDescription
CopiesCopiesGeometrytreeThe original and its copies, one branch per copy
TransformsXformsTransformlistThe translation of each copy (identity for the original)

Distribute

Lines the pieces up in a row along X, each resting on Z = 0 with its back edge on Y = 0 and a gap to the next, ready for the build tray

Nickname: Distribute · Tab: Manufacturing › Layout

Inputs

NameNicknameTypeAccessDefaultDescription
PiecesPiecesGeometrytree—The pieces to line up: one branch per piece (a branch holds the parts that travel together). A single branch is taken as one piece per item
GapGapNumberitem0.1Gap between pieces as a fraction of each piece’s width

Outputs

NameNicknameTypeAccessDescription
PiecesPiecesGeometrytreeThe pieces in their new place, one branch per piece
TransformsXformsTransformlistThe translation applied to each piece