Connect (close) open corners

Hi,
any suggestions, on how to properly connect such open corners? I have painstakingly opened them, removing false creases from the corner, and not I would need to find the intersection points of polylines.

Connect Curves chamfers the edge, even with 0 setting.

1 Like

You can extend curves to get the intersection, are they all planar and 90 corners? Posting the geometry always helps.

The extension lengths are arbitrary and the angles are arbitrary. Curves are planar and on XY.
The pic posted is a simpler case. There are hundreds of different ones.

Here’s a way, there’s probably better, but should work grafted


re_planar_open_curve.gh (9.0 KB)

2 Likes

If they are all rectangular you could do a bounding rectangle (pufferfish)

If they are lines, their intersection point can be determined without lengthening them.

@Toni_Osterlund you didn’t post any test geometry. Surely you know better?

1 Like

Check this as well.


Closed Polyline_re.gh (10.3 KB)

3 Likes

@HS_Kim
Thank you, this did the trick! The curves were already sorted as they were once one polyline, so I could just take the shift-intersection part.


@Joseph_Oster @Japhy Sorry, about the lack of geometry. It was the end of the day cry for help.
I could explain a bit about the big picture here. This part is related to my work on massive timber plate fabrication (CLT, LVL) and automated toolpath generation from IFC model to Hundegger machine using BVX file format.

The issue is that I need the geometric outline of each piece (basically TOP view footprint), which is easy if the edges are perpendicular. But once you have to tilted edges meeting, then the part outline is not sufficient in generating correct geometry.
This is one case.


Where it’s easy to see what the ‘correct’ shape would need to be.

And then you have these kinds of monstrosities (this is TOP view), where the outline is a bit harder to find.

But this now seems to work!

Thank you!

1 Like