Great stuff, it works!
I didn’t have everything needed on my Mac, so I had to install some bits and bobs - now, all’s ok…
Anyway, for anyone else reading this but unfamiliar with the MacOS Terminal, my steps were:
1 You need Python v3 and YAML for the scripts to work. I only had Python 2.7: this comes with your MacOS installation and is best left untouched. I first installed Homebrew (a ‘package manager’ for MacOS) via the ‘bash command’ found on the Homebrew homepage https://brew.sh (the text on the site needs to be pasted into your MacOS Terminal app)
2 Having installed Homebrew, I used it to install Python3 (by typing ‘brew install python3’ into the Terminal)
3 I also didn’t have YAML installed (or, rather the Python version of YAML, PyYAML). There seems to be a Homebrew method to install, but I got YAML via the pip3 command found on the official YAML page (pip/pip3 is included in the Python2/Python3 installation) and typed in ‘pip3 install pyyaml’. (Nota Bene - YAML itself is a just file format; not something you install on your computer proper, like the Python installation)
Then:
4 I downloaded the scripts from Wyess’s Github page and placed them onto the desktop.
5 In Terminal, I navigated to the desktop by typing ‘cd Desktop’. I recommend Googling for information on basic MacOS/bash Terminal usage and commands (such as cd ‘change directory’).
6 I created a folder for the scripts by typing ‘mkdir wyess’ (step not necessary: this was just to tidy them up off the desktop)
7 dragged the Python scripts into the wyess folder
8 I entered the folder by typing ‘cd Desktop/wyess’
9 ‘ I didn’t have the necessary (Terminal) rights to read, write and execute for these files, so I had to modify my rights for the files. This may be because, on the Github page, I clicked the ‘raw’ button instead of the ‘clone or download’ and ‘download ZIP’ buttons. If you are the owner of the file, but do not have all the read/write/execute rights, you can change the file's permissions with a Terminal command such as 'chmod u+rwx ./*.py’.
10 I typed ‘ls -ltr’ to check that the rights had indeed changed.
11 Typing ‘./will2svg.py filename.will’ into the Terminal is enough to generate the resultant, centrelined svg file, called filename.svg.
Great work, Wyess - I’m sure these scripts will be of much help to Wacom Bamboo Slate users - thanks a lot for your help!