From b80381d79068d3add45e6ad280d0d78e13cc1637 Mon Sep 17 00:00:00 2001 From: wes Date: Mon, 15 Jul 2024 07:13:54 -0400 Subject: [PATCH] text / icon adjustments --- amp_case.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/amp_case.py b/amp_case.py index c0a4189..2bcc2da 100644 --- a/amp_case.py +++ b/amp_case.py @@ -21,7 +21,7 @@ headphone_path, headphone_attribute = svg2paths( side_width = 5 bottom_width = 5 middle_width = 2 -panel_width = 1.1 +panel_width = 1.5 amp_bottom_height = 19 + bottom_width + middle_width # how tall the pcb is battery_width = 26 @@ -68,7 +68,7 @@ in_text = ( Workplane("YZ") .workplane(offset=(amp_width / 2) - 3.5) .center(-15, -2) - .text("IN", 5, 1) + .text("IN", 7, 2) .rotateAboutCenter((1, 0, 0), 180) ) @@ -76,18 +76,18 @@ out_text = ( Workplane("YZ") .workplane(offset=(amp_width / 2) - 3.5) .center(15, -2) - .text("OUT", 5, 1) + .text("OUT", 7, 2) .rotateAboutCenter((1, 0, 0), 180) ) icon = ( Workplane("YZ") - .workplane(offset=171.5) - .center(-50, -100) + .workplane(offset=274.5) + .center(-50, -175) .addSvgPath(headphone_path[0]) - .extrude(4) + .extrude(5) .val() - .scale(0.16) + .scale(0.10) ) result = result.cut(in_text) @@ -128,7 +128,7 @@ back_screws = ( .center(2, 0.0) .rect(37, amp_width, forConstruction=True) .vertices() - .cylinder(10, 0.8) + .cylinder(20, 0.8) ) back = back.cut(back_screws)