Skip to main content

Project layout

.
├── template.repo.toml # Org/repo identity — edit after "Use this template", then just init
├── AGENTS.md # Agent conventions
├── README.md # Template landing page
├── .cursor/ # MCP wiring (IDE → in-container servers)
├── .makerrepo/config.yaml # MakerRepo defaults
├── .github/
│ └── workflows/ # CI/CD pipeline, release, docs
├── ci/ # Dagger module
├── .devcontainer/ # Dev container + OCP VSIX install
├── cad/
│ ├── assets/ # Committed third-party reference files (images, meshes, STEP, …)
│ ├── parts/ # Reusable parametric parts
│ └── assemblies/ # Composed products
├── cad_tooling/ # Export, render, release helpers
├── justfile # Dev, export, and CI/CD pipeline commands
├── main.py # Viewer entry (not model logic)
├── tests/ # CAD model tests
└── cad_tooling_tests/ # Tooling unit tests

Directory responsibilities​

PathPurpose
cad/assets/Third-party reference files (images, meshes, SVG, STEP) + manifests — see Third-party assets
cad/parts/Single reusable components; builders + MR decorators
cad/assemblies/Products composed from parts; placement and patterns
cad_tooling/Export, headless render, release notes
main.pyThin viewer demo — import builders, call show_object
tests/Geometry, export, MakerRepo discovery tests

Where to add code​

  • New reusable part → cad/parts/<name>.py
  • New product → cad/assemblies/<name>.py (import from cad.parts)
  • Export/CI/CD pipeline helper → cad_tooling/ (not in cad/)

See Parts & assemblies for the three-layer pattern.

After cloning from the template​

TaskGuide
One-time GitHub.com settingsSet up GitHub
First GitHub ReleaseReleases
Rename repo / fix docs URLEdit template.repo.toml, then just init or just template-apply — Create and initialize your repository