FEM: Handle python vtk user installs that conflict with FreeCAD VTK

This commit is contained in:
Stefan Tröger
2025-04-30 19:08:22 +02:00
parent 96e9e7a17a
commit 0304faa2bc
6 changed files with 293 additions and 0 deletions

View File

@@ -80,6 +80,10 @@ class FemWorkbench(Workbench):
False if FemGui.__name__ else True
False if femcommands.commands.__name__ else True
# check vtk version to potentially find missmatchs
from femguiutils.vtk_module_handling import vtk_module_handling
vtk_module_handling()
def GetClassName(self):
# see https://forum.freecad.org/viewtopic.php?f=10&t=43300
return "FemGui::Workbench"