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:
@ -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",
|
||||
}]
|
||||
|
Reference in New Issue
Block a user