1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-06 15:36:30 +02:00

FR4 veroboard made the correct colour.

veroboard track cuts made slightly bigger.
This commit is contained in:
Chris Palmer
2021-10-01 12:34:49 +01:00
parent 042d809ed0
commit 38c973b316

View File

@@ -82,7 +82,7 @@ module veroboard(type) { //! Draw specified veroboard with missing tracks and tr
width = strips * pitch; width = strips * pitch;
hole_d = 1; hole_d = 1;
tw = vero_track_width(type); tw = vero_track_width(type);
colour = vero_fr4(type) ? "green" : "goldenrod"; colour = vero_fr4(type) ? "#BEB564" : "goldenrod";
tc = vero_fr4(type) ? "silver" : copper; tc = vero_fr4(type) ? "silver" : copper;
no_track = vero_no_track(type); no_track = vero_no_track(type);
@@ -124,9 +124,9 @@ module veroboard(type) { //! Draw specified veroboard with missing tracks and tr
for(p = vero_breaks(type)) for(p = vero_breaks(type))
vero_grid_pos(type, p.x, p.y) vero_grid_pos(type, p.x, p.y)
if(ceil(p.x) == p.x) if(ceil(p.x) == p.x)
circle(d = pitch); circle(d = pitch * 1.1);
else else
square([pitch * 0.2, pitch], center = true); square([pitch * 0.3, pitch], center = true);
} }
} }
} }