| 1 |
% closingbox.mp |
| 2 |
% L. Nobre G. |
| 3 |
% 2006 |
| 4 |
|
| 5 |
input featpost3Dplus2D; |
| 6 |
|
| 7 |
beginfig(1); |
| 8 |
f := 1.5*(5,-6,2); |
| 9 |
Spread := 80; |
| 10 |
numeric ang; |
| 11 |
color auxa, auxb, auxc, auxd; |
| 12 |
ang = 48; |
| 13 |
V1 := (-1,1,0); |
| 14 |
V3 := (-1,-1,0); |
| 15 |
V2 := (-3,1,0); |
| 16 |
V2 := V1 + rotvecaroundanother( ang, V2-V1, V1-V3 ); |
| 17 |
V4 := (-3,-1,0); |
| 18 |
V4 := V3 + rotvecaroundanother( ang, V4-V3, V1-V3 ); |
| 19 |
V6 := (-1,-3,0); |
| 20 |
V6 := V3 + rotvecaroundanother( ang, V6-V3, V4-V3 ); |
| 21 |
V7 := V4 + V3 - V1; |
| 22 |
V7 := V4 + rotvecaroundanother( ang, V7-V4, V4-V3 ); |
| 23 |
auxa = N( V4-V3 ); |
| 24 |
V5 := V4 + auxa; |
| 25 |
V5 := V4 + rotvecaroundanother( ang, auxa, V4-V7 ); |
| 26 |
auxb = N( V7-V6 ); |
| 27 |
V8 := V7 + auxb; |
| 28 |
V8 := V7 + rotvecaroundanother( ang, auxb, V4-V7 ); |
| 29 |
|
| 30 |
V11:= (1,-1,0); |
| 31 |
V13:= (1,1,0); |
| 32 |
V12 := (3,-1,0); |
| 33 |
V12 := V11 + rotvecaroundanother( ang, V12-V11, V11-V13 ); |
| 34 |
V14 := (3,1,0); |
| 35 |
V14 := V13 + rotvecaroundanother( ang, V14-V13, V11-V13 ); |
| 36 |
V16 := (1,3,0); |
| 37 |
V16 := V13 + rotvecaroundanother( ang, V16-V13, V14-V13 ); |
| 38 |
V17 := V14 + V13 - V11; |
| 39 |
V17 := V14 + rotvecaroundanother( ang, V17-V14, V14-V13 ); |
| 40 |
auxc = N( V14-V13 ); |
| 41 |
V15 := V14 + auxc; |
| 42 |
V15 := V14 + rotvecaroundanother( ang, auxc, V14-V17 ); |
| 43 |
auxd = N( V17-V16 ); |
| 44 |
V18 := V17 + auxd; |
| 45 |
V18 := V17 + rotvecaroundanother( ang, auxd, V14-V17 ); |
| 46 |
|
| 47 |
makeface1(1,3,11,13); |
| 48 |
makeface2(1,2,4,3); |
| 49 |
makeface3(3,4,7,6); |
| 50 |
makeface4(4,5,8,7); |
| 51 |
makeface5(11,12,14,13); |
| 52 |
makeface6(13,14,17,16); |
| 53 |
makeface7(14,15,18,17); |
| 54 |
|
| 55 |
draw_invisible( false, false, TableC3, black ); |
| 56 |
|
| 57 |
endfig; |
| 58 |
|
| 59 |
end. |