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.Mon, 09 Apr 2018 10:10:13 -0500viewer 3D problemhttp://ask.sagemath.org/question/41910/viewer-3d-problem/I'm using SageMath 8.1 on Windows 10 Native with Jupyter Notebook.
The only 3D viewer that works is tachyon.
Both threejs and jmol leave an empty space without plot but no error is issued, all this for the same 3D plot tachyon was able to plot.Sun, 08 Apr 2018 13:17:24 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/Comment by danielvolinski for <p>I'm using SageMath 8.1 on Windows 10 Native with Jupyter Notebook.</p>
<p>The only 3D viewer that works is tachyon.</p>
<p>Both threejs and jmol leave an empty space without plot but no error is issued, all this for the same 3D plot tachyon was able to plot.</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41951#post-id-41951It is related: at that time I didn't know it is a general issue, I thought the problem was related to vector fields only.Mon, 09 Apr 2018 09:42:39 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41951#post-id-41951Comment by Iguananaut for <p>I'm using SageMath 8.1 on Windows 10 Native with Jupyter Notebook.</p>
<p>The only 3D viewer that works is tachyon.</p>
<p>Both threejs and jmol leave an empty space without plot but no error is issued, all this for the same 3D plot tachyon was able to plot.</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41949#post-id-41949FWIW this is basically a duplicate of https://ask.sagemath.org/question/40693/vector-field-example-fails/Mon, 09 Apr 2018 08:51:40 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41949#post-id-41949Answer by eric_g for <p>I'm using SageMath 8.1 on Windows 10 Native with Jupyter Notebook.</p>
<p>The only 3D viewer that works is tachyon.</p>
<p>Both threejs and jmol leave an empty space without plot but no error is issued, all this for the same 3D plot tachyon was able to plot.</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?answer=41916#post-id-41916A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: [#25021](https://trac.sagemath.org/ticket/25021). Maybe this will solve your issue in Sage 8.2 (to be released soon).
Regarding the threejs issue, are you using the argument `online=True` along with `viewer='threejs'`? If yes, can you try with `online=False`?Sun, 08 Apr 2018 14:29:35 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?answer=41916#post-id-41916Comment by Iguananaut for <p>A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: <a href="https://trac.sagemath.org/ticket/25021">#25021</a>. Maybe this will solve your issue in Sage 8.2 (to be released soon).</p>
<p>Regarding the threejs issue, are you using the argument <code>online=True</code> along with <code>viewer='threejs'</code>? If yes, can you try with <code>online=False</code>?</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41953#post-id-41953I created a ticket for this issue along with a fix: https://trac.sagemath.org/ticket/25129 It really should work with `online=True` unless of course you don't actually have an internet connection. Depending on the speed of your connection it might take a few seconds for the scripts to download--you can also try refreshing. Otherwise open your browser's developer console and see if there are any informative errors...Mon, 09 Apr 2018 10:10:13 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41953#post-id-41953Comment by danielvolinski for <p>A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: <a href="https://trac.sagemath.org/ticket/25021">#25021</a>. Maybe this will solve your issue in Sage 8.2 (to be released soon).</p>
<p>Regarding the threejs issue, are you using the argument <code>online=True</code> along with <code>viewer='threejs'</code>? If yes, can you try with <code>online=False</code>?</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41950#post-id-41950`sage: sphere.plot().show(viewer='threejs')` gives an empty space.
`sage: sphere.plot(viewer='threejs', online=False)` gives an empty space.
`sage: sphere.plot(viewer='threejs', online=True)` gives an empty space.
DanielMon, 09 Apr 2018 09:38:56 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41950#post-id-41950Comment by eric_g for <p>A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: <a href="https://trac.sagemath.org/ticket/25021">#25021</a>. Maybe this will solve your issue in Sage 8.2 (to be released soon).</p>
<p>Regarding the threejs issue, are you using the argument <code>online=True</code> along with <code>viewer='threejs'</code>? If yes, can you try with <code>online=False</code>?</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41941#post-id-41941@danielvolinski: given your answer, let me reverse my question: does it help to use `online=True`? (note: `online=False` is the default).Mon, 09 Apr 2018 02:14:06 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41941#post-id-41941Comment by slelievre for <p>A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: <a href="https://trac.sagemath.org/ticket/25021">#25021</a>. Maybe this will solve your issue in Sage 8.2 (to be released soon).</p>
<p>Regarding the threejs issue, are you using the argument <code>online=True</code> along with <code>viewer='threejs'</code>? If yes, can you try with <code>online=False</code>?</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41923#post-id-41923What about `sphere.plot().show(viewer='threejs')`?Sun, 08 Apr 2018 18:57:15 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41923#post-id-41923Comment by danielvolinski for <p>A recent fix regarding Jmol with Windows has just been merged in Sage 8.2.rc1: <a href="https://trac.sagemath.org/ticket/25021">#25021</a>. Maybe this will solve your issue in Sage 8.2 (to be released soon).</p>
<p>Regarding the threejs issue, are you using the argument <code>online=True</code> along with <code>viewer='threejs'</code>? If yes, can you try with <code>online=False</code>?</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41918#post-id-41918I'm not using online=True
As per your suggestion I tried:
sage: sphere = surfaces.Sphere(center=(0, 1, -1), R=2); sphere
sage: sphere.plot(viewer='threejs', online=False)
It doesn't matter if I put `online=False` or `online=True`, I always get an empty space using threejs.
DanielSun, 08 Apr 2018 17:53:27 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?comment=41918#post-id-41918Answer by Iguananaut for <p>I'm using SageMath 8.1 on Windows 10 Native with Jupyter Notebook.</p>
<p>The only 3D viewer that works is tachyon.</p>
<p>Both threejs and jmol leave an empty space without plot but no error is issued, all this for the same 3D plot tachyon was able to plot.</p>
http://ask.sagemath.org/question/41910/viewer-3d-problem/?answer=41946#post-id-41946The threejs viewer should work with `online=True`. It does not work with `online=False` due to a known path issue that I just haven't fixed yet.Mon, 09 Apr 2018 03:40:03 -0500http://ask.sagemath.org/question/41910/viewer-3d-problem/?answer=41946#post-id-41946