RhinoCurveObject.move_start

RhinoCurveObject.move_start()[source]

Move the starting point of the curve.

Returns:

bool – True if the operation was a success. False otherwise.

Examples

import compas_rhino
from compas.geometry import Curve
from compas_ui.objects import Object

curve = Curve([0, 0, 0], [1, 0, 0])

curveobj = Object(curve)
curveobj.draw()

compas_rhino.redraw()

if curveobj.move_start():
    curveobj.clear()
    curveobj.draw()