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` 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:: 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 = ""