<div dir="ltr"><div>Hi Deepa, <br></div><div><br></div><div>This is sort of a half-baked idea, but if you could get the positions of a bunch of center points, </div><div>maybe you could add lines between them and use that as a sort of extrude profile for whatever shape you want to use. <br></div><div><br></div><div>You can base a mesh off of a picture's colour, so maybe that's a good way to get some centerline points. <br></div><div>There is a picture example here that might be helpful <a href="http://geuz.org/photos/cg/cg.geo">http://geuz.org/photos/cg/cg.geo</a></div><div><br></div><div>Sincerely, <br></div><div>Max <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 6, 2020 at 1:06 AM Deepa <<a href="mailto:deepamahm.iisc@gmail.com">deepamahm.iisc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Max,<div>Thanks a lot for the response. I'd like to create tubes. However, I am not sure how this can be done.</div><div><br></div><div>Deepa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 5, 2020 at 12:03 AM Max Orok <<a href="mailto:morok@mevex.com" target="_blank">morok@mevex.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Deepa, <br></div><div><br></div><div>What sort of 3D geometry are you trying to get? Are those tubes or some sort of tunnel cutout of a solid? <br></div><div>This looks pretty cool :) </div><div><br></div><div>Max <br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 4, 2020 at 10:47 AM Deepa <<a href="mailto:deepamahm.iisc@gmail.com" target="_blank">deepamahm.iisc@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello Everyone,<div><br></div><div>I want to generate a 3D geometry of the below image.</div><div><br></div><div><img src="cid:ii_k4zpj4ia1" alt="ske1.png" width="491" height="169"><br></div><div><br></div><div>I could generate a centerline image using image processing tools in Mathematica.</div><div><div><img src="cid:ii_k4zpksw52" alt="centerline1.png" width="491" height="169"><br></div></div><div><br></div><div>However, I'm not sure how to make use of this centerline image to create a 3D geometry.</div><div>Any suggestions on how to create the 3D geometry from the above images in gmsh will be really helpful.</div><div><br></div><div>Thanks a lot,</div><div>Deepa</div></div>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img width="164" height="42"><br></div></div></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div></div>