mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-06 09:14:03 -08:00
Updated Examples
This commit is contained in:
parent
78a73a9963
commit
f43dac38e2
56 changed files with 677 additions and 574 deletions
|
|
@ -115,9 +115,7 @@ class PlatonicSolid(BasePartObject):
|
|||
platonic_faces = []
|
||||
for face_vertex_indices in hull:
|
||||
corner_vertices = [platonic_vertices[i] for i in face_vertex_indices]
|
||||
platonic_faces.append(
|
||||
Face.make_from_wires(Wire.make_polygon(corner_vertices))
|
||||
)
|
||||
platonic_faces.append(Face(Wire.make_polygon(corner_vertices)))
|
||||
|
||||
# Create the solid from the Faces
|
||||
platonic_solid = Solid.make_solid(Shell.make_shell(platonic_faces)).clean()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue