len = 5e-4;
dia = 5e-3;
lc = 2e-4;
odia = 6e-3;
Point(2) = {dia/2,0,0,lc};
Point(3) = {dia/2,len,0,lc};
Point(4) = {0,len,0,lc};
Point(10) = {odia/2,0,0,lc};
Point(11) = {odia/2,len,0,lc};

Line(5) = {3,11};
Line(6) = {11,10};
Line(7) = {10,2};
Line(8) = {2,3};

Point(12) = {5*odia,0,0,lc*4};
Point(14) = {0,5*odia,0,lc*4};
Point(15) = {0,0,0,lc};

Line(11) = {15,2};

Circle(12) = {12,15,14};

Point(16) = {0,3*odia,0,lc*2};
Point(17) = {3*odia,0,0,lc*2};

Circle(14) = {17,15,16};

Line(18) = {10,17};
Line(19) = {17,12};
Line(20) = {16,14};
Line(40) = {15,4};
Line(41) = {4,16};
Line(42) = {4,3};


Point(103) = {dia/2,-len,0,lc};
Point(104) = {0,-len,0,lc};
Point(105) = {odia/2,-len,0,lc};
Point(106) = {0,-3*odia,0,lc*2};
Point(107) = {0,-5*odia,0,lc*4};

Line Loop(43) = {-14,19,12,-20};
Plane Surface(44) = {43};
Line Loop(45) = {18,14,-41,42,5,6};
Plane Surface(46) = {45};
Line Loop(47) = {-8,-11,40,42};
Plane Surface(48) = {47};
Line Loop(49) = {5,6,7,8};
Plane Surface(50) = {49};

Line(56) = {15,104};
Line(57) = {104,103};
Line(58) = {103,105};
Line(59) = {105,10};
Line(60) = {104,106};
Line(61) = {106,107};
Circle(62) = {106,15,17};
Circle(63) = {107,15,12};
Line(64) = {103,2};

Line Loop(65) = {-11,56,57,64};
Plane Surface(66) = {65};
Line Loop(67) = {7,-64,58,59};
Plane Surface(68) = {67};
Line Loop(69) = {62,-18,-59,-58,-57,60};
Plane Surface(70) = {69};
Line Loop(71) = {-19,-62,61,63};
Plane Surface(72) = {71};

Physical Surface(51) = {44,72};
Physical Surface(52) = {46,70};
Physical Surface(53) = {48,66};
Physical Surface(54) = {50,68};
Physical Line(55) = {12,63};


