I have a doubt I hope someone can give me an idea. I want to substract one volume (obtained from a polydata with vtkPolyDataToImageStencil) from several cubes which are polydatas too. I append the cubes with vtkAppendPolyData to make a single substraction and i also transform it into volume. And i make a boolean substraction . The substracion in the areas with cubes that are intersecting the substraction is not applied. I solved it by substracting each cube one by one to the volume but it becomes slower. I wonder how the filters treat the intersected areas. I don´t want to do this operation with polydatas because i have many problems clipping and closing surfaces because the data can come with many issues.
Hello, thanks for answering i use this piece of code for the cylinder and i move it with a bounding box and i initialize it with the position of the mouse
Hi, I am trying to use your library as you suggested but when i try to susbtract two polydatas to empty the extruded stl, it goes very slow. How can i speed up the susbstraction?. Thank you very much
Hi, one last question, I was thinking again about the booleans you suggested me by now I have it all in volume operations and I got a decent result. But I am thinking that combining both options it can be a good idea to obtain even a better polydata.
But I was wondering in the picture you show why the bottom of the cylinder is not removed from the output of the boolean operation substraction. The result should be a hole. I does not make sense to me. I also got the same issue with the substraction of the polydata with the cylinder.
I found that this is caused in debug but not a release. Amd the vtkAppendPolyData if there is intersection does not work eaither. But I fixed it doing one by one. I will look into the vtkAppendPolyData to see what’s wrong with this filter in the intersections. If I find it out I will let you know because it happens in volume and polydata in boolean operations. Thanks