Closed MahmoudAbdelRahman closed 6 years ago
Here is a hint of what I have done:
Hi,
Couple of remarks.
There are a lot of different types of representation items, assuming that every space is defined as a IfcRectangleProfileDef is very likely too optimistic.
There are also a lot of placements throughout the file. In particular you do not mention the ObjectPlacement of the IfcSpace. Did you take that into account?
ifcopenshell.geom.create_shape()
when passed a product instance (e.g a space) will take care of each of these things. Including an option to triangulate the resulting (3d) geometry to directly visualize in e.g. OpenGL.
Kind regards, Thomas
Hi @aothms,
It is great to hear from you,
Thanks so much, your answer is very helpful and much appreciated. It is my first time to know about ifcopenshell.geom.cereate_shape()
, is there a good documentation on python ifcopenshell I can follow ?
Thanks so much, Best regards, Mahmoud.
@MahmoudAbdelRahman good to hear. A complete reference documentation is being worked on, for the moment the best resource are the tutorials on http://academy.ifcopenshell.org
Thanks so much. Best regards, Mahmoud
Hi everyone,
Thanks so much for your support, I'm using Python IfcOpenShell and OpenGL to read IFCSpace entities, When I draw the spaces, I get overlapped spaces as shown in the figure, I'm not sure what the problem is ? Is there any key to solving the problem to make spaces similar to those from Revit?
Best regards, Mahmoud