Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ if st.button('Plot Vertices and Meshes', key='02'):
|
|
70 |
# Add vertices and faces data here
|
71 |
vertices = np.array([[-3, -3, 0], [+3, -3, 0], [+3, +3, 0], [-3, +3, 0], [+0, +0, +3]])
|
72 |
faces = np.array([[4, 1,0], [4, 2, 1], [3, 4, 0], [3, 4, 2], [3, 2, 1], [3, 1, 0]], dtype=int32)
|
73 |
-
plot_vertices_and_mesh(vertices, faces)
|
74 |
|
75 |
if st.button('Plot Convex Hull', key='03'):
|
76 |
points = np.array([[0, 0], [-2, 0], [-2, 2], [0, 1.5], [2, 2], [2, 0]])
|
|
|
70 |
# Add vertices and faces data here
|
71 |
vertices = np.array([[-3, -3, 0], [+3, -3, 0], [+3, +3, 0], [-3, +3, 0], [+0, +0, +3]])
|
72 |
faces = np.array([[4, 1,0], [4, 2, 1], [3, 4, 0], [3, 4, 2], [3, 2, 1], [3, 1, 0]], dtype=int32)
|
73 |
+
plot_vertices_and_mesh(vertices, faces)
|
74 |
|
75 |
if st.button('Plot Convex Hull', key='03'):
|
76 |
points = np.array([[0, 0], [-2, 0], [-2, 2], [0, 1.5], [2, 2], [2, 0]])
|