I’m playing with OpenSCAD, which is a text-based parametric 3D modeler. It comes with its own built-in editor, but you can also open the source file in your favorite editor and when the file is saved, OpenSCAD recompiles and re-renders the model.
I know it’s nothing particularly novel, but it’s kind of awesome to type :w
and see the 3D object immediately show what you just typed. There’s even a degree of rendering control from within the editor: for example to highlight a feature, like an subtracted volume, simply type #
in front of the corresponding operation, :w
and hey-presto, the feature appears in the model.
And sure enough, there is OpenSCAD syntax highlighing for vim. How cool is that!
If someone had told me 40 years ago that I’d be doing 3D modeling in VI one day, I would never have believed it 🙂