We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I have derived the 3D Viewer code from ViewSCAD and it works perfectly fine with the Python3 (ipykernel)
however, when I change to another self-compiled Python kernel, I get this txt instead:
Is there some setup/binding missing ?
What does jupyter make the graphic appear instead of the text ? Where could i start to debug ?
VBox(children=(HTML(value=''), Renderer(background='#cccc88', background_opacity=0.0, camera=PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), controls=[OrbitControls(controlling=PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), target=(0.0, 0.0, 0.0)), Picker(controlling=Mesh(geometry=BufferGeometry(attributes={'position': <BufferAttribute shape=(108, 3), dtype=float32>, 'color': <BufferAttribute shape=(108, 3), dtype=float32>, 'normal': <BufferAttribute shape=(108, 3), dtype=float32>}), material=MeshLambertMaterial(alphaMap=None, aoMap=None, emissiveMap=None, envMap=None, lightMap=None, map=None, specularMap=None, vertexColors='VertexColors'), position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), event='dblclick', face=(0.0, 0.0, 0.0), faceNormal=(0.0, 0.0, 0.0), object=None, point=(0.0, 0.0, 0.0), uv=(0.0, 0.0))], scene=Scene(children=(Mesh(geometry=BufferGeometry(attributes={'position': <BufferAttribute shape=(108, 3), dtype=float32>, 'color': <BufferAttribute shape=(108, 3), dtype=float32>, 'normal': <BufferAttribute shape=(108, 3), dtype=float32>}), material=MeshLambertMaterial(alphaMap=None, aoMap=None, emissiveMap=None, envMap=None, lightMap=None, map=None, specularMap=None, vertexColors='VertexColors'), position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), AmbientLight(color='#888888', position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0))), fog=None, overrideMaterial=None, position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), shadowMap=WebGLShadowMap()), Output()))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have derived the 3D Viewer code from ViewSCAD and it works perfectly fine with the Python3 (ipykernel)
however, when I change to another self-compiled Python kernel, I get this txt instead:
Is there some setup/binding missing ?
What does jupyter make the graphic appear instead of the text ?
Where could i start to debug ?
VBox(children=(HTML(value=''), Renderer(background='#cccc88', background_opacity=0.0, camera=PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), controls=[OrbitControls(controlling=PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), target=(0.0, 0.0, 0.0)), Picker(controlling=Mesh(geometry=BufferGeometry(attributes={'position': <BufferAttribute shape=(108, 3), dtype=float32>, 'color': <BufferAttribute shape=(108, 3), dtype=float32>, 'normal': <BufferAttribute shape=(108, 3), dtype=float32>}), material=MeshLambertMaterial(alphaMap=None, aoMap=None, emissiveMap=None, envMap=None, lightMap=None, map=None, specularMap=None, vertexColors='VertexColors'), position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), event='dblclick', face=(0.0, 0.0, 0.0), faceNormal=(0.0, 0.0, 0.0), object=None, point=(0.0, 0.0, 0.0), uv=(0.0, 0.0))], scene=Scene(children=(Mesh(geometry=BufferGeometry(attributes={'position': <BufferAttribute shape=(108, 3), dtype=float32>, 'color': <BufferAttribute shape=(108, 3), dtype=float32>, 'normal': <BufferAttribute shape=(108, 3), dtype=float32>}), material=MeshLambertMaterial(alphaMap=None, aoMap=None, emissiveMap=None, envMap=None, lightMap=None, map=None, specularMap=None, vertexColors='VertexColors'), position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), PerspectiveCamera(children=(DirectionalLight(intensity=0.5, position=(24.0, 32.0, 40.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)),), fov=20.0, position=(32.0, 32.0, 32.0), projectionMatrix=(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 0.0, 1.0)), AmbientLight(color='#888888', position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0))), fog=None, overrideMaterial=None, position=(0.0, 0.0, 0.0), quaternion=(0.0, 0.0, 0.0, 1.0), rotation=(0.0, 0.0, 0.0, 'XYZ'), scale=(1.0, 1.0, 1.0), up=(0.0, 1.0, 0.0)), shadowMap=WebGLShadowMap()), Output()))
The text was updated successfully, but these errors were encountered: