OpenSCAD/TextWrangler Language Module
by TheNewHobbyist, published
I've been putting off learning OpenSCAD for awhile because it seemed too cumbersome to work in. That is, until I found Justblair's guide to "live" editing with NotePad++. Since I'm a Mac user I thought I'd start adapting his guide and text editor language plugin to my free text editor of choice, TextWrangler.
This is a work in progress, as you can see from the screen shots some highlighting is enabled. I'm still working out how to get string highlighting working properly. Anyone want to contribute?
Installing the OpenSCAD Language Module
Copy OpenSCAD.plist to
~/Library/Application Support/TextWrangler/Language Modules
- Open a .scad file in TextWrangler
Using TextWrangler With OpenSCAD (Edited from Justblair's Windows instructions)
Open OpenSCAD, Create a new file and save it.
In the Design menu select Automatic Reload and Compile
In the View menu select Hide editor
Leaving OpenSCAD running, now find your newly created .scad file in Finder, right-click on it and select "Open With" TextWrangler.app
Arrange both OpenSCAD and TextWrangler so that both can be seen at once.
- Edit your .scad file in TextWrangler. Each time you save the file (Command + S) you will see that OpenSCAD will recompile the object.
Enjoy all the advanced text editing features of TextWrangler as well as syntax highlighting of your code!!!
Liked ByView All
Give a Shout Out
OpenSCAD/TextWrangler Language Module by TheNewHobbyist is licensed under the Creative Commons - Attribution - Non-Commercial license.
What does this mean?
- You must attribute (give credit) to the creator of this Thing.
- Remixing or Changing this Thing is allowed.
- Commercial use is not allowed.
Show Some Love
Say thanks by giving TheNewHobbyist a tip and help them continue to share amazing Things with the Thingiverse community.Tip Designer
We're sure TheNewHobbyist would love to see what you've printed. Please document your print and share a Make with the community.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. It’s even easier to post a Make via the Thingiverse Mobile app (available via Google Play and Apple App Store).