From 994405c721d2d1be859857902fffc7a32ce07f75 Mon Sep 17 00:00:00 2001 From: Stephen Date: Sat, 5 Oct 2024 14:20:25 -0500 Subject: [PATCH 1/3] Update keycap.py removing -p argument into colorscad since the latest repo doesn't have this argument available --- scripts/keycap.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/keycap.py b/scripts/keycap.py index 410c0b0..d1b76a2 100755 --- a/scripts/keycap.py +++ b/scripts/keycap.py @@ -269,7 +269,6 @@ def __str__(self): #f'PATH="${self.openscad_path.parent}:$PATH"; ' f"{self.colorscad_path} -i {self.keycap_playground_path} " f"-o '{self.output_path}'/'{self.name}.{self.file_type}' " - f"-p '{self.openscad_path}' " f"-- {self.openscad_args} -D $'" ) last_part = "" From 34235ab43428ecbf68a4c923e428d2be3aa2feb3 Mon Sep 17 00:00:00 2001 From: Stephen Date: Sat, 5 Oct 2024 14:24:14 -0500 Subject: [PATCH 2/3] Create README.md --- scripts/README.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 scripts/README.md diff --git a/scripts/README.md b/scripts/README.md new file mode 100644 index 0000000..139772a --- /dev/null +++ b/scripts/README.md @@ -0,0 +1,6 @@ + +# To Run These Scripts +- Download [ColorSCAD](https://github.com/jschobben/colorscad) +- Follow the [instructions included in the 3mfmerge](https://github.com/jschobben/colorscad/blob/master/3mfmerge/README.md) folder of the repo to build 3mfmerge +- In the script you want to run (gem_full.py, riskkeycap_full.py, etc) update the `OPENSCAD_PATH` and `COLORSCAD_PATH` path variables +- Run the scripts from the keycap_playground directory `$ ./scripts/riskeycap_full.py --out /tmp/output_dir` From d2477d7e1667997c17327c9b094bcd2d15cbdc61 Mon Sep 17 00:00:00 2001 From: Stephen Date: Sat, 5 Oct 2024 14:24:24 -0500 Subject: [PATCH 3/3] Update gem_full.py --- scripts/gem_full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gem_full.py b/scripts/gem_full.py index 653b376..2233151 100755 --- a/scripts/gem_full.py +++ b/scripts/gem_full.py @@ -6,7 +6,7 @@ .. bash:: - $ ./scripts/riskeycap_full.py --out /tmp/output_dir + $ ./scripts/gem_full.py --out /tmp/output_dir .. note::