Files
modeling-app/docs/kcl/profileStartY.md
Nick Cameron c050739f41 Some improvements to the boxed signatures in the docs (#6593)
* Show a more reasonable name in function docs

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

* Fix buggy docs for union types

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

* Make types in the docs signatures into links

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-04-30 16:03:22 +00:00

38 KiB

title, excerpt, layout
title excerpt layout
profileStartY Extract the provided 2-dimensional sketch's profile's origin's 'y' value. manual

Extract the provided 2-dimensional sketch's profile's origin's 'y' value.

profileStartY(profile: [Sketch](/docs/kcl/types/Sketch)): [number](/docs/kcl/types/number)

Arguments

Name Type Description Required
profile Sketch Profile whose start is being used Yes

Returns

number

Examples

sketch001 = startSketchOn(XY)
  |> startProfile(at = [5, 2])
  |> angledLine(angle = -60, length = 14)
  |> angledLine(angle = 30, endAbsoluteY = profileStartY(%))

Rendered example of profileStartY 0