Build your first useful model
Go from zero to a parametric, printable model in five minutes.
1. Open the editor
Go to printparams.com/new. You will see a three-panel layout: code on the left, 3D viewer top-right, parameters bottom-right.
2. Start with a simple shape
// A mounting plate
param width: float = 40 [20:100] "Width (mm)"
param depth: float = 30 [15:80] "Depth (mm)"
param thickness: float = 3 [1.5:8:0.5] "Thickness (mm)"
param corner_r: float = 3 [0:10] "Corner radius (mm)"
// Rounded rectangle plate
hull {
translate(corner_r, corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(width - corner_r, corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(corner_r, depth - corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(width - corner_r, depth - corner_r, 0) cylinder(h: thickness, r: corner_r)
}Press Cmd+Enter (or Ctrl+Enter) to run. A rounded plate appears in the viewer. The four param lines automatically create sliders in the parameter panel.
3. Add mounting holes
param hole_r: float = 2 [1:5:0.5] "Hole radius (mm)"
param hole_inset: float = 5 [3:15] "Hole inset (mm)"
difference {
// (plate from above - put it inside the difference block)
hull {
translate(corner_r, corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(width - corner_r, corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(corner_r, depth - corner_r, 0) cylinder(h: thickness, r: corner_r)
translate(width - corner_r, depth - corner_r, 0) cylinder(h: thickness, r: corner_r)
}
// Four mounting holes
for (x in [hole_inset, width - hole_inset]) {
for (y in [hole_inset, depth - hole_inset]) {
translate(x, y, -0.5)
cylinder(h: thickness + 1, r: hole_r)
}
}
}The difference block subtracts the holes from the plate. Adjust the inset slider to move holes closer to the edges.
4. Export and print
Click Download STL in the viewer toolbar. Import the file into your slicer (PrusaSlicer, Cura, etc.). All dimensions are in millimeters - no unit conversion needed.
5. Save and share
Click Save to get a short URL. Anyone with the link can open the model, adjust the parameters, and download their own STL. They do not need an account.