mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 16:26:47 +02:00
refactored
This commit is contained in:
@@ -25,9 +25,9 @@ module hexagons(radius, spacing, levels) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module line_hexagons(n) {
|
module line_hexagons(n) {
|
||||||
translate(center_offset) for(i = [0:n - 1]) {
|
for(i = [0:n - 1]) {
|
||||||
offset_p = [i * offset_step, 0, 0];
|
offset_p = [i * offset_step, 0, 0];
|
||||||
translate(offset_p)
|
translate(offset_p + center_offset)
|
||||||
hexagon();
|
hexagon();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user