Joining Polyline Curves and Planar Curves

Hey gang,

I was hoping to join these curves as 1 planar/ polyline curves, not a collection of both before i offset them to introduce thickness to these fin likecurves. .

Goal


Polyline curves.gh (39.1 KB)

Appreciate it as always gang.

Kindest,
LL

Planar curve simply means all the points on the curve lie on a single plane.

Polyline simply means the curve is created by a number of linear segments, which may or may not lie on a single plane.

Which means that the attribute of planarity is different and independent from the attribute of polylinearity.

You can convert any curve into a polyline by rebuilding it to a degree one curve.

You can convert any curve into a planer curve by projecting all of its control points on a plane.

Neither method is hard to implement. Nor should it matter what types of curves you are working with in most cases.

To be able to help you in any meaningful way, you’d need to describe exactly what is your contention with the fact that some curves are polyline and some others are planar. Do you have a preference? What’s your end goal?

Thanks for this @adel.albloushi .
Im away from GH atm but i wonder if that affects why i couldn’t join my curves into one unifying curve ( Yellow line in 1st screengrab above ) or if its a data structure issue. At the moment, they’re broken into a top curve and a bottom curve ( you’ll see it when you flatten and select them with the list item component )

LL

you simply need to flatten the input

on the left, you see that baked output. the two sections are correctly joined

there is one problem tho… since this set of curve pair at the sides of your “umbrellas” have touching ends, they will also join, as bellow
image