From 96756418d9357ccb4c8092e203547c027f2ae8dc Mon Sep 17 00:00:00 2001 From: Reed Krantz Date: Sun, 9 Aug 2026 17:31:01 -0500 Subject: [PATCH] feat: add fillets to the sides and corners of the trash belt hook --- build.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.py b/build.py index f1e012a..e97719a 100644 --- a/build.py +++ b/build.py @@ -117,10 +117,12 @@ def build_trash_belt_hook( clip_thickness: float = 5, hook_width: float = 40, + hook_side_fillet: float = .9, hook_height: float = 9, hook_thickness: float = 13.5, hook_chamfer: float = 10, + hook_belt_intersection_fillet: float = .8, hook_tip_offset: float = 15, hook_tip_thickness_p: float = 0.2, @@ -139,11 +141,17 @@ def build_trash_belt_hook( chamfer(hook_s.vertices().group_by(Axis.X)[0], hook_chamfer) extrude(until=Until.PREVIOUS) + outside_face = trash_belt_hook.faces().group_by(Axis.Y)[-5] + fillet(outside_face.edges().sort_by(Axis.X)[1:-1], hook_belt_intersection_fillet) + with BuildSketch(hook_pln.offset(hook_tip_offset)) as hook_tip: Rectangle(hook_thickness * hook_tip_thickness_p, hook_width * hook_tip_width_p) chamfer(hook_tip.vertices().group_by(Axis.X)[0], hook_chamfer * hook_tip_thickness_p) loft([hook_s.sketch, hook_tip.sketch]) + fillet(trash_belt_hook.edges().group_by(Axis.X)[0], hook_side_fillet) + fillet(trash_belt_hook.edges().group_by(Axis.X)[-1], hook_side_fillet) + return trash_belt_hook