mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 09:19:59 +02:00
use [each lt, v] to replace concat(lt, [v])
This commit is contained in:
@@ -36,6 +36,20 @@ module dragon_claw() {
|
||||
rotate_extrude($fn = 7)
|
||||
polygon(pts);
|
||||
linear_extrude(5)
|
||||
polygon(dedup(concat(claw_path1, claw_path2, claw_path3, claw_path4, [[-2, -.75], [-1.45, -1.45]], claw_path5, [[1.45, -1.45], [2, -.75]])));
|
||||
polygon(
|
||||
dedup(
|
||||
[
|
||||
each claw_path1,
|
||||
each claw_path2,
|
||||
each claw_path3,
|
||||
each claw_path4,
|
||||
[-2, -.75],
|
||||
[-1.45, -1.45],
|
||||
each claw_path5,
|
||||
[1.45, -1.45],
|
||||
[2, -.75]
|
||||
]
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user