1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-29 10:09:50 +02:00

Made jst_connector a parameter to NEMA.

This commit is contained in:
Martin Budden
2020-11-08 15:14:19 +00:00
parent 0b035dbd15
commit 2e0e833d40
3 changed files with 13 additions and 14 deletions

View File

@@ -24,7 +24,7 @@ use <../utils/layout.scad>
module stepper_motors()
layout([for(s = stepper_motors) NEMA_width(s)], 5) {
rotate(180)
NEMA(stepper_motors[$i]);
NEMA(stepper_motors[$i], 0, $i > 1 && $i < 5);
translate_z(4)
NEMA_screws(stepper_motors[$i], M3_pan_screw, n = $i, earth = $i > 4 ? undef : $i - 1);