1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 08:44:20 +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(110, 1.25, 3, -9, 1);
tail_scales(120, 2.5, 2, -9, 1);
hair();
module hair() {
tail_hair = [
[0, -2.5],
[1.5, -3.5],
[5.5, -4],
[9.5, -3],
[6.5, -2],
[4, -1],
[5, -1],
[3, -1],
[5, -1.5],
[8, -1],
[9.5, 0],
[8, -0.4],
[6.5, -0.3],
[8, 0],
[10, 1],
[14, 5],
@@ -74,18 +75,27 @@ module tail() {
polygon(tail_hair);
scale([.8, .9, .6])
translate([2, 0, -3])
translate([2, 0, -5])
scale([1.75, 1, .8])
rotate([-90, 70, 15])
linear_extrude(1.5, center = true)
rotate([-90, 70, 15]) {
linear_extrude(1.5, scale = 0.5)
polygon(tail_hair);
mirror([0, 0, 1])
linear_extrude(1.5, scale = 0.5)
polygon(tail_hair);
}
scale([.6, .7, .9])
translate([2, 0, -3])
translate([2, 0, -4])
scale([2, 1, .85])
rotate([-90, 70, 15])
linear_extrude(1, center = true)
rotate([-90, 70, 15]) {
linear_extrude(3.5, scale = 0.5)
polygon(tail_hair);
mirror([0, 0, 1])
linear_extrude(3.5, scale = 0.5)
polygon(tail_hair);
}
}
}
}