1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 04:20:27 +02:00

refactored

This commit is contained in:
Justin Lin
2017-05-29 17:28:58 +08:00
parent a325eb7f4d
commit 3cfb6e7bd7

View File

@@ -25,9 +25,9 @@ module hexagons(radius, spacing, levels) {
}
module line_hexagons(n) {
translate(center_offset) for(i = [0:n - 1]) {
for(i = [0:n - 1]) {
offset_p = [i * offset_step, 0, 0];
translate(offset_p)
translate(offset_p + center_offset)
hexagon();
}
}