So I did it, now on every move of the user in javascript, I create the point cloud, send it to python server, there I create the surface out of it and save it on the server file system as stl.
now my question is how can I bring that surface back to client and visualize it?
actually I tried to do that using this example on vtk.js that reads and visualizes an stl file. javascript fileReader needs me to use an input html tag and seems like I can’t read the stl file from server just by knowing it’s path.
any suggestions?