Comments (8)
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.
You need to create opening object and build the hierarchy. See this.
from xbimessentials.
I understood the relationship mechanism. Thank you very much.
from xbimessentials.
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.
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.
Please, take the time to read the more detailed description which includes use of Xbim.Ifc4.Interfaces.Create
helper object.
from xbimessentials.
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.
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)
- PredefinedType in IIfcBuildingElementProxy not updatable HOT 3
- Non-canonical matrix-vector product HOT 3
- Model instances filter from interfaces HOT 10
- ManageOwnerHistory
- setting object colour for item exported from autocad HOT 1
- Support for IFC 4x3 HOT 4
- Reading STEP files HOT 2
- Provide means of accessing PredefinedType values from super-classes/interfaces
- Getting correct world coordinates of the element
- Geometry Store is empty on latest XbimEssentials 6.0.443-develop HOT 10
- Possibility of splitting IFC file into a few pieces HOT 2
- Exception ("Out of table cursors") from Xbim.IO.Esent-6.0.445 , While processing IFC files with size > 150 MB HOT 2
- Changing color of IfcBuildingElementProxy HOT 4
- how to create Space from objects such as wall, windows, doors, etc HOT 1
- IFCXml File with empty header throws exception HOT 2
- Windows, Doors, .. HOT 3
- Layers & Elements? HOT 1
- Move PDBs from NuGet packages to symbol packages
- IFC file with single backslash in STRING (HEADER:FILENAME) fails to load. HOT 5
- Getting sub components of site HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbimessentials.