Hello there,
I thought I got my vpython script fully working but apparently there is still something wrong.
For context:
What I would like to do is to have this program run on a self hosted binder so that i can put the renderings on vpython in an iframe on a website. I've seen that in order to be able to put the rendering in an iframe on my website i need to run the file in jupyter environment rather than from command line.
The general idea of my platform is that users can design a cupboard on my website, pay me a small ammount of money and then my server generates a assembly manual using main2.py and emails it to the user.
My goal for this app is to self host everything. The goal of this project is not to earn money, its just to learn how I can develop a program and run it on a website. I would like to learn how to do the complete app development from A to Z. Just for fun.
When I run main.py in spyder this program works perfectly.
When I however run the main.pyinb in jupyter-lab (or jupyter-notebook) I get no rendering, I do see the print statements my program is running so i know it is working.
Sometimes when I stop the program I see a image of what the output should be, but it is static rather than the dynamic input field I am looking for.
I have installed the vpython extention for jupyter notebook, I know it works because when u try to create a box (form vpython import box, box()) i do get an output.
Does anyone have an idea what is going wrong here ?
Thank you very much in advance.
Sorry for all the spam I'm puttig on the forum. I'm trying my best to self learn as much as possible but my background is not IT, it's engineering. So sometimes I do have a lack of knowledge from what is going on.
Thanks again.
Kind regards,
Johan