openscad-playground icon indicating copy to clipboard operation
openscad-playground copied to clipboard

Color

Open joeskeen opened this issue 11 months ago • 2 comments

According to the OpenSCAD User Manual/First Steps/Changing the color of an object example:

color([1,0,0]) cube([2,3,4]);
translate([3,0,0])
color([0,1,0]) cube([2,3,4]);
translate([6,0,0])
color([0,0,1]) cube([2,3,4]);

should look like this: image

but in the openscad playground looks like this: image

Having different pieces rendered in different colors is very useful when designing practical parts that may fit around other pieces.

joeskeen avatar Aug 02 '23 00:08 joeskeen