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

How to use the Alpha wrapping on python #239

Open
NahomKidane opened this issue Jun 27, 2023 · 2 comments
Open

How to use the Alpha wrapping on python #239

NahomKidane opened this issue Jun 27, 2023 · 2 comments

Comments

@NahomKidane
Copy link

NahomKidane commented Jun 27, 2023

Hello everyone!

I am trying to replicate the C++ example in Python, but unsure how to pass surface mesh correctly. Can anyone give me a quick hint or snippet? I am still new to CGAL.
(https://doc.cgal.org/latest/Alpha_wrap_3/Alpha_wrap_3_2triangle_mesh_wrap_8cpp-example.html)

How can I also pass data to Pyvista/VTK (polydata) to show the final output?

Thanks!

@buecherregal2
Copy link

Hello, I have the same problem. I want to alpha wrap a .stl file in python 3.10 but I don't know how I can import my geometry to pass it to the function. I installed CGAL with "pip install CGAL", and I can import modules with "from CGAL import CGAL_Polygon_mesh_processing as pmp" and then I can look at the functions of the module. However, iostreams is not listed. Is there a way to import a .stl (or any other format) into CGAL in python? Thank you!

@hbb1
Copy link

hbb1 commented Jun 1, 2024

Hello, I also have the same question.

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

3 participants