Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for a proper way to provide faces from extruded 2D polygons #24

Open
RomanLF opened this issue Apr 11, 2022 · 0 comments
Open

Comments

@RomanLF
Copy link

RomanLF commented Apr 11, 2022

Hello again,
I have been using your python library for a while and I still face some difficulties about the geometry generation. To give context about my difficulties, I try to generate a box with some obstacles on the bottom coming from a shapefile. This file format lists obstacles 2D footprints with their height. I know how to give polygon coordinates as vertices but I need to provide to RBF-library some information of connectivity, in 3D it consists to give a list of triangles with indices corresponding to the vertices we want to connect. For the moment I manage to get, faces of my extruded footprints with the use of convex hull python function but this modify the form of my obstacles. Is there a way to extract faces of an extruded 2D obstacle without modifying its form?
For example, given polygon coordinates and height information, how can I extract properly the faces of the 3D extruded Polygon in the figure without modifying its form?

image

Sorry for bothering you and thank you a lot for your help.

Roman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant