Module shape

Source
Expand description

Shape operations such as booleans and offsets.

Structsยง

BooleanDifference
Operation to perform a boolean difference on two distance values -> max(a, -b)
BooleanIntersection
Operation to perform a boolean intersection on two distance values -> max(a, b)
BooleanUnion
Operation to perform a boolean union on two distance values -> min(a, b)
Offset
Operation to perform an offset on a distance value, which is the same as the subtraction operation -> a - distance.
Thickness
Operation to give thickness to a surface. This will offset the input outwards and inwards by half the thickness and perform a difference operation.