Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Viewer 3D issues

I'm trying to draw some 3D polyhedra. A search has brought up

but I still can't get a live plot. I have constructed my polyhedron V from the Polyhedron class as an intersection of linear inequalities. The command V.plot() works by using the JMol engine, except that when I attempt to make it "live" all the edges and faces disappear and I have collection of vertices only.

I can also plot with tachyon; that works fine but doesn't allow rotating.

When I plot with threejs: V.plot(viewer='threejs',online=True) all it plots is the wireframe box surrounding the polyhedron; that is, the xyz "box" in which the polyhedron fits, but not the polyhedron itself.

So - how can I create a 3D polyhedron with a "live" plot that allows rotating?