I'm pretty sure FreeCAD can be used the same way, ignoring its UI. Just with Python as a core language.