For what it is worth, this works fine in SageMathCloud https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2016-10-31-083851%20polyhedron.sagews
which you can easily run locally via Docker: https://github.com/sagemathinc/smc/blob/master/src/dev/docker/README.md William On Mon, Oct 31, 2016 at 5:02 AM, <marechala...@gmail.com> wrote: > I use Ubuntu 14.04 and Sage 6.8. If i remember correctly I used a binary to > install it. > I indeed tried to upgrade my OS, but i went into some troubles doing it (not > enough remaining space on my disk). > > The strange thing is that i asked my colleagues to try with various OS and > Sage version (even 7.4). They all obtained the same problem, render_3d_solid > showing nothing. > > Is JMOL provided by Sage, or is a separate package? Perhaps a recent version > of JMOL has problems? > > Le lundi 31 octobre 2016 12:20:00 UTC+1, slelievre a écrit : >> >> >> >> Fri 2016-10-28 17:07:03 UTC+2, marech...@gmail.com: >>> >>> Hello, >>> >>> I have troubles plotting 3D polyhedra. I don't understand what happens >>> because I've done it for several years and it is the first time it does not >>> work. >>> >>> Small example : >>> >>> # 2*x + y >= 0 ; -x - y + 2 - z >= 0 ; z >= 0 ; -x + 1 >= 0 ; -y + 2 >= 0 >>> ineqs = [[0,2,1,0], [2,-1,-1,-1], [0,0,0,1], [1,-1,0,0], [2,0,-1,0]] >>> >>> P = Polyhedron(ieqs = ineqs) >>> >>> to_plot = P.projection().render_solid_3d() >>> to_plot.show() >>> >>> #to plot the outline of a 3D polyhedron >>> to_plot = P.projection().render_wireframe_3d(color = 'blue', alpha = 0.8) >>> to_plot.show() >>> >>> By plotting the wireframe of P, everything works (see >>> wireframe_jmol_ok.png). >>> >>> But plotting the solid with render_solid_3d does not work (see >>> solid_jmol_ko.png). >>> >>> I asked some other people to run this test and they obtain the same >>> result. >>> >>> Greetings, >>> Alexandre >> >> >> What is your OS and what version of Sage? >> Did you recently upgrade your OS or your Sage installation? >> How is Sage installed? (binaries for your OS, built from source?) >> > > -- > 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 sage-support+unsubscr...@googlegroups.com. > To post to this group, send email to sage-support@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. -- William (http://wstein.org) -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.