Git Product home page Git Product logo

Comments (8)

martin1cerny avatar martin1cerny commented on June 9, 2024 1

I'm sorry but this is beyond the level of support I can provide here. I can only recommend you to create very basic example (simple wall with an empty opening, wall with very simple window) in some authoring tool (Revit, Archicad, Tekla etc.) and study the structure of the file. Make sure your placements and their relations are correct.

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

You need to create opening object and build the hierarchy. See this.

from xbimessentials.

dbojadievski avatar dbojadievski commented on June 9, 2024

I understood the relationship mechanism. Thank you very much.

from xbimessentials.

FrieBIM91 avatar FrieBIM91 commented on June 9, 2024

I am also trying to add a window to a wall. According to xBIM Xplorer the semantic hierarchy is correct already.
I created an IfcOpeningStandardCase, IfcRelVoidsElement, IfcRelFillsElement and the relations.

I am still struggling with the geometry for a few days now...
Could you post a code snippet how you put a window/door in the middle of a wall?

Thanks a lot.
@dbojadievski @martin1cerny

from xbimessentials.

FrieBIM91 avatar FrieBIM91 commented on June 9, 2024

Thanks for your fast response. I managed to add an IfcWall + IfcOpening + IfcWindow to an existing IFC-file (IFC4).
Unfortunately this didn't work for an IFC2x3, although I implemented the "Fast upgrade track to IFC version agnostic solution". I had to repeat the same process (with IFC2x3 libraries) in order to get it work.

Is there a better approach for an IFC-Schema independent solution?

Thanks a lot.

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

Please, take the time to read the more detailed description which includes use of Xbim.Ifc4.Interfaces.Create helper object.

from xbimessentials.

FrieBIM91 avatar FrieBIM91 commented on June 9, 2024

Sorry its me again. Of course I did. I created a Create Instance in CreateWall() in the "Create Proper Wall in 3D" Example and created all non-abstract entities via create.Wall(), create.CartesianPoint(), and so on. Thus of course some functions are not working anymore. For instance IfcCartesianPoint.SetXYZ()

Furthermore according to the changes from IfcWall to IIFcWall I can not add easily the wall to a BuildingStorey anymore.

from xbimessentials.

martin1cerny avatar martin1cerny commented on June 9, 2024

You can, if you only work with IFC4 interfaces and don't mix concrete types in. But yes, if has certain limitations.

from xbimessentials.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.