mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
tea_cup_algebra.py -> update to use location_at (^) too
This commit is contained in:
parent
7d197232a7
commit
73b1111320
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ path_spline = Spline(
|
|||
)
|
||||
|
||||
# Align the cross section to the beginning of the path
|
||||
plane = Plane(origin=path_spline @ 0, z_dir=path_spline % 0)
|
||||
handle_cross_section = plane * RectangleRounded(wall_thickness, 8 * MM, fillet_radius)
|
||||
location = path_spline ^ 0
|
||||
handle_cross_section = location * RectangleRounded(wall_thickness, 8 * MM, fillet_radius)
|
||||
|
||||
# Sweep handle cross section along path
|
||||
tea_cup += sweep(handle_cross_section, path=path_spline)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue