OCCNurbsSurface.from_torus
- classmethod OCCNurbsSurface.from_torus(torus, *args, **kwargs)
- Construct a surface from a torus. - Parameters:
- toruscompas.geometry.Torus
- The torus. 
 
- torus
- Returns:
 
Construct a surface from a torus.
compas.geometry.TorusThe torus.