MeanCurve

Creates a mean, or average, curve from two curves.

Syntax

rhinoscriptsyntax.MeanCurve (curve0, curve1, tolerance=None)

rhinoscript.curve.MeanCurve (curve0, curve1, tolerance=None)

Parameters

curve0

Required.  String or Guid.  The first curve object's identifier.

curve1

Required.  String or Guid.  The second curve object's identifier.

tolerance

Optional.  Number.  The angle tolerance, used to match kinks between curves.

Returns

Guid

The identifier of the new curve object if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

curve0 = rs.GetObject("Select the first curve", rs.filter.curve)

curve1 = rs.GetObject("Select the second curve", rs.filter.curve)

rs.MeanCurve( curve0, curve1 )

Also See

UnitAngleTolerance