I tried to implement boolean operations in my software using vtkBooleanOperationPolyData. This approach worked correctly with the data from vtkSphereSource, but it did not work properly and resulted in errors when used with high-density STL files. After encountering this problem, we switched to CGAL and VESPA with vtkCGALBooleanOperation. However, the new solution, like before, works correctly with vtkSphereSource’s data but still has the previous error. Friends, do you have any suggestions on how I can solve this problem?
This is my error :
ERROR: vtkCGALBooleanOperation.cxx, line 116
vtkCgalBooleanOperation [00000211 8D382B40]: CGAL Exception: Unauthorized intersections of constraints
ERROR: In vtkExecutive.cxx, line 741
vtkCompositeDataPipeLine [000002118D33D720]: Algorithm vtkCGALBooleanOperation [000002118D382B40] returned failure for request:
vtkInformation :
Modified Time: 20330
Reference Count: 1
Registered Events: [none]
Request: REQUEST DATA
FORWARD _DIRECTION: 0
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0