kcl →
profileStartX
Extract the provided 2-dimensional sketch's profile's origin's 'x'
value.
profileStartX(sketch: Sketch) -> number
Arguments
Name | Type | Description | Required |
---|---|---|---|
sketch | Sketch | A sketch is a collection of paths. | Yes |
Returns
number
Examples
sketch001 = startSketchOn('XY')
|> startProfileAt([5, 2], %)
|> angledLine([-26.6, 50], %)
|> angledLine([90, 50], %)
|> angledLineToX({ angle = 30, to = profileStartX(%) }, %)