Files
modeling-app/docs/kcl-std/profileStartY.md
Nick Cameron 0621e1a53e Docs content (#6792)
* Add documentation to modules, and some constants and types

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

* Improve the language reference

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-11 19:32:33 +12:00

38 KiB

title, subtitle, excerpt, layout
title subtitle excerpt layout
profileStartY Function in std::sketch 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): number

Arguments

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

Returns

number - A number.

Examples

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

Rendered example of profileStartY 0