14 lines
241 B
Plaintext
14 lines
241 B
Plaintext
![]() |
fn box = (p, h, l, w) => {
|
||
|
myBox = startSketchOn('XY')
|
||
|
|> startProfileAt(p, %)
|
||
|
|> line([0, l], %)
|
||
|
|> line([w, 0], %)
|
||
|
|> line([0, -l], %)
|
||
|
|> close(%)
|
||
|
|> extrude(h, %)
|
||
|
|
||
|
return myBox
|
||
|
}
|
||
|
|
||
|
thing = box([0, 0], 3, 6, 10)
|