generate_cad_script
Write a CadQuery (or FreeCAD) script for a described part, run it in the MetaForge sandbox, check the geometry against the user's dimensions, and commit it to the twin as a named CAD model. Use when the user asks for a part whose shape is more than a single primitive ("model a bracket with a slot and two counterbored holes", "write a CadQuery script for this flange"), hands you a script to run and record, or a design phase needs a cad_model deliverable that no dedicated generator covers.
Pinned to revision 310828c6bedb, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.