Removed washers from T-nuts and used the lack to detect them.

This commit is contained in:
Chris Palmer 2020-02-24 11:23:10 +00:00
parent 065ec0a430
commit 8c339a18c4
2 changed files with 6 additions and 6 deletions

View File

@ -52,11 +52,11 @@ toggle_nut = ["toggle_nut", 6.1, 9.2, 1.5, 1.5, M6_washer, 1.5]
M4_wingnut = ["M4_wingnut", 4, 10, 3.75,8, M4_washer, 0, 22, 10, 6, 3];
// sx ty1 ty2
M3_sliding_t_nut = ["M3_sliding_t_nut", 3, 6, 3.0, 4.0, M3_washer, 0, 10, 10, 6];
M4_sliding_t_nut = ["M4_sliding_t_nut", 4, 6, 3.25,4.5, M4_washer, 0, 11, 10, 6];
M5_sliding_t_nut = ["M5_sliding_t_nut", 5, 6, 3.25,4.5, M5_washer, 0, 11, 10, 7];
M3_hammer_nut = ["M3_hammer_nut", 3, 6, 2.75,4.0, M3_washer, 0, 5.5, 10, 6];
M4_hammer_nut = ["M4_hammer_nut", 4, 6, 3.25,4.5, M4_washer, 0, 5.5, 10, 6];
M3_sliding_t_nut = ["M3_sliding_t_nut", 3, 6, 3.0, 4.0, false, 0, 10, 10, 6];
M4_sliding_t_nut = ["M4_sliding_t_nut", 4, 6, 3.25,4.5, false, 0, 11, 10, 6];
M5_sliding_t_nut = ["M5_sliding_t_nut", 5, 6, 3.25,4.5, false, 0, 11, 10, 7];
M3_hammer_nut = ["M3_hammer_nut", 3, 6, 2.75,4.0, false, 0, 5.5, 10, 6];
M4_hammer_nut = ["M4_hammer_nut", 4, 6, 3.25,4.5, false, 0, 5.5, 10, 6];
nuts = [M2_nut, M2p5_nut, M3_nut, M4_nut, M5_nut, M6_nut, M8_nut];

View File

@ -116,7 +116,7 @@ module sk_bracket_assembly(type, part_thickness, screw_type = M5_cap_screw, nut_
screw_and_washer(screw_type, screw_length);
translate_z(-nut_offset)
vflip()
if(nut_type == M5_sliding_t_nut)
if(!nut_washer_type)
sliding_t_nut(nut_type);
else
nut_and_washer(nut_type);