Supress vedo warning message when meshes don't intersect

Viewed 12

I'm using vedo, a vtk wrapper in python to get the intersection points between a lot of pairs of meshes using intersectWith().

Now, when 2 meshes don't intersect, i get the following message:

2022-09-12 23:39:58.016 (2936.989s) [                ]    vtkPointLocator.cxx:845    ERR| 
vtkPointLocator (00000261522F5010): No points to subdivide
2022-09-12 23:39:58.020 (2936.993s) [                ]vtkIntersectionPolyData:2410  WARN| 
No Intersection between objects

This is perfectly expected since many of the meshes combinations don't intersect (and checking if they do is part of the point of this), my question is, is there any way to just supress this warning? I'm testing a lot of meshes and it's really annoying to flood the terminal with thousands of warnings.

I think there must be some arg to just make the output less verbose, but haven't been able to find it.

0 Answers
Related