omdl
v0.6.1
OpenSCAD Mechanical Design Library
|
Two-dimensional basic shapes. More...
Go to the source code of this file.
Functions | |
module | rectangle (size, vr, vrm=0, center=false) |
A rectangle with edge, fillet, and/or chamfer corners. More... | |
module | rectangle_c (size, core, t, co, cr=0, vr, vr1, vr2, vrm=0, vrm1, vrm2, center=false) |
A rectangle with a removed rectangular core. More... | |
module | rhombus (size, vr, center=false) |
A rhombus. More... | |
module | triangle_ppp (v1, v2, v3, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A general triangle specified by three vertices. More... | |
module | triangle_lp (v, vr, centroid=false, incenter=false) |
A general triangle specified by a list of its three vertices. More... | |
module | triangle_sss (s1, s2, s3, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A general triangle specified by its three side lengths. More... | |
module | triangle_ls (v, vr, centroid=false, incenter=false) |
A general triangle specified by a list of its three side lengths. More... | |
module | triangle_ls_c (vs, vc, co, cr=0, vr, vr1, vr2, centroid=false, incenter=false) |
A general triangle specified by its sides with a removed triangular core. More... | |
module | triangle_sas (s1, a, s2, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A general triangle specified by two sides and the included angle. More... | |
module | triangle_asa (a1, s, a2, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A general triangle specified by a side and two adjacent angles. More... | |
module | triangle_aas (a1, a2, s, x=1, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A general triangle specified by a side, one adjacent angle and the opposite angle. More... | |
module | triangle_ss (x, y, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A right-angled triangle specified by its opposite and adjacent side lengths. More... | |
module | triangle_sa (x, y, aa, oa, vr, v1r, v2r, v3r, centroid=false, incenter=false) |
A right-angled triangle specified by a side length and an angle. More... | |
module | ngon (n, r, vr) |
An n-sided equiangular/equilateral regular polygon. More... | |
module | ellipse (size) |
An ellipse. More... | |
module | ellipse_c (size, core, t, co, cr=0) |
An ellipse with a removed elliptical core. More... | |
module | ellipse_s (size, a1=0, a2=0) |
An ellipse sector. More... | |
module | ellipse_cs (size, core, t, a1=0, a2=0, co, cr=0) |
A sector of an ellipse with a removed elliptical core. More... | |
module | star2d (size, n=5, vr) |
A two-dimensional star. More... | |
Two-dimensional basic shapes.
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 shapes2d.scad.