diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-02 21:33:18 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-02 21:33:18 (GMT) |
commit | 287c20d2ff1f737acb414b3eda4969356c02c4fe (patch) | |
tree | 786e3415fb398dd4017f893bfbff224e0eaf82bc /testdata | |
parent | 818af2bcfc92f1b1d7cccb6937a481afb7517086 (diff) |
Added color-tests
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/features/color-tests.scad | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/scad/features/color-tests.scad b/testdata/scad/features/color-tests.scad new file mode 100644 index 0000000..a87dad3 --- /dev/null +++ b/testdata/scad/features/color-tests.scad @@ -0,0 +1,10 @@ +module object() cube([10,10,10]); + +translate([12,12,0]) object(); +color([1,0,0]) translate([24,12,0]) object(); +translate([0,12,0]) color([0,1,1]) object(); +color([0,0,1,0.5]) object(); +translate([12,0,0]) color([0,0,1],0.5) object(); +translate([24,0,0]) color(c="Green",alpha=0.2) object(); +translate([-12,12,0]) color() object(); +translate([-12,0,0]) color(alpha=0.5) object(); |