Creates a mean, or average, curve from two curves.
rhinoscriptsyntax.MeanCurve (curve0, curve1, tolerance=None)
rhinoscript.curve.MeanCurve (curve0, curve1, tolerance=None)
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. |
Guid |
The identifier of the new curve object if successful. |
None |
If not successful, or on error. |
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 )