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 create a composed Polydata in order to perform boolean_difference ? #3430

Open
rkenko opened this issue Oct 7, 2022 Discussed in #3429 · 0 comments
Open

How to create a composed Polydata in order to perform boolean_difference ? #3430

rkenko opened this issue Oct 7, 2022 Discussed in #3429 · 0 comments

Comments

@rkenko
Copy link

rkenko commented Oct 7, 2022

Discussed in #3429

Originally posted by rkenko October 7, 2022
Hi,

I am really new to Pyvista and i need help to 1. create a Polydata from multiple shapes then 2. perform boolean difference between a solid A and the previously created polydata. Below you have the detail of what i want to do:

I want to generate the volume C resulting from a boolean difference between the volumes A and B (please refer to the picture below: step 0). Currently, i succeeded in the importation of the volume A (step 1 in the picture). Now, i need help in order to generate the volume B. I think i have process in two steps: generate a surface from 3 lines and 1 arc of center pointe defined in the script (step 2 in the picture, i need help for this please), then extrude with a length of 64 the surface generated (step 3 in the picture). At the end i want to perform the boolean difference between this newly created volume and the volume imported at the step 1 (step C in the picture).

steps

Please could you help me to create the solid B and perform the boolean difference ? Here you have my code and the vtk volume needed to run it (it is above 25MB so i sent it using a ink). In the python script i have already defined the points needed to create the solid B, i don't know how to create the composed polydata with lines and arcs...

https://filesender.renater.fr/?s=download&token=309573d7-f433-400f-ab47-43dc4e23fb8f

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