[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.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

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

Post by easyw-fc »

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 1753 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: 87
Joined: Sun Aug 13, 2017 2:38 am

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

Post by otoien »

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
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

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

Post by abdullah »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

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

Post by sgrogan »

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?
"fight the good fight"
User avatar
easyw-fc
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

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

Post by easyw-fc »

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
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

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

Post by easyw-fc »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

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

Post by sgrogan »

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
"fight the good fight"
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

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

Post by abdullah »

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
Veteran
Posts: 3633
Joined: Thu Jul 09, 2015 9:34 am

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

Post by easyw-fc »

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
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

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

Post by peterl94 »

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
Post Reply