Build the cases from Python scripts #11
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/case-scripts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The saved FreeCAD models held only finished solids, with no history to edit. Each case is now a Python script next to its board, with its dimensions named at the top. The two node cases share
scripts/case_parts.py.scripts/generate_prints.pyruns every case script, writes the base and lid as 3MF files, and saves a.FCStdbeside the script for viewing.Behavioural changes:
.FCStdfiles are removed from git and ignored. They are build output now.scripts/case_parts.pychanges, not when a.FCStddoes.fonts-dejavu-corefor the lid lettering, so the runner rebuilds the image once.Tested: all six script-built parts match the previously committed models, with zero volume difference in either direction. The build inside the Docker image matches the local flatpak build the same way. It has not run on the runner.
Merging this cuts a release.