<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB">Dear,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I am writing in connection with the Boolean operation with GMSH. I have some trouble with the meshing size on points after a Boolean operation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">For example, on the picture below, I have four main surface. In the geo file, I create my surface according to the mesh size.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So, first, I create the surface 6 and 8 with the mesh size of 1 and after the layer 3 and 5 with the mesh size of 10.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">But when I perform the Boolean operation (Boolean fragment), in one case, the minimal size is keeping and in the other case, the maximal size is keeping (as you can see with the red circle).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><img width="645" height="231" style="width:6.7187in;height:2.4062in" id="Image_x0020_8" src="cid:image002.png@01D41A01.497E4B10"></span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So, I would like to know, How does GMSH keep the size after a Boolean operation ? Is there a specific condition or GMSH chose the size randomly ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Because it seems that the size is not chosen according to the index, or to the creation’s order or to the mesh size
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I also see this problem in 3D.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">You can find the geo file below.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thank you for your answer,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kind regards, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:FR">Benoît CURVERS<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-GB" style="mso-fareast-language:FR">Laser Systems & Solutions of Europe (LASSE)<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;mso-fareast-language:FR">SCREEN Semiconductor Solutions Co. Ltd<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt;mso-fareast-language:FR">Taïwan Cell : +886 (0)965-875-974 or 7629511<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;mso-fareast-language:FR">Email :
<a href="mailto:benoit.curvers@screen-lasse.com">benoit.curvers@screen-lasse.com</a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">SetFactory("OpenCASCADE");<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// TopFin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p10=newp; Point(p10) = {-2.5,60,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p11=newp; Point(p11) = {-2.5,22.5,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p12=newp; Point(p12) = {-1.75,20.5,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p13=newp; Point(p13) = {-1,20,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p14=newp; Point(p14) = {1,20,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p15=newp; Point(p15) = {1.75,20.5,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p16=newp; Point(p16) = {2.5,22.5,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p17=newp; Point(p17) = {2.5,60,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l10=newl; Line(l10) = {p10,p11};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l11=newl; Line(l11) = {p11,p12};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l12=newl; Line(l12) = {p12,p13};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l13=newl; Line(l13) = {p13,p14};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l14=newl; Line(l14) = {p14,p15};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l15=newl; Line(l15) = {p15,p16};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l16=newl; Line(l16) = {p16,p17};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l17=newl; Line(l17) = {p17,p10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll10 = newll; Line Loop(ll10) = {l10,l11,l12,l13,l14,l15,l16,l17};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(1) = {ll10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(1)={1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Bot1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p20=newp; Point(p20) = {-15.235,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p21=newp; Point(p21) = {-13,119.3,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p22=newp; Point(p22) = {-12,119,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p23=newp; Point(p23) = {-10.9,118.1,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p24=newp; Point(p24) = {-10,117,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p25=newp; Point(p25) = {-9.7,116,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p26=newp; Point(p26) = {-9.235,114,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p27=newp; Point(p27) = {-10,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l20=newl; Line(l20) = {p20,p21};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l21=newl; Line(l21) = {p21,p22};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l22=newl; Line(l22) = {p22,p23};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l23=newl; Line(l23) = {p23,p24};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l24=newl; Line(l24) = {p24,p25};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l25=newl; Line(l25) = {p25,p26};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l26=newl; Line(l26) = {p26,p27};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l27=newl; Line(l27) = {p27,p20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll20 = newll; Line Loop(ll20) = {l20,l21,l22,l23,l24,l25,l26,l27};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(2) = {ll20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(2)={2};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Bot2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p40=newp; Point(p40) = {10,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p41=newp; Point(p41) = {9.235,114,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p42=newp; Point(p42) = {9.7,116,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p43=newp; Point(p43) = {10,117,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p44=newp; Point(p44) = {10.9,118.1,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p45=newp; Point(p45) = {12,119,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p46=newp; Point(p46) = {13,119.3,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p47=newp; Point(p47) = {15.235,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l40=newl; Line(l40) = {p40,p41};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l41=newl; Line(l41) = {p41,p42};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l42=newl; Line(l42) = {p42,p43};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l43=newl; Line(l43) = {p43,p44};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l44=newl; Line(l44) = {p44,p45};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l45=newl; Line(l45) = {p45,p46};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l46=newl; Line(l46) = {p46,p47};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l47=newl; Line(l47) = {p47,p40};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll40 = newll; Line Loop(ll40) = {l40,l41,l42,l43,l44,l45,l46,l47};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(4) = {ll40};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(4)={4};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// BotFin<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p60=newp; Point(p60) = {-10,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p61=newp; Point(p61) = {-9.235,114,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p62=newp; Point(p62) = {-2.5,60,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p63=newp; Point(p63) = {2.5,60,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p64=newp; Point(p64) = {9.235,114,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p65=newp; Point(p65) = {10,120,0, 0.5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l60=newl; Line(l60) = {p60,p61};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l61=newl; Line(l61) = {p61,p62};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l62=newl; Line(l62) = {p62,p63};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l63=newl; Line(l63) = {p63,p64};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l64=newl; Line(l64) = {p64,p65};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l65=newl; Line(l65) = {p65,p60};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll60 = newll; Line Loop(ll60) = {l60,l61,l62,l63,l64,l65};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(6) = {ll60};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(6)={6};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Substrate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p80=newp; Point(p80) = {-67.5,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p81=newp; Point(p81) = {-15.235,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p82=newp; Point(p82) = {-10,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p83=newp; Point(p83) = {10,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p84=newp; Point(p84) = {15.235,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p85=newp; Point(p85) = {67.5,120,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p86=newp; Point(p86) = {67.5,140,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p87=newp; Point(p87) = {-67.5,140,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l80=newl; Line(l80) = {p80,p81};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l81=newl; Line(l81) = {p81,p82};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l82=newl; Line(l82) = {p82,p83};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l83=newl; Line(l83) = {p83,p84};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l84=newl; Line(l84) = {p84,p85};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l85=newl; Line(l85) = {p85,p86};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l86=newl; Line(l86) = {p86,p87};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l87=newl; Line(l87) = {p87,p80};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll80 = newll; Line Loop(ll80) = {l80,l81,l82,l83,l84,l85,l86,l87};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(8) = {ll80};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(8)={8};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Ins<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p90=newp; Point(p90) = {-3.5,60,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p91=newp; Point(p91) = {-3.5,22.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p92=newp; Point(p92) = {-2.75,20,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p93=newp; Point(p93) = {-1,19,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p94=newp; Point(p94) = {1,19,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p95=newp; Point(p95) = {2.75,20,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p96=newp; Point(p96) = {3.5,22.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p97=newp; Point(p97) = {3.5,60,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p98=newp; Point(p98) = {2.5,60,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p99=newp; Point(p99) = {2.5,22.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p910=newp; Point(p910) = {1.75,20.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p911=newp; Point(p911) = {1,20,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p912=newp; Point(p912) = {-1,20,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p913=newp; Point(p913) = {-1.75,20.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p914=newp; Point(p914) = {-2.5,22.5,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p915=newp; Point(p915) = {-2.5,60,0, 1};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l90=newl; Line(l90) = {p90,p91};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l91=newl; Line(l91) = {p91,p92};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l92=newl; Line(l92) = {p92,p93};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l93=newl; Line(l93) = {p93,p94};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l94=newl; Line(l94) = {p94,p95};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l95=newl; Line(l95) = {p95,p96};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l96=newl; Line(l96) = {p96,p97};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l97=newl; Line(l97) = {p97,p98};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l98=newl; Line(l98) = {p98,p99};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l99=newl; Line(l99) = {p99,p910};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l910=newl; Line(l910) = {p910,p911};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l911=newl; Line(l911) = {p911,p912};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l912=newl; Line(l912) = {p912,p913};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l913=newl; Line(l913) = {p913,p914};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l914=newl; Line(l914) = {p914,p915};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l915=newl; Line(l915) = {p915,p90};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll90 = newll; Line Loop(ll90) = {l90,l91,l92,l93,l94,l95,l96,l97,l98,l99,l910,l911,l912,l913,l914,l915};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(9) = {ll90};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(9)={9};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Ox1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p30=newp; Point(p30) = {-67.5,120,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p31=newp; Point(p31) = {-67.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p32=newp; Point(p32) = {-3.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p33=newp; Point(p33) = {-2.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p34=newp; Point(p34) = {-9.235,114,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p35=newp; Point(p35) = {-9.7,116,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p36=newp; Point(p36) = {-10,117,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p37=newp; Point(p37) = {-10.9,118.1,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p38=newp; Point(p38) = {-12,119,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p39=newp; Point(p39) = {-13,119.3,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p310=newp; Point(p310) = {-15.235,120,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l30=newl; Line(l30) = {p30,p31};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l31=newl; Line(l31) = {p31,p32};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l32=newl; Line(l32) = {p32,p33};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l33=newl; Line(l33) = {p33,p34};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l34=newl; Line(l34) = {p34,p35};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l35=newl; Line(l35) = {p35,p36};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l36=newl; Line(l36) = {p36,p37};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l37=newl; Line(l37) = {p37,p38};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l38=newl; Line(l38) = {p38,p39};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l39=newl; Line(l39) = {p39,p310};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l310=newl; Line(l310) = {p310,p30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll30 = newll; Line Loop(ll30) = {l30,l31,l32,l33,l34,l35,l36,l37,l38,l39,l310};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(3) = {ll30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(3)={3};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Ox2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p50=newp; Point(p50) = {15.235,120,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p51=newp; Point(p51) = {13,119.3,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p52=newp; Point(p52) = {12,119,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p53=newp; Point(p53) = {10.9,118.1,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p54=newp; Point(p54) = {10,117,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p55=newp; Point(p55) = {9.7,116,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p56=newp; Point(p56) = {9.235,114,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p57=newp; Point(p57) = {2.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p58=newp; Point(p58) = {3.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p59=newp; Point(p59) = {67.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p510=newp; Point(p510) = {67.5,120,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l50=newl; Line(l50) = {p50,p51};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l51=newl; Line(l51) = {p51,p52};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l52=newl; Line(l52) = {p52,p53};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l53=newl; Line(l53) = {p53,p54};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l54=newl; Line(l54) = {p54,p55};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l55=newl; Line(l55) = {p55,p56};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l56=newl; Line(l56) = {p56,p57};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l57=newl; Line(l57) = {p57,p58};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l58=newl; Line(l58) = {p58,p59};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l59=newl; Line(l59) = {p59,p510};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l510=newl; Line(l510) = {p510,p50};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll50 = newll; Line Loop(ll50) = {l50,l51,l52,l53,l54,l55,l56,l57,l58,l59,l510};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(5) = {ll50};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(5)={5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// Cap<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p70=newp; Point(p70) = {-67.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p71=newp; Point(p71) = {-67.5,10,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p72=newp; Point(p72) = {67.5,10,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p73=newp; Point(p73) = {67.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p74=newp; Point(p74) = {3.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p75=newp; Point(p75) = {3.5,22.5,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p76=newp; Point(p76) = {2.75,20,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p77=newp; Point(p77) = {1,19,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p78=newp; Point(p78) = {-1,19,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p79=newp; Point(p79) = {-2.75,20,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p710=newp; Point(p710) = {-3.5,22.5,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p711=newp; Point(p711) = {-3.5,60,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l70=newl; Line(l70) = {p70,p71};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l71=newl; Line(l71) = {p71,p72};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l72=newl; Line(l72) = {p72,p73};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l73=newl; Line(l73) = {p73,p74};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l74=newl; Line(l74) = {p74,p75};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l75=newl; Line(l75) = {p75,p76};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l76=newl; Line(l76) = {p76,p77};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l77=newl; Line(l77) = {p77,p78};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l78=newl; Line(l78) = {p78,p79};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l79=newl; Line(l79) = {p79,p710};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l710=newl; Line(l710) = {p710,p711};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l711=newl; Line(l711) = {p711,p70};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll70 = newll; Line Loop(ll70) = {l70,l71,l72,l73,l74,l75,l76,l77,l78,l79,l710,l711};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(7) = {ll70};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(7)={7};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// AddedSubstrate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p100=newp; Point(p100) = {-67.5,140,0, 5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p101=newp; Point(p101) = {67.5,140,0, 5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p102=newp; Point(p102) = {67.5,2140,0, 5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p103=newp; Point(p103) = {-67.5,2140,0, 5};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l100=newl; Line(l100) = {p100,p101};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l101=newl; Line(l101) = {p101,p102};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l102=newl; Line(l102) = {p102,p103};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l103=newl; Line(l103) = {p103,p100};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll100 = newll; Line Loop(ll100) = {l100,l101,l102,l103};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(10) = {ll100};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(10)={10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// AddedSubstrate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p110=newp; Point(p110) = {-67.5,2140,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p111=newp; Point(p111) = {67.5,2140,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p112=newp; Point(p112) = {67.5,3140,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p113=newp; Point(p113) = {-67.5,3140,0, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l110=newl; Line(l110) = {p110,p111};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l111=newl; Line(l111) = {p111,p112};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l112=newl; Line(l112) = {p112,p113};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l113=newl; Line(l113) = {p113,p110};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll110 = newll; Line Loop(ll110) = {l110,l111,l112,l113};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(11) = {ll110};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(11)={11};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">// AddedSubstrate<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p120=newp; Point(p120) = {-67.5,3140,0, 20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p121=newp; Point(p121) = {67.5,3140,0, 20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p122=newp; Point(p122) = {67.5,5140,0, 20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">p123=newp; Point(p123) = {-67.5,5140,0, 20};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l120=newl; Line(l120) = {p120,p121};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l121=newl; Line(l121) = {p121,p122};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l122=newl; Line(l122) = {p122,p123};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">l123=newl; Line(l123) = {p123,p120};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">ll120 = newll; Line Loop(ll120) = {l120,l121,l122,l123};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Plane Surface(12) = {ll120};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Physical Surface(12)={12};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">pAir1=newp; Point(pAir1) = {-67.5,-190,0, 30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">pAir2=newp; Point(pAir2) = {67.5,-190,0, 30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">pAir3=newp; Point(pAir3) = {67.5,5140,0, 30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">pAir4=newp; Point(pAir4) = {-67.5,5140,0, 30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">lAir1=newl; Line(lAir1) = {pAir1,pAir2};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">lAir2=newl; Line(lAir2) = {pAir2,pAir3};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">lAir3=newl; Line(lAir3) = {pAir3,pAir4};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">lAir4=newl; Line(lAir4) = {pAir4,pAir1};<o:p></o:p></span></p>
<p class="MsoNormal">llAir = newll; Line Loop(llAir) = {lAir1,lAir2,lAir3,lAir4};<o:p></o:p></p>
<p class="MsoNormal">rsAir = news ; Plane Surface(rsAir) = {llAir};<o:p></o:p></p>
<p class="MsoNormal">v() = BooleanFragments{ Surface{1:12}; Delete; }{ Surface{rsAir}; Delete; };<o:p></o:p></p>
<p class="MsoNormal">Physical Surface(0)={13};<o:p></o:p></p>
</div>
</body>
</html>