Creates a surface by extruding a curve straight along two points that define a line.
rhinoscriptsyntax.ExtrudeCurveStraight (curve_id, start_point, end_point)
rhinoscript.surface.ExtrudeCurveStraight (curve_id, start_point, end_point)
curve_id |
Required. String or Guid. The identifier of the curve object to extrude. |
start_point |
Required. List of 3 numbers or Point3d. A starting point. |
end_point |
Required. List of 3 numbers or Point3d. A ending point. |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
curve = rs.AddCircle(rs.WorldXYPlane(), 5)
rs.ExtrudeCurveStraight( curve, (0,0,0), (0, 10, 10) )