Skip to content

Commit

Permalink
FEM: Update femmesh2mesh.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FEA-eng authored Aug 5, 2024
1 parent bd9fa1a commit 2fa2da9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/femmesh/femmesh2mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@

"""

Check warning on line 43 in src/Mod/Fem/femmesh/femmesh2mesh.py

View workflow job for this annotation

GitHub Actions / Lint / Lint

String statement has no effect (pointless-string-statement)
from os.path import join
the_file = join(FreeCAD.getResourceDir(), "examples", "FemCalculixCantilever3D.FCStd")
the_file = join(FreeCAD.getResourceDir(), "examples", "FEMExample.FCStd")
fc_file = FreeCAD.openDocument(the_file)
fem_mesh = fc_file.getObject("Box_Mesh").FemMesh # do not remove the _
fem_mesh = fc_file.getObject("FEMMeshGmsh").FemMesh
result = fc_file.getObject("CCX_Results")
scale = 1 # displacement scale factor
from femmesh import femmesh2mesh
Expand Down

0 comments on commit 2fa2da9

Please sign in to comment.