Skip to content

Commit 9efe906

Browse files
committed
removed unknown mesh_path keyword
1 parent de8f634 commit 9efe906

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ assy.add(shell, name="shell")
8181
assy.add(insert, name="insert")
8282

8383
# Get a Gmsh object back with all the tagged faces as physical groups
84-
gmsh = assy.getTaggedGmsh()
84+
gmsh_object = assy.getTaggedGmsh()
8585

8686
# Generate the mesh and write it to the file
87-
gmsh.model.mesh.field.setAsBackgroundMesh(2)
88-
gmsh.model.mesh.generate(3)
89-
gmsh.write(mesh_path)
90-
gmsh.finalize()
87+
gmsh_object.model.mesh.field.setAsBackgroundMesh(2)
88+
gmsh_object.model.mesh.generate(3)
89+
gmsh_object.write("tagged_mesh.msh")
90+
gmsh_object.finalize()
9191
```
92-
, loc=cq.Location(cq.Vector(0, 0, 0)), color=cq.Color("blue"
92+
9393
## Tests
9494

9595
These tests are also run in Github Actions, and the meshes which are generated can be viewed as artifacts on the successful `tests` Actions there.

0 commit comments

Comments
 (0)