kcl

tangentialArcToRelative

Starting at the current sketch's origin, draw a curved line segment along

some part of an imaginary circle until it reaches a point the given (x, y) distance away.

tangentialArcToRelative(delta: [number], sketch: Sketch, tag?: TagDeclarator) -> Sketch

Arguments

NameTypeDescriptionRequired
delta[number]Yes
sketchSketchA sketch is a collection of paths.Yes
tagTagDeclaratorNo

Returns

Sketch - A sketch is a collection of paths.

Examples

exampleSketch = startSketchOn('XZ')
  |> startProfileAt([0, 0], %)
  |> angledLine({ angle = 45, length = 10 }, %)
  |> tangentialArcToRelative([0, -10], %)
  |> line([-10, 0], %)
  |> close(%)

example = extrude(10, exampleSketch)

Rendered example of tangentialArcToRelative 0