omdl  v0.6.1
OpenSCAD Mechanical Design Library
shapes3d.scad File Reference

Three-dimensional basic shapes. More...

#include <shapes2d.scad>
+ Include dependency graph for shapes3d.scad:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

module cone (r, h, d, vr, vr1, vr2)
 A cone. More...
 
module cuboid (size, vr, vrm=0, center=false)
 A cuboid with edge, fillet, or chamfer corners. More...
 
module ellipsoid (size)
 An ellipsoid. More...
 
module ellipsoid_s (size, a1=0, a2=0)
 A sector of an ellipsoid. More...
 
module pyramid_t (size, center=false)
 A pyramid with trilateral base formed by four equilateral triangles. More...
 
module pyramid_q (size, center=false)
 A pyramid with quadrilateral base. More...
 
module star3d (size, n=5, half=false)
 A three-dimensional star. More...
 
module torus_rp (size, core, r, l, t, co, cr=0, vr, vr1, vr2, vrm=0, vrm1, vrm2, pa=0, ra=360, m=255, center=false, profile=false)
 A rectangular cross-sectional profile revolved about the z-axis. More...
 
module torus_tp (size, core, r, l, co, cr=0, vr, vr1, vr2, pa=0, ra=360, m=255, centroid=false, incenter=false, profile=false,)
 A triangular cross-sectional profile revolved about the z-axis. More...
 
module torus_ep (size, core, r, l, t, a1=0, a2=0, co, cr=0, pa=0, ra=360, m=255, profile=false)
 An elliptical cross-sectional profile revolved about the z-axis. More...
 

Detailed Description

Three-dimensional basic shapes.

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/.

Todo:
Complete rounded cylinder.

Definition in file shapes3d.scad.