[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.
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 10:03 pm

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 » Tue Apr 17, 2018 7:40 am

peterl94 wrote:
Mon Apr 16, 2018 10:03 pm
Found a solution: https://github.com/FreeCAD/FreeCAD/pull ... cc214d9165
Hi Peter
Thanks a lot! I searched for bug related but I didn't found anything...

Looking forward to see it in main stream :D
I will post that also to KiCad forum :D

Maurice
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 » Tue Apr 17, 2018 3:42 pm

peterl94 wrote:
Mon Apr 16, 2018 10:03 pm
Found a solution: https://github.com/FreeCAD/FreeCAD/pull ... cc214d9165
Hi Peter,
I built FC in Ubuntu and I confirm this is solved!!! Thx a lot :D

I was thinking if you could have a look also at this:
https://freecadweb.org/tracker/view.php?id=0003174
ReadShapeCompoundMode setting in 'Preferences' Import/Export -> STEP
step-compound-merge.png
step-compound-merge.png (31.64 KiB) Viewed 332 times
The issue is reproducible with the following step models

shape-compound.FCStd
shape-compound.FCStd
(7.22 KiB) Downloaded 15 times
1) load the model with the ReadShapeCompoundMode enabled
2) load the model with the ReadShapeCompoundMode disabled
shape-compound.gif
shape-compound.gif (177.83 KiB) Viewed 332 times
shapes.FCStd
shapes.FCStd
(5.38 KiB) Downloaded 12 times
1) load the model with the ReadShapeCompoundMode enabled
2) load the model with the ReadShapeCompoundMode disabled
shapes.gif
shapes.gif (182.37 KiB) Viewed 332 times
Thx again
Maurice