Search found 12668 matches
- Fri Apr 14, 2023 9:12 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 23700
Re: IFC export with serializer has wrong placement
in this post will be the files for this code lines in exportIFC.py sh = obj.Shape.removeSplitter() One IFC ist the one exported from FC, the other was created newly by pure IfcOS and the use of the brep file. cyl_removeSplitter_IFCOS.ifc cyl_removeSplitter_FC.ifc cyl_removeSplitter.brep
- Fri Apr 14, 2023 9:11 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 23700
Re: IFC export with serializer has wrong placement
the base is the file from this post ... https://forum.freecad.org/viewtopic.php?t=77403&start=10#p674929 in export I added some lines of code to export the brep which will be used by the IfcOS serializer. in this post will be the files for this code lines in exportIFC.py sh = obj.Shape.copy() sh...
- Fri Apr 14, 2023 5:31 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 23700
Re: IFC export with serializer has wrong placement
I slowly start to think it is a problem in serialiser of ifcos. I know how to determine this.
I will come back with results.
I will come back with results.
- Fri Apr 14, 2023 12:32 pm
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2732
Re: incorprate all Placement into shape coordinates
lots of stuff to read and test ... thanks guys ...
BTW: This is why I am asking ... viewtopic.php?p=675641#p675254
BTW: This is why I am asking ... viewtopic.php?p=675641#p675254
- Fri Apr 14, 2023 12:26 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 23700
Re: IFC export with serializer has wrong placement
... but are you sure it "zeroes" the global placement? You should check with an object that is inside a App::Part with a not null placement.... ... No I am not sure. It did work for the objects I have tried with. If the global placement is applied it seams not to "zero" the plac...
- Fri Apr 14, 2023 4:05 am
- Forum: Developers corner
- Topic: WIP Wednesday!
- Replies: 111
- Views: 30209
Re: WIP Wednesday!
Playing with IFC format and nurbs
- Thu Apr 13, 2023 12:25 pm
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2732
Re: incorprate all Placement into shape coordinates
| copy(...) | Create a copy of this shape | copy(copyGeom=True, copyMesh=False) -> Shape | -- | If copyMesh is True, triangulation contained in original shape will be | copied along with geometry. | If copyGeom is False, only topological objects will be copied, while | geometry and triangulation wi...
- Thu Apr 13, 2023 9:33 am
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2732
Re: incorprate all Placement into shape coordinates
both do not incorporate the Placement into the vertices coordinates. They keep the placment in the placement not in the vertices coordinates ...
- Thu Apr 13, 2023 6:35 am
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2732
incorprate all Placement into shape coordinates
if removeSplitter() is used on a Shape the Shape returned has all placement incorporated into the vertices coordinates. What is the best way to archieve this without removeSplitter(), because this methods cleans the Shape. Is there any method around or does this needs to be done manually? cheers bernd
- Wed Apr 12, 2023 9:09 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 23700
Re: IFC export with serializer has wrong placement
@yorik
Will you have a closer look to the scale and placement and brep string export problem or should I go for a PR with this workaround?
bernd
Will you have a closer look to the scale and placement and brep string export problem or should I go for a PR with this workaround?
bernd