Description of problem: Using the sheetmetal add-on in FreeCAD (installed through the add-on manager), when you create a sheet metal project, and then unfold it, it unfolds it, but fails creating the bend lines for the flattened model, and it gets the following exception: Unfold successful 19Standard_OutOfRange No OCCT Exception Message Traceback (most recent call last): File "/home/andrigtmiller/.FreeCAD/Mod/sheetmetal/SheetMetalUnfolder.py", line 2871, in accept grp2 = Drawing.projectEx(co, norm) <class 'Part.OCCError'>: 19Standard_OutOfRange No OCCT Exception Message Version-Release number of selected component (if applicable): How reproducible: Every time you Unfold a sheet metal project. Steps to Reproduce: 1. Install the sheetmetal add-on through the add-on manager. 2. Restart FeeCAD. 3. Create a 3D sheet metal project with bends, using the sheetmetal add-on. 4. Select the proper place in the model, and press the unfold icon. 5. You get a flattened, or unfolded object, but without the bend lines. Actual results: Unfold object is created, but without the bend lines. Expected results: Unfold object is created, and has the bend lines for each bend in the model. Additional info: It seems like, based on the FreeCAD forums that it works fine for basically everyone that has posted, except for me, and they are either using the AppImage, or another OS like Windows or Mac. The version of Open Cascade seems to be the issue. Currently Fedora is using Open Cascade 6.9.1 oce 0.18, and these are very old. The AppImage from the FreeCAD website reports that it is using Open Cascade 7.3.0. There is an even newer release, but all I need is an upgrade to the open cascade packages to at least 7.3.0, and I believe this problem will go away.
Devs, To summarize, OCC is also needed to be packaged not just OCE. The latest stable was just recently releases, it is v7.4.0 https://repology.org/project/opencascade/badges
I new this day was coming but trying to avoid it. One problem with opencasecade is that while they did finally choose a real open source license several years ago, downloading the source requires a login which is incompatible with Fedora infra tools. Additionally the packaging is non-trivial and my free cycles have been few as of late. I'll ask on the devel list if the login requirement is a show stopper or not.
Ok, source issue resolved. I got it compiling but at least two issues remain: 1. cmake is not finding tcl or tk even though the appropriate development packages are installed and the OCE fork didn't have this issue. 2. They are doing some nasty stuff during install with hard coded directories which is incompatible with package building. May take me a bit to work through the issues.
Just and FYI, opencascade is now building. Once complete I'll build FreeCAD 0.18.4 with it and create releases. I am also experimenting with building with Coin4 even though some of the other FreeCAD dependencies (SoQt) is still linked with Coin3. No clue if that's going to blow up or not but as things are already broken...
Sounds good, and I appreciate you untangling to knot here ;-)
FEDORA-2019-ec1247a71d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-ec1247a71d
FEDORA-2019-1ff1241c0f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1ff1241c0f
freecad-0.18.4-1.fc31, opencascade-7.4.0-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1ff1241c0f
freecad-0.18.4-1.fc30, opencascade-7.4.0-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-ec1247a71d
freecad-0.18.4-1.fc30, opencascade-7.4.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
freecad-0.18.4-1.fc31, opencascade-7.4.0-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.