Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
tkoyama010 committed Oct 15, 2024
1 parent 6a0deec commit d12cc20
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/quad.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
import pyvista as pv

with Path("quad.geo").open("w") as f:
f.write("lc = 0.05;\n")
f.write("Point(1) = {0, 0, 0, lc};\n")
f.write("Point(2) = {1, 0, 0, lc};\n")
f.write("Point(3) = {1, 1, 0, lc};\n")
f.write("Point(4) = {0, 1, 0, lc};\n")
f.write("Point(1) = {0, 0, 0, 0.05};\n")
f.write("Point(2) = {1, 0, 0, 0.05};\n")
f.write("Point(3) = {1, 1, 0, 0.05};\n")
f.write("Point(4) = {0, 1, 0, 0.05};\n")
f.write("Line(1) = {1, 2};\n")
f.write("Line(2) = {2, 3};\n")
f.write("Line(3) = {3, 4};\n")
Expand Down

0 comments on commit d12cc20

Please sign in to comment.