Settings

Choose language

pleat(pattern, point, depth, angle, side)

pleat
Creates a pleat on a whole pattern starting from a point on its contour, of the mentioned width. The direction of the fold is determined by angle. Sides can be 1 (single pleat to the left) or 2 (single pleat to the right).

Function parameters


  • name of a pattern piece
  • name of a point inside the pattern or on its contour
  • desired depth of the pleat
  • angle at which the fold line of the pleat should cross the pattern piece
  • side - 1 stands for single pleat to the left, 2 - single pleat to the right, 3 - box pleat to the left, 4 - box pleat to the right.


Usage


In case you wish to apply pleat function, you need to give a name to your pattern piece.

In this case you should write the name of the pattern, equation sign and then the pattern function, or you may hover a pattern piece after it's been created and read the automatically assigned name in the popover. For example:

triangle=pattern(name("Triangle"),
trace(p1,p2,p3))



We can now create some pleats.
pleat(triangle,p4,3,-90,1)pleat(triangle,p4,3,-90,2)


Previous article

crop (object1,object2,object3)

Back to category

Transformations

Next article

round(x,precision)