-
Notifications
You must be signed in to change notification settings - Fork 1
/
SealDrawer.m
78 lines (65 loc) · 1.37 KB
/
SealDrawer.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
function [Seal,x,y] = SealDrawer()
hold on
color = [0.710000 0.400000 0.110000];
t=0:0.01:2*pi;
x1=4*cos(t);
y1=0.9*sin(t);
Seal = fill(x1,y1,color);
x{1} = x1;
y{1} = y1;
x2=3.4+0.4*cos(t);
y2=1.2-1+0.2*sin(t);
Seal = [Seal, fill(x2,y2,'w')];
x{2} = x2;
y{2} = y2;
x3=2.6+0.4*cos(t);
y3=1.2-1+0.2*sin(t);
Seal = [Seal, fill(x3,y3,'w')];
x{3} = x3;
y{3} = y3;
x4=3.35 - 0.1 +0.2*cos(t);
y4=1.1-1 + 0.1 +0.1*sin(t);
Seal = [Seal, fill(x4,y4,'k')];
x{4} = x4;
y{4} = y4;
x5=2.55 - 0.1 +0.2*cos(t);
y5=1.1-1 + 0.1 +0.1*sin(t);
Seal = [Seal, fill(x5,y5,'k')];
x{5} = x5;
y{5} = y5;
x6=3.25+0.5*cos(t);
y6= -0.05 + 0.1*sin(t);
Seal = [Seal, fill(x6,y6,'k')];
x{6} = x6;
y{6} = y6;
x7 = [ -0.55 0.2 0.43]/3 + 2.7;
y7 = [ -0.6 -0.35 -0.2]/4 - 0.0095;
Seal = [Seal, fill(x7,y7,'k')];
x{7} = x7;
y{7} = y7;
x8 = 1.1 * [ -0.75 0.4 0.63]/3 + 2.7;
y8 = [ -0.6 -0.35 -0.2]/3 + 0.071;
Seal = [Seal, fill(x8,y8,'k')];
x{8} = x8;
y{8} = y8;
x9 = [3.9683 3.7183 3.6417];
y9 = [-0.1790 -0.0957 -0.0457];
Seal = [Seal, fill(x9,y9,'k')];
x{9} = x9;
y{9} = y9;
x10 = [4.0200 3.6367 3.5600];
y10 = [-0.1240 -0.0407 0.0093];
Seal = [Seal, fill(x10,y10,'k')];
x{10} = x10;
y{10} = y10;
x11 = x10 * 4/3 - 1.15;
y11 = y10 + 0.014;
Seal = [Seal, fill(x11,y11,'k')];
x{11} = x11;
y{11} = y11;
x12 = [2.2333 2.8722 3.0000];
y12 = [-0.0990 -0.0157 0.0343];
Seal = [Seal, fill(x12,y12,'k')];
x{12} = x12;
y{12} = y12;
end