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