Hacker News new | ask | show | jobs
by brlcad 1398 days ago
It looks like your e-mail was the victim of my paternity leave... it's still in my inbox. I do recall Dr. Rai commenting on your post, but didn't get a chance to explore it in any detail at the time.

Remotely related, I've always thought a really fun lisp project would be to create an Emacs major mode for BRL-CAD. Either something to explore .g data (like tar mode) or an interactive editor like mged with lisp wrapping BRL-CAD's libged editing library.

1 comments

> It looks like your e-mail was the victim of my paternity leave

10 years is generous paternity leave. :) Seriously though, no hard feelings, separating the wheat from the free software chaff takes time--ask me how I know.

> interactive editor like mged with lisp wrapping BRL-CAD's libged editing library

That interests me!

IME, I have found S-expressions to be an elegant, succinct way of expressing geometric models (especially in the F-rep domain):

https://github.com/JMC-design/tovero/blob/master/examples/ro...

I wrote a referencing counting C++ reader/writer for S-expression models like that directly into Open Inventor, in place of the IV (VRML) format, avoiding the use of CL.

Emacs has a C FFI, IIRC, so it should be possible to develop a S-exp formatted BRL-CAD model in elisp, with the right C shims--giving a live-coding, REPL experience for building BRL-CAD models.

Thanks for your work on BRL-CAD!