Files
modeling-app/docs/kcl-std/profileStartX.md
Nick Cameron 574d6dae7f Add modules to docs (#6699)
* Support modules in docs

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

* shuffle around directories

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-06 11:02:55 +12:00

51 KiB

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

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

profileStartX(profile: Sketch): 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 = -26.6, length = 50)
  |> angledLine(angle = 90, length = 50)
  |> angledLine(angle = 30, endAbsoluteX = profileStartX(%))

Rendered example of profileStartX 0