Sei sulla pagina 1di 4

!

tartaruga

P=21

n=”Top view”

r=”non ruotare”

j1=1

j3=1

j5=1

j6=1

j7=1

j8=0

re=20

g=100

bl=50

pen p

mulx a

muly b

mulz zzyzx

DEFINE MATERIAL "m" 2, !MATTE

Re/255,G/255,Bl/255 !RGB

gosub 1

if r="non ruotare" then yy=8

if r="90" then yy=11

if r="180" then yy=2

if r="270" then yy=1

addy yy !il valore yy sposta in alto le img su PV e PL

rotx -90
if n="Monge" then gosub 1

del top

if r="non ruotare" then xx=19

if r="90" then xx=12

if r="180" then xx=2

if r="270" then xx=8

add xx,yy,0 !il valore xx sposta a dex la img su PL

rotz 90

roty 90

if n="Monge" then gosub 1

del top

end

1: if r="90" then rotz 90

if r="180" then rotz 180

if r="270" then rotz 270

rotx 90

material "m"

cutpoly 3, 8,0,9,0,8,0.5

del 1

MASS "m", 67, "m",

24, 4, j1+4*j3+16*j5+32*j6+64*j7+128*j8, 0,

0,3.5,0,15,
2,3,1.5,15,

2,0,1,15,

3,0,1,15,

3.5,1.5,1.5,15,

6.5,1.5,1.5,15,

7,0,1,15,

8,0,1,15,

8,3,1.5,15,

9,2.5,2,15,

10,2.5,2,13,

10.5,2.5,1.2,15,

10.5,4.5,1.2,15,

10,4.5,2,13,

9,4.5,2,15,

8,4,1.5,15,

8,7,1,15,

7,7,1,15,

6.5,5.5,1.5,15,

3.5,5.5,1.5,15,

3,7,1,15,

2,7,1,15,

2,4,1.5,15,

0,3.5,0,-1,

4.5,3,4.5,0,

5.5,3,4.5,0,

5.5,4,4.5,0,
4.5,4,4.5,-1

cutend

del top

return

Potrebbero piacerti anche