First commit
This commit is contained in:
34
server_rack/scad/2230_to_22xx_adapter.scad
Normal file
34
server_rack/scad/2230_to_22xx_adapter.scad
Normal file
@@ -0,0 +1,34 @@
|
||||
$fn=60;
|
||||
|
||||
include <BOSL2/std.scad>
|
||||
include <nutsnbolts/cyl_head_bolt.scad>
|
||||
|
||||
xx=80;
|
||||
|
||||
// 2230 ssd
|
||||
module ssd() {
|
||||
difference() {
|
||||
union() {
|
||||
color("gold") translate([0,1.85,0]) cuboid([23.2,26,3.3], rounding=1);
|
||||
difference() {
|
||||
color("green") cuboid([22,30,0.8], rounding=0.4);
|
||||
translate([-8,-13.5,0]) cuboid([1.5,4,5], rounding=0.75);
|
||||
}
|
||||
}
|
||||
translate([0,15,3.20]) hole_through(name="M4", l=10, cld=0.1, h=3, hcld=0.4);
|
||||
}
|
||||
}
|
||||
|
||||
// 22xx adapter
|
||||
color("cyan", alpha=1) difference() {
|
||||
union() {
|
||||
translate([0,32,1.25]) cuboid([15,xx-16,2.5], rounding=2, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||
rotate([0,0,90]) translate([xx/2-5,0,2.5]) prismoid(size1=[xx/2,15], size2=[1,15], shift=[-xx/4,0], h=2.5);
|
||||
translate([0,8,2.5]) cuboid([25.5,16,5], rounding=2, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||
}
|
||||
translate([0,0,2.5]) cuboid([23.5,26,3.5], rounding=1);
|
||||
translate([0,-1,5]) cuboid([22,26,5], rounding=1);
|
||||
translate([0,xx-15.5,4]) hole_through(name="M4", l=10, cld=0.1, h=3, hcld=0.4);
|
||||
}
|
||||
|
||||
translate([0,0,2.5]) ssd();
|
||||
Reference in New Issue
Block a user