Verboard can now have components on the underside, same as PCBs.

This commit is contained in:
Chris Palmer 2020-09-06 12:32:42 +01:00
parent 70513993bd
commit d1429a3b7d
1 changed files with 6 additions and 2 deletions

View File

@ -132,8 +132,12 @@ module veroboard(type) { //! Draw specified veroboard with missing tracks and tr
module vero_components(type, cutouts = false, angle = undef)
for(comp = vero_components(type))
vero_grid_pos(type, comp.x, comp.y)
translate_z(vero_thickness(type))
pcb_component(comp, cutouts, angle);
if(comp[3][0] == "-")
vflip()
pcb_component(comp, cutouts, angle);
else
translate_z(vero_thickness(type))
pcb_component(comp, cutouts, angle);
module vero_cutouts(type, angle = undef) vero_components(type, true, angle); //! Make cutouts to clear components