kcl →
angledLine
Draw a line segment relative to the current origin using the polar measure of some angle and distance.
angledLine(
data: AngledLineData,
sketch: Sketch,
tag?: TagDeclarator,
): Sketch
Arguments
Name | Type | Description | Required |
---|---|---|---|
data | AngledLineData | Data to draw an angled line. | Yes |
sketch | Sketch | Yes | |
tag | TagDeclarator | No |
Returns
Examples
exampleSketch = startSketchOn(XZ)
|> startProfileAt([0, 0], %)
|> yLine(endAbsolute = 15)
|> angledLine({ angle = 30, length = 15 }, %)
|> line(end = [8, -10])
|> yLine(endAbsolute = 0)
|> close()
example = extrude(exampleSketch, length = 10)