diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-07 14:59:10 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-07 14:59:10 (GMT) |
commit | daddf419b00f086ab64834269c7a7d3ab7412aca (patch) | |
tree | b89aad61635f66a127e1b19fd8a832b4eab301b4 /examples | |
parent | a74cb7f221237658fe069f80e410f7ea1c034b14 (diff) |
Clifford Wolf:
Added color() statement
git-svn-id: http://svn.clifford.at/openscad/trunk@227 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example017.scad | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/example017.scad b/examples/example017.scad index d6c9173..2b624e2 100644 --- a/examples/example017.scad +++ b/examples/example017.scad @@ -99,10 +99,9 @@ module exploded() translate([ 0, 0, total_height + thickness ]) linear_extrude(height = thickness, convexity = 4) shape_inner_disc(); linear_extrude(height = thickness, convexity = 4) shape_outer_disc(); - for (alpha = [ 0, 120, 240 ]) + color([ 0.7, 0.7, 1 ]) for (alpha = [ 0, 120, 240 ]) rotate(alpha) translate([ 0, thickness*2 + locklen1 + inner1_to_inner2 + boltlen + midhole, 1.5*thickness ]) rotate([ 90, 0, -90 ]) linear_extrude(height = thickness, convexity = 10, center = true) shape_tripod(); - } module assembled() @@ -110,10 +109,9 @@ module assembled() translate([ 0, 0, total_height - thickness*2 ]) linear_extrude(height = thickness, convexity = 4) shape_inner_disc(); linear_extrude(height = thickness, convexity = 4) shape_outer_disc(); - for (alpha = [ 0, 120, 240 ]) + color([ 0.7, 0.7, 1 ]) for (alpha = [ 0, 120, 240 ]) rotate(alpha) translate([ 0, thickness*2 + locklen1 + inner1_to_inner2 + boltlen + midhole, 0 ]) rotate([ 90, 0, -90 ]) linear_extrude(height = thickness, convexity = 10, center = true) shape_tripod(); - } parts(); |