* 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>
51 KiB
51 KiB
title, subtitle, excerpt, layout
title | subtitle | excerpt | layout |
---|---|---|---|
profileStartX | Function in std::sketch | 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
- A 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(%))