<div dir="ltr">Hi, and thank you for the lovely code!<div><br></div><div>I am trying to build a cylinder with a varying radius, for example in typical (r,z) coordinates; e.g. r(z)=f(z).</div><div><br></div><div>I am going about this by making circular slices which I merge together e.g.:</div><div>1st slice: (r,z)=(a1, z1)</div><div>2nd slice: (r,z)=(a2, z2)</div><div>3rd slice: (r,z)=(a3,z3)</div><div><br></div><div>I then make points and lines for each slice, then connect each slice with lines.</div><div>My question is, what is the easiest way to make the surface? I originally tried to make a Line Loop and Ruled Surface</div><div>for a quadrant of the ENTIRE extended cylinder then realized that Line Loop can take a maximum of 4 lines.  Then I tried to combine </div><div>two lines together with Compound Line, but GMSH told my Line Loop was wrong!</div><div><br></div><div>Worst case scenario is I will build the surface out of individual quadrants bound between slices; but if there is a simpler way to to this it would be greatly appreciated!</div><div><br></div><div>Merci beaucoup,</div><div><div class="gmail_signature">François</div>
</div></div>