Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

33,929 changes: 0 additions & 33,929 deletions content/kcl-test-outputs/models/serial_test_example_fn_std-helix0_output.gltf

This file was deleted.

33,929 changes: 0 additions & 33,929 deletions content/kcl-test-outputs/models/serial_test_example_fn_std-helix1_output.gltf

This file was deleted.

33,929 changes: 0 additions & 33,929 deletions content/kcl-test-outputs/models/serial_test_example_fn_std-helix2_output.gltf

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
24 changes: 0 additions & 24 deletions content/pages/docs/kcl-std/functions/std-array-concat.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ assert(count(newArr), isEqualTo = 6, tolerance = 0.00001)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the concat function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-concat0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-concat0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
// Concatenating an empty array has no effect.
Expand All @@ -69,17 +57,5 @@ assert(count(newArr), isEqualTo = 3, tolerance = 0.00001)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the concat function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-concat1_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-concat1.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


12 changes: 0 additions & 12 deletions content/pages/docs/kcl-std/functions/std-array-count.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,5 @@ assert(count(arr1), isEqualTo = 3)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the count function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-count0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-count0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


24 changes: 0 additions & 24 deletions content/pages/docs/kcl-std/functions/std-array-flatten.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ assert(flat[3], isEqualTo = 4)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the flatten function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-flatten0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-flatten0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
arr = [[1, 2], [3, [4]]]
Expand All @@ -63,17 +51,5 @@ assert(flat[3][0], isEqualTo = 4)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the flatten function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-flatten1_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-flatten1.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


26 changes: 2 additions & 24 deletions content/pages/docs/kcl-std/functions/std-array-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,7 @@ circles = map([1..3], f = drawCircle)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the map function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-map0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-map0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of map 0](/kcl-test-outputs/serial_test_example_fn_std-array-map0.png)

```kcl
r = 10 // radius
Expand All @@ -73,17 +62,6 @@ circles = map(
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the map function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-map1_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-map1.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of map 1](/kcl-test-outputs/serial_test_example_fn_std-array-map1.png)


12 changes: 0 additions & 12 deletions content/pages/docs/kcl-std/functions/std-array-pop.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,5 @@ assert(
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the pop function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-pop0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-pop0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


12 changes: 0 additions & 12 deletions content/pages/docs/kcl-std/functions/std-array-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,5 @@ assert(
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the push function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-push0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-push0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


37 changes: 1 addition & 36 deletions content/pages/docs/kcl-std/functions/std-array-reduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ assert(
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the reduce function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-reduce0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-reduce0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
// This example works just like the previous example above, but it uses
Expand All @@ -102,18 +90,6 @@ assert(
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the reduce function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-reduce1_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-reduce1.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
// Declare a function that sketches a decagon.
Expand Down Expand Up @@ -164,17 +140,6 @@ decagon(5.0)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the reduce function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-reduce2_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-reduce2.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of reduce 2](/kcl-test-outputs/serial_test_example_fn_std-array-reduce2.png)


36 changes: 0 additions & 36 deletions content/pages/docs/kcl-std/functions/std-array-slice.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ assert(count(s), isEqualTo = 2)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the slice function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-slice0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-slice0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
s = slice([1, 2, 3, 4, 5], end = -2)
Expand All @@ -72,18 +60,6 @@ assert(count(s), isEqualTo = 3)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the slice function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-slice1_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-slice1.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>

```kcl
s = slice([1, 2, 3, 4, 5], start = -2)
Expand All @@ -94,17 +70,5 @@ assert(count(s), isEqualTo = 2)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the slice function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-array-slice2_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-array-slice2.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


12 changes: 0 additions & 12 deletions content/pages/docs/kcl-std/functions/std-math-rem.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,5 @@ assert(rem(6.5, divisor = 2), isEqualTo = 0.5, error = "remainder is 0.5")
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the rem function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-math-rem0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-math-rem0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>


13 changes: 1 addition & 12 deletions content/pages/docs/kcl-std/functions/std-offsetPlane.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,6 @@ startSketchOn(offsetPlane(XY, offset = 4))
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the offsetPlane function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-offsetPlane4_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-offsetPlane4.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of offsetPlane 4](/kcl-test-outputs/serial_test_example_fn_std-offsetPlane4.png)


13 changes: 1 addition & 12 deletions content/pages/docs/kcl-std/functions/std-sketch-ellipse.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ exampleSketch = startSketchOn(XY)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the ellipse function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-sketch-ellipse0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-sketch-ellipse0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of ellipse 0](/kcl-test-outputs/serial_test_example_fn_std-sketch-ellipse0.png)


Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ assert(point001[1], isEqualTo = point002[1])
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the ellipticPoint function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-sketch-ellipticPoint0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-sketch-ellipticPoint0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of ellipticPoint 0](/kcl-test-outputs/serial_test_example_fn_std-sketch-ellipticPoint0.png)


13 changes: 1 addition & 12 deletions content/pages/docs/kcl-std/functions/std-sketch-hyperbolic.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@ exampleSketch = startSketchOn(XY)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the hyperbolic function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-sketch-hyperbolic0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-sketch-hyperbolic0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of hyperbolic 0](/kcl-test-outputs/serial_test_example_fn_std-sketch-hyperbolic0.png)


Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ point = hyperbolicPoint(x = 5, semiMajor = 2, semiMinor = 1)
```


<model-viewer
class="kcl-example"
alt="Example showing a rendered KCL program that uses the hyperbolicPoint function"
src="/kcl-test-outputs/models/serial_test_example_fn_std-sketch-hyperbolicPoint0_output.gltf"
ar
environment-image="/moon_1k.hdr"
poster="/kcl-test-outputs/serial_test_example_fn_std-sketch-hyperbolicPoint0.png"
shadow-intensity="1"
camera-controls
touch-action="pan-y"
>
</model-viewer>
![Rendered example of hyperbolicPoint 0](/kcl-test-outputs/serial_test_example_fn_std-sketch-hyperbolicPoint0.png)


Loading
Loading