Questions tagged [pythreejs]

Use this tag for questions related to pythreejs, the notebook extension based on Jupyter widgets.

18 questions
0
votes
1 answer

pythreejs: How to render clipped surfaces as solid objects

I'd like to achieve what is described in https://stackoverflow.com/a/37093210 with pythreejs in JupyterLab instead of pure javascript. Can I somehow subclass MeshPhongMaterial in python to add this change? I am also happy to go the ShaderMaterial…
Bernhard
  • 25
  • 1
  • 3
0
votes
1 answer

For pythreejs, how do you "truck" (translate left or right) the camera with the keyboard in Jupyter?

I was wondering if there is a keyboard shortcut for translation of the origin. I can pan, tilt, and zoom with the mouse, but I would like to truck, etc. (wasd keys in most video games). If this is not possible, then that info is helpful as…
scottlittle
  • 18,866
  • 8
  • 51
  • 70
0
votes
2 answers

How do I import external geometry with pythreejs

I am trying to import an external stl model into a jupyter python notebook using pythreejs but cannot seem to get it to work. The model format doesn't necessarily need to be stl. It could be json or whatever. Essentially, I just want to import an…
CodeGuyRoss
  • 786
  • 1
  • 10
  • 23
1
2