Updating KCL examples on docs (#2355)

* updating KCL examples on docs

* update images and docs

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Josh Gomez
2024-05-14 17:10:47 -07:00
committed by GitHub
parent 26438270ff
commit 97ad66a358
100 changed files with 1210 additions and 657 deletions

View File

@ -32,17 +32,10 @@ pub async fn circle(args: Args) -> Result<MemoryItem, KclError> {
/// Sketch a circle.
///
/// ```no_run
/// const circles = startSketchOn('XY')
/// |> circle([5, 5], 1, %)
/// |> patternLinear2d({axis: [1,1], repetitions: 12, distance: 3}, %)
/// const exampleSketch = startSketchOn("-XZ")
/// |> circle([0, 0], 10, %)
///
/// const rectangle = startSketchOn('XY')
/// |> startProfileAt([0, 0], %)
/// |> line([0, 50], %)
/// |> line([50, 0], %)
/// |> line([0, -50], %)
/// |> close(%)
/// |> hole(circles, %)
/// const example = extrude(5, exampleSketch)
/// ```
#[stdlib {
name = "circle",