Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ if st.button('Show 3D Vertices and Meshes'):
|
|
60 |
plot_vertices_and_mesh(vertices, faces)
|
61 |
|
62 |
st.subheader("2. Plot Convex Hull")
|
63 |
-
|
64 |
points = np.array([[0, 0], [-2, 0], [-2, 2], [0, 1.5], [2, 2], [2, 0]])
|
65 |
plot_convex_hull(points)
|
66 |
|
|
|
60 |
plot_vertices_and_mesh(vertices, faces)
|
61 |
|
62 |
st.subheader("2. Plot Convex Hull")
|
63 |
+
if st.button('Show Convex Hull'):
|
64 |
points = np.array([[0, 0], [-2, 0], [-2, 2], [0, 1.5], [2, 2], [2, 0]])
|
65 |
plot_convex_hull(points)
|
66 |
|