How to generate a 3D polygon in python using ifc vertices ?

Hi,

I'm currently working with python (3.8) and ifcopenshell and I'd like to use ifcopenshell's geometry vertices to create a 3D polygon at runtime. The polygons I'd like to create are pretty simple, it is only walls composed of less than 80 vertices.
I tried using pyny3d but it seems like it's not working properly, only drawing a face and not even properly in most cases. I can't use mpl_toolkits because it only works with planar 3D polygon.

My idea was maybe to use pyny3d's polyhedron and to try to draw the walls faces in separated polygon but I'm not sure. What are my possible solutions in order to do it easily ?

Comments

Sign In or Register to comment.