Difference applies color of removed object to interface
Author: retospectCreated Oct 10, 2013Updated Sep 10, 2026
LabelsDep: OpenCSGTag: Rendering
difference() { union() { translate([0,0,1]) color("green") cube([1,1,1]); color("red") cube([1,1,1]); }; translate([-.5, -.5, -.5]) color("pink") cube([2,1,3]); }
From two cubes of different color, a third, pink cube is removed. The exposed interface is pink (the color of the invisible object that was used to cut), instead of the color of the cubes that were there originally
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Source: openscad/openscad