Skip to content

Commit 905e93c

Browse files
committed
removed loc and color
1 parent 7729a5b commit 905e93c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ insert.faces("<X").tag("~in_contact")
5151
insert.faces(">X").tag("outer-right")
5252

5353
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")
5656

5757
assy.saveToGmsh(mesh_path="tagged_mesh.msh")
5858
```
@@ -77,8 +77,8 @@ insert.faces("<X").tag("~in_contact")
7777
insert.faces(">X").tag("outer-right")
7878

7979
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")
8282

8383
# Get a Gmsh object back with all the tagged faces as physical groups
8484
gmsh = assy.getTaggedGmsh()
@@ -89,7 +89,7 @@ gmsh.model.mesh.generate(3)
8989
gmsh.write(mesh_path)
9090
gmsh.finalize()
9191
```
92-
92+
, loc=cq.Location(cq.Vector(0, 0, 0)), color=cq.Color("blue"
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)