Skip to content

Commit 0a7759a

Browse files
committed
Rearranging a bit
1 parent 8fd58cf commit 0a7759a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

assembly_mesh_plugin/plugin.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,16 @@ def get_tagged_gmsh(self):
236236
return gmsh
237237

238238

239+
def get_imprinted_gmsh(self):
240+
"""
241+
Allows the user to get a gmsh object from the assembly, with the assembly being imprinted.
242+
"""
243+
244+
gmsh = get_gmsh(self, imprint=True)
245+
246+
return gmsh
247+
248+
239249
def assembly_to_gmsh(self, mesh_path="tagged_mesh.msh"):
240250
"""
241251
Pack the assembly into a gmsh object, respecting assembly part names and face tags when creating
@@ -253,16 +263,6 @@ def assembly_to_gmsh(self, mesh_path="tagged_mesh.msh"):
253263
gmsh.finalize()
254264

255265

256-
def get_imprinted_gmsh(self):
257-
"""
258-
Allows the user to get a gmsh object from the assembly, with the assembly being imprinted.
259-
"""
260-
261-
gmsh = get_gmsh(self, imprint=True)
262-
263-
return gmsh
264-
265-
266266
def assembly_to_imprinted_gmsh(self, mesh_path="tagged_mesh.msh"):
267267
"""
268268
Exports an imprinted assembly to capture conformal meshes.

0 commit comments

Comments
 (0)