[Gmsh] Creating 3D geometry

Max Orok morok at mevex.com
Wed Jan 8 00:21:51 CET 2020


Hi Deepa,

This is sort of a half-baked idea, but if you could get the positions of a
bunch of center points,
maybe you could add lines between them and use that as a sort of extrude
profile for whatever shape you want to use.

You can base a mesh off of a picture's colour, so maybe that's a good way
to get some centerline points.
There is a picture example here that might be helpful
http://geuz.org/photos/cg/cg.geo

Sincerely,
Max

On Mon, Jan 6, 2020 at 1:06 AM Deepa <deepamahm.iisc at gmail.com> wrote:

> Hi Max,
> Thanks a lot for the response. I'd like to create tubes. However, I am not
> sure how this can be done.
>
> Deepa
>
> On Sun, Jan 5, 2020 at 12:03 AM Max Orok <morok at mevex.com> wrote:
>
>> Hi Deepa,
>>
>> What sort of 3D geometry are you trying to get? Are those tubes or some
>> sort of tunnel cutout of a solid?
>> This looks pretty cool :)
>>
>> Max
>>
>>
>> On Sat, Jan 4, 2020 at 10:47 AM Deepa <deepamahm.iisc at gmail.com> wrote:
>>
>>> Hello Everyone,
>>>
>>> I want to generate a 3D geometry of the below image.
>>>
>>> [image: ske1.png]
>>>
>>> I could generate a centerline image using image processing tools in
>>> Mathematica.
>>> [image: centerline1.png]
>>>
>>> However, I'm not sure how to make use of this centerline image to create
>>> a 3D geometry.
>>> Any suggestions on how to create the 3D geometry from the above images
>>> in gmsh will be really helpful.
>>>
>>> Thanks a lot,
>>> Deepa
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at onelab.info
>>> http://onelab.info/mailman/listinfo/gmsh
>>>
>>
>>
>> --
>> Max Orok
>> Contractor
>> www.mevex.com
>>
>>
>>

-- 
Max Orok
Contractor
www.mevex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20200107/f1b04e7f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ske1.png
Type: image/png
Size: 1652 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200107/f1b04e7f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centerline1.png
Type: image/png
Size: 1274 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20200107/f1b04e7f/attachment-0001.png>


More information about the gmsh mailing list