I've suggested this sort of interactivity for (Open)PythonSCAD:
https://lists.openscad.org/empathy/thread/GAX4QYYRUC3CEH572I...
The devil is in the details though, and I worry about the UI becoming cluttered and unmanageable.
https://lists.openscad.org/empathy/thread/GAX4QYYRUC3CEH572I...
The devil is in the details though, and I worry about the UI becoming cluttered and unmanageable.