range(x1, x2, y1, y2, z1, z2)
beam(x1, y1, z1, x2, y2, z2)
beam(x, y, z, w, d, h)
cylinder(x, y, z|z1, h, r|d, rotx, roty)
tube(x, y, z|z1, h, r1|d1, r2|d2, rotx, roty)
cone(x, y, z, r|d, h, rotx, roty)
cone(x1,y1,z1,r1|d1, x2,y2,z2,r2|d2, rotx, roty)
sphere(x, y, z, r|d)
torus(x,y,z, r1|d1, r2|d2, rotx, roty)
pie(x,y,z|z1,h,r|d,a1,a2,rotx,roty)
helix(x,y,z|z1,h|z2,r1|d1,r2|d2,a,pitch,rotx,roty)
poly(x1,y1,z1, ..., x8,y8,z8)
text(x, y, z, size, h, text, rotx, roty, rotz)
+ Union (optional, default)
+
- Subtraction
-
$color = 'yellow' or '#ff00ff'
$color = 'yellow'
'#ff00ff'
$alpha = 0.5 (0=invisible, 1=opaque)
$alpha = 0.5
$fragments = 32 (shape detail)
$fragments = 32
All shapes/functions also accept color='...' and alpha=... parameters to override the system variables for one command.
color='...'
alpha=...
myVar = 10 * 2
myFunc(p1, p2) { // ... csg operations using p1, p2 // $color can be used here too! } // Usage myFunc(p1=10, p2=20)