Migrate ztools and Silo to kindred-addon-sdk #250
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?
Summary
Migrate ztools and Silo from direct
FreeCADGui.*calls to thekindred_sdkAPI for context registration, theme access, and manifest declarations.Scope
ztools changes
Gui.addWorkbenchManipulator()usage with_ZToolsPartDesignManipulatorwith SDK-managed context injection if SDK wraps it (evaluate)kindred_sdk.get_theme_tokens()<kindred>element topackage.xmldeclaring SDK version, dependencies (sdk), and registered contextsSilo changes
FreeCADGui.registerEditingOverlay()call withkindred_sdk.register_overlay()QTimerscheduling) withkindred_sdk.dock.register_deferred_panel()if dock helper is provided<kindred>element topackage.xmldeclaring SDK version, dependencies (sdk, silo-client)silo-clientsubmodule remains independent of SDK (it should — silo-client is pure HTTP, no FreeCAD dependency)Affected repos
kindred/ztools(submodule atmods/ztools)kindred/silo-mod(submodule atmods/silo)Acceptance criteria
FreeCADGui.registerEditingOverlayorGui.addWorkbenchManipulator()directlysdk_versionin theirpackage.xmlDependencies
Notes
This is a refactor, not a feature change. Behavior should be identical before and after. The WorkbenchManipulator pattern (
Gui.addWorkbenchManipulator()) may or may not be wrapped by the SDK — if it's stable across upstream rebases, leaving it as a direct call is fine. Evaluate during #2.