r/3Dprinting • • Apr 04 '19

Coding a rolling Oloid in Clojure

https://youtu.be/wXE3L8EU5U4
6 Upvotes

7 comments sorted by

1

u/Antal_z Apr 04 '19

I've been looking at doing stuff like this, but I only know python and C++. In python the only method I found was explicitly enumerating all vertices and triangles. Perhaps I should take a look at Clojure.

1

u/piratnisse Apr 04 '19

Have you tried openscad? The clojure library I use translates the code to OpenSCAD. I prefer clj over the "native" openscad language, but I think with a background in python and c++ you'll quickly be able to use http://www.openscad.org :)

Googling I also found this: https://github.com/SolidCode/SolidPython Python bindings for openscad

1

u/lkong Apr 04 '19

Do you use an IDE or it's a tricked out vim?

I'm still in the stone age using lenin.

1

u/piratnisse Apr 04 '19

This is actually Emacs, so I guess you could kinda call it an IDE ;P

2

u/400HPMustang Sovol SV08 Max | Bambu Lab P1S + AMS Apr 04 '19

eew Emacs.

1

u/piratnisse Apr 04 '19

Eewmacs? :P

1

u/400HPMustang Sovol SV08 Max | Bambu Lab P1S + AMS Apr 04 '19

Lein or nothing!