omdl  v0.9.5
OpenSCAD Mechanical Design Library
omdl-base.scad
Go to the documentation of this file.
1 //! Include wrapper of base library components.
2 /***************************************************************************//**
3  \file
4  \author Roy Allen Sutton
5  \date 2015-2023
6 
7  \copyright
8 
9  This file is part of [omdl] (https://github.com/royasutton/omdl),
10  an OpenSCAD mechanical design library.
11 
12  The \em omdl is free software; you can redistribute it and/or modify
13  it under the terms of the [GNU Lesser General Public License]
14  (http://www.gnu.org/licenses/lgpl.html) as published by the Free
15  Software Foundation; either version 2.1 of the License, or (at
16  your option) any later version.
17 
18  The \em omdl is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  Lesser General Public License for more details.
22 
23  You should have received a copy of the GNU Lesser General Public
24  License along with the \em omdl; if not, write to the Free Software
25  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26  02110-1301, USA; or see <http://www.gnu.org/licenses/>.
27 
28  \details
29 
30  \amu_include (include/amu/pgid_pparent_path_n.amu)
31 *******************************************************************************/
32 
33 //----------------------------------------------------------------------------//
34 // console + constants
35 //----------------------------------------------------------------------------//
36 include <common/console.scad>;
37 include <common/constants.scad>;
38 
39 //----------------------------------------------------------------------------//
40 // data types
41 //----------------------------------------------------------------------------//
42 include <datatypes/scalar_test.scad>;
43 include <datatypes/scalar_operate.scad>;
44 
45 include <datatypes/iterable_test.scad>;
46 include <datatypes/iterable_operate.scad>;
47 
48 include <datatypes/list_operate.scad>;
49 include <datatypes/list_compare.scad>;
50 
51 include <datatypes/euclidean.scad>;
52 include <datatypes/binary.scad>;
53 
54 include <datatypes/map.scad>;
55 include <datatypes/table.scad>;
56 
57 //----------------------------------------------------------------------------//
58 // math
59 //----------------------------------------------------------------------------//
60 include <math/triangle.scad>;
61 include <math/linear_algebra.scad>;
62 
63 include <math/polygon.scad>;
64 include <math/polyhedron.scad>;
65 include <math/polytope.scad>;
66 
67 include <math/utility.scad>;
68 
69 //----------------------------------------------------------------------------//
70 // shapes
71 //----------------------------------------------------------------------------//
72 include <shapes/basic_2d.scad>;
73 include <shapes/basic_3d.scad>;
74 include <shapes/polygon.scad>;
75 
76 //----------------------------------------------------------------------------//
77 // tools
78 //----------------------------------------------------------------------------//
79 include <tools/extrude.scad>;
80 include <tools/repeat.scad>;
81 
82 //----------------------------------------------------------------------------//
83 // units
84 //----------------------------------------------------------------------------//
85 include <units/angle.scad>;
86 include <units/length.scad>;
87 
88 //----------------------------------------------------------------------------//
89 // end of file
90 //----------------------------------------------------------------------------//
function angle(a, from=angle_unit_default, to=angle_unit_base)
Convert an angle from some units to another.
function length(v, from=length_unit_default, to=length_unit_base, d=1)
Convert a value from from one units to another with dimensions.