[SOLVED] STEP hierarchy export regression (FC0.17 stable)

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
easyw-fc
Posts: 2886
Joined: Thu Jul 09, 2015 9:34 am

[SOLVED] STEP hierarchy export regression (FC0.17 stable)

Postby easyw-fc » Thu Apr 12, 2018 3:20 pm

Hi,
following this report
https://forum.freecadweb.org/viewtopic. ... 26#p227106
I'm posting here this regression:
Even a simple Part container, with some simple objects inside, would be exported as an empty STEP file by the stable and the daily FreeCAD release...
part-export.gif
part-export.gif (766 KiB) Viewed 869 times
I have reported this at mantis
https://freecadweb.org/tracker/view.php?id=3426
The regression is based on the interaction of OCC7.2 code and the FC exporting routines ...

What I'm asking here is if we would need to:
1) step back stable release to OCC7.1 until we found a patch
or
2) offer a stable release with OCC7.1 (in 7z for win, appimage for linux and dmg for mac)

This is a very big issue on STEP interoperability since these great enhancements reached since Jul 11, 2017
https://forum.freecadweb.org/viewtopic.php?t=23371
I'm very sorry I didn't catch the issue before the stable came out, but I had very little time to test between release 13488 and 13509.

Maurice
Last edited by easyw-fc on Wed Apr 18, 2018 8:55 am, edited 1 time in total.
otoien
Posts: 84
Joined: Sun Aug 13, 2017 2:38 am

Re: STEP hierarchy export regression (FC0.17 stable)

Postby otoien » Fri Apr 13, 2018 8:50 pm

Let me chime in and say that I hope this can be fixed soon, one way or another. KiCad Stepup is a great tool and essential for the collaboration between FreeCad and KiCad. FreeCad is the official 3D model editing tool for KiCad. For now I had to revert back to the last Windows version that I downloaded, 0.17.13452 (Git), which seems to work OK.
abdullah
Posts: 3530
Joined: Sun May 04, 2014 3:16 pm

Re: STEP hierarchy export regression (FC0.17 stable)

Postby abdullah » Sat Apr 14, 2018 8:26 am

Not in my comfort zone, but if nobody more acquainted with the exporter gets its hands in, I will give it a try in a week or two.

I think that FreeCAD/KiCAD collaboration is something we should not lose.
User avatar
sgrogan
Posts: 5956
Joined: Wed Oct 22, 2014 5:02 pm

Re: STEP hierarchy export regression (FC0.17 stable)

Postby sgrogan » Sat Apr 14, 2018 5:15 pm

easyw-fc wrote:
Thu Apr 12, 2018 3:20 pm
2) offer a stable release with OCC7.1 (in 7z for win, appimage for linux and dmg for mac)
I can do this for Win.
It will be difficult for linux, maybe someone still has an older appimage with occt 7.1, I have 0.17.12xxx
For OSX I think this would require to build and create a .dmg locally = really hard, maybe someone still has an old occt 7.1 .dmg available?
User avatar
easyw-fc
Posts: 2886
Joined: Thu Jul 09, 2015 9:34 am

Re: STEP hierarchy export regression (FC0.17 stable)

Postby easyw-fc » Sat Apr 14, 2018 5:42 pm

sgrogan wrote:
Sat Apr 14, 2018 5:15 pm
easyw-fc wrote:
Thu Apr 12, 2018 3:20 pm
2) offer a stable release with OCC7.1 (in 7z for win, appimage for linux and dmg for mac)
I can do this for Win.
It will be difficult for linux, maybe someone still has an older appimage with occt 7.1, I have 0.17.12xxx
For OSX I think this would require to build and create a .dmg locally = really hard, maybe someone still has an old occt 7.1 .dmg available?
thx a lot @sgrogan for taking care of it :D
User avatar
easyw-fc
Posts: 2886
Joined: Thu Jul 09, 2015 9:34 am

Re: STEP hierarchy export regression (FC0.17 stable)

Postby easyw-fc » Sat Apr 14, 2018 6:33 pm

abdullah wrote:
Sat Apr 14, 2018 8:26 am
Not in my comfort zone, but if nobody more acquainted with the exporter gets its hands in, I will give it a try in a week or two.
Thanks a lot @abdullah
abdullah wrote:
Sat Apr 14, 2018 8:26 am
I think that FreeCAD/KiCAD collaboration is something we should not lose.
I agree so much.
Thx again
Maurice
User avatar
sgrogan
Posts: 5956
Joined: Wed Oct 22, 2014 5:02 pm

Re: STEP hierarchy export regression (FC0.17 stable)

Postby sgrogan » Sun Apr 15, 2018 3:17 pm

easyw-fc wrote:
Thu Apr 12, 2018 3:20 pm
offer a stable release with OCC7.1 (in 7z for win
Win builds are up https://github.com/FreeCAD/FreeCAD/releases/tag/0.17
abdullah
Posts: 3530
Joined: Sun May 04, 2014 3:16 pm

Re: STEP hierarchy export regression (FC0.17 stable)

Postby abdullah » Sun Apr 15, 2018 3:20 pm

sgrogan wrote:
Sun Apr 15, 2018 3:17 pm
easyw-fc wrote:
Thu Apr 12, 2018 3:20 pm
offer a stable release with OCC7.1 (in 7z for win
Win builds are up https://github.com/FreeCAD/FreeCAD/releases/tag/0.17
You are great!! :D
User avatar
easyw-fc
Posts: 2886
Joined: Thu Jul 09, 2015 9:34 am

Re: STEP hierarchy export regression (FC0.17 stable)

Postby easyw-fc » Sun Apr 15, 2018 3:41 pm

sgrogan wrote:
Sun Apr 15, 2018 3:17 pm
Win builds are up https://github.com/FreeCAD/FreeCAD/releases/tag/0.17
I confirm that the export of the STEP hierarchy now works correctly with OCC7.1
Something must have been changed in the OCC functions we use to create the hierarchy when exporting to STEP format.

Thanks so much! This can help a lot until the issue is solved. :D
I'm going to announce it at the KiCad forum.
peterl94
Posts: 1000
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: STEP hierarchy export regression (FC0.17 stable)

Postby peterl94 » Mon Apr 16, 2018 7:50 pm

I've put together a minimal example demonstrating the problem and posted it on the OCCT forums. https://www.opencascade.com/content/exp ... oing-wrong