0
|
1 |
##Sketch 1 2
|
|
2 |
document()
|
|
3 |
layout('A4',0)
|
|
4 |
layer('Layer 1',1,1,0,0,(0,0,0))
|
|
5 |
fp((0.808,0.4,0.4))
|
|
6 |
lw(1)
|
|
7 |
r(150,0,0,-20,97.5,732.5)
|
|
8 |
fp((0,0,0))
|
|
9 |
le()
|
|
10 |
lw(1)
|
|
11 |
Fn('Helvetica')
|
|
12 |
txt('Client Application',(126.15,718.5))
|
|
13 |
fp((0.9,0.9,0.9))
|
|
14 |
lw(1)
|
|
15 |
r(150,0,0,-20,97.5,712.5)
|
|
16 |
fp((0,0,0))
|
|
17 |
le()
|
|
18 |
lw(1)
|
|
19 |
Fn('Helvetica')
|
|
20 |
txt('HTTP/FTP',(143.832,698.5))
|
|
21 |
fp((0.8,0.8,0.8))
|
|
22 |
lw(1)
|
|
23 |
r(150,0,0,-20,97.5,692.5)
|
|
24 |
fp((0,0,0))
|
|
25 |
le()
|
|
26 |
lw(1)
|
|
27 |
Fn('Helvetica')
|
|
28 |
txt('TCP',(160.5,678.5))
|
|
29 |
fp((0.7,0.7,0.7))
|
|
30 |
lw(1)
|
|
31 |
r(150,0,0,-20,97.5,672.5)
|
|
32 |
fp((0,0,0))
|
|
33 |
le()
|
|
34 |
lw(1)
|
|
35 |
Fn('Helvetica')
|
|
36 |
txt('IP',(166.83,658.5))
|
|
37 |
fp((0.625,0.625,0.625))
|
|
38 |
lw(1)
|
|
39 |
r(150,0,0,-20,97.5,652.5)
|
|
40 |
fp((0,0,0))
|
|
41 |
le()
|
|
42 |
lw(1)
|
|
43 |
Fn('Helvetica')
|
|
44 |
txt('Link Layer',(144.822,638.5))
|
|
45 |
fp((0.55,0.55,0.55))
|
|
46 |
lw(1)
|
|
47 |
r(150,0,0,-20,97.5,632.5)
|
|
48 |
fp((0,0,0))
|
|
49 |
le()
|
|
50 |
lw(1)
|
|
51 |
Fn('Helvetica')
|
|
52 |
txt('Physical Layer',(133.488,618.5))
|
|
53 |
fp((0.245,0.484,0.808))
|
|
54 |
lw(1)
|
|
55 |
r(150,0,0,-20,337.5,732.5)
|
|
56 |
fp((0,0,0))
|
|
57 |
le()
|
|
58 |
lw(1)
|
|
59 |
Fn('Helvetica')
|
|
60 |
txt('Server Application',(363.816,718.5))
|
|
61 |
fp((0.9,0.9,0.9))
|
|
62 |
lw(1)
|
|
63 |
r(150,0,0,-20,337.5,712.5)
|
|
64 |
fp((0,0,0))
|
|
65 |
le()
|
|
66 |
lw(1)
|
|
67 |
Fn('Helvetica')
|
|
68 |
txt('HTTP/FTP',(383.832,698.5))
|
|
69 |
fp((0.8,0.8,0.8))
|
|
70 |
lw(1)
|
|
71 |
r(150,0,0,-20,337.5,692.5)
|
|
72 |
fp((0,0,0))
|
|
73 |
le()
|
|
74 |
lw(1)
|
|
75 |
Fn('Helvetica')
|
|
76 |
txt('TCP',(400.5,678.5))
|
|
77 |
fp((0.7,0.7,0.7))
|
|
78 |
lw(1)
|
|
79 |
r(150,0,0,-20,337.5,672.5)
|
|
80 |
fp((0,0,0))
|
|
81 |
le()
|
|
82 |
lw(1)
|
|
83 |
Fn('Helvetica')
|
|
84 |
txt('IP',(406.83,658.5))
|
|
85 |
fp((0.625,0.625,0.625))
|
|
86 |
lw(1)
|
|
87 |
r(150,0,0,-20,337.5,652.5)
|
|
88 |
fp((0,0,0))
|
|
89 |
le()
|
|
90 |
lw(1)
|
|
91 |
Fn('Helvetica')
|
|
92 |
txt('Link Layer',(384.822,638.5))
|
|
93 |
fp((0.55,0.55,0.55))
|
|
94 |
lw(1)
|
|
95 |
r(150,0,0,-20,337.5,632.5)
|
|
96 |
fp((0,0,0))
|
|
97 |
le()
|
|
98 |
lw(1)
|
|
99 |
Fn('Helvetica')
|
|
100 |
txt('Physical Layer',(373.488,618.5))
|
|
101 |
lp((0.217,0.6,0))
|
|
102 |
lw(1.5)
|
|
103 |
la1(([(-4.0, 3.0), (2.0, 0.0), (-4.0, -3.0), (-4.0, 3.0)], 1))
|
|
104 |
la2(([(-4.0, 3.0), (2.0, 0.0), (-4.0, -3.0), (-4.0, 3.0)], 1))
|
|
105 |
b()
|
|
106 |
bs(252.5,622.5,0)
|
|
107 |
bs(332.5,622.5,0)
|
|
108 |
le()
|
|
109 |
lw(1)
|
|
110 |
r(410,0,0,-140,87.5,742.5)
|
|
111 |
guidelayer('Guide Lines',1,0,0,1,(0,0,1))
|
|
112 |
grid((0,0,2.5,2.5),1,(0,0,1),'Grid')
|