mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
Updated Examples
This commit is contained in:
parent
78a73a9963
commit
f43dac38e2
56 changed files with 677 additions and 574 deletions
|
|
@ -33,6 +33,7 @@ image_files:
|
|||
- "example_benchy_02.png"
|
||||
- "example_benchy_03.png"
|
||||
"""
|
||||
|
||||
# [Imports]
|
||||
from build123d import *
|
||||
from ocp_vscode import *
|
||||
|
|
@ -57,9 +58,7 @@ with BuildPart() as benchy:
|
|||
roof_vertices.group_by(Axis.Y, tol_digits=2)[0].sort_by(Axis.X)[0],
|
||||
]
|
||||
roof_plane = Plane(
|
||||
Face.make_from_wires(
|
||||
Wire.make_polygon([v.to_tuple() for v in roof_plane_vertices])
|
||||
)
|
||||
Face(Wire.make_polygon([v.to_tuple() for v in roof_plane_vertices]))
|
||||
)
|
||||
# Remove the faceted smoke stack
|
||||
split(bisect_by=roof_plane, keep=Keep.BOTTOM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue