Files
modeling-app/docs/kcl-std/functions/std-sketch-involuteCircular.md
Nick Cameron 3936017f10 Tag types (#7458)
* Replace tag type with tagIdent and tagDecl

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Replace tagIdent with TaggedEdge and TaggedFace

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-06-16 09:10:36 +12:00

39 KiB

title, subtitle, excerpt, layout
title subtitle excerpt layout
involuteCircular Function in std::sketch Extend the current sketch with a new involute circular curve. manual

Extend the current sketch with a new involute circular curve.

involuteCircular(
  @sketch: Sketch,
  startRadius: number(Length),
  endRadius: number(Length),
  angle: number(Angle),
  reverse?: bool,
  tag?: TagDecl,
): Sketch

Arguments

Name Type Description Required
sketch Sketch Which sketch should this path be added to? Yes
startRadius number(Length) The involute is described between two circles, start_radius is the radius of the inner circle. Yes
endRadius number(Length) The involute is described between two circles, end_radius is the radius of the outer circle. Yes
angle number(Angle) The angle to rotate the involute by. A value of zero will produce a curve with a tangent along the x-axis at the start point of the curve. Yes
reverse bool If reverse is true, the segment will start from the end of the involute, otherwise it will start from that start. No
tag TagDecl Create a new tag which refers to this line. No

Returns

Sketch - A sketch is a collection of paths.

Examples

a = 10
b = 14
startSketchOn(XZ)
  |> startProfile(at = [0, 0])
  |> involuteCircular(startRadius = a, endRadius = b, angle = 60deg)
  |> involuteCircular(
       startRadius = a,
       endRadius = b,
       angle = 60deg,
       reverse = true,
     )

Rendered example of involuteCircular 0