Files
modeling-app/rust/kcl-lib/e2e/executor/inputs/close_arc.kcl
2025-04-18 17:40:44 -05:00

10 lines
259 B
Plaintext

const center = [0,0]
const radius = 40
const height = 3
const body = startSketchOn(XY)
|> startProfileAt([center[0]+radius, center[1]], %)
|> arc(angleEnd = 360, angleStart = 0, radius = radius)
|> close()
|> extrude(length = height)