Settings

Choose language

split (object,length,newobject1,newobject2)

split
Splits an object into two new objects, following the original object’s direction, and places a point there. The first object begins at the first point of the original object and is of the set length. Can be applied to line, arc, circle, curve and path.

Function parameters


  • name of an object
  • length
  • (optional) name of the first object (from the first point of the object to the new point)
  • (optional) name of the second object (from the new point to the last point of the object)



    Usage


    It is mandatory to name the new point that will be placed on the object. If the names of the new objects are omitted, the function will only place a point at the given length. You can use mathematical equations, variables, object properties and size constants in syntax, e.g.
    p3=split(c1,c1.l*0.4,c11,c12)
  • Previous article

    cut(object,point,angle,newobject1,newobject2)

    Next article

    cross(object,object,newobject1,newobject2,newobject3,newobject4)