Version 0.55.1

Curve Closure Operator

Adds the first point to the end of a curve, effectively creating a closed loop.

Signatures

  •   curve1 -><-

Details

Unary operators that attaches a straight line to the first point at the end of the curve, what results in a closed loop. A closed loop is required for certain functions like extrusion().

Example

 curve triangle = <[1.0, 1.0]> -> <[2.0, 1.0]> -> <[1.5, 2.0]> -><-
 make extrusion( triangle, <[0.0, 0.0, 1.0]> )
 

Return value

A copy of the curve that got closed.

Parameters

curve1

The curve object the operator returns a closed copy of.

See also

🗙

Search results for