[Scilab-users] Punch a hole into a facet

Jens Simon Strom j.s.strom at hslmg.de
Sun Sep 30 23:17:38 CEST 2018


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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20180930/258dcea7/attachment.htm>


More information about the users mailing list