Hello everyone, **Scrap Bootstrap Script**
I recently made a script that and it was suggested it might be useful for others. The context is that I am involved in a redrawing exercise where we have survex data for a large system and separately drawn surveys that we are now converting into Therion format. We have converted all the svx files to th and are now going through and redrawing them. To speed up the start of the drawing I made a script that takes the centreline data in the `.th` file and creates a `.th2` scrap file with all of the stations already in a scrap and a 'fake' centerline to draw around. Find it here: https://github.com/tr1813/migresurvey/blob/master/scripts/initiliase_map.py Yes, it is a bit hacky :P If there is a better way to do it, please let me know. We are using inkscape and the Inkscape therion extension so I don't know if this is useful for people drawing in the Therion editor. **VS Code Therion Extension** I also use VS Code to edit the files so I made a Therion VS Code extension that includes some basic syntax highlighting, formatting, and also a command that does the same thing as the aforementioned script. Find it here: https://marketplace.visualstudio.com/items?itemName=rhystyers.therion If anyone wants to use it I'm very happy to take suggestions on additions and improvements. I'm planning on trying to give it autocomplete next (for survey/scrap/map names). Rhys
_______________________________________________ Therion mailing list [email protected] https://mailman.speleo.sk/listinfo/therion
