Returns the definition of a cone surface.
rhinoscriptsyntax.SurfaceCone (surface_id)
rhinoscript.surface.SurfaceCone (surface_id)
surface_id |
Required. String or Guid. The surface object's identifier. |
Tuple |
A tuple containing the definition of the cone if successful. The elements of the tuple are as follows:
|
||||||||||||
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
cone = rs.AddCone(rs.WorldXYPlane(), 6, 2, False)
if rs.IsCone(cone):
cone_def = rs.SurfaceCone(cone)
rs.AddCone( cone_def[0], cone_def[1], cone_def[2], False )