mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-26 08:44:24 +02:00
Added MT3608 and TP4065 PCBs.
Perfboards now have their own row in the test to shorten the picture.
This commit is contained in:
@@ -21,11 +21,16 @@ include <../vitamins/pcbs.scad>
|
||||
|
||||
use <../utils/layout.scad>
|
||||
|
||||
module pcbs()
|
||||
module pcbs() {
|
||||
layout([for(p = pcbs) pcb_width(p)], 10)
|
||||
translate([0, pcb_length(pcbs[$i]) / 2])
|
||||
rotate(90)
|
||||
pcb_assembly(pcbs[$i], 5 + $i, 3);
|
||||
|
||||
translate([0, 120])
|
||||
layout([for(p = perfboards) pcb_length(p)], 10)
|
||||
translate([0, -pcb_width(perfboards[$i]) / 2])
|
||||
pcb_assembly(perfboards[$i], 5 + $i, 3);
|
||||
}
|
||||
if($preview)
|
||||
pcbs();
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 166 KiB |
Reference in New Issue
Block a user