Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

OpenSCAD Editor (node-webkit)

87
Downloads
913
Views
Published on January 26, 2013

Description

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.

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
Tags
This Thing has no tags.
Report as inappropriate

You must be logged in to post a comment.

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

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

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!

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)

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.