Hello All,
I am very impressed by FreeCAD and the sheet metal workbench. I think if I were doing a "standard" design I would have finished already!
I am running into an issue using the Bend tool (W) and trying to supply a sketch for the created wall. I am fairly certain this is a bug but I am also open to suggestions on how to better achieve my goal.
Goal: design a tapered shape with trapezoidal sides. See for example this shape done in Sheet Lightning:
- cup_from_sheetlightning_render.PNG (15.22 KiB) Viewed 1865 times
- cup_from_sheetlightning_unfolded.PNG (15.56 KiB) Viewed 1865 times
In SM wb I create the initial box/pad in the shape of the wall, this works great. I don't know how to get the subsequent walls/bends to be shaped properly. Doing funky things with negative miter angles almost worked, and I think that adding a sketch to define the wall is the way to go but I get an error "mainlist is referenced before it is defined" around line 698 in SheetMetalCmd.py:
#mainlist = getBendetail(selFaceNames, MainObject, bendR, bendA, flipped)
thk_faceList = []
resultSolid = MainObject
for i, sublist in enumerate(mainlist):
I made some quick edits and got some things working but am getting index out of range errors on recomputes and am out of my depth on the codebase.
About:
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.24893 (Git)
Build type: Release
Branch: master
Hash: 03855f793feaceeb4385c02f6520f3e1b6429c93
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
SM wb V0.2.48
Can someone have a look?