I am using the OffsetCurveGenerator for two line segments . One is red, the other turquoise on the picture. I am using an interpolation angle of 22.5, corner style : round. You can see the result for two different offsets for the left side on the picture, the one in green is 2, the blue one 1. Why is an offset of 1 generating two line segments which are continuous and not intersecting while an offset of 2 creates intersecting segments ? How can I create the result for an offset of 2 which looks like the one of offset 1? If it is not possible, how can I modify the current result of offset 2 to look like the one of 1 ?
Hi @katt Each line is offset individually. Both red and turquoise lines have endpoints that don't meet when offset by 2 units. It's quite likely that the endpoints aren't the same exact same coordinate at 1 unit offset either. You could use a LineCombiner before the OffsetCurveGenerator or else an Intersector afterward to avoid the dangles.
Hi @katt Each line is offset individually. Both red and turquoise lines have endpoints that don't meet when offset by 2 units. It's quite likely that the endpoints aren't the same exact same coordinate at 1 unit offset either. You could use a LineCombiner before the OffsetCurveGenerator or else an Intersector afterward to avoid the dangles.
Hello @danatsafe , these two lines segments are result of a snipper transformer, so it is originally one line split into two, so the endpoints are definitely touching. So an offset of 1 gives me the perfect result This why I don't understand why an offset of 2m results in this: Two lines that are intersecting but not continuous like an offset of 1.
And an offset of 4 results in this: A straight line which doesn't show the curb like an offset of 1.
Hello @danatsafe , these two lines segments are result of a snipper transformer, so it is originally one line split into two, so the endpoints are definitely touching. So an offset of 1 gives me the perfect result This why I don't understand why an offset of 2m results in this: Two lines that are intersecting but not continuous like an offset of 1.
And an offset of 4 results in this: A straight line which doesn't show the curb like an offset of 1.
Btw I noticed that the offsetcurvegenerator on the right side with an offset of 4 is as expected. The problem is only on the left side.
Hi @katt Please try the attached workspace. It creates offsets of 1, 2, 5 & 10 and uses a NeighborFinder to show the very slight distance between the 2 left 1-unit offsets.