![]() |
omdl
v0.9.8
OpenSCAD Mechanical Design Library
|
Euclidean space axis mapping. More...
Collaboration diagram for Euclidean:Variables | |
| x_axis_ci = 0 | |
| <integer> The coordinate axis index for the Euclidean space x-axis. | |
| y_axis_ci = 1 | |
| <integer> The coordinate axis index for the Euclidean space y-axis. | |
| z_axis_ci = 2 | |
| <integer> The coordinate axis index for the Euclidean space z-axis. | |
| zero2d = [0, 0] | |
| <decimal-list-2> A 2d zero vector (a list with two zeros). | |
| origin2d = [0, 0] | |
| <point-2d> The origin point coordinate in 2d Euclidean space. | |
| x_axis2d_uv = [1, 0] | |
| <vector-2d> The unit vector of the positive x-axis in 2d Euclidean space. | |
| y_axis2d_uv = [0, 1] | |
| <vector-2d> The unit vector of the positive y-axis in 2d Euclidean space. | |
| x_axis2d_ul = [-x_axis2d_uv, +x_axis2d_uv] | |
| <line-2d> A positively-directed unit line centered on the x-axis in 2d Euclidean space. | |
| y_axis2d_ul = [-y_axis2d_uv, +y_axis2d_uv] | |
| <line-2d> A positively-directed unit line centered on the y-axis in 2d Euclidean space. | |
| zero3d = [0, 0, 0] | |
| <decimal-list-2> A 3d zero vector (a list with three zeros). | |
| origin3d = [0, 0, 0] | |
| <point-3d> The origin point coordinate in 3-dimensional Euclidean space. | |
| x_axis3d_uv = [1, 0, 0] | |
| <vector-3d> The unit vector of the positive x-axis in 3d Euclidean space. | |
| y_axis3d_uv = [0, 1, 0] | |
| <vector-3d> The unit vector of the positive y-axis in 3d Euclidean space. | |
| z_axis3d_uv = [0, 0, 1] | |
| <vector-3d> The unit vector of the positive z-axis in 3d Euclidean space. | |
| x_axis3d_ul = [-x_axis3d_uv, +x_axis3d_uv] | |
| <line-3d> A positively-directed unit line centered on the x-axis in 3d Euclidean space. | |
| y_axis3d_ul = [-y_axis3d_uv, +y_axis3d_uv] | |
| <line-3d> A positively-directed unit line centered on the y-axis in 3d Euclidean space. | |
| z_axis3d_ul = [-z_axis3d_uv, +z_axis3d_uv] | |
| <line-3d> A positively-directed unit line centered on the z-axis in 3d Euclidean space. | |
| xy_plane_on = [origin3d, z_axis3d_uv] | |
| <plane> The right-handed xy plane centered at the origin with normal vector. | |
| yz_plane_on = [origin3d, x_axis3d_uv] | |
| <plane> The right-handed yz plane centered at the origin with normal vector. | |
| zx_plane_on = [origin3d, y_axis3d_uv] | |
| <plane> The right-handed zx plane centered at the origin with normal vector. | |
| xy_plane_os = [origin3d, [for (r=[[1,1],[1,-1],[-1,-1],[-1,1]]) [r[0],r[1],0]]] | |
| <plane> The right-handed xy plane centered at the origin with coplanar unit square points. | |
| yz_plane_os = [origin3d, [for (r=[[1,1],[1,-1],[-1,-1],[-1,1]]) [0,r[0],r[1]]]] | |
| <plane> The right-handed yz plane centered at the origin with coplanar unit square points. | |
| zx_plane_os = [origin3d, [for (r=[[1,1],[1,-1],[-1,-1],[-1,1]]) [r[1],0,r[0]]]] | |
| <plane> The right-handed zx plane centered at the origin with coplanar unit square points. | |
Euclidean space axis mapping.
| Requires: |
|---|
| include <omdl-base.scad>; |