Remove deprecated syntax (#6561)
* 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>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
fn box = (h, l, w) => {
|
||||
const myBox = startSketchOn(XY)
|
||||
fn box(h, l, w) {
|
||||
myBox = startSketchOn(XY)
|
||||
|> startProfile(at = [0,0])
|
||||
|> line(end = [0, l])
|
||||
|> line(end = [w, 0])
|
||||
@ -10,4 +10,4 @@ fn box = (h, l, w) => {
|
||||
return myBox
|
||||
}
|
||||
|
||||
const fnBox = box(3, 6, 10)
|
||||
fnBox = box(3, 6, 10)
|
||||
|
Reference in New Issue
Block a user