feat(addon-system): create kindred-addon-sdk package (#249) #259
Reference in New Issue
Block a user
Delete Branch "feat/kindred-addon-sdk"
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
Create
mods/sdk/with thekindred_sdkPython package providing a stable API layer for addon integration with Kindred Create platform features. The SDK loads at priority 0 (before ztools and silo) via the existing manifest-driven loader.Modules
FreeCADGuiediting context/overlay bindings with argument validation and error handlingPaletteclass supporting color tokens, semantic roles, QSS template formatting, and RGBA uint conversionKey design decisions
accent.primary,background.toolbar) to palette colorsBuild integration
CMake install rules added to
src/Mod/Create/CMakeLists.txt.Verification
FreeCAD.KindredAddons.loaded()from kindred_sdk import get_theme_tokens, register_context, SDK_VERSIONget_theme_tokens()["blue"]returns"#89b4fa"load_palette().format_qss("color: {text};")returns"color: #cdd6f4;"Closes #249