The Python Oracle

Best tool to generate STL (3-D geometry file) algorithmically?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Popsicle Puzzles

--

Chapters
00:00 Best Tool To Generate Stl (3-D Geometry File) Algorithmically?
00:50 Accepted Answer Score 4
01:13 Thank you

--

Full question
https://stackoverflow.com/questions/2103...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #3d #geometry #modeling #cad

#avk47



ACCEPTED ANSWER

Score 4


Have you considered using Blender?

It has a Python API, and can also be used in headless mode (without a GUI) by using blender --python script.py.

It also has an STL import/export plugin (make sure to enable it in Preferences -> Addons if you decide to try it). I'd also suggest to look at its source code if you decide to roll your own.