Hi all,
I found a very weird behavior when I save then reopen a STP file that was imported with "Link" options enabled.
Here are the STEP options I use :
Below is what the part looks like when I import then save it (this is an assembly with nested sub-assemblies):
Now how the part looks like after I close the file and reopen it !!! :
Basically assembly is exploded and sub-assemblies are not more well located.
I'm sorry I can't share file or even better screenshots but this is a professional project and it can't be disclosed.
I ATM open this thread so it is reported and known.
If I get some time, I'll try to build a dummy model that reproduces the issue.
[Bug?] Placement issue when saving STP file imported with Link options
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: [Bug?] Placement issue when saving STP file imported with Link options
Hi all,
I finally managed to reproduce the bug with a minimal file I can share here.
Actually the problem isn't really STEP import, but a specific issue when certain types of object are nested (namely compound inside link).
To reproduce :
Thanks for confirming.
---
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18677 (Git)
Build type: Release
Branch: master
Hash: 3cd487064ee7d2b754f250ca2ce29bb0d2c37374
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
I finally managed to reproduce the bug with a minimal file I can share here.
Actually the problem isn't really STEP import, but a specific issue when certain types of object are nested (namely compound inside link).
To reproduce :
- Download & open attached file
- Select the "Rear" compound and rotate it eg. 90° around Y axis (so both pads are one along each other)
- Save and close the file
- Reopen the file => Pads are back to their original placement. It appears that compound Placement isn't saved.
Thanks for confirming.
@realthunder, may that be specific to Link introduction ?realthunder wrote: Ping
---
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18677 (Git)
Build type: Release
Branch: master
Hash: 3cd487064ee7d2b754f250ca2ce29bb0d2c37374
Python version: 3.6.7
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
- Attachments
-
- bug_assembly.FCStd
- (6.89 KiB) Downloaded 7 times
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: [Bug?] Placement issue when saving STP file imported with Link options
Could you give a clue about what kind of link is the "Product" (root object) one in the file I posted ? I can't figure out how to manually create it (I used a STEP import as base). Thx.
-
- Veteran
- Posts: 2190
- Joined: Tue Jan 03, 2017 10:55 am
Re: [Bug?] Placement issue when saving STP file imported with Link options
I have changed back to use App::Part as the default STEP import container in some pending PR. And that's why LinkGroup is buried inside some menu action. LinkGroup will continue to work regardless.