This repository contains small, focused OpenCAD scripts that demonstrate how to model hardware, software interface, firmware support, and full-device parts. Each example is standalone and can be run directly with the OpenCAD CLI.
examples/hardware— mechanical brackets, carriers, and similar partsexamples/software— enclosures or panels driven by software UI needsexamples/firmware— fixtures and tooling that support firmware workflowsexamples/device— full-device or multi-discipline partsexamples/agents— agent-driven code generation examples
For a detailed list of scripts, see examples/README.md.
From the repository root:
python -m opencad.cli run examples/hardware/hardware_mounting_bracket.py \
--export bracket.step \
--tree-output bracket-tree.json