mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +02:00
format
This commit is contained in:
@@ -73,23 +73,23 @@ module body(radius) {
|
|||||||
// eyes
|
// eyes
|
||||||
color("black") {
|
color("black") {
|
||||||
rotate([0, 65, 16])
|
rotate([0, 65, 16])
|
||||||
linear_extrude(radius * 4.25)
|
linear_extrude(radius * 4.25)
|
||||||
eye();
|
eye();
|
||||||
|
|
||||||
rotate([0, 65, -16])
|
rotate([0, 65, -16])
|
||||||
linear_extrude(radius * 4.25)
|
linear_extrude(radius * 4.25)
|
||||||
eye();
|
eye();
|
||||||
}
|
}
|
||||||
|
|
||||||
// eyebrows
|
// eyebrows
|
||||||
color("black") {
|
color("black") {
|
||||||
rotate([0, 55, 20])
|
rotate([0, 55, 20])
|
||||||
linear_extrude(radius * 4.25)
|
linear_extrude(radius * 4.25)
|
||||||
eyebrow();
|
eyebrow();
|
||||||
|
|
||||||
rotate([0, 55, -20])
|
rotate([0, 55, -20])
|
||||||
linear_extrude(radius * 4.25)
|
linear_extrude(radius * 4.25)
|
||||||
eyebrow();
|
eyebrow();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -100,6 +100,7 @@ module arm(radius) {
|
|||||||
linear_extrude(radius) {
|
linear_extrude(radius) {
|
||||||
translate([0, -radius * 0.75, 0])
|
translate([0, -radius * 0.75, 0])
|
||||||
square([radius * 9, radius * 1.5]);
|
square([radius * 9, radius * 1.5]);
|
||||||
|
|
||||||
rotate(80)
|
rotate(80)
|
||||||
translate([0, -radius * 0.5, 0])
|
translate([0, -radius * 0.5, 0])
|
||||||
square([radius * 9, radius]);
|
square([radius * 9, radius]);
|
||||||
@@ -195,12 +196,14 @@ module small_caterpillar(radius) {
|
|||||||
color("white")
|
color("white")
|
||||||
translate([0, 0, 0])
|
translate([0, 0, 0])
|
||||||
sphere(radius / 1.5);
|
sphere(radius / 1.5);
|
||||||
|
|
||||||
color("black")
|
color("black")
|
||||||
translate([.5 * radius, radius / 4, 0])
|
translate([.5 * radius, radius / 4, 0])
|
||||||
sphere(radius / 3);
|
sphere(radius / 3);
|
||||||
|
|
||||||
color("white")
|
color("white")
|
||||||
translate([.655 * radius, radius / 2.75, 0])
|
translate([.655 * radius, radius / 2.75, 0])
|
||||||
sphere(radius / 6);
|
sphere(radius / 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
half_r = radius / 2;
|
half_r = radius / 2;
|
||||||
@@ -212,9 +215,11 @@ module small_caterpillar(radius) {
|
|||||||
|
|
||||||
module caterpillars(radius) {
|
module caterpillars(radius) {
|
||||||
big_caterpillar(radius);
|
big_caterpillar(radius);
|
||||||
|
|
||||||
translate([radius * 3.5, -radius * 4.5, radius * 9.75])
|
translate([radius * 3.5, -radius * 4.5, radius * 9.75])
|
||||||
rotate([0, -15, 0])
|
rotate([0, -15, 0])
|
||||||
scale([0.8, 0.8, 0.8]) small_caterpillar(radius);
|
scale([0.8, 0.8, 0.8])
|
||||||
|
small_caterpillar(radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
caterpillars(5);
|
caterpillars(5);
|
Reference in New Issue
Block a user