Custom door creation

Is it possible to model a simple door in 3d and import 2d dxf plan symbol and combine these as a ifc door type in Bonsai? What would be the steps? There is no need to adjust door size.

Tagged:
steverugi

Comments

    1. Model 3D with blender, classify as door
    2. Add model body plan view representation
    3. Import your 2d by dxf plugin
    4. Replace the plan representation with the 2d you imported
  • how do you 'join' that 2d geometry? IFC join bim.override_object_join doesn't seem to work on 2d.

  • I guess you need to using blender's join, but you have to 'manually save representation' though. See video

  • If I remember correctly Bonsai let's you pick an existing mesh if you add a new representation so you don't have to join anything anymore

    steverugi
  • If it helps, the swing 2D needs particular attention (3D origin and 2D must match), very quick video:

    atomkarinca
  • @theoryshaw

    I guess you need to using blender's join, but you have to 'manually save representation' though. See video

    Yes, the 2D curve of plan view needs to be joined first in Blender, or at least it's the way I do it
    you taught me how to embed videos here, don't you like it anymore? :D

  • here the clip showing how I model a 3D door from DXF (it's a quick example, no details)

    emiliotassoNigelfurtonb
  • you taught me how to embed videos here, don't you like it anymore? :D

    just lazy. ;)

    steverugi
  • would be nice if uploaded video embeded themselves automatically.
    https://chatgpt.com/share/67ca0730-c0e4-8013-a786-0b4225c81286
    @Moult any chance we can change this, or hire a consultant to tweak our theme?

  • This was very helpful, thank you!
    Is there a way to copy IfcItem -level stuff easily from one door to another. I made one door and added items (some handles) to it. How to copy those items to another door so that copied geometry to follows this second door. I can join them but if I would like to know how to keep them separated.

    steverugi
  • @Samppa

    This was very helpful, thank you!
    Is there a way to copy IfcItem -level stuff easily from one door to another. I made one door and added items (some handles) to it. How to copy those items to another door so that copied geometry to follows this second door. I can join them but if I would like to know how to keep them separated.

    according to @Moult it's not possible at the moment

    If you have a Custom Extruded Solid IFC type there is the possibility to use a profile to model an item, in some cases it could be used as blueprint (keep same Depth value) to create similar extruded solids in a type that can be "copy/paste" in a different type

  • Ok, thank you.
    If I duplicate door type and change its size, what is correct way to edit opening? Is it by selecting the wall (where door is placed) and toggling openings (Alt+O) and editing opening (IfcExrudedSolid) or is there another way?

  • @Samppa

    Ok, thank you.
    If I duplicate door type and change its size, what is correct way to edit opening? Is it by selecting the wall (where door is placed) and toggling openings (Alt+O) and editing opening (IfcExrudedSolid) or is there another way?

    It's the way you described it

  • Ok, now why there is also third Model_View element in door Representations called BoundingBox? It seems to be created automatically in some stage and what it does? First I thought it would create opening?

  • @Samppa

    Ok, now why there is also third Model_View element in door Representations called BoundingBox? It seems to be created automatically in some stage and what it does? First I thought it would create opening?

    we are entering in some uncharted territory for me, if I may speculate, they are all representations:

    • Model.Body is the tessellation making the door
    • Model.Box is the void space from the door
    • Plan.Body is the swing on the floor

    we need some expert here, hopefully someone will come soon

  • Not exactly. Representations define what is the "default" geometry for which kind of view. Meaning if you switch to a plan view and the door element has both model and plan representation, the plan representation should be shown and the model not.
    Openings are separate and only related, you won't find the opening geometry in the door itself.
    Bounding boxes are used for example in some pre calculations for collisions, visibility, or inclusions.
    See:
    https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcGeometricRepresentationContext.htm
    https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcShapeRepresentation.htm

    steverugi
Sign In or Register to comment.