From 59a7c794634a25e556549f23a4297f6901e9fe00 Mon Sep 17 00:00:00 2001 From: Emard Date: Tue, 10 Apr 2018 20:13:07 +0200 Subject: [PATCH] ulx3s oled stand 3D print model --- box/oled-stand.scad | 27 --------------------------- box/ulx3s-oled.scad | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 27 deletions(-) delete mode 100644 box/oled-stand.scad create mode 100644 box/ulx3s-oled.scad diff --git a/box/oled-stand.scad b/box/oled-stand.scad deleted file mode 100644 index a998a86..0000000 --- a/box/oled-stand.scad +++ /dev/null @@ -1,27 +0,0 @@ - -body=[28,5,11.0]; -hole_d=2.2; -hole_h=2.0; -hole_dist=23.75; - -difference() -{ - union() - { - cube(body,center=true); - // screw pins - for(i=[-1:2:1]) - translate([hole_dist/2*i,0,body[2]/2+hole_h/2]) - cylinder(d=hole_d,h=hole_h+0.1,$fn=6,center=true); - } - // cut clearing for ribbon cable - translate([0,0,body[2]/2]) - cube([hole_dist-5,10,2],center=true); - // cut bottom stand - // hdmi - translate([-body[0]/2,0,-body[2]/2]) - cube([34,10,13],center=true); - // audio jack - translate([body[0]/2,0,-body[2]/2]) - cube([4,10,10],center=true); -} diff --git a/box/ulx3s-oled.scad b/box/ulx3s-oled.scad new file mode 100644 index 0000000..3ac110c --- /dev/null +++ b/box/ulx3s-oled.scad @@ -0,0 +1,37 @@ + +body=[28,5,11]; +hole_d=2.3; +hole_h=2.0; +hole_dist=23.75; + +hdmi_width=20; +hdmi_height=14; +audio_width=5; +audio_height=13; + +difference() +{ + union() + { + cube(body,center=true); + // screw pins + for(i=[-1:2:1]) + translate([hole_dist/2*i,0,body[2]/2+hole_h/2]) + cylinder(d=hole_d,h=hole_h+0.1,$fn=6,center=true); + } + // cut clearing for ribbon cable + translate([0,0,body[2]/2]) + cube([hole_dist-5,10,2],center=true); + // cut bottom stand + // dip switch + // hdmi + translate([-hole_dist/2+hdmi_width/2-3,-5,-body[2]/2]) + cube([hdmi_width,10,hdmi_height],center=true); + // audio jack + translate([hole_dist/2+audio_width/2,0,-body[2]/2]) + cube([audio_width,10,audio_height],center=true); + // 45 deg transtion + translate([hole_dist/2+audio_width/2+1,0,-body[2]/2+audio_height-audio_width-1.5]) + rotate([0,45,0]) + cube([audio_width,10,audio_width],center=true); +}