docs: write ARCHITECTURE.md — three-layer model and bootstrap flow #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Tier 1 — Entry Point
File:
docs/ARCHITECTURE.mdPriority: Read third — mental model for how everything fits together
What this document should cover
.FCStd), workbench logic in Python addonssrc/Mod/Create/Init.pysetup_kindred_addons()adds ztools + silo tosys.path, runs theirInit.pyInitGui.py→setup_kindred_workbenches()registers workbenchesFileOrigin(abstract C++ interface) →LocalFileOrigin+SiloOriginOriginManager— lifecycle, switching, capability queriesOriginSelectorWidget— File toolbar dropdown_ZToolsPartDesignManipulatorFileOriginbackendReplaces
The existing
docs/ARCHITECTURE.mdis a brief auto-generated summary. This issue calls for a proper architectural document with diagrams.Key source files to reference
src/Mod/Create/Init.py,src/Mod/Create/InitGui.py— bootstrapsrc/Gui/FileOrigin.h,src/Gui/OriginManager.h— origin systemsrc/Gui/CommandOrigin.cpp— origin commandssrc/Gui/OriginSelectorWidget.h— UI integrationmods/ztools/ztools/ztools/InitGui.py— workbench + manipulator registrationmods/silo/freecad/InitGui.py— Silo workbench registrationAcceptance criteria
Superseded by the mdBook documentation structure set up in PR #105. The content scope of this issue is now covered by the pages in
docs/src/. Remaining content work is tracked in #104.