Cone

class rhino3dm.Cone
Height

float: Gets or sets the height of the circular right cone.

Radius

float: Gets or sets the radius of the cone.

IsValid

bool: True if plane is valid, height is not zero and radius is not zero.

BasePoint

rhino3dm.Point3d: Center of base circle.

ApexPoint

rhino3dm.Point3d: Point at tip of the cone.

Axis

rhino3dm.Vector3d: Unit vector axis of cone.

AngleInRadians
AngleInDegrees
ToNurbsSurface()

Constructs a Nurbs surface representation of this Cone. This is synonymous with calling NurbsSurface.CreateFromCone().

Returns:

A Nurbs surface representation of the cone or null.

Return type:

NurbsSurface

ToBrep(capBottom)

Gets a Brep representation of the cone with a single face for the cone, an edge along the cone seam, and vertices at the base and apex ends of this seam edge. The optional cap is a single face with one circular edge starting and ending at the base vertex.

Parameters:

capBottom (bool) – True if the bottom should be filled with a surface. False otherwise.

Returns:

A brep (polysurface) representation of this cone values.

Return type:

rhino3dm.Brep