RevSurface

class rhino3dm.RevSurface
RevSurface()

RevSurface constructor

static Create(revoluteCurve, axisOfRevolution, startAngle, endAngle)

Constructs a new surface of revolution from a generatrix curve and an axis. This overload accepts a slice start and end angles.

Parameters:
  • revoluteCurve (rhino3dm.Curve) – A generatrix.
  • axisOfRevolution (Line) – An axis.
  • startAngleRadians (float) – An angle in radians for the start.
  • endAngleRadians (float) – An angle in radians for the end.
Returns:

A new surface of revolution, or None if any of the inputs is invalid or on error.

Return type:

RevSurface