Search found 12666 matches

by bernd
Fri Apr 14, 2023 5:31 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 20322

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.
by bernd
Fri Apr 14, 2023 12:32 pm
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2462

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
by bernd
Fri Apr 14, 2023 12:26 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 20322

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...
by bernd
Fri Apr 14, 2023 4:05 am
Forum: Developers corner
Topic: WIP Wednesday!
Replies: 111
Views: 29466

Re: WIP Wednesday!

Playing with IFC format and nurbs
by bernd
Thu Apr 13, 2023 12:25 pm
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2462

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...
by bernd
Thu Apr 13, 2023 9:33 am
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2462

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 ...
by bernd
Thu Apr 13, 2023 6:35 am
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2462

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
by bernd
Wed Apr 12, 2023 9:09 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 20322

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
by bernd
Wed Apr 12, 2023 9:07 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 20322

Re: IFC export with serializer has wrong placement

the problem is with scale and placement ... and the placment is still alive if exported to brep ... but I am terrible bad in placement ... I found a workaround ... https://github.com/FreeCAD/FreeCAD/blob/2c8e67ad6b206ca9493ee8b6767d04d0f241b9b8/src/Mod/Arch/exportIFC.py#L2162-L2163 replace these lin...
by bernd
Wed Apr 12, 2023 9:33 am
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 20322

Re: IFC export with serializer has wrong placement

For me the placement is wrong even if I create some spatial container objects or if I make a wall or structure out of the cysinder. As soon as the serializer has been used to generate the geometry for the IFC and if the FreeCAD placement is not 0,0,0 the placement in the ifc is wrong.

bernd