Loading

OpenSCAD Editor (node-webkit)

by uminded, published

OpenSCAD Editor (node-webkit) by uminded Jan 26, 2013

Description

Project dropped in favor of a better multi-platform choice:
thingiverse.com/thing:119350

This is my version of a simple OpenSCAD editor.

I run Linux and all of the current editors are for Windows or OSX. I decided to use node-webkit and CodeMirror Editor to make an all systems compatible editor.

Recent Comments

view all

Very true! Unfortunately Vim has a larger learning curve than OpenSCAD...

A conversation on editors for Linux is never complete until someone recommends Vim :). Consider it done. https://github.com/vim-scripts...

Oops I always assumed it was multi-platform.

I have not used this but you may want to try it under wine;

http://code.google.com/p/npp-i...

Liked By

view all

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

Goto my Github page for the latest downloads and updates:
github.com/iceblu3710/OpenSCAD_Editor

Features:

- Available on Linux, Mac OSX and Windows
- Autoformatting, Block Comment/Uncomment
- Code folding
- Syntax highlighting (In progress)
- Find & Replace (In progress, needs UI)
- Autocomplete (Implementation only)

Instructions:
- Download one of the node-webkit prebuilt binaries (v0.4.0 — Jan 18, 2013)
- Open/Install OpenSCAD and in the menu select View -> Hide Editor and Design -> Automatic Reload and Compile
- Unzip the node-webkit binary and cut/copy the nw.exe and nw.pak files into the OpenSCAD editor folder
- Run nw.exe and open a .scad file in both the editor AND in OpenSCAD itself
- Whenever you make changes in the editor press F5 or Ctrl-S and OpenSCAD will render the changes

Comments

You must be logged in to post a comment.

chrisjrob on Jan 27, 2013 said:

A conversation on editors for Linux is never complete until someone recommends Vim :). Consider it done. https://github.com/vim-scripts...

uminded on Jan 27, 2013 said:

Very true! Unfortunately Vim has a larger learning curve than OpenSCAD...

MichaelAtOz on Jan 27, 2013 said:
uminded on Jan 27, 2013 said:

The only thing I miss about Windows is Notepad++ but my household uses Linux so that's why I wrote this app. Thanks for the look!

uminded on Jan 26, 2013 said:

While Chrome, Safari and other are WebKit browsers they do not have the system calls and capabilities of node.js nativly as this is usually a server package. (Node.js can do system/socket calls)

Google webcast on their way of supporting node.js:
https://developers.google.com/...

I chose to use node-webkit (see the binary links in the instructions section) because it is essentially a stripped down self contained server with chromium at its heart. It has multimedia accelerations, HTML5 support and even openGL acceleration.

If anybody knows of a way to remove the node-webkit binary requirement that would be awesome as its a bit of a large download (but runs portably so no installing is needed)

Arvin on Jan 26, 2013 said:

Any thing I need to do to get it to work in Chrome on Windows7? Page is up but can get no buttons to work.

Top