From 9ebbdfaf909663a5cf392e0d4813c70361c1e209 Mon Sep 17 00:00:00 2001 From: Reed Krantz Date: Sun, 9 Aug 2026 14:59:44 -0500 Subject: [PATCH] refactor: rename pln to hook_pln --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.py b/build.py index 130a207..f1e012a 100644 --- a/build.py +++ b/build.py @@ -133,13 +133,13 @@ def build_trash_belt_hook( offset(amount=-clip_thickness, mode=Mode.SUBTRACT) extrude(amount=hook_width / 2, both=True) - pln = Plane(trash_belt_hook.faces().sort_by(Axis.Y)[-1].offset(hook_height)).rotated((-45, 0, 0)) - with BuildSketch(pln) as hook_s: + hook_pln = Plane(trash_belt_hook.faces().sort_by(Axis.Y)[-1].offset(hook_height)).rotated((-45, 0, 0)) + with BuildSketch(hook_pln) as hook_s: Rectangle(hook_thickness, hook_width) chamfer(hook_s.vertices().group_by(Axis.X)[0], hook_chamfer) extrude(until=Until.PREVIOUS) - with BuildSketch(pln.offset(hook_tip_offset)) as hook_tip: + 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])