omdl  v0.5
OpenSCAD Mechanical Design Library

Shape transformation functions. More...

#include <console.scad>
#include <math.scad>
#include <math_bitwise.scad>
+ Include dependency graph for transform.scad:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

module st_rotate_extrude (r, pa=0, ra=360, profile=false)
 Revolve the 2D shape about the z-axis. More...
 
module st_rotate_extrude_elongate (r, l, pa=0, ra=360, m=255, profile=false)
 Revolve the 2D shape about the z-axis with linear elongation. More...
 
module st_linear_extrude_scale (h, center=false)
 Linearly extrude 2D shape with extrusion upper and lower scaling. More...
 
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...
 

Detailed Description

Shape transformation functions.

Author
Roy Allen Sutton
Date
2015-2017

This file is part of omdl, an OpenSCAD mechanical design library.

The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.

Definition in file transform.scad.