V2
This commit is contained in:
@@ -3,18 +3,36 @@ $fn=60;
|
|||||||
include <BOSL2/std.scad>
|
include <BOSL2/std.scad>
|
||||||
include <nutsnbolts/cyl_head_bolt.scad>
|
include <nutsnbolts/cyl_head_bolt.scad>
|
||||||
|
|
||||||
|
module wall() {
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
translate([0,0,-1.5]) rotate([0,0,90]) import("../stl/dual_2.5_ssd_shelf.stl");
|
translate([0,0,19]) cuboid([3,85,38], rounding=3, edges=[TOP+FRONT,TOP+BACK]);
|
||||||
|
translate([-1.5,0,2]) ycyl(l=85, d=3);
|
||||||
|
translate([-1.5,0,15]) ycyl(l=85, d=3);
|
||||||
|
translate([-1.5,0,28]) ycyl(l=85, d=3);
|
||||||
|
}
|
||||||
|
translate([0,-38.5,7]) xcyl(l=3, d=3.5);
|
||||||
|
translate([0,-38.5,20]) xcyl(l=3, d=3.5);
|
||||||
|
translate([0,-38.5,33]) xcyl(l=3, d=3.5);
|
||||||
|
translate([0,38.5,7]) xcyl(l=3, d=3.5);
|
||||||
|
translate([0,38.5,20]) xcyl(l=3, d=3.5);
|
||||||
|
translate([0,38.5,33]) xcyl(l=3, d=3.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
difference() {
|
||||||
|
union() {
|
||||||
|
rect_tube(h=3, size=[85,85], wall=10, center=true, anchor=TOP)
|
||||||
|
translate([36.5,0,0]) wall();
|
||||||
|
translate([-36.5,0,0]) mirror([1,0,0]) wall();
|
||||||
rotate([0,0,41]) cuboid([170,10,3], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
rotate([0,0,41]) cuboid([170,10,3], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||||
rotate([0,0,-41]) cuboid([170,10,3], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
rotate([0,0,-41]) cuboid([170,10,3], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||||
tube(od=135, id=125, l=3);
|
tube(od=135, id=125, l=3);
|
||||||
}
|
}
|
||||||
cuboid([70,64.5,8]);
|
* cuboid([66,75,8]);
|
||||||
color("red") {
|
|
||||||
translate([60,52.5,0]) zcyl(l=10, d=4.5);
|
translate([60,52.5,0]) zcyl(l=10, d=4.5);
|
||||||
translate([60,-52.5,0]) zcyl(l=10, d=4.5);
|
translate([60,-52.5,0]) zcyl(l=10, d=4.5);
|
||||||
translate([-60,52.5,0]) zcyl(l=10, d=4.5);
|
translate([-60,52.5,0]) zcyl(l=10, d=4.5);
|
||||||
translate([-60,-52.5,0]) zcyl(l=10, d=4.5);
|
translate([-60,-52.5,0]) zcyl(l=10, d=4.5);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ module backScrew() {
|
|||||||
translate ([0,0,2]) DIN931("M3");
|
translate ([0,0,2]) DIN931("M3");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Assembled version
|
|
||||||
|
|
||||||
// [tubes]
|
// [tubes]
|
||||||
* color("grey") {
|
* color("grey") {
|
||||||
translate([-18,0,-80]) tube(od=tube_d1,wall=2,h=200);
|
translate([-18,0,-80]) tube(od=tube_d1,wall=2,h=200);
|
||||||
@@ -33,7 +31,7 @@ module backScrew() {
|
|||||||
translate([18,0,-80]) tube(od=tube_d1,wall=2,h=200);
|
translate([18,0,-80]) tube(od=tube_d1,wall=2,h=200);
|
||||||
}
|
}
|
||||||
// [top]
|
// [top]
|
||||||
* translate([0,0,20]) {
|
translate([0,0,25]) {
|
||||||
difference() {
|
difference() {
|
||||||
cuboid([58,25,20], rounding=5);
|
cuboid([58,25,20], rounding=5);
|
||||||
translate([-20,0,-7]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
translate([-20,0,-7]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
||||||
@@ -49,58 +47,15 @@ module backScrew() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// [middle]
|
// [middle]
|
||||||
* translate([0,0,-30]) difference() {
|
|
||||||
cuboid([58,25,20], rounding=5);
|
|
||||||
translate([-18,0,0]) zcyl(l=30, d=tube_d1+1);
|
|
||||||
translate([0,0,-7]) zcyl(l=25, d=tube_d2+delta, rounding=1);
|
|
||||||
translate([18,0,0]) zcyl(l=30, d=tube_d1+1);
|
|
||||||
}
|
|
||||||
// [bottom]
|
|
||||||
* translate([0,0,-175]) difference() {
|
|
||||||
union() {
|
|
||||||
cuboid([58,25,20], rounding=5);
|
|
||||||
translate([0,-3,0]) rotate([90,0,0]) prismoid(size1=[30,20], size2=[24,20], h=25, rounding=1);
|
|
||||||
translate([0,-27,0]) scale([1,.7,1]) zcyl(l=20, d=24, rounding=1);
|
|
||||||
}
|
|
||||||
translate([-18,0,5]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
|
||||||
zcyl(l=30, d=tube_d2+1);
|
|
||||||
translate([18,0,5]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
|
||||||
rotate([90,0,180]) translate([0,0,8]) backScrew();
|
|
||||||
zcyl(l=12, d=16, rounding=-1);
|
|
||||||
translate([0,-23,0]) cuboid([11,25,20], rounding=-1);
|
|
||||||
translate ([0,-23,0]) rotate([0,-90,0]) frontScrew();
|
|
||||||
}
|
|
||||||
|
|
||||||
// [top]
|
|
||||||
* rotate([-90,0,0]) {
|
|
||||||
translate([0,0,30]) {
|
|
||||||
difference() {
|
|
||||||
cuboid([58,25,20], rounding=5);
|
|
||||||
translate([-18,0,-7]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
|
||||||
translate([18,0,-7]) zcyl(l=25, d=tube_d1+delta, rounding=1);
|
|
||||||
}
|
|
||||||
rotate([-90,0,0]) {
|
|
||||||
translate([0,-14,0]) difference() {
|
|
||||||
ycyl(l=40, d=20, rounding=10);
|
|
||||||
translate([0,-9,0]) xcyl(l=20, d=6);
|
|
||||||
translate([10.5,-12,0]) xcyl(l=6, d=30);
|
|
||||||
translate([-10.5,-12,0]) xcyl(l=6, d=30);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// [middle]
|
|
||||||
* rotate([90,0,0]) {
|
|
||||||
difference() {
|
difference() {
|
||||||
cuboid([58,25,20], rounding=5);
|
cuboid([58,25,20], rounding=5);
|
||||||
translate([-18,0,0]) zcyl(l=30, d=tube_d1+1);
|
translate([-18,0,0]) zcyl(l=30, d=tube_d1+1);
|
||||||
translate([0,0,-7]) zcyl(l=25, d=tube_d2+delta, rounding=1);
|
translate([0,0,-7]) zcyl(l=25, d=tube_d2+delta, rounding=1);
|
||||||
translate([18,0,0]) zcyl(l=30, d=tube_d1+1);
|
translate([18,0,0]) zcyl(l=30, d=tube_d1+1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// [bottom]
|
// [bottom]
|
||||||
difference() {
|
translate([0,0,-25]) difference() {
|
||||||
union() {
|
union() {
|
||||||
cuboid([58,25,20], rounding=5);
|
cuboid([58,25,20], rounding=5);
|
||||||
translate([0,-3,0]) rotate([90,0,0]) prismoid(size1=[30,20], size2=[24,20], h=24, rounding=1);
|
translate([0,-3,0]) rotate([90,0,0]) prismoid(size1=[30,20], size2=[24,20], h=24, rounding=1);
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user