diff --git a/zvs-driver.scad b/zvs-driver.scad index cf7fa8d..7340f8b 100644 --- a/zvs-driver.scad +++ b/zvs-driver.scad @@ -16,7 +16,7 @@ PCB_CLR = 5; /* [Design] */ V_IN = 12; -Turns_Ratio = 85; +Turns_Ratio = 100; /* [Mount Stands] */ @@ -64,12 +64,19 @@ up(5) %difference() { // Box difference() { - left(25/2) cuboid([PCB_X+30+2*BOX_WALL+.4,PCB_Y+2*BOX_WALL+.4,PCB_Z+PCB_CLR+BOX_WALL], fillet=3, edges=EDGES_Z_ALL, align=V_BOTTOM); + union() { + left(25/2) cuboid([PCB_X+35+2*BOX_WALL+.4,PCB_Y+2*BOX_WALL+.4,PCB_Z+PCB_CLR+BOX_WALL], fillet=3, edges=EDGES_Z_ALL, align=V_BOTTOM); + yspread(n=2, l=48) left(15+6+PCB_X/2) { + cuboid([21.4,6+8.5,8.1]); + } + yspread(n=2, l=50) left(15+6+PCB_X/2) + xspread(n=2, l=18.4) cuboid([3,4+8.5,11]); + } pcb_mount_clearance(); mount_positions() thread_insertM25(bl=6, bz=-6, $die=true); - up(2)rotate([00,0,0]) left(15+6+PCB_X/2) rotate([0,90,90]) bobbin_joiners(clear=true); + up(4)rotate([00,0,0]) left(15+6+PCB_X/2) rotate([0,90,90]) bobbin_joiners(clear=true); } -up(2) rotate([00,0,0]) left(15+6+PCB_X/2) rotate([0,90,90]) bobbin_joiners(plug=false); +up(4) rotate([00,0,0]) left(15+6+PCB_X/2) rotate([0,90,90]) bobbin_joiners(plug=false); module mount_positions() { left((Mount_Y-Mount_X)/2) yspread(l=Mount_Y) xspread(l=Mount_X) children(); @@ -82,7 +89,7 @@ module pcb_mount_clearance() { color("yellow") up(.01) cuboid([PCB_X+.4,PCB_Y+.4,PCB_Z+.01], fillet=3, edges=EDGES_Z_ALL, align=V_BOTTOM); down(PCB_Z-.01) difference() { union() { - cuboid([PCB_X,PCB_Y,PCB_CLR+.02], fillet=3, edges=EDGES_Z_ALL, align=V_BOTTOM); + cuboid([PCB_X,PCB_Y,PCB_CLR], fillet=3, edges=EDGES_Z_ALL, align=V_BOTTOM); } color("green") up(.02) { right(PCB_X/2) cuboid([4,PCB_Y,PCB_CLR+.02], align=V_BOTTOM); // Edge Support