Ah OpenSCAD. I wrote a tutorial a long time ago about the 10 things you need to know to get started.
https://cubehero.com/2013/11/19/know-only-10-things-to-be-da...