1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-29 18:19:58 +02:00

Merge branch 'sk_brackets_tidy' of https://github.com/martinbudden/NopSCADlib into martinbudden-sk_brackets_tidy

This commit is contained in:
Chris Palmer
2020-02-24 08:38:16 +00:00
2 changed files with 39 additions and 26 deletions

View File

@@ -22,11 +22,13 @@ use <../utils/layout.scad>
include <../vitamins/sk_brackets.scad>
module sk_brackets() {
part_thickness = 5;
nuts = [undef, M5_nut, M5_sliding_t_nut, M5_sliding_t_nut];
layout([for(s = sk_brackets) 1.5 * sk_size(s)[1]])
sk_bracket_assembly(sk_brackets[$i], nut_type = nuts[$i]);
sk_bracket_assembly(sk_brackets[$i], part_thickness, nut_type = nuts[$i]);
}
if($preview)
sk_brackets();
let($show_threads = true)
sk_brackets();