Start a projectLab
Working tool

Parametric CAD explorer

Define the outer size, the wall, the corner radius, the lid and the fixing towers of an enclosure. The tool redraws the two parts as you change them, computes volume and mass for each material, and checks which reference build volumes the parts fit in.

What it computes

Geometry. A box in two parts: a base with a floor and four walls, and a lid with a roof and four walls, both with the same outer outline and the same wall thickness. The vertical corners are rounded with one radius (zero allowed), outside and, reduced by the wall, inside. The optional towers are four hollow cylinders on the floor of the base, each touching the walls (or the corner arc) of the cavity and rising to the rim.

Volume and mass. Volumes are exact formulas, not a mesh estimate: the area of a rounded rectangle is the product of its sides minus (4 − π) times the radius squared; each part is the outer prism minus the cavity, and the base adds the four tower rings. Mass is volume times a typical density. The outer area is that of the closed box, without holes or chamfers.

Which build volumes. The three dimensions of each part are sorted and compared, one by one, with three sorted reference build volumes: 340 × 320 × 340 mm and 256 × 256 × 256 mm for filament printing, and 302 × 162 × 300 mm for resin printing.

Drawing and script. The drawing shows the edges of the two parts, generated from the same parameters, with the corner arcs approximated by straight segments. The CadQuery script is the text that builds exactly the same geometry; it is how we generate the STEP file internally.

How it was verified

The volumes are checked against the CAD kernel (CadQuery, on OpenCASCADE) in automated tests, on twelve sets of parameters that include sharp corners, large radii, thin walls and no towers. The script run in those checks is the same text this tool exports. The analytic volume has to agree with the kernel to within 0.1 %; the differences found are far smaller. Cases worked by hand and invalid inputs are tested as well.

In this public version

One family of geometry: a two-part box with up to 600 mm per side. The public version computes and draws; exporting the script is reserved for registered users, and the STEP file is generated with CadQuery outside the browser, to order. Fits, tolerances, screws, snap-fits, strength and printability are not assessed.

Need it on your own data, at scale or inside your systems?

The same engine can be adapted, integrated or extended to order.

Discuss your case