this post was submitted on 06 Feb 2024
40 points (100.0% liked)

VIM - Vi IMproved

1040 readers
1 users here now

For Vim enthusiasts and anyone interested in Vim/Neovim!

"VIM is the greatest editor since the stone chisel." - Dr. Jose Unpingco

#HJKL

founded 1 year ago
MODERATORS
 

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 ๐Ÿ™‚

you are viewing a single comment's thread
view the rest of the comments
[โ€“] vhstape@lemmy.sdf.org 1 points 7 months ago

I love OpenSCAD. I'm not great with imagining things in 3D, so declaring designs procedurally is about the only way I can manage ๐Ÿ˜‚