This hasn't been robustly tested, let me know if there are any errors!
- Open a terminal window, navigate to where STLconvert.py is located, and type
python STLconvert.py
- Enter the filepath of your .stl file. For example, if it's named 'myClosedCaptioningFile.stl', and if it is located in the same folder as STLconvert.py, you can just type
myClosedCaptioningFile.stl
- STLconvert will output your file in the same folder that contains it.
- Go into windows_exe>dist and open STLconvert.exe
- Enter the filepath to your .stl file. For example, if it is located in the same folder that STLconvert.exe is located, you can just type
myClosedCaptioningFile.stl
. If you like to keep everything somewhere specific, you can type:C:\<THE_PATH_TO_YOUR_FILE>\myClosedCaptioningFile.stl
- STLconvert.exe will output your new .srt file in the same folder that your old .stl file is living in, and will name it
<NAME_OF_YOUR_OLD_STL_FILE>_converted.srt
- Make sure to include the file extension when inputting the file path.
- If you run into any problems be sure to add them onto the issues tab so we can list them here, and solve it! Of particular concern is the validity of the translation between .stl and .srt files since I have not accounted for formatting or anything beyond basic timecode and dialogue markup. This script also assumes that your .stl file is not compressed in any way (i.e. whitespace and line breaks matter).