Open rookie96 opened 1 month ago
Unfortunately this is (if I remember corrctly) an upstream bug from vtk so we cannot do much to fix it..
To disable the ~weird~ vtk logs and error messages in my applications I added the following lines just before launching the main code:
vtk.vtkObject.GlobalWarningDisplayOff()
vtk.vtkLogger.SetStderrVerbosity(vtk.vtkLogger.VERBOSITY_OFF)
i use vedo.Mesh.intersect_with_plane many times.
once i call vedo.Mesh.intersect_with_plane, one vtk log("2024-05-30 16:18:57.450 ( 3.004s) [D74557468B270C7F]vtkPolyDataPlaneCutter.:589 INFO| Executing vtkPolyData plane cutter") appear my console and log files.
how can i remove vtk log?
i tried changing logging.setLevel, logging.disabled, stdout/stderr suppress(https://stackoverflow.com/questions/11130156/suppress-stdout-stderr-print-from-python-functions)
but i still sees many vtk logs