from OCC.Display.WebGl.jupyter_renderer import JupyterRenderer from OCC.BRepPrimAPI import BRepPrimAPI_MakeBox
my_renderer = JupyterRenderer()
box_shape = BRepPrimAPI_MakeBox(10, 20, 30).Shape()
my_renderer.DisplayShape(box_shape)
my_renderer