following libraries would be required:
numpy, scipy, sympy, scikit-image
need to download openscad4.py from here:
https://github.com/sprabhakar2006/openSCAD/blob/main/openscad4.py
also download and install software openSCAD:
https://openscad.org/downloads.html
preferably install the latest snapshot
To run this python code, I use Jupyter Notebook