Mesh from line segments

Hi all,
Any idea how to make mesh from a list of Line segments?
I have a curve frame/ divide those curves by 0.25 and convert them into 0.25 Line segments/
Then I want to generate a mesh from those segments.
Any help would be appreciate!
(Min/ Max of mesh should be equal to segments length)


meshfromlines-190824.gh (4.6 KB)


meshfromlines-190824_reV1.gh (8.6 KB)

2 Likes

Thank you Kim, however, I dont know why the code doesnt work in my gh.
It shows “1. Solution exception:Index was outside the bounds of the array.”

You can also use MeshMachineStatic.



meshfromlines-190824_reV2(Meshmachine).gh (12.3 KB)

Thank you Kim, is there any way to fix error “1. Solution exception:Index was outside the bounds of the array.” If I want to use Simpleremesh your first solution?

Hi Kim,
Could you pls. advise how we could avoid inner mesh as in 1 & 2 when using Delaunay Mesh


meshfromlines-190913.gh (12.9 KB)

This could be one way.


meshfromlines-190913_re.gh (20.4 KB)

Thank you Kim, I try to use Kangaroo to relax it but it shows invalid mesh, not sure how to solve it?
image
meshfromlines-190913_re-1.gh (40.0 KB)

When I checked your file, I don’t think there’s any problem with your mesh.

1 Like

I try to make another shape and the form looks weird, not sure which part is missing.
Thank you for your time :slightly_smiling_face:


issue101119.gh (21.8 KB)