Run on all but 1 core. Update JK rails to use actual measurement
This commit is contained in:
parent
dd4834de04
commit
b0305ae6da
|
@ -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;
|
||||||
|
|
|
@ -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[@]}"
|
||||||
}
|
}
|
Loading…
Reference in New Issue