New parts
This commit is contained in:
38
server_rack/scad/mini_itx_mount.scad
Normal file
38
server_rack/scad/mini_itx_mount.scad
Normal file
@@ -0,0 +1,38 @@
|
||||
$fn=60;
|
||||
|
||||
include <BOSL2/std.scad>
|
||||
include <nutsnbolts/cyl_head_bolt.scad>
|
||||
include <mini_itx_board.scad>
|
||||
|
||||
frame_l=180;
|
||||
frame_e=3;
|
||||
p_height=5;
|
||||
|
||||
module pilar() {
|
||||
difference() {
|
||||
zcyl(l=p_height, d=8, rounding1=-2);
|
||||
zcyl(l=p_height, d=3, rounding=-1);
|
||||
}
|
||||
}
|
||||
|
||||
* translate([-85,-81,10]) pcb();
|
||||
|
||||
difference() {
|
||||
union() {
|
||||
cuboid([frame_l,frame_l,frame_e], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||
}
|
||||
cuboid([frame_l-41,frame_l-41,frame_e+1], rounding=5, edges=[FWD+RIGHT,FWD+LEFT,BACK+RIGHT,BACK+LEFT]);
|
||||
}
|
||||
|
||||
translate([-78.7,-52.2,p_height-1]) pilar();
|
||||
translate([-78.7,80.1,p_height-1]) pilar();
|
||||
translate([78.8,80.1,p_height-1]) pilar();
|
||||
translate([78.8,-74.8,p_height-1]) pilar();
|
||||
|
||||
// base
|
||||
* color("red") {
|
||||
translate([-78.7,-52.2,5]) zcyl(l=20, d=1);
|
||||
translate([-78.7,80.1,5]) zcyl(l=20, d=1);
|
||||
translate([78.8,80.1,5]) zcyl(l=20, d=1);
|
||||
translate([78.8,-74.8,5]) zcyl(l=20, d=1);
|
||||
}
|
||||
Reference in New Issue
Block a user