ohh this would not be wanted ...
Search found 12666 matches
- Wed Apr 19, 2023 8:51 pm
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2464
- Wed Apr 19, 2023 8:50 pm
- Forum: Python scripting and macros
- Topic: incorprate all Placement into shape coordinates
- Replies: 13
- Views: 2464
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...
- Wed Apr 19, 2023 8:36 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 20338
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...
- Wed Apr 19, 2023 2:59 pm
- Forum: Developers corner
- Topic: [MERGED] Pre-commit hooks
- Replies: 52
- Views: 7230
Re: [MERGED] Pre-commit hooks
black on FEM Python code viewtopic.php?t=77747
- Wed Apr 19, 2023 2:59 pm
- Forum: FEM
- Topic: use black code formatter on FEM
- Replies: 2
- Views: 1055
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 ... ...
- Sat Apr 15, 2023 8:03 am
- Forum: Draft, Arch & BIM
- Topic: BIM: Create a Wall from Solid duplicating my Solid?
- Replies: 11
- Views: 1623
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"
- Fri Apr 14, 2023 9:44 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 20338
- Fri Apr 14, 2023 9:14 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 20338
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...
- Fri Apr 14, 2023 9:12 pm
- Forum: IFC
- Topic: [fixed] IFC export with serializer has wrong placement
- Replies: 27
- Views: 20338
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: 20338
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...