40 lines
888 B
OpenSCAD
40 lines
888 B
OpenSCAD
$fn=60;
|
|
|
|
include <BOSL2/std.scad>
|
|
include <boltsos_0.4.1/BOLTS.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);
|
|
}
|
|
}
|
|
|
|
// holes_positions
|
|
* 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);
|
|
}
|
|
|
|
* translate([-85,-81,10]) pcb();
|
|
|
|
color("cyan") {
|
|
// mini_itx_plate
|
|
rect_tube(3, frame_l, wall=frame_e*6, rounding=frame_e, irounding=frame_e/2, center=true);
|
|
|
|
// pcb_supports
|
|
translate([0,0,p_height-1]) {
|
|
translate([-78.7,-52.2,0]) pilar();
|
|
translate([-78.7,80.1,0]) pilar();
|
|
translate([78.8,80.1,0]) pilar();
|
|
translate([78.8,-74.8,0]) pilar();
|
|
}
|
|
} |