This commit is contained in:
2025-09-08 18:52:42 +02:00
parent 2fb41f696b
commit 327ae2a00a
5 changed files with 18 additions and 54 deletions

View File

@@ -1,38 +0,0 @@
$fn=60;
include <BOSL2/std.scad>
include <nutsnbolts/cyl_head_bolt.scad>
module wall() {
difference() {
union() {
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]);
tube(od=135, id=125, l=3);
}
* cuboid([66,75,8]);
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);
}

View File

@@ -1,7 +1,8 @@
$fn=60;
include <BOSL2/std.scad>
include <nutsnbolts/cyl_head_bolt.scad>
include <boltsos_0.4.1/BOLTS.scad>
include <mini_itx_board.scad>
frame_l=180;
@@ -15,24 +16,25 @@ module pilar() {
}
}
* 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
// 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();
}
}