Hello,
I am trying to get control points out of a Grasshopper custom component that takes nurbs geometry as input. So similar to the curve “Control Points” or the “Surface Points” features.
Problem is, having registered a Point parameter using AddPointParameter in the RegisterOutputParams methode, I can only output objects of type GH_Point or if I am right objects that can be casted into a GH_Point like Point3ds. No control points.
Converting ControlPoints into GH_Point using GH_Convert doesn’t work, but if it would, I guess I would loose the controlPoint properties anyway.
I tried registering GeometryParameter resp. GenericParameter, but it doesn’t lead to the objectiv either.
So, is there a way to output control points? Any help appreciated, thank you!