updating kcl examples (#2386)

* updating kcl examples

* generate images

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

* add new

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

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Josh Gomez
2024-05-22 09:15:38 -07:00
committed by GitHub
parent 9f815eecc1
commit 718873b3bb
112 changed files with 609 additions and 220 deletions

View File

@ -37,6 +37,18 @@ pub async fn circle(args: Args) -> Result<MemoryItem, KclError> {
///
/// const example = extrude(5, exampleSketch)
/// ```
///
/// ```no_run
/// const exampleSketch = startSketchOn("XZ")
/// |> startProfileAt([-15, 0], %)
/// |> line([30, 0], %)
/// |> line([0, 30], %)
/// |> line([-30, 0], %)
/// |> close(%)
/// |> hole(circle([0, 15], 5, %), %)
///
/// const example = extrude(5, exampleSketch)
///
#[stdlib {
name = "circle",
}]