omdl
v0.5
OpenSCAD Mechanical Design Library
|
Shape Replications and distribution. More...
Files | |
file | transform.scad |
Shape transformation functions. | |
Functions | |
module | st_radial_copy (n, r=1, angle=true, move=false) |
Distribute copies of a 2D or 3D shape equally about a z-axis radius. More... | |
module | st_cartesian_copy (grid, incr, copy=1, center=false) |
Distribute copies of 2D or 3D shapes about Cartesian grid. More... | |
Shape Replications and distribution.
module st_cartesian_copy | ( | grid | , |
incr | , | ||
copy | = 1 , |
||
center | = false |
||
) |
Distribute copies of 2D or 3D shapes about Cartesian grid.
grid | <vector|decimal> A vector [x, y, z] of decimals or a single decimal for (x=y=z). |
incr | <vector|decimal> A vector [x, y, z] of decimals or a single decimal for (x=y=z). |
copy | <decimal> Number of times to iterate over children. |
center | <boolean> Center distribution about origin. |
Example
Definition at line 352 of file transform.scad.
module st_radial_copy | ( | n | , |
r | = 1 , |
||
angle | = true , |
||
move | = false |
||
) |
Distribute copies of a 2D or 3D shape equally about a z-axis radius.
n | <decimal> 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 322 of file transform.scad.