Hello everyone, and thahk you for all your help here. I got two questions: 1. Is it possible to get Brep representation for every objects in an IFC file? (using IfcOpenShell, OCC, and ...) I need to get access to all the Brep points with exact coordinations. Is it possible to assign a Mesh to an IFC object, and get access to exact coordination of all the points of that mesh? I have tried the following code: ifc_file = ifcopenshell.open('file path') Object = ifc_file.by_guid('...') settings = ifcopenshell.geom.settings()...
I am using Pyhton language by the way.
Hello everyone, and thahk you for all your help here. I got two questions: 1. Is it possible to get Brep representation for every objects in an IFC file? (using IfcOpenShell, OCC, and ...) I need to get access to all the Brep points with exact coordinations. Is it possible to assign a Mesh to an IFC object, and get access to exact coordination of all the points of that mesh? I have tried the following code: ifc_file = ifcopenshell.open('file path') Object = ifc_file.by_guid('...') settings = ifcopenshell.geom.settings()...
Yes, I checked and I'm using the latest version of the IFC exporter. So I guess the problem is with the door types that been used in these two revit files!! Though, the weird thing is that when I change a door opening direction, the matrix changes too. But again in the wrong direction!! Thank you again Thomas.
Hello everyone, I'm trying to retrieve an Ifcdoor local coordination system from an ifc file exported from Revit 2018 (with Revit Ifc exporter v. 18.4.0.0). I'm trying to indicate if a door opens in a specific space or not using ifcopenshell. For this purpose, I'm trying to get access to local coordination system for every door in an Ifc file. (so the Y axis will show the opening direction of the door) The problem is that the local coordination system for doors are not correct. As you can see in...
Hello Thomas, and thank you very much for your answer. I have tried to use the wall martix to get door matrix but there was another problem. As you see in this picture: ![(https://ufile.io/07vdxwy2)] there is no "Axis" and "RefDirection" for this door ![(https://ufile.io/rei8r4l9)] So it gets its matrix from the parents (which is (1, 0, 0) (0, 1, 0) (0, 0, 1)) And the "product.transformation.matrix.data" returns the values "(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 14.55, 7.38, 21.00)". which...
Hello everyone, thank you for all your help in this forum. It has been a great help already. I'm trying to indicate if a door opens in a specific space or not using ifcopenshell. For this purpose, I'm trying to get access to local coordination system for every door in an Ifc file. (so the Y axis will show the opening direction of the door) I'm using the following code to see the matrix that represents the local coordination system for the door. ""settings22 = ifcopenshell.geom.settings() product...