ToroidalSurface.from_plane_and_radius

classmethod ToroidalSurface.from_plane_and_radius(plane, radius_axis, radius_pipe)[source]

Construct a sphere from a plane and a radius.

Parameters:
planecompas.geometry.Plane

The plane of the sphere.

radiusfloat

The radius of the sphere.

Returns:
compas.geometry.ToroidalSurface

A sphere.