A Lozenge Shape is a rectangle terminated on the left and right with semicircles. The Lozenge shares the width and height parameters found in rectangle and adds a segs parameter to specify how many segments the semicircular ends should have.
The radius of the semicircle are equal to half the height and the width includes to the two radii.
The Lozenge has two point handles. On controls the width parameter and the other the height parameter.
The turtle script description of the Lozenge uses all three parameters. It moves the drawing pen to the start of the righthand semicircle, arcs to the left 180 degrees, draws forward and then arcs again.
mov (width-height)/2 -height/2 0
arcl 180 height/2 segs
fwd width-height
arcl 180 height/2 segs
A Shape is a 2D form that is used to generate meshes and define the path of certain other nodes such as a PlanRepeater.
There are three types of Shapes: 1. Parametric, 2. FreeCurve and 3. Compound.
A Shape may be modified based on its thickness, roundness and offset. These values can be applied to a the Shape output as well as the Shape input on other nodes.
The roundness of the Shape determines the degree to which corners will be rounded. A positive value
Theme by Anders Noren — Up ↑
Recent Comments