r/openscad • u/wildjokers • 8h ago
New versions of my OpenSCAD IntelliJ Plugin (1.3.0 and 1.4.0)
I released two versions of my plugin on subsequent nights, 1.4.0 is current version, also showing 1.3.0 changes since it was superseded so fast.
1.3.0
- Renaming a file updates use/include paths in other files (I have always wanted an OpenSCAD plugin in any editor to do this, so I am excited about this myself)
- Renaming a .scad file from the Project view no longer produces a NPE
- for/let loop variables resolve properly now (previously shown as errors where they were used)
- Liberation fonts are now bundled so that models that use text() or textmetrics() work in preview
- For additional fonts, settings lets you point at folders of your own .ttf / .otf / .ttc fonts (64 MB cap) so they show up in the WASM preview
- Completing a module that ends a statement (cube, sphere, your own modules, etc.) now adds the trailing semi-colon
1.4.0
- Corner axis widget (labeled X/Y/Z) that follows the camera, like OpenSCAD
- View cube in the preview, click a face for Front, Back, Left, Right, Top, or Bottom
- Grid now uses real model units and is always big enough to hold the model
- Corner legend shows the current grid cell size
- Coordinate labels on the outer grid edges
- Toolbar button to toggle those labels (greyed out when the grid is off)
- All the background colors available in native OpenSCAD are now available in a dropdown in the preview area
1.4.0 is available to install from within IntelliJ, it of course contains all the 1.3.0 changes as well.
The README is up-to-date: https://github.com/mjparme/idea-openscad/blob/master/README.md





