ExtrudeCurveStraight

Creates a surface by extruding a curve straight along two points that define a line.

Syntax

rhinoscriptsyntax.ExtrudeCurveStraight (curve_id, start_point, end_point)

rhinoscript.surface.ExtrudeCurveStraight (curve_id, start_point, end_point)

Parameters

Parameters

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.

Returns

Guid

The identifier of the new object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

curve = rs.AddCircle(rs.WorldXYPlane(), 5)

rs.ExtrudeCurveStraight( curve, (0,0,0), (0, 10, 10) )

Also See

ExtrudeCurve

ExtrudeCurvePoint

ExtrudeCurveTapered

ExtrudeSurface