Or perhaps take a look at cadquery? It’s also pretty neat - http://cadquery.readthedocs.io/