pythonocc-demos
pythonocc-demos copied to clipboard
Error when using JupyterRenderer
I am a beginner in PyOCC. I try to use JupyterRenderer, and write a demo as below: from OCC.Display.WebGl.jupyter_renderer import JupyterRenderer from OCC.Core.BRepPrimAPI import BRepPrimAPI_MakeBox
box = BRepPrimAPI_MakeBox(1.0, 1.0, 1.0).Shape()
renderer = JupyterRenderer() renderer.DisplayShape(box, render_edges=True) renderer.Display()
I get a error, I have no idea how to fit it. I use 7.7.0, It would be my honor to receive your assistance.
I had the same problem, however i used then another browser and there was not this problem. So maybe trying another browser could help?
@linbeijianbaoxia did you try with 7.8.1 release? did you try with another web browser?
@Martin15135215 what was the browser causing the issue?
@linbeijianbaoxia did you try with 7.8.1 release? did you try with another web browser?
I haven't used the 7.8.1 release yet due to some reasons, so I am currently using the C++ version of OCC for development. However, I am very willing to use pythonOCC. Thank you very much for your work.
I had the same problem, however i used then another browser and there was not this problem. So maybe trying another browser could help?
Thank you so much,I will try it.
I used first LibreWolf -> I think some things were disabled in this Firefox fork, so i tested vanilla Google Chrome and there it functioned.