diff --git a/printed/camera_housing.scad b/printed/camera_housing.scad index b941aa3..fa907b9 100644 --- a/printed/camera_housing.scad +++ b/printed/camera_housing.scad @@ -284,7 +284,7 @@ module camera_bracket(cam) { //! Make the STL for the camera bracket } module camera_assembly(cam, angle = 0) //! Camera case assembly -assembly(str("camera_", cam[0])) { +assembly(str("camera_", cam[0]), ngb = true) { front = cam_front_size(cam); screw = pcb_screw(camera_pcb(cam)); nut = screw_nut(screw); diff --git a/printed/corner_block.scad b/printed/corner_block.scad index aed34fa..e5fd608 100644 --- a/printed/corner_block.scad +++ b/printed/corner_block.scad @@ -117,7 +117,7 @@ module corner_block(screw = def_screw, name = false) { //! Generate the STL for } module corner_block_assembly(screw = def_screw, name = false) //! The printed block with inserts -assembly(str("corner_block_M", 20 * screw_radius(screw))) { +assembly(str("corner_block_M", 20 * screw_radius(screw)), ngb = true) { insert = screw_insert(screw); stl_colour(name ? pp2_colour : pp1_colour) diff --git a/printed/drag_chain.scad b/printed/drag_chain.scad index 7530faa..63fb768 100644 --- a/printed/drag_chain.scad +++ b/printed/drag_chain.scad @@ -311,7 +311,7 @@ module _drag_chain_assembly(type, pos = 0, render = false) { //! 1. Remove the support material from the links with side cutters. //! 1. Clip the links together with the special ones at the ends. module drag_chain_assembly(type, pos = 0, render = false) //! Drag chain assembly - assembly(str(drag_chain_name(type), "_drag_chain"), big = true) + assembly(str(drag_chain_name(type), "_drag_chain"), big = true, ngb = true) if($children == 2) _drag_chain_assembly(type, pos, render) { children(0); diff --git a/printed/fixing_block.scad b/printed/fixing_block.scad index 3611af9..f9e8a04 100644 --- a/printed/fixing_block.scad +++ b/printed/fixing_block.scad @@ -106,7 +106,7 @@ module fixing_block(screw = def_screw) { //! Generate the STL } module fixing_block_assembly(screw = def_screw) pose([55, 180, 25], [0, 4.8, 4.8]) //! Printed part with the inserts inserted -assembly(str("fixing_block_M", 20 * screw_radius(screw))) { +assembly(str("fixing_block_M", 20 * screw_radius(screw)), ngb = true) { translate_z(fixing_block_height(screw)) rotate([0, 180, 0]) stl_colour(pp1_colour) render() fixing_block(screw); diff --git a/printed/flat_hinge.scad b/printed/flat_hinge.scad index 8c4fc17..1242669 100644 --- a/printed/flat_hinge.scad +++ b/printed/flat_hinge.scad @@ -129,7 +129,7 @@ module hinge_both(type) { //! Both parts together for printing } module hinge_assembly(type, angle = 0) -assembly(str("hinge_", type[0])) { //! Assembled hinge +assembly(str("hinge_", type[0]), ngb = true) { //! Assembled hinge kr = hinge_knuckle_dia(type) / 2; hr = hinge_pin_dia(type) / 2; w = hinge_width(type); diff --git a/printed/foot.scad b/printed/foot.scad index d55a3e3..b1aee55 100644 --- a/printed/foot.scad +++ b/printed/foot.scad @@ -132,7 +132,7 @@ module insert_foot(type = insert_foot) { //! Generate STL for foot with insert //! Place the insert in the bottom of the foot and push home with a soldering iron with a conical bit heated to 200°C. // module insert_foot_assembly(type = insert_foot) //! Printed part with insert in place -assembly("insert_foot") { +assembly("insert_foot", ngb = true) { screw = foot_screw(type); insert = screw_insert(screw); diff --git a/printed/handle.scad b/printed/handle.scad index 881fc60..8cc1fca 100644 --- a/printed/handle.scad +++ b/printed/handle.scad @@ -81,7 +81,7 @@ module handle_stl() { //! generate the STL //! Place inserts in the bottom of the posts and push them home with a soldering iron with a conical bit heated to 200°C. // module handle_assembly() pose([225, 0, 150], [0, 0, 14]) //! Printed part with inserts in place -assembly("handle") { +assembly("handle", ngb = true) { translate_z(handle_height()) stl_colour(pp1_colour) vflip() handle_stl(); diff --git a/printed/printed_pulleys.scad b/printed/printed_pulleys.scad index f5ae327..b7368a1 100644 --- a/printed/printed_pulleys.scad +++ b/printed/printed_pulleys.scad @@ -180,7 +180,7 @@ module printed_pulley(type) { //! Draw a printable pulley } module printed_pulley_assembly(type, colour = pp1_colour) //! Draw a printed pulley with its grub screws in place -assembly(str("printed_pulley_", type[0])) { +assembly(str("printed_pulley_", type[0]), ngb = true) { translate_z(pulley_offset(type)) { stl_colour(colour) if(printed_pulley_inverted(type)) diff --git a/printed/psu_shroud.scad b/printed/psu_shroud.scad index 8343fc9..689a96c 100644 --- a/printed/psu_shroud.scad +++ b/printed/psu_shroud.scad @@ -143,7 +143,7 @@ module psu_shroud(type, cable_d, name, cables = 1) { //! Generate the STL file f } module psu_shroud_assembly(type, cable_d, name, cables = 1) //! The printed parts with inserts fitted -assembly(str("PSU_shroud_", name)) { +assembly(str("PSU_shroud_", name), ngb = true) { translate_z(psu_shroud_height(type)) vflip() diff --git a/printed/ribbon_clamp.scad b/printed/ribbon_clamp.scad index 6bbd41b..0eb7952 100644 --- a/printed/ribbon_clamp.scad +++ b/printed/ribbon_clamp.scad @@ -82,7 +82,7 @@ module ribbon_clamp(ways, screw = screw) { //! Generate STL for given number of } module ribbon_clamp_assembly(ways, screw = screw) pose([55, 180, 25]) //! Printed part with inserts in place - assembly(let(screw_d = screw_radius(screw) * 2)str("ribbon_clamp_", ways, screw_d != 3 ? str("_", screw_d) : "")) { + assembly(let(screw_d = screw_radius(screw) * 2)str("ribbon_clamp_", ways, screw_d != 3 ? str("_", screw_d) : ""), ngb = true) { h = ribbon_clamp_height(screw); insert = screw_insert(screw); diff --git a/printed/screw_knob.scad b/printed/screw_knob.scad index 19a06e7..c97f319 100644 --- a/printed/screw_knob.scad +++ b/printed/screw_knob.scad @@ -59,7 +59,7 @@ module screw_knob(screw) { //! Generate the STL for a knob to fit the specified //! Place the screw through the printed part module screw_knob_assembly(screw, length) //! Assembly with the screw in place -assembly(str("screw_knob_M", 20 * screw_radius(screw), "_", length)) { +assembly(str("screw_knob_M", 20 * screw_radius(screw), "_", length), ngb = true) { translate_z(knob_height) vflip() stl_colour(pp1_colour) screw_knob(screw); diff --git a/printed/ssr_shroud.scad b/printed/ssr_shroud.scad index 5fbb335..066a8e7 100644 --- a/printed/ssr_shroud.scad +++ b/printed/ssr_shroud.scad @@ -107,7 +107,7 @@ module ssr_shroud(type, cable_d, name) { //! Generate the STL file for a spec } module ssr_shroud_assembly(type, cable_d, name) //! The printed parts with inserts fitted -assembly(str("SSR_shroud_", name)) { +assembly(str("SSR_shroud_", name), ngb = true) { translate_z(ssr_shroud_height(type)) vflip() diff --git a/printed/strap_handle.scad b/printed/strap_handle.scad index e53e3f7..d78fb86 100644 --- a/printed/strap_handle.scad +++ b/printed/strap_handle.scad @@ -162,7 +162,7 @@ module strap_end(type = strap) { //! Generate the STL for end piece //! * Place the insert into the hole and push home with a soldering iron with a tapered bit heated to 200°C. // module strap_end_assembly(type = strap) -assembly("strap_end") { +assembly("strap_end", ngb = true) { stl_colour(pp1_colour) strap_end(type); diff --git a/vitamins/veroboard.scad b/vitamins/veroboard.scad index 41c7e6f..c53f13c 100644 --- a/vitamins/veroboard.scad +++ b/vitamins/veroboard.scad @@ -143,8 +143,8 @@ module vero_components(type, cutouts = false, angle = undef) module vero_cutouts(type, angle = undef) vero_components(type, true, angle); //! Make cutouts to clear components -module veroboard_assembly(type, height, thickness, flip = false) //! Draw the assembly with components and fasteners in place -assembly(vero_assembly(type)) { +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) { screw = vero_screw(type); nut = screw_nut(screw); screw_length = screw_length(screw, height + thickness + vero_thickness(type), 2, nyloc = true);