File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
239249def 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-
266266def assembly_to_imprinted_gmsh (self , mesh_path = "tagged_mesh.msh" ):
267267 """
268268 Exports an imprinted assembly to capture conformal meshes.
You can’t perform that action at this time.
0 commit comments