Skip to content

Commit 63660c0

Browse files
Update KCL docs (#576)
YOYO NEW KCL DOCS!! Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b753d8b commit 63660c0

38 files changed

+97
-97
lines changed

content/pages/docs/kcl-std/consts/std-math-E.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ E: number = 2.71828182845904523536028747135266250_
1818
```kcl
1919
exampleSketch = startSketchOn(XZ)
2020
|> startProfile(at = [0, 0])
21-
|> angledLine(angle = 30, length = 2 * E ^ 2)
21+
|> angledLine(angle = 30deg, length = 2 * E ^ 2)
2222
|> yLine(endAbsolute = 0)
2323
|> close()
2424

content/pages/docs/kcl-std/consts/std-math-TAU.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TAU: number = 6.28318530717958647692528676655900577_
1818
```kcl
1919
exampleSketch = startSketchOn(XZ)
2020
|> startProfile(at = [0, 0])
21-
|> angledLine(angle = 50, length = 10 * TAU)
21+
|> angledLine(angle = 50deg, length = 10 * TAU)
2222
|> yLine(endAbsolute = 0)
2323
|> close()
2424

content/pages/docs/kcl-std/consts/std-turns-ZERO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ layout: manual
88
No turn, zero degrees/radians.
99

1010
```kcl
11-
turns::ZERO: number = 0
11+
turns::ZERO
1212
```
1313

1414

content/pages/docs/kcl-std/functions/std-math-abs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abs(@input: number): number
2727
### Examples
2828

2929
```kcl
30-
myAngle = -120
30+
myAngle = -120deg
3131
3232
sketch001 = startSketchOn(XZ)
3333
|> startProfile(at = [0, 0])

content/pages/docs/kcl-std/functions/std-math-cos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cos(@num: number(Angle)): number
2929
```kcl
3030
exampleSketch = startSketchOn(XZ)
3131
|> startProfile(at = [0, 0])
32-
|> angledLine(angle = 30, length = 3 / cos(30deg))
32+
|> angledLine(angle = 30deg, length = 3 / cos(30deg))
3333
|> yLine(endAbsolute = 0)
3434
|> close()
3535

content/pages/docs/kcl-std/functions/std-math-max.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ max(@input: [number; 1+]): number
2929
```kcl
3030
exampleSketch = startSketchOn(XZ)
3131
|> startProfile(at = [0, 0])
32-
|> angledLine(angle = 70, length = max([15, 31, 4, 13, 22]))
32+
|> angledLine(angle = 70deg, length = max([15, 31, 4, 13, 22]))
3333
|> line(end = [20, 0])
3434
|> close()
3535

content/pages/docs/kcl-std/functions/std-math-min.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ min(@input: [number; 1+]): number
2929
```kcl
3030
exampleSketch = startSketchOn(XZ)
3131
|> startProfile(at = [0, 0])
32-
|> angledLine(angle = 70, length = min([15, 31, 4, 13, 22]))
32+
|> angledLine(angle = 70deg, length = min([15, 31, 4, 13, 22]))
3333
|> line(end = [20, 0])
3434
|> close()
3535

content/pages/docs/kcl-std/functions/std-math-polar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ polar(
3333
```kcl
3434
exampleSketch = startSketchOn(XZ)
3535
|> startProfile(at = [0, 0])
36-
|> line(end = polar(angle = 30, length = 5), tag = $thing)
36+
|> line(end = polar(angle = 30deg, length = 5), tag = $thing)
3737
|> line(end = [0, 5])
3838
|> line(end = [segEndX(thing), 0])
3939
|> line(end = [-20, 10])

content/pages/docs/kcl-std/functions/std-math-pow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pow(
3333
```kcl
3434
exampleSketch = startSketchOn(XZ)
3535
|> startProfile(at = [0, 0])
36-
|> angledLine(angle = 50, length = pow(5, exp = 2))
36+
|> angledLine(angle = 50deg, length = pow(5, exp = 2))
3737
|> yLine(endAbsolute = 0)
3838
|> close()
3939

content/pages/docs/kcl-std/functions/std-math-sin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sin(@num: number(Angle)): number
2929
```kcl
3030
exampleSketch = startSketchOn(XZ)
3131
|> startProfile(at = [0, 0])
32-
|> angledLine(angle = 50, length = 15 / sin(135deg))
32+
|> angledLine(angle = 50deg, length = 15 / sin(135deg))
3333
|> yLine(endAbsolute = 0)
3434
|> close()
3535

0 commit comments

Comments
 (0)