tea_cup_algebra.py -> find_intersection to find_intersection_points

This commit is contained in:
jdegenstein 2024-10-15 12:59:23 -05:00 committed by GitHub
parent 344c5afa56
commit dd84840e8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ tea_cup = fillet(tea_cup.edges(), radius=fillet_radius)
# Determine where the handle contacts the bowl # Determine where the handle contacts the bowl
handle_intersections = [ handle_intersections = [
tea_cup.find_intersection( tea_cup.find_intersection_points(
Axis(origin=(0, 0, vertical_offset), direction=(1, 0, 0)) Axis(origin=(0, 0, vertical_offset), direction=(1, 0, 0))
)[-1][0] )[-1][0]
for vertical_offset in [35 * MM, 80 * MM] for vertical_offset in [35 * MM, 80 * MM]