Search found 12668 matches

by bernd
Wed Apr 19, 2023 10:36 pm
Forum: IFC
Topic: wrong placement on nested compound objects
Replies: 2
Views: 11570

Re: (WORKAROUND) incomplete ifc export. operating error?

thanks balbros ...

bernd wrote: Tue Mar 28, 2023 9:00 pm Attached simplified file ... IMHO it is a bug and needs to be fixed ... box is on x=3000 in FreeCAD but on x=2000 in IFC ...
1416_wrong_placement.ifc
issue #9324
by bernd
Wed Apr 19, 2023 8:51 pm
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2610

Re: incorprate all Placement into shape coordinates

wmayer wrote: Fri Apr 14, 2023 1:30 pm
Alternatively you can use transformGeometry
Be careful with transformGeometry() because it converts all geometries into B-Splines.
ohh this would not be wanted ...
by bernd
Wed Apr 19, 2023 8:50 pm
Forum: Python scripting and macros
Topic: incorprate all Placement into shape coordinates
Replies: 13
Views: 2610

Re: incorprate all Placement into shape coordinates

if removeSplitter() is used on a Shape the Shape returned has all placement incorporated into the vertices coordinates. The placement of the top-level shape is applied to the direct child shapes and not only to the vertexes. ... this was the key information. Together with this https://github.com/If...
by bernd
Wed Apr 19, 2023 8:36 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 22769

Re: IFC export with serializer has wrong placement

- https://forum.freecad.org/viewtopic.php?p=675456#p675456 says removeSplitter() moves the placement not to the vertexes but to the direct child shapes. - https://github.com/IfcOpenShell/IfcOpenShell/issues/2992 confirms IfcOS has a problem if placement it applied to the outer level of a shape. That...
by bernd
Wed Apr 19, 2023 2:59 pm
Forum: Developers corner
Topic: [MERGED] Pre-commit hooks
Replies: 52
Views: 7712

Re: [MERGED] Pre-commit hooks

black on FEM Python code viewtopic.php?t=77747
by bernd
Wed Apr 19, 2023 2:59 pm
Forum: FEM
Topic: use black code formatter on FEM
Replies: 2
Views: 1113

use black code formatter on FEM

as a follows up of this https://forum.freecad.org/viewtopic.php?t=77205 I gave black a try on FEM to see what it means ... I used black -l 100 src/Mod/Fem/ the result can be seen here ... https://github.com/berndhahnebach/FreeCAD_bhb/commits/femblack I may rebase it in the future to be uptodate ... ...
by bernd
Sat Apr 15, 2023 8:03 am
Forum: Draft, Arch & BIM
Topic: BIM: Create a Wall from Solid duplicating my Solid?
Replies: 11
Views: 1691

Re: BIM: Create a Wall from Solid duplicating my Solid?

To see how the tree looks like what yorik wrote, you could import a ifc with the preference "create Arch component objects"
by bernd
Fri Apr 14, 2023 9:14 pm
Forum: IFC
Topic: [fixed] IFC export with serializer has wrong placement
Replies: 27
Views: 22769

Re: IFC export with serializer has wrong placement

- If the both brep are loaded into FreeCAD the cylinder are on the same place - if the ifc exported from FreeCAD are loaded the cylinder are on different places - if the ifc created with IfcOS are loaded the cylinder are on different places It means both brep are on the same place but when from thes...