feat: add gears workbench as default addon #361
Reference in New Issue
Block a user
Delete Branch "feat/gears-addon"
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
Adds the kindred/gears workbench as a default bundled addon under
mods/gears. Provides 13 parametric gear generation commands integrated into the Kindred Create editing context system.Gear Commands
Involute, Internal Involute, Involute Rack, Cycloid, Cycloid Rack, Bevel, Crown, Worm, Timing (2 variants), Lantern, HypoCycloid gears, and Gear Connector.
Integration
mods/gears→https://git.kindred-systems.com/kindred/gears.gitload_priority: 40(sdk=0 → solver=10 → gears=40 → silo=60), depends onsdksys.pathforpygearsmath library andfreecad.gearsnamespace packageGearWorkbenchregistration + deferred injection of all 13 gear commands intopartdesign.bodyandpartdesign.featureediting contexts viakindred_sdk.inject_commands()context.py routing
Already completed in #351 —
kindred_sdk/context.pyroutes throughkcsdkC++ module first withFreeCADGuifallback.Verification
pygearsimportable from pixi environmentpackage.xmlparses correctly (name=gears, priority=40, dep=sdk, subdir=freecad/gears)Init.pypath arithmetic verified: resolves to correct repo rootInit.pyandInitGui.pypresent at workbench pathnumpy,scipy,sympy) available in pixi env