omdl
v0.6.1
OpenSCAD Mechanical Design Library
|
Shape repetition and distribution tools. More...
Files | |
file | tools_utility.scad |
Shape transformation utility tools. | |
Functions | |
module | radial_repeat (n, r=1, angle=true, move=false) |
Distribute copies of a 2d or 3d shape equally about a z-axis radius. More... | |
module | grid_repeat (g, i, c=1, center=false) |
Distribute copies of 2d or 3d shapes about Cartesian grid. More... | |
Shape repetition and distribution tools.
module grid_repeat | ( | g | , |
i | , | ||
c | = 1 , |
||
center | = false |
||
) |
Distribute copies of 2d or 3d shapes about Cartesian grid.
g | <integer-list-3|integer> The grid division count. A list [x, y, z] of integers or a single integer for (x=y=z). |
i | <decimal-list-3|decimal> The grid increment size. A list [x, y, z] of decimals or a single decimal for (x=y=z). |
c | <integer> The number of copies. Number of times to iterate over children. |
center | <boolean> Center distribution about origin. |
Example
Definition at line 357 of file tools_utility.scad.
module radial_repeat | ( | n | , |
r | = 1 , |
||
angle | = true , |
||
move | = false |
||
) |
Distribute copies of a 2d or 3d shape equally about a z-axis radius.
n | <integer> The number of equally spaced radii. |
r | <decimal> The shape move radius. |
angle | <boolean> Rotate each copy about z-axis. |
move | <boolean> Move each shape copy to radii coordinate. |
Example
Definition at line 326 of file tools_utility.scad.