mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 22:37:35 +02:00
rename
This commit is contained in:
@@ -106,7 +106,7 @@ levels = [
|
|||||||
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
|
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
|
||||||
];
|
];
|
||||||
|
|
||||||
module caterpillar(levels, px_width) {
|
module shadow(levels, px_width) {
|
||||||
dots = px_gray(levels, center = true);
|
dots = px_gray(levels, center = true);
|
||||||
difference() {
|
difference() {
|
||||||
square(len(levels), center = true);
|
square(len(levels), center = true);
|
||||||
@@ -120,9 +120,9 @@ module caterpillar(levels, px_width) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stereographic_extrude(shadow_side_leng = len(levels), $fn = 48)
|
stereographic_extrude(shadow_side_leng = len(levels), $fn = 48)
|
||||||
caterpillar(levels, px_width);
|
shadow(levels, px_width);
|
||||||
|
|
||||||
if($preview) {
|
if($preview) {
|
||||||
color("gray")
|
color("gray")
|
||||||
caterpillar(levels, px_width);
|
shadow(levels, px_width);
|
||||||
}
|
}
|
Reference in New Issue
Block a user