Hi <span class="_username"><span style="color: rgb(34, 34, 34);" class="GGYB0KICAKB">Javier <br>Have you got a solution for this problem because i faced the same problem <br><br>Thanks <br></span></span><br>On Saturday, 29 October 2011 00:55:33 UTC+2, Javier Muñoz  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi<p>I'm trying to extrude two lines:</p><p>lc = 0.01;<br>p1 = newp; Point (p1) = {0,0,0,lc};<br>p2 = newp; Point (p2) = {0.5,0,0,lc};<br>p3 = newp; Point (p3) = {1.0,0,0,lc};</p><p>l1 = newl; Line (l1) = {p1,p2};<br>l2 = newl; Line (l2) = {p2,p3};</p><p>p1 -------------- p2 ---------------p3</p><p><br>Extrusion height is 1 for line 1 (with 1 layer). Line two has a height<br>of z = 0.5 (with 1 layer) and then I want to extrude the 'top' face<br>generated to a height of z = 1 (also with 1 layer).</p><p><br>out1[] = Extrude {0,1,0} {<br>                Line {1};<br>                Layers {{1},{1}};<br>                Recombine;<br>                };<br>out2[] = Extrude {0,0.5,0} {<br>                Line {2};<br>                Layers {{1},{1}};<br>                Recombine;<br>                };<br>out3[] = Extrude {0,0.5,0} {<br>                Line {out2[0]};<br>                Layers {{1},{1}};<br>                Recombine;<br>                };<br>Coherence;</p><p>|---------------||------------<wbr>--|<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||-----------<wbr>---|<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>|                ||           <wbr>     |<br>p1 ------------ p2 ------------ p3</p><p>The problem is: I have lines overlapping in the interface of surface<br>out1. The line on the right side of out1 overlaps with the lines on the<br>left side of out2 and out3. Is there anyway to avoid this? As you can<br>see I already try to use Coherence (maybe in the wrong way?).</p><p>I want to import the mesh generated into deal.ii but as long as I have<br>overlapping lines, deal.ii appears to recognize the interfaces as<br>boundaries.</p><p>I appreciate your help.</p><p>Regards<br>Javier Munoz</p><p><br>______________________________<wbr>_________________<br>gmsh mailing list<br><a href="javascript:" target="_blank" gdf-obfuscated-mailto="ror1xnEQKTMJ">gm...@geuz.org</a><br><a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/<wbr>listinfo/gmsh</a><br></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p></blockquote><div style="display: none;" id="__af745f8f43-e961-4b88-8424-80b67790c964__"></div>