spotify-to-stl is a python command-line based program designed to get .stl file of 'spotify code' based on spotify url.
For usage of this program you need those 5 files: spotify-to-stl.py
, get_svg_file.py
, parse_svg.py
, template17.stl
, chromedriver.exe
And you have to have installed (you can run: pip install -r requirements.txt
):
pip install numpy
pip install numpy-stl
pip install selenium
spotify-to-stl.py [spotify-url]
You start by copying spotify song url as below.
Than you run python file from console
spotify-to-stl.py spotify:track:5W3cjX2J3tjhG8zb6u0qHn
And after this we get something like this:
And mostly that's it.
- You have to have python installed.
- Make sure that
chromedriver
added in the files is in thesame folder as python file - Make sure that you have chrome browser installed.
- If the
chromedriver
added in the files won't work download it from this webside https://chromedriver.chromium.org/downloads (version equal to your chrome version).
I found out that slicing with PrusaSlicer can cause some problem as below:
I just run the .stl file through repair webside (https://www.formware.co/onlinestlrepair) and the problem dissapeard
Hope You like it.
If you want to make new template I suggest editing existing one. I recomend to contact with me, I will explain how stuff works.
If you have any problems, or you have any suggestions feel free to contact me at: [email protected]