RhinoCommon - Draw Bezier Curve (Screen 2D)

Hello,

I know in Eto you can create bezier curves and in RhinoCommon you have some limited functionality allowing you to draw a line or rectangle on the screen:

Eto:

RhinoCommon:

https://developer.rhino3d.com/api/rhinocommon/rhino.display.displaypipeline/draw2dline#(point,point,color,single)

There’s not a way to draw a bezier curve on the screen with RhinoCommon that I am missing is there?

Thanks for clarifying!

Hi @michaelvollrath,

Convert the Bezier to NURBS (BezierCurve.ToNurbsCurve) and then draw the NURBS curve using DisplayPipeline.DrawCurve.

– Dale

1 Like

Thanks Dale, that makes sense!