Previous: ``` startProfileAt([x, y], %) startProfileAt([x, y], sketch001) ``` New: ``` startProfile(%, at = [x, y]) startProfile(sketch001, at = [x, y]) ```
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
const center = [0,0]
|
|
const radius = 40
|
|
const height = 3
|
|
|
|
const body = startSketchOn(XY)
|
|
|> startProfile(at = [center[0]+radius, center[1]])
|
|
|> arc(angleEnd = 360, angleStart = 0, radius = radius)
|
|
|> close()
|
|
|> extrude(length = height)
|