Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Mar 13, 2024
1 parent b78b01c commit 446e5e9
Show file tree
Hide file tree
Showing 13 changed files with 211 additions and 40 deletions.
86 changes: 64 additions & 22 deletions docs/kcl/std.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = abs(-4)"
]
},
{
"name": "acos",
Expand Down Expand Up @@ -55,7 +57,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = acos(0.5)"
]
},
{
"name": "angleToMatchLengthX",
Expand Down Expand Up @@ -15955,7 +15959,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = asin(0.5)"
]
},
{
"name": "atan",
Expand Down Expand Up @@ -15984,7 +15990,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = atan(0.5)"
]
},
{
"name": "bezierCurve",
Expand Down Expand Up @@ -17997,7 +18005,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = ceil(4.5)"
]
},
{
"name": "circle",
Expand Down Expand Up @@ -21272,7 +21282,7 @@
"unpublished": false,
"deprecated": false,
"examples": [
"const angle = cos(2 * pi())\n"
"const anotherVar = cos(2 * pi())"
]
},
{
Expand All @@ -21292,7 +21302,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = e()"
]
},
{
"name": "extrude",
Expand Down Expand Up @@ -24619,7 +24631,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = floor(4.5)"
]
},
{
"name": "getExtrudeWallTransform",
Expand Down Expand Up @@ -38391,7 +38405,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = ln(4)"
]
},
{
"name": "log",
Expand Down Expand Up @@ -38429,7 +38445,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = log(4, 2)"
]
},
{
"name": "log10",
Expand Down Expand Up @@ -38458,7 +38476,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = log10(4)"
]
},
{
"name": "log2",
Expand Down Expand Up @@ -38487,7 +38507,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = log2(4)"
]
},
{
"name": "max",
Expand Down Expand Up @@ -38519,7 +38541,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = max(4, 5, 6)"
]
},
{
"name": "min",
Expand Down Expand Up @@ -38551,7 +38575,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = min(4, 5, 6)"
]
},
{
"name": "patternCircular2d",
Expand Down Expand Up @@ -45663,7 +45689,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = pi() * 3.0"
]
},
{
"name": "pow",
Expand Down Expand Up @@ -45701,7 +45729,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = pow(4, 2)"
]
},
{
"name": "segAng",
Expand Down Expand Up @@ -49686,7 +49716,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = sin(2 * pi())"
]
},
{
"name": "sqrt",
Expand Down Expand Up @@ -49715,7 +49747,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = sqrt(4)"
]
},
{
"name": "startProfileAt",
Expand Down Expand Up @@ -53341,7 +53375,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = tan(2 * pi())"
]
},
{
"name": "tangentialArc",
Expand Down Expand Up @@ -57312,7 +57348,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = tau()"
]
},
{
"name": "to_degrees",
Expand Down Expand Up @@ -57341,7 +57379,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = rad_to_deg(2 * pi())"
]
},
{
"name": "to_radians",
Expand Down Expand Up @@ -57370,7 +57410,9 @@
},
"unpublished": false,
"deprecated": false,
"examples": []
"examples": [
"const myVar = deg_to_rad(180)"
]
},
{
"name": "xLine",
Expand Down
Loading

0 comments on commit 446e5e9

Please sign in to comment.