Hi,
FCPDWorkbench is a python server implementation to use Pure-Data as a graphical scripting language under FreeCAD (a 3d parametric modeller).
This video shows a control of 3d objects position throw the pmpd external.
Each sphere has mass and they are linked together by elastic strings.
The PD patch is included in the FreeCAD document pmpd_01.FCStd