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

Linearly extruded two-dimensional basic shapes. More...

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

Go to the source code of this file.

Functions

module erectangle (size, h, vr, vrm=0, center=false)
 An extruded rectangle with edge, fillet, and/or chamfer corners. More...
 
module erectangle_c (size, core, h, t, co, cr=0, vr, vr1, vr2, vrm=0, vrm1, vrm2, center=false)
 An extruded rectangle with a removed rectangular core. More...
 
module erhombus (size, h, vr, center=false)
 An extruded rhombus. More...
 
module etriangle_ppp (v1, v2, v3, h, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by three vertices. More...
 
module etriangle_lp (v, h, vr, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by a list of its three vertices. More...
 
module etriangle_sss (s1, s2, s3, h, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by its three side lengths. More...
 
module etriangle_ls (v, h, vr, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by a list of its three side lengths. More...
 
module etriangle_ls_c (vs, vc, h, co, cr=0, vr, vr1, vr2, centroid=false, incenter=false, center=false)
 A general triangle specified by its sides with a removed triangular core. More...
 
module etriangle_sas (s1, a, s2, h, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by two sides and the included angle. More...
 
module etriangle_asa (a1, s, a2, h, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by a side and two adjacent angles. More...
 
module etriangle_aas (a1, a2, s, h, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded general triangle specified by a side, one adjacent angle and the opposite angle. More...
 
module etriangle_ss (x, y, h, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded right-angled triangle specified by its opposite and adjacent side lengths. More...
 
module etriangle_sa (x, y, aa, oa, h, vr, v1r, v2r, v3r, centroid=false, incenter=false, center=false)
 An extruded right-angled triangle specified by a side length and an angle. More...
 
module engon (n, r, h, vr, center=false)
 An extruded n-sided equiangular/equilateral regular polygon. More...
 
module eellipse (size, h, center=false)
 An extruded ellipse. More...
 
module eellipse_c (size, core, h, t, co, cr=0, center=false)
 An extruded ellipse with a removed elliptical core. More...
 
module eellipse_s (size, h, a1=0, a2=0, center=false)
 An extruded ellipse sector. More...
 
module eellipse_cs (size, core, h, t, a1=0, a2=0, co, cr=0, center=false)
 An extruded sector of an ellipse with a removed elliptical core. More...
 
module estar2d (size, h, n=5, vr, center=false)
 An extruded two-dimensional star. More...
 

Detailed Description

Linearly extruded two-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/.

Definition in file shapes2de.scad.