Add clock and it's components, paths image
This commit is contained in:
20
part_sun.scad
Normal file
20
part_sun.scad
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
$fn=24;
|
||||
//size=5;
|
||||
module sun(size){
|
||||
color("blue");
|
||||
circle(size);
|
||||
for(spot=[0:30:360]){
|
||||
translate([sin(spot)*(size*1.5),cos(spot)*(size*1.5),0]) // position control with radius multiplier
|
||||
rotate([0,0,-spot])
|
||||
square([size/5, size/2],center=true);
|
||||
};
|
||||
}
|
||||
|
||||
color("blue") sun(5);
|
||||
|
||||
translate([-20,0,0])
|
||||
color("red") sun(1);
|
||||
|
||||
translate([30,0,0])
|
||||
color("yello") sun(10);
|
||||
Reference in New Issue
Block a user