omdl  v0.5
OpenSCAD Mechanical Design Library
constants.scad File Reference

Mechanical design constants. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

 eps = 0.01
 <decimal> Epsilon, small distance to deal with overlaping shapes
 
 pi = 3.1415926535897932384626433832795
 <decimal> The ratio of a circle's circumference to its diameter
 
 tau = 2*pi
 <decimal> The ratio of a circle's circumference to its radius
 
 number_max = 1e308
 The largest representable number in OpenSCAD scripts.
 
 number_min = -1e308
 The smallest representable number in OpenSCAD scripts.
 
 empty_str = ""
 A string with no content (the empty string).
 
 empty_v = []
 A vector with no content (the empty vector).
 
 x_axis_vi = 0
 The vector index for the x-coordinate of a vector.
 
 y_axis_vi = 1
 The vector index for the y-coordinate of a vector.
 
 z_axis_vi = 2
 The vector index for the z-coordinate of a vector.
 
 origin2d = [0, 0]
 The origin coordinates in 2-dimensional Euclidean space.
 
 x_axis2d_uv = [1, 0]
 The unit vector of the positive x-axis in 2-dimensional Euclidean space.
 
 y_axis2d_uv = [0, 1]
 The unit vector of the positive y-axis in 2-dimensional Euclidean space.
 
 origin3d = [0, 0, 0]
 The origin coordinates in 3-dimensional Euclidean space.
 
 x_axis3d_uv = [1, 0, 0]
 The unit vector of the positive x-axis in 3-dimensional Euclidean space.
 
 y_axis3d_uv = [0, 1, 0]
 The unit vector of the positive y-axis in 3-dimensional Euclidean space.
 
 z_axis3d_uv = [0, 0, 1]
 The unit vector of the positive z-axis in 3-dimensional Euclidean space.
 

Detailed Description

Mechanical design constants.

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

Note
Include this library file using the include statement.

Definition in file constants.scad.