tony-bringardner / OpenSCADEditor

Java based OpenSCAD editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenSCADEditor

Java based OpenSCAD editor

OpenSCADEditor is a java based editor designed to improve productivity for users of OpenSCAD.
OpenSCAD is software for creating solid 3D CAD objects.

Features

  • Syntax highlighting for the OpenSCAD language.
  • Code folding
  • Code completion using Templates maintained by the user.
  • Spell checker (checks spelling in comments using an English dictionary)
  • Search and Replace
  • Undo and Redo
  • Links with OpenSCAD for easy preview and exporting 3d models.
  • Support for Apache Velocity
  • 2D Polygon design assistance
    • Design polygon from scratch with graphical editor.
    • Create polygon from an image.

Much of the functionality provided here is due to the AWESOME RSyntaxTextArea library.

Keyboard Shortcuts (Hot Keys)

Function Shortcut Key
Auto-complete Ctrl + Space
Expand the current fold Ctrl + ADD (+ on key pad)
Expand all folds Ctrl + Shift + ADD (+ on key pad)
Collapse the current fold Ctrl + MINUS (- on key pad)
Collapse all folds Ctrl + Shift + MINUS (- on key pad)
Undo last action Ctrl + Z
Redo last action Ctrl + Y
Cut selected text Ctrl + X
Copy selected text Ctrl + C
Paste text from clipboard Ctrl + V
Select all text Ctrl + A
Preview in OpenSCAD F5 or Ctrl + B
Find / Replace Ctrl + F
Format selected text Ctrl + I
Open a file Ctrl + O
Save the current file Ctrl + S
Find matching brace ({ or }) Ctrl + P
Jump to declaration of selected text F3
Toggle comment (current line or selection) Ctrl + C
Close all comments Ctrl + Shift + C
Go to line number Ctrl + G

Using Velocoty

Velocity is a template engine. It is a simple yet powerful template language that let's you create reusable code snippets. The velocity code is evaluated and expanded before sending to OpenSCAD for preview or exporting. OpenscadEditorV1.1.jar was created with velocity support.


About

Java based OpenSCAD editor

License:Apache License 2.0


Languages

Language:Java 87.2%Language:Lex 10.7%Language:HTML 1.5%Language:OpenSCAD 0.7%