Verboard can now have components on the underside, same as PCBs.
This commit is contained in:
parent
70513993bd
commit
d1429a3b7d
|
@ -132,6 +132,10 @@ module veroboard(type) { //! Draw specified veroboard with missing tracks and tr
|
||||||
module vero_components(type, cutouts = false, angle = undef)
|
module vero_components(type, cutouts = false, angle = undef)
|
||||||
for(comp = vero_components(type))
|
for(comp = vero_components(type))
|
||||||
vero_grid_pos(type, comp.x, comp.y)
|
vero_grid_pos(type, comp.x, comp.y)
|
||||||
|
if(comp[3][0] == "-")
|
||||||
|
vflip()
|
||||||
|
pcb_component(comp, cutouts, angle);
|
||||||
|
else
|
||||||
translate_z(vero_thickness(type))
|
translate_z(vero_thickness(type))
|
||||||
pcb_component(comp, cutouts, angle);
|
pcb_component(comp, cutouts, angle);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue