Unable to unfold in sheet metal

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!
OlivierC
Posts: 14
Joined: Fri Dec 30, 2022 9:30 am

Unable to unfold in sheet metal

Post by OlivierC »

Hello
Freecad 0.20.2
File attached
When I select a face, only the face is unfold, not the complete part
Any help will be really appreciated
Regards
Attachments
C520-210-pliage.FCStd
(46.92 KiB) Downloaded 12 times
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Unable to unfold in sheet metal

Post by chrisb »

We had this before, it comes from the miters added in Sketch001/Pocket. It works for small angles (e.g. 5°) but for your your bigger ones.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Unable to unfold in sheet metal

Post by Roy_043 »

The object unfolds here:

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.8.16, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US) [ OS: Dutch/Netherlands (nl_NL) ]
Installed mods:
  * sheetmetal 0.2.59
Attachments
C520-210-pliage_unfolded.FCStd
(81.48 KiB) Downloaded 5 times
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Unable to unfold in sheet metal

Post by Shalmeneser »

OlivierC wrote: Thu Mar 23, 2023 8:54 am Freecad 0.20.2
You should provide your full version info (follow link in red banner) : we don't know your SheetMetal version.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Unable to unfold in sheet metal

Post by Syres »

Roy_043 wrote: Thu Mar 23, 2023 11:29 am The object unfolds here:

Installed mods:
* sheetmetal 0.2.59
[/code]
I'm guessing you've purposely not upgraded which is wise, I think I've a solution to the code regressions brought in version 0.2.61 but I need to spend some time testing to ensure I don't make things worse.

Edit: This is the code fix that I need to do the testing on https://github.com/shaise/FreeCAD_Sheet ... al:patch-5
OlivierC
Posts: 14
Joined: Fri Dec 30, 2022 9:30 am

Re: Unable to unfold in sheet metal

Post by OlivierC »

Thank you
FreeCAD_0.20.2-2022-12-27-conda-Linux-x86_64-py310.AppImag
sheet metal 0.2.61
I undestand the problem could be solved with sheet metal 0.2.59
I will try to come back to 0.2.59
OlivierC
Posts: 14
Joined: Fri Dec 30, 2022 9:30 am

Re: Unable to unfold in sheet metal

Post by OlivierC »

Code: Select all

OS: Mageia 7 (WindowMaker/WindowMaker)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners 0.4.54
  * A2plus 0.4.60i
  * workfeature-macro
  * sheetmetal 0.2.61
OlivierC
Posts: 14
Joined: Fri Dec 30, 2022 9:30 am

Re: Unable to unfold in sheet metal

Post by OlivierC »

Thank you Roy_043, I will use your unfold until version sheet metal 0.2.61 will be improved
(it seems not so easy for me to come back to an previous version)
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Unable to unfold in sheet metal

Post by Syres »

OlivierC wrote: Thu Mar 23, 2023 1:48 pm sheet metal 0.2.61
I've submitted what really is a workaround to the workbench author that basically tries the code from late 2022 and if not falls back to the old code. That and a DXF/SVG export function in the dialog box so it could save a little time for those sending to laser cutter.

https://github.com/shaise/FreeCAD_SheetMetal/pull/268
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Unable to unfold in sheet metal

Post by Syres »

@OlivierC the Sheetmetal workbench has been upgraded to 0.2.62, it would be appreciated if you could update, test and give constructive feedback.

Edit: As you've made manual changes to the installation you might have to remove it and then install from scratch.
Post Reply