Version 0.55.1

arc_to

A circular arc to a point.

Signatures

  •   arc_to( vector via, vector to )
  •   arc_to( vector to, float radius )
  •   arc_to( vector to, float radius, bool right )
  •   arc_to( vector to, float radius, bool right, bool short )
  •   arc_to( vector to, float radius, bool right, bool short, vector normal )

Details

The arc_to curve segments adds a circular arc to a curve. The arc extends to the given target point to.

In the first constructor, the arc is defined by a given point that it shall pass.

The other constructors are defined by a specific radius plus additional specifications.

The figure shows the four different options for a circular arc towards point to that can be addressed via the parameters right and short. (The normal points outward of the plane into the reader's direction.)

Parameters

via

An intermediate point on the arc.

to

The target point the arc is drawn to.

radius

The radius of the circular arc.

right

Determines whether the arc follows the right-hand rule (true) or not (false) (default: true).

short

Determines whether the arc takes the shorter (true) or the longer (false) of the two possible routes (default: true).

normal

Determines the axis direction of the arc circle. This should be mostly perpendicular to the connection vector between the formerly last point of the curve and to . If it is found to be parallel to this connection, an alternative orthogonal axis is used. (default: <[0,0,1]>).

See also

🗙

Search results for