Skip to content

Fem: Fix import vtk Python module#27810

Merged
chennes merged 1 commit intoFreeCAD:mainfrom
marioalexis84:fem-displace_mesh_calculix
Feb 23, 2026
Merged

Fem: Fix import vtk Python module#27810
chennes merged 1 commit intoFreeCAD:mainfrom
marioalexis84:fem-displace_mesh_calculix

Conversation

@marioalexis84
Copy link
Copy Markdown
Member

@chennes @maxwxyz could you merge this?
Importing directly from the vtk module is not recommended, as it also try to import several modules, some are optional dependencies (and unnecessary in this case). Therefore, the code might fail.
It's better to import from vtkmodules.

Issues

Before and After Images

@github-actions github-actions bot added the Mod: FEM Related to the FEM Workbench label Feb 23, 2026
@chennes chennes enabled auto-merge (rebase) February 23, 2026 02:55
@chennes chennes merged commit 159059f into FreeCAD:main Feb 23, 2026
14 checks passed
@github-project-automation github-project-automation bot moved this from Queue to Done in Merge Queue Feb 23, 2026
@maxwxyz
Copy link
Copy Markdown
Collaborator

maxwxyz commented Feb 23, 2026

Does it need to be backported?

@marioalexis84
Copy link
Copy Markdown
Member Author

No. This is related to #27786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mod: FEM Related to the FEM Workbench

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants