1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 10:14:41 +02:00

update hair

This commit is contained in:
Justin Lin
2021-12-09 20:37:59 +08:00
parent 2e92394513
commit f8c89b1dab

View File

@@ -37,15 +37,16 @@ module tail() {
tail_scales(100, 1.25, 4.5, -7, 1); tail_scales(100, 1.25, 4.5, -7, 1);
tail_scales(110, 1.25, 3, -9, 1); tail_scales(110, 1.25, 3, -9, 1);
tail_scales(120, 2.5, 2, -9, 1); tail_scales(120, 2.5, 2, -9, 1);
hair();
module hair() {
tail_hair = [ tail_hair = [
[0, -2.5], [3, -1],
[1.5, -3.5], [5, -1.5],
[5.5, -4], [8, -1],
[9.5, -3], [9.5, 0],
[6.5, -2], [8, -0.4],
[4, -1], [6.5, -0.3],
[5, -1],
[8, 0], [8, 0],
[10, 1], [10, 1],
[14, 5], [14, 5],
@@ -74,18 +75,27 @@ module tail() {
polygon(tail_hair); polygon(tail_hair);
scale([.8, .9, .6]) scale([.8, .9, .6])
translate([2, 0, -3]) translate([2, 0, -5])
scale([1.75, 1, .8]) scale([1.75, 1, .8])
rotate([-90, 70, 15]) rotate([-90, 70, 15]) {
linear_extrude(1.5, center = true) linear_extrude(1.5, scale = 0.5)
polygon(tail_hair); polygon(tail_hair);
mirror([0, 0, 1])
linear_extrude(1.5, scale = 0.5)
polygon(tail_hair);
}
scale([.6, .7, .9]) scale([.6, .7, .9])
translate([2, 0, -3]) translate([2, 0, -4])
scale([2, 1, .85]) scale([2, 1, .85])
rotate([-90, 70, 15]) rotate([-90, 70, 15]) {
linear_extrude(1, center = true) linear_extrude(3.5, scale = 0.5)
polygon(tail_hair); polygon(tail_hair);
mirror([0, 0, 1])
linear_extrude(3.5, scale = 0.5)
polygon(tail_hair);
}
}
} }
} }