Run on all but 1 core. Update JK rails to use actual measurement

This commit is contained in:
Matt McWilliams 2023-08-21 22:46:42 -04:00
parent dd4834de04
commit b0305ae6da
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
include <./common.scad>; include <./common.scad>;
RAIL_SPACING = 100; RAIL_SPACING = 160;
RAIL_H = 70; RAIL_H = 70;
RAIL_LEN = 400; RAIL_LEN = 400;
RAIL_D=25.4; RAIL_D=25.4;

View File

@ -13,5 +13,5 @@ allParts () {
parallelParts () { parallelParts () {
PARTS=($(listParts "scad/${1}.scad")) PARTS=($(listParts "scad/${1}.scad"))
parallel --use-cpus-instead-of-cores bash ./scripts/openscadPart.sh "${1}.scad" "{}" "${1}_{}.stl" ::: "${PARTS[@]}" parallel --use-cpus-instead-of-cores -j -1 bash ./scripts/openscadPart.sh "${1}.scad" "{}" "${1}_{}.stl" ::: "${PARTS[@]}"
} }