FreeCAD
FreeCAD copied to clipboard
BIM: NativeIFC 2D support
This is support for 2D objects in NativeIFC. Corresponds to item 6.A from https://github.com/yorikvanhavre/FreeCAD-NativeIFC/blob/main/doc/roadmap2024.md
With this, one is now able to embed 2D objects (linework, texts, dimensions) inside IFC files, as well as handle such entities produced by other BIM apps (Basically BlenderBIM/Bonsai), and define "Drawings", which are basically a section plane inside a group, which can contain other 2D entities too that compose the drawing.
One can now create groups inside IFC documents and place section planes inside, and these are interpreted correctly by BlenderBIM/Bonsai too.
- [x] Basic import/export structure
- [x] Support for linework
- [x] Support for texts
- [x] Support for dimensions
- [x] Support for hatches
- [x] Support for section planes (drawings)
- [x] Support for axes (needs some refactor of the Axis VP later on)
- [x] 2D elements grouped into a group with ObjectType == "DRAWING" should be imported as one (expandable) drawing object
- [x] 2D elements under root: A new Drawing object should be created
Small things missing:
- [x] Groups containing an IFCAnnotation with ObjectType == "DRAWING" should also get their ObjectType = "DRAWING" (needed for BBIM to recognize them as drawings)
- [x] 4-point FreeCAD dimensions are interpreted as 3 dimensions by BBIM. Need to either coordinate with them, or change ours (which is now provisorily done in 7dfe616)
Looked at this at the merge meeting but it still has conflicts. Could you please resolve them?
Hopefully all conflicts fixed now!
Hi ! I'd like to test and provide feedback in the coming days. Mind waiting a bit before merging ? Thanks =D
@yorikvanhavre still has a conflict. @marcuspollio until when will you be able to test?
Conflict solved!
@yorikvanhavre new conflicts again :) @marcuspollio FYI
Hopefully fixed again :sweat_smile:
Will fix the lint :)