edit: i deleted my post for error
________
mmm... no sure how
but I think an Autolisp python library could work like pyautocad with a node editor, I mean use AutoCAD + Dynamo, call our autolisp python library, do the design, then use Dynamo again to copy this in FreeCAD, already exists Dynamo nodes for FreeCAD
_____
... another point in favor of the Autolisp python library is that should be possible to use it with any node editor / visual programming software.
some node editors:
Dynamo
PyFlow (FreeCAD node editor)
Grasshoper
Sverchok (Blender node editor)