1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-28 01:29:54 +02:00

Updated readme and cover picture for BTT_SKR_V1_4_TURBO PCB.

Added list of hidden pcbs to hide the boring ones.
Smaller PCBs closer together to make space.
This commit is contained in:
Chris Palmer
2021-01-18 15:56:09 +00:00
parent 19bae20e24
commit abb676b75c
6 changed files with 23 additions and 11 deletions

View File

@@ -21,8 +21,10 @@ include <../vitamins/pcbs.scad>
use <../utils/layout.scad>
function spacing(p) = let(w = pcb_width(p)) w < 22 ? w + 3 : w + 10;
module pcbs() {
layout([for(p = pcbs) pcb_width(p)], 10)
layout([for(p = pcbs) spacing(p)], 0)
translate([0, pcb_length(pcbs[$i]) / 2])
rotate(90)
pcb_assembly(pcbs[$i], 5 + $i, 3);
@@ -31,6 +33,10 @@ module pcbs() {
layout([for(p = perfboards) pcb_length(p)], 10)
translate([0, -pcb_width(perfboards[$i]) / 2])
pcb_assembly(perfboards[$i], 5 + $i, 3);
for(p = pcbs_not_shown)
hidden()
pcb(p);
}
if($preview)
pcbs();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 154 KiB