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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
>>> [email protected]
>>> http://onelab.info/mailman/listinfo/gmsh
>>>
>>
>>
>> --
>> Max Orok
>> Contractor
>> www.mevex.com
>>
>>
>>

-- 
Max Orok
Contractor
www.mevex.com
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to