1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-28 17:49:53 +02:00

Merge branch 'stage4upstream' of https://github.com/allTexas/NopSCADlib into allTexas-stage4upstream

This commit is contained in:
Chris Palmer
2024-09-02 15:41:46 +01:00
7 changed files with 59 additions and 27 deletions

View File

@@ -85,6 +85,13 @@ module nuts() {
if(n == M8_nut)
nut_square(M8nS_thin_nut);
}
translate([0,150]){
if(n==M4_nut)
weld_nut(M4_weld_nut);
if(n==M6_nut)
weld_nut(M6_weld_nut);
}
}
}

17
tests/rod_ends.scad Normal file
View File

@@ -0,0 +1,17 @@
include <../utils/core/core.scad>
use <../utils/layout.scad>
include <../vitamins/rod_ends.scad>
module do_rod_ends(list) {
diameters = [for(b = list) rod_end_bearing_od(b)];
max = max(diameters);
layout(diameters) let(b = list[$i])
//translate([0, (max - bb_diameter(b)) / 2])
rod_end_bearing(list[$i]);
}
if($preview)
do_rod_ends(rod_ends);