Bug #2857: [PartDesign] Placement incorrect in exported files

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
Kunda1
Posts: 4092
Joined: Thu Jan 05, 2017 9:03 pm

Bug #2857: [PartDesign] Placement incorrect in exported files

Postby Kunda1 » Thu Jan 19, 2017 12:31 pm

issue #2857 (FYI example file attached to tracker ticket)
I tried to export an assembly consisting of several bodys, each one containing a box. each body was placed using the Placement option. When exporting (tested with .step and .brep imported in FreeCAD and Salome), the boxes all still were in their initial position, except for rotated boxes. So, Placement x/y/z doesn't work, but rotation about axes worked.
Step to Reproduce:
  • Go to Part Design -->
  • create new body -->
  • create additive primitive -->
  • change placement of primitive -->
  • export primitive as .step/.brep file -->
  • import file in FreeCAD -->
  • check placement of imported file.
Produced on:
OS: Linux Mint 17.3 Rosa
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9613 (Git)
Build type: None
Branch: master
Hash: 0c34f1b749fbb116058caa54754961c6dcb4f92a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
nemesis
Posts: 342
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: Bug #2857: [PartDesign] Placement incorrect in exported files

Postby nemesis » Mon Jan 23, 2017 8:52 pm

Confirmed on :

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9787 (Git)
Build type: Release
Branch: (detached from 417f074)
Hash: 417f074aff779e4c3c3fce7ef755dc3a38691d63
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.0.0


terminal output :

Code: Select all

Can't find Origin for "Body001"
this for each Body