omdl  v0.9.5
OpenSCAD Mechanical Design Library
config.scad File Reference

Drafting defaults and configurations. More...

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

Go to the source code of this file.

Variables

Globals
 $draft_make_3d = false
 <boolean> Extrude 2D drafted constructions to 3D.
 
 $draft_line_fn = 4
 <integer> Arc fragment size for line construction.
 
 $draft_arrow_fn = 8
 <integer> Arc fragment size for arrowhead construction.
 
 $draft_scale = 1
 <integer> Line construction drafting scale multiplier.
 
 draft_sheet_scale = 1
 <integer> Sheet construction drafting scale multiplier.
 
 draft_sheet_size = "A"
 <string> Drafting sheet size identifier. More...
 
 draft_sheet_config = "L84TS"
 <string> Drafting sheet configuration identifier. More...
 
 draft_layers_show = ["all"]
 <string-list> List of active drafting layer names. More...
 
 draft_config_map = draft_config_map_style1
 <map> Drafting configuration defaults map. More...
 
Maps
 draft_config_map_style1
 <map> A drafting configuration map; style1. More...
 
 draft_title_block_map_style1
 <map> A title block map; style 1. More...
 
 draft_table_format_map_ccc
 <map> Table format map; centered, centered, centered –justified.
 
 draft_table_format_map_cll
 <map> Table format map; centered, left, left –justified.
 
 draft_table_format_map_crr
 <map> Table format map; centered, right, right –justified.
 

Getters

function draft_get_config (k)
 Get drafting configuration default helper function. More...
 
function draft_get_sheet_size (ci)
 Get sheet size value helper function. More...
 
function draft_get_sheet_config (ci)
 Get sheet configuration value helper function. More...
 

Detailed Description

Drafting defaults and configurations.

Author
Roy Allen Sutton
Date
2019-2024

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