Sheet Metal Bug

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
d3881455
Posts: 2
Joined: Wed Sep 12, 2018 1:38 pm

Sheet Metal Bug

Post by d3881455 »

Hi all,

I'm new to FreeCAD and use it mainly for sheet metal applications.

Recently I found a weird behaviour that I suspect to be a bug.
Please refer to the bend "WallBR" in the attached file.
The curve itself is correct, however the extend direction of the flat is inverted.
PDM2.png
PDM2.png (8.93 KiB) Viewed 757 times
Do others have this issue to?
Is there a quick fix for it?
And how can I tell the developer about this issue?

Tanks for help and king regards
Delta38
Attachments
PDM2.FCStd
(174.54 KiB) Downloaded 26 times
chrisb
Veteran
Posts: 53928
Joined: Tue Mar 17, 2015 9:14 am

Re: Sheet Metal Bug

Post by chrisb »

Moved to help forum.
The problem is the use of gap2, which is 10mm. If you set to any value different from 0 you see this effect. As a workaround you can create the bend with its default parameters and pocket the gap yourself.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
d3881455
Posts: 2
Joined: Wed Sep 12, 2018 1:38 pm

Re: Sheet Metal Bug

Post by d3881455 »

Thanks for the move.

The problem already occurs after specifying gap1.

My workaround is defining a length of 0 and then using Pad from the Part Design workbench. Its much less hassle then making the necessary pockets for the relief etc.
User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Sheet Metal Bug

Post by meme2704 »

Hi
The problem is that you mix Gap, pocket, relief in or around Sheetmetal Wb
look what I did from your basen, I made holes, folds in all directions (without respecting your dim) and even a staple (which made me a lot of headache) ), and unfold it
Attachments
boite1.PNG
boite1.PNG (42.24 KiB) Viewed 711 times
boite1.FCStd
(387.35 KiB) Downloaded 18 times
jaisejames
Posts: 384
Joined: Sat Sep 24, 2016 6:51 am

Re: Sheet Metal Bug

Post by jaisejames »

It is a Bug.

Note : Open Sheetmetal.py in your Mod/sheetmetal Folder in text editor, change from revFace.normalAt(0,0) to selFace.normalAt(0,0) from line 185 to 206, recompute, it's orientation become correct.
Post Reply