<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:x="urn:schemas-microsoft-com:office:excel" 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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Ballongtext Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.E-postmall17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BallongtextChar
{mso-style-name:"Ballongtext Char";
mso-style-priority:99;
mso-style-link:Ballongtext;
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
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="SV" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have been trying to solve an issue where I can decide if the 2d plane shall have a hollow structure or not. Please note that I have tried changing numbering and if I comment
<b>any</b> half of the if statement it works. So the issue seems to be the double definition of the Plane.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The error message I get is:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“””<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Info : Running 'gmsh -2 hollowbowtie.geo' [Gmsh 2.10.1, 1 node, max. 1 thread]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Info : Started on Mon Feb 8 14:47:23 2016<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Info : Reading 'hollowbowtie.geo'...<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Error : 'hollowbowtie.geo', line 118 : syntax error (Plane)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Info : Done reading 'hollowbowtie.geo'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“””<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The code:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“””<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">106 If (hollow_length > 0)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">107 Circle(9) = {9, 21, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">108 Circle(10) = {11, 19, 12};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">109 Circle(11) = {12, 18, 13};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">110 Circle(12) = {13, 20, 14};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">111 Line(13) = {9, 14};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">112 Line(14) = {11, 10};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">113 Line Loop(16) = {13, -12, -11, -10, 14, -9};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">114 <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">115 Plane Surface(17) = {15, 16};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">116 Physical Surface(18) = {17};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">117 Else<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">118 Plane Surface(30) = {15};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">119 Physical Surface(31) = {30};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">120 EndIf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">“””<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;color:black;mso-fareast-language:SV">Thanks for your help,<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:SV">Jimmie Lahti</span></b><span lang="EN-US" style="color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:SV">Electronic engineer</span></i><span lang="EN-US" style="color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:SV">Mobile No number</span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D;mso-fareast-language:SV">Direct +46 953 34 565</span><span lang="EN-US" style="color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><a href="mailto:jimmie.lahti@guidelinegeo.com"><span style="color:blue">jimmie.lahti@guidelinegeo.com</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;color:black;mso-fareast-language:SV"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV">Guideline Geo AB</span><span lang="EN-US" style="font-size:10.5pt;color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><a href="http://www.guidelinegeo.com/"><span lang="EN-US" style="color:blue">http://www.guidelinegeo.com</span></a></span><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><a href="http://www.abem.se/"><span lang="EN-US" style="color:blue">http://www.abem.se</span></a></span><span lang="EN-US" style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1F497D;mso-fareast-language:SV"><a href="http://www.malags.se/"><span style="color:blue">http://www.malags.se</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>