RhinoNurbsCurve.divide_by_count

RhinoNurbsCurve.divide_by_count(count, return_points=False)[source]

Divide the curve into a specific number of equal length segments.

Parameters
  • count (int) – The number of segments.

  • return_points (bool, optional) – If True, return the list of division parameters, and the points corresponding to those parameters. If False, return only the list of parameters.

Returns

list of float or tuple of list of float and list of compas.geometry.Point – The parameters defining the discretisation, and potentially the points corresponding to those parameters.