* make everything in engine a rwlock and cleanup repetitive code Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * docs Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
331 KiB
331 KiB
title, excerpt, layout
title | excerpt | layout |
---|---|---|
startSketchAt | Start a new 2-dimensional sketch at a given point on the 'XY' plane. | manual |
WARNING: This function is deprecated.
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(end = [10, 0])
|> line(end = [0, 10])
|> line(end = [-10, 0])
|> close()
example = extrude(exampleSketch, length = 5)
exampleSketch = startSketchAt([10, 10])
|> line(end = [10, 0])
|> line(end = [0, 10])
|> line(end = [-10, 0])
|> close()
example = extrude(exampleSketch, length = 5)
exampleSketch = startSketchAt([-10, 23])
|> line(end = [10, 0])
|> line(end = [0, 10])
|> line(end = [-10, 0])
|> close()
example = extrude(exampleSketch, length = 5)