Shorter screws when using T-nut but mignt not be a suitable standard size.

This commit is contained in:
Chris Palmer 2020-02-24 12:01:40 +00:00
parent 26e8497018
commit 2edb6d4df2
3 changed files with 3 additions and 2 deletions

View File

@ -2601,7 +2601,7 @@ SK shaft support brackets
| 1 | ```sk_bracket(SK12)``` | SK12 shaft support bracket |
| 1 | ```sk_bracket(SK16)``` | SK16 shaft support bracket |
| 1 | ```sk_bracket(SK8)``` | SK8 shaft support bracket |
| 2 | ```screw(M4_cap_screw, 16)``` | Screw M4 cap x 16mm |
| 2 | ```screw(M4_cap_screw, 12)``` | Screw M4 cap x 12mm |
| 6 | ```screw(M5_cap_screw, 16)``` | Screw M5 cap x 16mm |
| 2 | ```washer(M4_washer)``` | Washer M4 x 9mm x 0.8mm |
| 10 | ```washer(M5_washer)``` | Washer M5 x 10mm x 1mm |

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -110,7 +110,8 @@ module sk_bracket_assembly(type, part_thickness = 2, screw_type = M5_cap_screw,
nut_washer_thickness = nut_washer_type ? washer_thickness(nut_washer_type) : 0;
nut_offset = sk_base_height(type) + part_thickness;
screw_length = screw_longer_than(nut_offset + screw_washer_thickness + nut_washer_thickness + nut_thickness(nut_type));
screw_length = nut_washer_type ? screw_longer_than(nut_offset + screw_washer_thickness + nut_washer_thickness + nut_thickness(nut_type))
: screw_shorter_than(nut_offset + screw_washer_thickness + nut_thickness(nut_type) + 2);
sk_bracket_hole_positions(type) {
screw_and_washer(screw_type, screw_length);