When you generate mechanical parts programmatically—whether via CadQuery, OpenCascade, or a text-to-CAD compiler—visual inspection alone is never enough. A part can look watertight in a WebGL preview and still bind on a 3D-printed baseplate by 0.05 mm.
1. Testing Mating Clearances Automatically
For modular systems like Gridfinity, the only reliable way to confirm that a generated bin foot seats cleanly into a baseplate pocket is a pair of boolean intersection checks:
Clearance check (+0.02 mm above contact): The bin foot solid must have zero volumetric overlap with the baseplate solid.
Interference check (-0.05 mm below contact): Lowering the bin slightly must trigger a measurable collision, proving the mating profiles actually match rather than floating in empty space.
We run this exact two-step assertion across our Gridfinity bin and baseplate generator test suite so every exported STL and STEP file fits real-world 42 mm grids.
2. Why Involute Spur Gea
Discussion
Begin the discussion
Begin something meaningful by sharing your ideas.