kcl →
segEndX
Compute the ending point of the provided line segment along the 'x' axis.
segEndX(tag: TagIdentifier) -> number
Arguments
Name | Type | Description | Required |
---|---|---|---|
tag | TagIdentifier | Yes |
Returns
number
Examples
exampleSketch = startSketchOn('XZ')
|> startProfileAt([0, 0], %)
|> line([20, 0], %, $thing)
|> line([0, 5], %)
|> line([segEndX(thing), 0], %)
|> line([-20, 10], %)
|> close(%)
example = extrude(5, exampleSketch)