sawtooth
Creates a sawtooth pattern (e.g. mountain/valley zigzag) of a user specified width with a user specified number of teeth in the sawtooth as described by the segments parameter

Parameters
ends: the number of ends in the structurepics: the number of pics in the structuresegments: the number horizontal segments to divide the structure into. A diagonal line of an alternating direction will be placed into each segment.
Application
Can be used to generated pointed threadings and treadlings.
Developer
adacad id: sawtooth