A lookup table for people who already think in OpenSCAD. Find the built-in you would have typed — square, polygon, resize, minkowski, linear_extrude, for — and see where it lives in Rig Cad, with the few differences that will actually bite.
For the bigger idea behind the mapping — the Objects tree is the program, and Customizer sliders are Variables — start with Rig Cad for OpenSCAD Users: Visual CSG in the Browser.
2D shapes: square, circle, polygon, text
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
square([w, h]) |
Rectangle | Has its own corner radius, so no offset() trick is needed to round it. |
circle(r) |
Circle | innerRadius makes a ring; an aperture under 360° makes a pie sector. |
circle(r, $fn = 6) |
Polygon | Rig Cad's Polygon is a regular N-gon — hexagon, octagon, triangle — with optional rounded corners. |
polygon(points) |
Path, or Sketch 2D | A Path takes arbitrary points, and every vertex can be bound to an expression. Sketch 2D adds solved constraints. |
text("...") |
Text | A 2D path by default; switch it to solid for raised letters. See Text as Geometry. |
import("logo.svg") |
Vector Import | Inline SVG to closed 2D paths. |
| (build it by hand) | Slot, Arc Slot, Teardrop, Ellipse, Star | Profiles you would otherwise write as hull or polygon code. |
3D primitives: cube, sphere, cylinder, polyhedron
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
cube([x, y, z]) |
Box | Optional corner radius. |
sphere(r) |
Sphere | |
cylinder(h, r1, r2) |
Cylinder | A taper makes a cone or frustum. It also has a teardrop shape for horizontal printed holes, and end tapers for countersinks. |
polyhedron(points, faces) |
Polyhedron | Also gives Platonic and Archimedean solids, wedges and ellipsoids without writing face lists. |
import("part.stl") |
Import Geometry | STL, OBJ, 3MF, GLB, PLY and OFF as meshes; STEP and IGES keep exact B-rep geometry. |
surface("map.png") |
Height Map | Grayscale relief on a flat footprint. |
Transforms: translate, rotate, scale, resize, mirror, color
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
translate([x, y, z]) |
Position in Properties | Bind any axis to an expression, such as width / 2. |
rotate([x, y, z]) |
Rotation in Properties | Degrees, as in OpenSCAD — but Z is applied first. See the caution above. |
scale([x, y, z]) |
Scale in Properties | |
resize([x, y, z]) |
No separate node | Set the primitive's own size. For an imported mesh, bind its scale to target size ÷ original size. |
mirror([1, 0, 0]) |
Mirror operation | Keeps the original and the reflection by default. Turn keepOriginal off to get OpenSCAD's behaviour. |
multmatrix(m) |
No direct equivalent | Express it as position, rotation and scale on a group. |
color("red") |
Color on any node, or Set Color | Set Color recolours a whole sub-assembly at once. |
Nested translate inside translate is a parent frame here too. Transforms and Reference Frames is that chapter.
Booleans: union, difference, intersection, hull, minkowski
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
union() |
Union, or Group | Use Group when you only want to place a sub-assembly as one piece. |
difference() |
Difference | Still ordered: the first child is kept, the rest are cutters. |
intersection() |
Intersection | |
hull() |
Hull | Works on 2D profiles as well as solids. |
minkowski() |
Minkowski | For rounding, a smooth SDF blend is usually faster — see Fillets and Chamfers Without a Fillet Tool. |
| (not built in) | Symmetric Difference, smooth union and difference | XOR, and Booleans that blend into each other with a fillet radius. |
Booleans also work on 2D profiles: difference two outlines, then extrude once, instead of extruding both and subtracting solids.
Extrusions and 2D operations: linear_extrude, rotate_extrude, offset
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
linear_extrude(height, twist, scale) |
Linear Extrude | Twist angle and top-face scale are built in. |
rotate_extrude(angle) |
Revolve | Sweeps the profile around its local Y axis. See Sketches to Solids. |
offset(r = ...), offset(delta = ...) |
Path Op offset | A true normal offset, so a wall stays constant on a slope. Shrink then grow to round every corner. |
projection(cut = true) |
Cross Section | Stays current: it re-solves whenever the model changes. |
| (not built in) | Extrude Along Path, Loft, Spiral Extrude | Sweeps, skins through several profiles, and helical extrusions. |
The language: variables, for, if, module, $fn, assert
| OpenSCAD | Rig Cad | Notes |
|---|---|---|
| Variables at the top of the file | Variables | Typed: range sliders, numbers, selects, booleans, text and fonts. |
| Customizer comments | Exposed Variables | The same controls appear on the project page and in any embed. |
function f(x) = ...;, let |
Expression variables | Hidden helper formulas the other values reference. |
for (i = [0 : n - 1]) |
Linear Repeat, Radial Repeat, Parametric Repeat | Parametric Repeat exposes instance.i, instance.count and instance.t so each copy can differ. See Repeats and Arrays. |
if (cond) |
The node's enabled expression, or Switch | enabled turns a feature on or off; Switch picks one of several complete variants. |
module / children() |
Group, reused with Instance | An Instance follows its source and can override individual parameters. |
include / use |
Assembly and Assembly Instance | Each placement sets its own published inputs. |
$fn |
segments on the primitive |
|
echo() |
Readout variable | A calculated value shown to whoever uses the model. |
assert() |
Variable validators | A value that would break the part is refused before it builds. |
c ? a : b |
c ? a : b |
Same ternary. Compare text with equalText(), not ==. |
| F5 / F6 | Automatic | Every change re-solves; there is no separate render step. |
The full function list is in Expressions and Variables in Rig Cad.
Next
- Rig Cad for OpenSCAD Users — the mounting-tab script rebuilt as a tree, and a Customizer tray as Variables.
- Constructive Solid Geometry (CSG) Modeling, Explained — how the tree stays editable past one module.
- Oversize the Cutter: Reliable Booleans —
h = t + 2*eps, written on the cutter. - Signed Distance Fields (SDF) Explained — the smooth Booleans OpenSCAD does not have.
- Export for the Slicer: STL, 3MF, and Mesh Weight — the step after F6.
Comments
Loading comments...