Generate a browser-local CadQuery script template for simple parametric mechanical parts using editable dimensions and clear modeling steps.
The generator maps selected part type, unit note, safe part name, body dimensions, hole options, fillet options, and export preference into a deterministic CadQuery Workplane-style text template.
It keeps generated scripts hidden until an explicit action succeeds, then shows the script, result-driven preview, warnings, downloads, assumptions, limitations, references, and related workflows.