diff --git a/tests/scs_bearing_blocks.scad b/tests/scs_bearing_blocks.scad index 093870e..78d6500 100644 --- a/tests/scs_bearing_blocks.scad +++ b/tests/scs_bearing_blocks.scad @@ -23,12 +23,12 @@ include <../vitamins/scs_bearing_blocks.scad> module scs_bearing_blocks() layout([for(s = scs_bearing_blocks) 2 * scs_size(s)[0]]) { - sheet_thickness = 5; - scs_bearing_block_assembly(scs_bearing_blocks[$i], sheet_thickness); + part_thickness = 5; + scs_bearing_block_assembly(scs_bearing_blocks[$i], part_thickness); if($i > 0) // skip $i==0, since no SCS6LUU long variant to match SCS6UU translate([0, 60]) - scs_bearing_block_assembly(scs_bearing_blocks_long[$i - 1], sheet_thickness); + scs_bearing_block_assembly(scs_bearing_blocks_long[$i - 1], part_thickness); } if($preview) diff --git a/vitamins/scs_bearing_block.scad b/vitamins/scs_bearing_block.scad index 95a3888..81c3765 100644 --- a/vitamins/scs_bearing_block.scad +++ b/vitamins/scs_bearing_block.scad @@ -133,7 +133,7 @@ module scs_bearing_block_hole_positions(type) { children(); } -module scs_bearing_block_assembly(type, sheet_thickness, screw_type, nut_type) { //! Assembly with screws and nuts in place +module scs_bearing_block_assembly(type, part_thickness, screw_type, nut_type) { //! Assembly with screws and nuts in place scs_bearing_block(type); @@ -143,7 +143,7 @@ module scs_bearing_block_assembly(type, sheet_thickness, screw_type, nut_type) { washer_thickness = washer_type ? washer_thickness(washer_type) : 0; G = scs_block_side_height(type); - nut_offset = G + sheet_thickness + nut_thickness(nut_type) + washer_thickness; + nut_offset = G + part_thickness + nut_thickness(nut_type) + washer_thickness; screw_length = screw_longer_than(nut_offset); scs_bearing_block_hole_positions(type) {