Transformations

Union

union() { cylinder (h = 4, r=1, center = true, $fn=100); rotate ([90,0,0]) cylinder (h = 4, r=0.9, center = true, $fn=100); }

Difference

difference() { cylinder (h = 4, r=1, center = true, $fn=100); rotate ([90,0,0]) cylinder (h = 4, r=0.9, center = true, $fn=100); }

Translate (Move)

Translates moves its child elements along the specified vector. The argument name is optional. translate(v = [x, y, z]) { ... } cube([2,3,4]); translate([3,0,0]) { cube([2,3,4]); }

Rotate

Rotates its child 'a' degrees about the axis of the coordinate system or around an arbitrary axis. The argument names are optional if the arguments are given in the same order as specified.

rotate(a = deg_a, v = [x, y, z]) { ... }

Parameters