Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Development

The model in platform/ is plain OpenSCAD with no library dependencies:

  • dimensions.scad: parameters and structural assertions.
  • parts.scad: the printable parts.
  • assembly.scad: preview and export entry point.
  • crimpdeq_reference.scad: simplified snapshots of the supported Crimpdeq cases (crimpdeq-case v2.0.0, v3.1.0 and v3.2.0) used for fit and collision checks.

The export and validation scripts are in scripts/.

All dimensions are in millimetres. Override parameters with -D name=value; unsafe combinations fail with an assertion.

Preview and export

openscad platform/assembly.scad              # preview; options in Window → Customizer
bash scripts/export-parts.sh                 # every part as STL into exports/
python3 scripts/export-bambu-project.py      # Bambu Studio project into exports/

Validate

Run after every geometry or dimension change:

CHECK_JOBS=4 OPENSCAD_RENDER_FN=24 bash scripts/check-collisions.sh

It checks the parts for collisions and required contacts, confirms that each exported STL has the expected number of bodies, and that unsafe parameters are rejected. scripts/check-real-case.sh runs the same fit checks against the real crimpdeq-case source of any release; set CRIMPDEQ_CASE_DIR to its case/ directory. CI runs both on every pull request, the real-case check against each supported release.

Book

The images in docs/src/images/ are rendered from the model; re-render them after geometry changes and preview the book:

bash docs/illustrations/render-illustrations.sh
mdbook serve docs