Closed gilmiz closed 1 month ago
Strange. On freecad 0.21 it works well, I'm not sure yet what changes caused it to stop working on 0.22
Hey @gilmiz ,
I think I found the problem. Please update and try again.
Hi @shaise , Thanks. The fix seems to work. I will test some more tomorrow.
After selecting faces as described in the instructions, the sheet to be embossed disappear with the following error message:
15:55:17 PartDesign::FeaturePython: Link(s) to object(s) 'Pad001' go out of the allowed scope 'WallForming'. Instead, the linked object(s) reside within 'Part Part'. 15:55:17 pyException: Traceback (most recent call last): File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\sheetmetal\.\SheetMetalFormingCmd.py", line 197, in execute a = makeforming(tool, base, base_face, thk, tool_faces, offsetlist[i], fp.angle.Value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\sheetmetal\.\SheetMetalFormingCmd.py", line 141, in makeforming offsetshell_tran = transform_tool(offsetshell, base_face, tool_faces[0], point, angle) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\sheetmetal\.\SheetMetalFormingCmd.py", line 125, in transform_tool tool.rotate(rot_center, rot_axis, -rot_angle) <class 'Part.OCCError'>: class Standard_ConstructionError gp_Dir() - input vector has zero norm 15:55:17 WallForming: class Standard_ConstructionError gp_Dir() - input vector has zero norm
FC details:
test file attached: test.zip