Settings

Choose language

scale((object1,object2,...),times,angle,(newobject1,newobject2))

scale
Scales objects by x times along the given angle. Very handy for designing patterns from stretchy fabrics.

Function parameters


  • list of objects in brackets, separated by comma
  • times (float, e.g. 2, 0.95, 2.35 etc)
  • angle in degrees, by default 0 degrees
  • (optional) list of new objects in brackets, separated by comma OR name suffix for new objects in double or single quotation marks

    Usage


    If you want to scale objects horizontally and don't need to keep the original ones, leave the third and forth parameter blank, e.g.:If you would like to scale objects at a different angle (diagonally, vertically), add the third parameter - degree in angles.
    scale((neck,armhole,side,centerback),0.9)scale((neck,armhole,side,centerback),0.9,90)


    If you would like to keep both the original and the rotated objects, you have two options:
    Name all new objects one by one, in the same order as the original objects, e.g.:OR create a suffix for new objects that will be automatically added to the names of existing objects, e.g.:
    scale((neck,armhole,side,centerback,p4),0.8,0,
    (neck1,armhole2,side1,centerback3,p4s))
    scale((neck,armhole,side,centerback,p4,p3,g),0.8,0,"n")
  • Previous article

    move((object1,object2,...),line,(newobject1,newobject2))

    Back to category

    Transformations

    Next article

    spread ((object1,....objectx),inner,outer,angle1,angle2,(newobject1,...newobjectx)