mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-09-01 19:33:06 +02:00
Module blurb parenthesis parsing is now greedy to handle args that default to function calls.
This means that library modules cannot be one liners.
This commit is contained in:
@@ -1109,7 +1109,8 @@ module pcb_grid_components(type, components, cutouts = false, angle = undef) //!
|
||||
}
|
||||
|
||||
|
||||
module pcb_cutouts(type, angle = undef) pcb_components(type, true, angle); //! Make cut outs to clear components on a PCB
|
||||
module pcb_cutouts(type, angle = undef) //! Make cut outs to clear components on a PCB
|
||||
pcb_components(type, true, angle);
|
||||
|
||||
module pcb_grid_positions(type) {
|
||||
grid = pcb_grid(type);
|
||||
|
@@ -141,7 +141,8 @@ module vero_components(type, cutouts = false, angle = undef)
|
||||
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
|
||||
module vero_cutouts(type, angle = undef) //! Make cutouts to clear components
|
||||
vero_components(type, true, angle);
|
||||
|
||||
module veroboard_assembly(type, height, thickness, flip = false, ngb = false) //! Draw the assembly with components and fasteners in place
|
||||
assembly(vero_assembly(type), ngb = ngb) {
|
||||
|
Reference in New Issue
Block a user