We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad1c9c commit 78c85a9Copy full SHA for 78c85a9
README.md
@@ -79,20 +79,20 @@ We can also generate a 3D mesh.
79
80
```python
81
source = pv.Cube()
82
-delaunay_3d = sg.Delaunay3D(edge_source=source, target_sizes=0.2)
+alg = sg.Delaunay3D(edge_source=source, target_sizes=0.2)
83
```
84
85
86
plotter = pv.Plotter()
87
_ = plotter.add_mesh(
88
- delaunay_3d.mesh,
+ alg.mesh,
89
show_edges=True,
90
line_width=1,
91
color="aliceblue",
92
lighting=False,
93
edge_color="gray",
94
)
95
-_ = plotter.add_mesh(edge_source.extract_all_edges(), line_width=4, color="gray")
+_ = plotter.add_mesh(source.extract_all_edges(), line_width=4, color="gray")
96
_ = plotter.add_box_axes()
97
plotter.show()
98
0 commit comments