omdl  v1.0
OpenSCAD Mechanical Design Library
dimension.scad File Reference

Drafting: dimensioning operations. More...

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

Go to the source code of this file.

Functions and/or Modules

Dimensioning
module draft_dim_leader (p=origin2d, v1=30, l1=_draft_get_config("dim-leader-length"), v2, l2, h, t, ts, tp, tr, ta="center", line, w=_draft_get_config("dim-leader-weight"), s=_draft_get_config("dim-leader-style"), a=_draft_get_config("dim-leader-arrow"), off=_draft_get_config("dim-offset"), cmh=_draft_get_config("dim-cmh"), cmv=_draft_get_config("dim-cmv"), window=false, layers=_draft_get_config("layers-dim"))
 Construct a dimension leader line at a point. More...
 
module draft_dim_line (p1=origin2d, p2=origin2d, v1, v2, t, u, d=_draft_get_config("dim-line-distance"), e=_draft_get_config("dim-line-extension-length"), es=_draft_get_config("dim-line-extension-style"), w=_draft_get_config("dim-line-weight"), s=_draft_get_config("dim-line-style"), a=_draft_get_config("dim-line-arrow"), a1, a2, off=_draft_get_config("dim-offset"), ts=_draft_get_config("dim-text-size"), tp=_draft_get_config("dim-text-place"), rm=_draft_get_config("dim-round-mode"), cmh=_draft_get_config("dim-cmh"), cmv=_draft_get_config("dim-cmv"), layers=_draft_get_config("layers-dim"))
 Construct a dimension line between two points. More...
 
module draft_dim_radius (o=origin2d, p, r=1, v, t, u, d=false, w=_draft_get_config("dim-radius-weight"), s=_draft_get_config("dim-radius-style"), a=_draft_get_config("dim-radius-arrow"), a1, a2, off=_draft_get_config("dim-offset"), ts=_draft_get_config("dim-text-size"), tp=_draft_get_config("dim-text-place"), rm=_draft_get_config("dim-round-mode"), cmh=_draft_get_config("dim-cmh"), cmv=_draft_get_config("dim-cmv"), layers=_draft_get_config("layers-dim"))
 Construct a radial dimension line. More...
 
module draft_dim_angle (o=origin2d, r=1, v1, v2, fn, cw=false, t, u, e=_draft_get_config("dim-angle-extension-ratio"), es=_draft_get_config("dim-angle-extension-style"), w=_draft_get_config("dim-angle-weight"), s=_draft_get_config("dim-angle-style"), a=_draft_get_config("dim-angle-arrow"), a1, a2, off=_draft_get_config("dim-offset"), ts=_draft_get_config("dim-text-size"), tp=_draft_get_config("dim-text-place"), rm=_draft_get_config("dim-round-mode"), cmh=_draft_get_config("dim-cmh"), cmv=_draft_get_config("dim-cmv"), layers=_draft_get_config("layers-dim"))
 Construct a angular dimension arc. More...
 
module draft_dim_center (o=origin2d, r, v=0, l=_draft_get_config("dim-center-length"), e, es=_draft_get_config("dim-center-extension-style"), w=_draft_get_config("dim-center-weight"), s=_draft_get_config("dim-center-style"), layers=_draft_get_config("layers-dim"))
 Construct a center mark dimension cross. More...
 

File Details

Drafting: dimensioning operations.

Author
Roy Allen Sutton
Date
2019-2023,2026

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 dimension.scad.