diff options
| author | feurig <don@suspectdevices.com> | 2022-05-12 19:14:10 -0700 |
|---|---|---|
| committer | feurig <don@suspectdevices.com> | 2022-05-12 19:14:10 -0700 |
| commit | c494b404a88faeb8df4255f5d17a8d215297f97e (patch) | |
| tree | aec453872ed0f94b1bb3eafd1d5f95fdb99b3bc3 | |
| parent | bda78cc7becda1a0d2c8afcbeecb43ded588e325 (diff) | |
close.
| -rw-r--r-- | beltclip.scad | 43 |
1 files changed, 36 insertions, 7 deletions
diff --git a/beltclip.scad b/beltclip.scad index 9f335c4..32403d3 100644 --- a/beltclip.scad +++ b/beltclip.scad @@ -10,13 +10,42 @@ clipHeight=3.0; clipWidth=22.0; clipHoleWidth=11.0; clipHoleLength=22.0; +clipHandleWidth=52.0; +clipHandleLength=3.0; +clipHandleHeight=12.0; +wedgeHeight=5.0; +wedgeWidth=42.0; +union(){ + difference (){ -difference (){ + translate([-(clipWidth/2.0),0,0]){ + cube([clipWidth,clipLength,clipHeight], center=false); + } + translate([-(clipHoleWidth/2.0),(clipLength-clipHoleLength)/2.0,-2.0]){ + cube([clipHoleWidth,clipHoleLength,clipHeight+4], center=false); + } + } + translate([-(clipHandleWidth/2.0),-9,0]){ + cube([clipHandleWidth,clipHandleLength,clipHandleHeight], center=false); + } -translate([-(clipWidth/2.0),0,0]){ - cube([clipWidth,clipLength,clipHeight], center=false); -} -translate([-(clipHoleWidth/2.0),(clipLength-clipHoleLength)/2.0,-2.0]){ - cube([clipHoleWidth,clipHoleLength,clipHeight+4], center=false); -} + CubePoints = [ + [ -21.0, -9.0, 0 ], //0 + [ -11.0, 0, 0 ], //1 + [ 11.0, 0, 0 ], //2 + [ 21.0, -9.0, 0 ], //3 + [ -21.0, -9.0, 5 ], //4 + [ -11.0, 0, 3.0 ], //5 + [ 11.0, 0, 3.0 ], //6 + [ 21.0, -9, 5 ]]; //7 + + CubeFaces = [ + [0,1,2,3], // bottom + [4,5,1,0], // front + [7,6,5,4], // top + [5,6,2,1], // right + [6,7,3,2], // back + [7,4,0,3]]; // left + + polyhedron( CubePoints, CubeFaces ); }
\ No newline at end of file |
