From b0305ae6daffe20803b739e180aa29a739f52934 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 21 Aug 2023 22:46:42 -0400 Subject: [PATCH] Run on all but 1 core. Update JK rails to use actual measurement --- scad/jk_rails.scad | 2 +- scripts/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scad/jk_rails.scad b/scad/jk_rails.scad index bfd9154..9f100ac 100644 --- a/scad/jk_rails.scad +++ b/scad/jk_rails.scad @@ -1,6 +1,6 @@ include <./common.scad>; -RAIL_SPACING = 100; +RAIL_SPACING = 160; RAIL_H = 70; RAIL_LEN = 400; RAIL_D=25.4; diff --git a/scripts/common.sh b/scripts/common.sh index b4b3256..af75697 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -13,5 +13,5 @@ allParts () { parallelParts () { 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[@]}" } \ No newline at end of file