* Remove deprecated syntax Signed-off-by: Nick Cameron <nrc@ncameron.org> * fix one test * fix sketch on revolved face test * fix test: empty-scene default-planes act as expected * fix up more tests * another fix * remove another const --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
10 lines
219 B
Plaintext
10 lines
219 B
Plaintext
center = [0,0]
|
|
radius = 40
|
|
height = 3
|
|
|
|
body = startSketchOn(XY)
|
|
|> startProfile(at = [center[0]+radius, center[1]])
|
|
|> arc(angleEnd = 360, angleStart = 0, radius = radius)
|
|
|> close()
|
|
|> extrude(length = height)
|