jscad / OpenJSCAD.org

JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
https://openjscad.xyz/
MIT License
2.66k stars 514 forks source link

Enhancement: Support setColor() for 2D objects (CAG) #56

Closed matthijskooijman closed 8 years ago

matthijskooijman commented 9 years ago

It seems setColor is only supported for 3D objects? I'd need to color my 2D objects too, since our lasercutter uses color for deciding wether to cut, engrave or mark.

z3dev commented 8 years ago

I changed the title as this is really an enhancement request.

I also would like to see this functionality.

Sadly, the CSG library needs changes to support colors on 2D objects. There's no expected delivery date either.