Hello Jens,

%nan are often used to do so: As soon as at least one coordinate of a vertex is equal to %nan, the vertex and all lines and facets going through it are skipped/not rendered.

HTH
Samuel


Le 30/09/2018 à 23:35, Jens Simon Strom a écrit :
Hallo Scilab friends,
Is there a way to punch a*peak through* hole into a rectangle?

The result below looks like a hole but it is just white intransparent color.
xdel();
xf=[1;-1;-1;1]; yf=[1;1;-1;-1]; zf=[0;0;0;0]; plot3d(xf,yf,list(zf,5))//Facet
   ce=gce();  ce.hiddencolor  =  5;
xf=0.5*[1;-1;-1;1]; yf=0.5*[1;1;-1;-1]; zf=[0;0;0;0]; plot3d(xf,yf,list(zf,8))//Hole ce=gce(); ce.hiddencolor = 8; Cheers Jens


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to