Get Polyline Curve from Polyline[]

Hi,

How do I get the PolylineCurve from Polyline? In C# component, it returns a Polyline Curve object when using the GetNakedEdges() method from Rhino.Geometry.Mesh

Thanks

You should be able to use this constructor:

https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.polylinecurve/polylinecurve#(ienumerable<point3d>)

Think you might have pasted the Chat GPT prompt instead of the answer there:

Thank you

1 Like

Dear Chat GPT, what is ad hominem reasoning?

Seriously though. While the Discourse terms of service does not yet have an explicit rule that one must declare content as Chat GPT generated, I does โ€œfeelโ€ like an informal rule. Considering that one can flag content suspected as being Chat GPT, and it will be removed. Also, I flagged your weird PM:

And apologies to @David_Manango for going further of topic here.

Edit: Oh wait, adapt to this one: