Skip to content

Commit

Permalink
tea_cup_algebra.py -> update to use location_at (^) too
Browse files Browse the repository at this point in the history
  • Loading branch information
jdegenstein authored Oct 22, 2024
1 parent 7d19723 commit 73b1111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tea_cup_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
)

# 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)
Expand Down

0 comments on commit 73b1111

Please sign in to comment.