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

-- 
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.

Reply via email to