mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-12 02:13:57 +02:00
more formatting
This commit is contained in:
@@ -67,7 +67,7 @@ module corner_3d_connector (type, thread = false, grub_screws = true) { //! draw
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
nut_profile = [
|
nut_profile = [
|
||||||
[0, nut_dia/2],
|
[0, nut_dia/2],
|
||||||
[nut_nyloc_thickness-nut_thickness, nut_dia/2],
|
[nut_nyloc_thickness-nut_thickness, nut_dia/2],
|
||||||
[nut_nyloc_thickness-nut_thickness, nut_ty1/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_ty1/2],
|
||||||
[nut_nyloc_thickness-nut_thickness, -nut_dia/2],
|
[nut_nyloc_thickness-nut_thickness, -nut_dia/2],
|
||||||
[0, -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;
|
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) {
|
if(grub_screws) {
|
||||||
for (pos = positions_horizontal) {
|
for (pos = positions_horizontal) {
|
||||||
translate([pos[0],pos[1],pos[2]])
|
translate([pos[0],pos[1],pos[2]])
|
||||||
rotate([pos[3],pos[4],pos[5]]){
|
rotate([pos[3],pos[4],pos[5]]){
|
||||||
for ( dist = corner_3d_connector_nut_screws_hor(type) ){
|
for ( dist = corner_3d_connector_nut_screws_hor(type) ){
|
||||||
|
Reference in New Issue
Block a user