A very short question (hoping it is not a stupid one).

How to make
online=True
the default for plot3d and related commands?

Background:

   - SageMath on Windows through WSL (using Conda or an AppImage).
   - Windows browser (because Ubuntu browser seems to be too slow).
   - plot3d gives a blank page.

This seems due to the temporary HTML file created by plot3d containing
<script
src="/var/tmp/sage-10.7/local/share/threejs-sage/r122/three.min.js"></script>
which is not accessible from the Windows browser (even after changing the
path).

Possible workarounds are:

   1. Copy three.min.js to the temporary directory of the HTML file and
   modify the line above:
   <script src="three.min.js"></script>
   but this file is 656 KB, so multiple invocations of plot3d will take a
   lot of space.
   2. Copy three.min.js to a directory accessible from the Windows
   browser.  I do not know if this is possible.
   3. Use plot3d( … , online=True) which changes the line above to
   <script src="
   https://cdn.jsdelivr.net/gh/sagemath/threejs-sage@r122/build/three.min.js
   "></script>
   but this needs internet access.

TIA for your help.

Guillermo

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/CANnG189sXGC6Uv1z1TV9AvQSxH6tofAxh_CsfomBLhcQ3m9%2Bnw%40mail.gmail.com.

Reply via email to