yongg0323
(Yongg0323)
February 12, 2021, 11:50am
1
Extend_Line.gh (16.1 KB)
Hello, thank you always for the forum.
I’m writing because I have something I want to get advice from.
I’m thinking about how to extend it like the attached picture using several lines, but I don’t have a clue about the solution, so I’d like to ask for your advice.
Please advise if there is a good way.
The curves don’t touch each other? So you need to Extend Curve and then find intersection points. However, your curves are not all co-planar so they don’t all intersect. You can project them to a plane and then it will work:
[boundary_curves_2021Feb1a]
boundary_curves_2021Feb1a.gh (6.5 KB)
Getting rectangles from this is another step… Several ways to do it but it’s a little more complicated and they won’t be where you have them now.
But this doesn’t solve all issues, such as what to do about overlapping lines.
1 Like
Hello
there is no good way better than your way. The better advice is you implement the rules you want. Because I don’t see which logic for that
I gave a try with Gilbert Tessellation but, I didn’t cut the curves at the intersection
Slightly better with 2 tesselations
Incesteous Network from Heteroptera plugin
1 Like
yongg0323
(Yongg0323)
February 12, 2021, 12:42pm
4
The way I want is to modify the existing line, and it wasn’t to make a new line. Thanks for your reply!
Let me think about it again.
yongg0323
(Yongg0323)
February 12, 2021, 12:45pm
5
Thank you for your answer.
I think I need to make my thoughts more concrete.
Ok, so I think the best is you make a program, a bit like Gilbert Tessellation (the sources are visible) and you tune it for your need.
After some works on Gilbert Tessellations
I found some problems with my script, the logic was not very good to handle multiple cracks and curve in general (not just lines). It was quite long to find the good algorithm. Here is one version, that I am pretty happy with. Not very fast but it seems to work. The logic is quite simple.
Take curves, says that a curve represant the trajectory of a crack, this crack begins at the start point of the curve, it goes at constant velocity and continue unt…
1 Like
yongg0323
(Yongg0323)
February 12, 2021, 1:04pm
7
Thank you. Let me check the appropriate add-on.
What’s the point of starting with curves that already intersect? Use the geometry that was presented in the first post where the line segments don’t touch each other.
1 Like
yongg0323
(Yongg0323)
February 12, 2021, 3:47pm
10
I think it’s a good attempt, but I don’t think it’s the result I want.
yongg0323
(Yongg0323)
February 12, 2021, 3:50pm
11
To explain further, it is the centerline extracted from the Steel Frame drawing, and it is an attempt to obtain the boundaries of the deck plate.
Check this , in the result there are very little surfaces you can cull them based on their areas or you can use polyline collapse
You need fennec addon to use Regions component
Extend_Line.gh (22.8 KB)
2 Likes
haha sorry it was my fault, I misunderstood the topic
NDM
(NDM)
February 22, 2023, 3:07am
15
Hi Sir.
I have downloaded the plugin but I do not see the component sample. Please help me.
Use the component called Regions
1 Like
NDM
(NDM)
February 22, 2023, 3:44am
17
It’s very useful. Thank you so much.