@@ -51,8 +51,8 @@ insert.faces("<X").tag("~in_contact")
51
51
insert.faces(" >X" ).tag(" outer-right" )
52
52
53
53
assy = cq.Assembly()
54
- assy.add(shell, name = " shell" , loc = cq.Location(cq.Vector( 0 , 0 , 0 )), color = cq.Color( " red " ) )
55
- assy.add(insert, name = " insert" , loc = cq.Location(cq.Vector( 0 , 0 , 0 )), color = cq.Color( " blue " ) )
54
+ assy.add(shell, name = " shell" )
55
+ assy.add(insert, name = " insert" )
56
56
57
57
assy.saveToGmsh(mesh_path = " tagged_mesh.msh" )
58
58
```
@@ -77,8 +77,8 @@ insert.faces("<X").tag("~in_contact")
77
77
insert.faces(" >X" ).tag(" outer-right" )
78
78
79
79
assy = cq.Assembly()
80
- assy.add(shell, name = " shell" , loc = cq.Location(cq.Vector( 0 , 0 , 0 )), color = cq.Color( " red " ) )
81
- assy.add(insert, name = " insert" , loc = cq.Location(cq.Vector( 0 , 0 , 0 )), color = cq.Color( " blue " ) )
80
+ assy.add(shell, name = " shell" )
81
+ assy.add(insert, name = " insert" )
82
82
83
83
# Get a Gmsh object back with all the tagged faces as physical groups
84
84
gmsh = assy.getTaggedGmsh()
@@ -89,7 +89,7 @@ gmsh.model.mesh.generate(3)
89
89
gmsh.write(mesh_path)
90
90
gmsh.finalize()
91
91
```
92
-
92
+ , loc=cq.Location(cq.Vector(0, 0, 0)), color=cq.Color("blue"
93
93
## Tests
94
94
95
95
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