Viewer 3D issues

asked 2018-12-09 22:49:34 -0600

Alasdair gravatar image

updated 2019-08-29 09:03:31 -0600

FrédéricC gravatar image

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

https://ask.sagemath.org/question/419...

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?

edit retag flag offensive close merge delete

Comments

Which version of sage ? Which OS (windows© or not windows©) ? How did you install sage ? etc..

FrédéricC gravatar imageFrédéricC ( 2018-12-11 02:46:36 -0600 )edit

Please provide a minimal example illustrating the problem.

See (a)(b)(c)(d)(e)(f)(g)(h)(i)(j).

slelievre gravatar imageslelievre ( 2018-12-11 02:59:55 -0600 )edit