mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-01-11 10:12:43 -05:00
Renamed sheet_thickness to part_thickness.
This commit is contained in:
parent
581c2f8a96
commit
d066648a76
@ -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)
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user