farrellm / scad-clj

OpenSCAD DSL in Clojure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scale attribute for extrude-linear outputs clojure array (without commas) which is a syntax error in openSCAD

dantheobserver opened this issue · comments

If I do a linear extrude on a model with a scale property as follows
extrude-linear {:height body-height :scale [1 0.1] :center false}

what outputs is the following in openscad

linear_extrude (height=62.02, scale=[1 0.1])

this is a syntax error.
I think when write-expression encounters clojure arrays it should comma separate them to be save.

seems resolved by 07eca12, just needs a release