fix: add Create module to CMake build — fixes silo workbench not loading #221

Merged
forbes merged 2 commits from fix/create-module-install into main 2026-02-14 20:48:33 +00:00
Owner

Problem

The silo workbench fails to load on startup with:

Ignoring unknown SiloWorkbench workbench found in user preferences.

The Create module (src/Mod/Create/) was never included in the build because src/Mod/CMakeLists.txt did not call add_subdirectory(Create).

Impact

This caused a cascade of failures:

  1. Mod/Create/InitGui.py was never installed, so setup_kindred_workbenches() never ran
  2. The silo workbench (mods/silo/freecad/) was never installed to the correct location
  3. The ztools addon install rules also never executed
  4. kc_format.py (.kc file format handler) was never installed

Fix

  1. src/Mod/CMakeLists.txt: Add add_subdirectory(Create) to include the Create module in the build
  2. src/Mod/Create/CMakeLists.txt: Add missing kc_format.py to the install file list

Verification

After rebuilding and installing:

  • Mod/Create/ should exist in the install prefix with Init.py, InitGui.py, kc_format.py, update_checker.py, version.py
  • mods/silo/freecad/ should contain silo workbench files
  • mods/ztools/ should contain ztools addon files
  • No more "Ignoring unknown SiloWorkbench" messages on startup
## Problem The silo workbench fails to load on startup with: ``` Ignoring unknown SiloWorkbench workbench found in user preferences. ``` The Create module (`src/Mod/Create/`) was never included in the build because `src/Mod/CMakeLists.txt` did not call `add_subdirectory(Create)`. ## Impact This caused a cascade of failures: 1. `Mod/Create/InitGui.py` was never installed, so `setup_kindred_workbenches()` never ran 2. The silo workbench (`mods/silo/freecad/`) was never installed to the correct location 3. The ztools addon install rules also never executed 4. `kc_format.py` (`.kc` file format handler) was never installed ## Fix 1. **`src/Mod/CMakeLists.txt`**: Add `add_subdirectory(Create)` to include the Create module in the build 2. **`src/Mod/Create/CMakeLists.txt`**: Add missing `kc_format.py` to the install file list ## Verification After rebuilding and installing: - `Mod/Create/` should exist in the install prefix with `Init.py`, `InitGui.py`, `kc_format.py`, `update_checker.py`, `version.py` - `mods/silo/freecad/` should contain silo workbench files - `mods/ztools/` should contain ztools addon files - No more "Ignoring unknown SiloWorkbench" messages on startup
forbes added 1 commit 2026-02-14 20:47:19 +00:00
fix: add Create module to CMake build
Some checks failed
Build and Test / build (pull_request) Has been cancelled
bae7c22e60
The Create module (src/Mod/Create/) was never included in the build
because src/Mod/CMakeLists.txt did not call add_subdirectory(Create).

This meant:
- Mod/Create/InitGui.py was never installed, so the workbench loader
  (setup_kindred_workbenches) that loads silo and ztools never ran
- The install rules for mods/silo/freecad/ and mods/silo/silo-client/
  never executed, leaving the silo workbench files missing
- kc_format.py was also not listed in the Create install rule

Fixes the 'Ignoring unknown SiloWorkbench' error on startup.
forbes added 3 commits 2026-02-14 20:48:23 +00:00
feat(silo): update silo submodule — DAG extraction engine (#214)
Some checks failed
Build and Test / build (pull_request) Has been cancelled
99a53d0ab2
Points silo-mod to feat/silo-dag-extraction branch which adds:
- extract_dag(): two-pass document walk producing nodes + edges
- classify_type(): maps ~50 FreeCAD TypeIds to DAG node types
- compute_properties_hash(): SHA-256 of parametric inputs

Closes #214
Reviewed-on: #220
Merge branch 'main' into fix/create-module-install
Some checks failed
Build and Test / build (pull_request) Has been cancelled
8a8443607b
forbes merged commit 40fef9be85 into main 2026-02-14 20:48:33 +00:00
forbes deleted branch fix/create-module-install 2026-02-14 20:48:33 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/create#221