Croquis is a free web app for sketching 2D geometry tied together by relations and dimensions, solved like a CAD sketcher, with forces, supports and other engineering annotations. It exports SVG, PDF, PNG, DXF and TikZ for LaTeX. The web app needs JavaScript.
Scripts and AI agents can use the same solver without a browser: npx github:Bare-Metal-Foundry/croquis build spec.json --svg figure.svg. See the headless API, the llms.txt summary and the source code on GitHub.
npx github:Bare-Metal-Foundry/croquis build spec.json --svg figure.svg
By Stépane Binon. Free for personal and noncommercial use (PolyForm Noncommercial 1.0.0).