Run batch file within Sublime Text

After some digging I was able to figure out how to run a Windows Batch File (.bat) from within Sublime Text.  Simply add a Build System with the following and when editing a batch file ctrl + b will run the file sending the output to the Sublime Text output window.

Tags :

Removing Accents From Layer Names

I recently discovered an issue with an application I wrote.  The app allows for interactions with a laser and encoder for a CAD like experience to measure counter tops.  When the app was running in Brazilian Protégées my export to DXF was failing.  Turns out the AutoDesk application won’t allow accents within the layer name.

Here is the utility class I created to perform the translation to non accent characters.

Tags : ,