kcl →
startSketchAt
Start a new 2-dimensional sketch at a given point on the 'XY' plane.
startSketchAt(data: [number]) -> Sketch
Arguments
Name | Type | Description | Required |
---|---|---|---|
data | [number] | Yes |
Returns
Sketch
- A sketch is a collection of paths.
Examples
exampleSketch = startSketchAt([0, 0])
|> line([10, 0], %)
|> line([0, 10], %)
|> line([-10, 0], %)
|> close(%)
example = extrude(5, exampleSketch)
exampleSketch = startSketchAt([10, 10])
|> line([10, 0], %)
|> line([0, 10], %)
|> line([-10, 0], %)
|> close(%)
example = extrude(5, exampleSketch)
exampleSketch = startSketchAt([-10, 23])
|> line([10, 0], %)
|> line([0, 10], %)
|> line([-10, 0], %)
|> close(%)
example = extrude(5, exampleSketch)