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.63k stars 512 forks source link

color transparency fails except for red? #132

Closed biscuitlad closed 7 years ago

biscuitlad commented 8 years ago

box = color("palegreen", 0.8, box); //fails lid = color("red", 0.8, lid); //works

Red will be transparent, any other colour seems to fail. You can swap these and still one will fail and the other work.

z3dev commented 8 years ago

@biscuitlad you found a bug. I'm not sure what the issue is at this time, but was able to reproduce the issue.

It seems that other color names do not work, like "blue", "palegreen", etc. And as you mentioned, "red" works.

z3dev commented 7 years ago

This issue was moved to jscad/scad-api#3