1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-11 01:44:01 +02:00

more formatting

This commit is contained in:
Alex Verschoot
2025-07-17 22:45:04 +02:00
parent 9756845c59
commit c16f0bd472

View File

@@ -67,7 +67,7 @@ module corner_3d_connector (type, thread = false, grub_screws = true) { //! draw
nut_profile = [
nut_profile = [
[0, nut_dia/2],
[nut_nyloc_thickness-nut_thickness, nut_dia/2],
[nut_nyloc_thickness-nut_thickness, nut_ty1/2],
@@ -78,7 +78,7 @@ nut_profile = [
[nut_nyloc_thickness-nut_thickness, -nut_ty1/2],
[nut_nyloc_thickness-nut_thickness, -nut_dia/2],
[0, -nut_dia/2]
];
];
grub_screw = nut_screw_dia == 3 ? M3_grub_screw:nut_screw_dia == 4 ? M4_grub_screw:nut_screw_dia == 5 ? M5_grub_screw:M6_grub_screw;
@@ -157,10 +157,10 @@ nut_profile = [
}
}
}
}
}
if(grub_screws) {
for (pos = positions_horizontal) {
if(grub_screws) {
for (pos = positions_horizontal) {
translate([pos[0],pos[1],pos[2]])
rotate([pos[3],pos[4],pos[5]]){
for ( dist = corner_3d_connector_nut_screws_hor(type) ){