From e90b69982a2208e43c7b9cc89a33537496302898 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Aug 2021 18:02:17 +0100 Subject: [PATCH] startech-dell-usb-cable-retainer: wip Signed-off-by: Ian Jackson --- startech-dell-usb-cable-retainer.scad | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/startech-dell-usb-cable-retainer.scad b/startech-dell-usb-cable-retainer.scad index e8d8359..956bed4 100644 --- a/startech-dell-usb-cable-retainer.scad +++ b/startech-dell-usb-cable-retainer.scad @@ -22,6 +22,9 @@ prong_width = 2.0; base_thick = 3; +$fa= 3; +$fs= 0.3; + // calculated epp0 = [ 0, -body_height/2 ]; @@ -38,6 +41,9 @@ epp10 = [ epp11[0], +back_above_height ]; epp9 = epp10 + [ +back_thick, 0 ]; epp8 = [ epp9[0], epp7[1] ]; +y1 = wire_thick/2; +y2 = y1 + prong_width; + module MainElevation(){ polygon([epp0, epp1, @@ -57,4 +63,18 @@ module MainElevation(){ } } -MainElevation(); +module Retainer(){ + difference(){ + linextr_y_xz( -y2, +y2 ) { + MainElevation(); + } + linextr_y_xz( -y1, +y1 ) { + rectfromto( epp7 + [+1, -1], + epp5 + [-1, +1] ); + } + } +} + +//MainElevation(); + +Retainer(); -- 2.30.2