Add SendCutSend Presets workbench - #186
Open
rfaircl2 wants to merge 1 commit into
Open
Conversation
Adds MIT-licensed SheetMetal companion Mod with SCS bend presets, Unfold sync, smoke tests, and CMake install hook.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add SendCutSend Presets workbench
Summary
Adds a companion FreeCAD workbench / Mod, SendCutSendPresets, that applies SendCutSend public bend-calculator parameters (and user custom presets) to SheetMetal flanges and Unfold material sheets.
Motivation
Garage / job-shop users often copy bend radius and K-factor from SendCutSend by hand. This packages that table, applies it to SheetMetal features, creates Unfold-compatible material definition sheets, and syncs Unfold display properties — including when Unfold is created after Apply.
What’s included
data/sendcutsend_bends.jsonsnapshot from the public calculator (2026-09-05)package.xmlfor Addon ManagerNon-goals
Test plan
%APPDATA%/FreeCAD/SendCutSendPresets/custom_bends.json; reload survives Mod replaceInstall path for reviewers
Lives at
src/Mod/SendCutSendPresets/in this VibeCAD tree (CMakeadd_subdirectoryhooked). For stock FreeCAD, the same folder can still be copied intoFreeCAD/Mod/.Smoke / tests
cd src/Mod/SendCutSendPresets python -m unittest tests.test_smoke -vGUI / FreeCADCmd checklist: see
SMOKE.mdin the Mod.AI-TDD: unit tests cover bend JSON + naming + min-flange rule without FreeCAD GUI. SheetMetal Apply/Unfold is manual/FreeCADCmd smoke (documented in
SMOKE.md) because it requires SheetMetal + Qt.CMake
Add to
src/Mod/CMakeLists.txt:Mod provides its own
CMakeLists.txt(installs Python sources, data, icons, tests).