ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 11 Dec 2018 02:59:55 -0600- Viewer 3D issueshttp://ask.sagemath.org/question/44620/viewer-3d-issues/I'm trying to draw some 3D polyhedra. A search has brought up
https://ask.sagemath.org/question/41910/viewer-3d-problem/
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? Sun, 09 Dec 2018 22:49:34 -0600http://ask.sagemath.org/question/44620/viewer-3d-issues/
- Comment by slelievre for <p>I'm trying to draw some 3D polyhedra. A search has brought up</p>
<p><a href="https://ask.sagemath.org/question/41910/viewer-3d-problem/">https://ask.sagemath.org/question/419...</a></p>
<p>but I still can't get a live plot. I have constructed my polyhedron <code>V</code> from the <code>Polyhedron</code> class as an intersection of linear inequalities. The command <code>V.plot()</code> 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.</p>
<p>I can also plot with tachyon; that works fine but doesn't allow rotating.</p>
<p>When I plot with threejs: <code>V.plot(viewer='threejs',online=True)</code> 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. </p>
<p>So - how can I create a 3D polyhedron with a "live" plot that allows rotating? </p>
http://ask.sagemath.org/question/44620/viewer-3d-issues/?comment=44630#post-id-44630Please provide a minimal example illustrating the problem.
See
[(a)](http://www.sscce.org/)
[(b)](https://stackoverflow.com/help/mcve)
[(c)](http://minimalbeispiel.de/mini-en.html)
[(d)](http://www.tex.ac.uk/FAQ-minxampl.html)
[(e)](http://yoda.arachsys.com/csharp/complete.html)
[(f)](http://yoda.arachsys.com/csharp/incomplete.html)
[(g)](https://www.chiark.greenend.org.uk/~sgtatham/bugs.html)
[(h)](https://stackoverflow.com/q/5963269)
[(i)](https://meta.stackexchange.com/q/22754)
[(j)](https://tex.meta.stackexchange.com/q/228).Tue, 11 Dec 2018 02:59:55 -0600http://ask.sagemath.org/question/44620/viewer-3d-issues/?comment=44630#post-id-44630
- Comment by FrédéricC for <p>I'm trying to draw some 3D polyhedra. A search has brought up</p>
<p><a href="https://ask.sagemath.org/question/41910/viewer-3d-problem/">https://ask.sagemath.org/question/419...</a></p>
<p>but I still can't get a live plot. I have constructed my polyhedron <code>V</code> from the <code>Polyhedron</code> class as an intersection of linear inequalities. The command <code>V.plot()</code> 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.</p>
<p>I can also plot with tachyon; that works fine but doesn't allow rotating.</p>
<p>When I plot with threejs: <code>V.plot(viewer='threejs',online=True)</code> 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. </p>
<p>So - how can I create a 3D polyhedron with a "live" plot that allows rotating? </p>
http://ask.sagemath.org/question/44620/viewer-3d-issues/?comment=44628#post-id-44628Which version of sage ? Which OS (windows© or not windows©) ? How did you install sage ? etc..Tue, 11 Dec 2018 02:46:36 -0600http://ask.sagemath.org/question/44620/viewer-3d-issues/?comment=44628#post-id-44628