189 [
"font-sheet-zone-reference",
"Liberation Sans"],
191 [
"font-title-block-heading",
"Liberation Sans"],
192 [
"font-title-block-entry",
"Liberation Sans"],
194 [
"font-table-title",
"Liberation Sans"],
195 [
"font-table-heading",
"Liberation Sans"],
196 [
"font-table-entry",
"Liberation Sans"],
202 [
"make-3d-height",
length(1,
"mm")],
208 [
"line-width-min",
length(0.2,
"mm")],
209 [
"line-segment-min",
length(1.25,
"mm")],
210 [
"line-use-hull",
true],
216 [
"arrow-line-length-min",
length(4.0,
"mm")],
217 [
"arrow-angle-min",
angle(15,
"d")],
223 [
"table-cmh",
length(1/4,
"in")],
224 [
"table-cmv",
length(1/4,
"in")],
227 [
"table-hlines",
consts(5,[0,0])],
228 [
"table-vlines",
consts(3,[0,0])],
229 [
"table-text-format", [
empty_str, [-1,-1],
230 [2/5,-9/10], [0,-1-1/5],
231 0, 1, [
"left",
"center"]]],
237 [
"note-cmh",
length(1/4,
"in")],
238 [
"note-cmv",
length(1/4,
"in")],
245 [
"dim-cmh",
length(1/8,
"in")],
246 [
"dim-cmv",
length(1/8,
"in")],
247 [
"dim-text-place", [0,1]],
248 [
"dim-text-size", undef],
249 [
"dim-round-mode", [1,2]],
250 [
"dim-offset",
length(1/32,
"in")],
253 [
"dim-leader-length",
length(1/2,
"in")],
254 [
"dim-leader-weight", 1],
255 [
"dim-leader-style", 1],
256 [
"dim-leader-arrow", [2,1]],
257 [
"dim-leader-box-weight", 1],
258 [
"dim-leader-box-style", 1],
261 [
"dim-line-weight", 1],
262 [
"dim-line-style", 1],
263 [
"dim-line-arrow", 2],
264 [
"dim-line-extension-style", 1],
265 [
"dim-line-extension-length",
length(2/8,
"in")],
266 [
"dim-line-distance",
length(3/8,
"in")],
269 [
"dim-radius-weight", 1],
270 [
"dim-radius-style", 1],
271 [
"dim-radius-arrow", 2],
274 [
"dim-angle-weight", 1],
275 [
"dim-angle-style", 1],
276 [
"dim-angle-arrow", 2],
277 [
"dim-angle-extension-style", 3],
278 [
"dim-angle-extension-ratio", 1],
281 [
"dim-center-length",
length(1/16,
"in")],
282 [
"dim-center-weight", 1/2],
283 [
"dim-center-style", 1],
284 [
"dim-center-extension-style", 3],
290 [
"layers-default", [
"all",
"default"]],
291 [
"layers-sheet", [
"all",
"sheet"]],
292 [
"layers-table", [
"all",
"table"]],
293 [
"layers-note", [
"all",
"note"]],
294 [
"layers-titleblock", [
"all",
"titleblock"]],
295 [
"layers-dim", [
"all",
"dim"]]
367 r=draft_sheet_size_tr,
368 c=draft_sheet_size_tc,
378 draft_sheet_size_tc =
380 [
"id",
"sheet size"],
382 [
"sdx",
"sheet x-dimension"],
383 [
"sdy",
"sheet y-dimension"]
391 draft_sheet_size_tr =
401 [
"A5",
"ISO A",
length( 149,
"mm"),
length( 210,
"mm")],
402 [
"A4",
"ISO A",
length( 210,
"mm"),
length( 297,
"mm")],
403 [
"A3",
"ISO A",
length( 297,
"mm"),
length( 420,
"mm")],
404 [
"A2",
"ISO A",
length( 420,
"mm"),
length( 594,
"mm")],
405 [
"A1",
"ISO A",
length( 594,
"mm"),
length( 841,
"mm")],
406 [
"A0",
"ISO A",
length( 841,
"mm"),
length(1189,
"mm")],
409 [
"B5",
"ISO B",
length( 177,
"mm"),
length( 250,
"mm")],
410 [
"B4",
"ISO B",
length( 250,
"mm"),
length( 354,
"mm")],
411 [
"B3",
"ISO B",
length( 354,
"mm"),
length( 500,
"mm")],
412 [
"B2",
"ISO B",
length( 500,
"mm"),
length( 707,
"mm")],
413 [
"B1",
"ISO B",
length( 707,
"mm"),
length(1000,
"mm")],
414 [
"B0",
"ISO B",
length(1000,
"mm"),
length(1414,
"mm")],
417 [
"Letter",
"Other",
length( 215.9,
"mm"),
length( 279.4,
"mm")],
418 [
"Legal",
"Other",
length( 215.9,
"mm"),
length( 355.6,
"mm")],
419 [
"Executive",
"Other",
length( 190.5,
"mm"),
length( 254.0,
"mm")],
420 [
"C5E",
"Other",
length( 163.0,
"mm"),
length( 229.0,
"mm")],
421 [
"Comm10",
"Other",
length( 105.0,
"mm"),
length( 241.0,
"mm")],
422 [
"DLE",
"Other",
length( 110.0,
"mm"),
length( 220.0,
"mm")],
423 [
"Folio",
"Other",
length( 210.0,
"mm"),
length( 330.0,
"mm")],
424 [
"Ledger",
"Other",
length( 432.0,
"mm"),
length( 279.0,
"mm")],
425 [
"Tabloid",
"Other",
length( 279.0,
"mm"),
length( 432.0,
"mm")]
460 r=draft_sheet_config_tr,
461 c=draft_sheet_config_tc,
471 draft_sheet_config_tc =
473 [
"id",
"configuration name"],
474 [
"info",
"configuration description"],
477 [
"sll",
"sheet landscape layout"],
478 [
"smx",
"sheet margin x"],
479 [
"smy",
"sheet margin y"],
480 [
"szm",
"zone margin xy"],
483 [
"zox",
"zone ordering x"],
484 [
"zoy",
"zone ordering y"],
485 [
"zlx",
"zone labels x"],
486 [
"zly",
"zone labels y"],
487 [
"zrf",
"zone reference font"],
488 [
"zfs",
"zone font scaling"],
491 [
"slc",
"sheet line config"],
492 [
"flc",
"frame line config"],
493 [
"zlc",
"zone line config"],
494 [
"glc",
"grid line config"],
495 [
"olc",
"origin line and arrow config"]
503 draft_sheet_config_tr =
507 "Small sheet landscape layout with 8x4 traditional zones",
516 [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"H"],
517 [
"1",
"2",
"3",
"4"],
525 [3,1,13/8, [1,1,0,1,3]]
530 "Small sheet Portrait layout with 4x8 traditional zones",
539 [
"A",
"B",
"C",
"D"],
540 [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8"],
548 [3,1,13/8, [1,1,0,1,3]]
578 [
"cmh",
length(3/8,
"in") ],
581 [
"cmv",
length(3/8,
"in") ],
594 [3/2, [0, 11], 3, 1],
597 [1/2, [1, 11], 1, 1],
641 empty_str, [ 0, +1], [ 0, -1], [0, -1-4/10], 0, 1,
649 empty_str, [ 0, +1], [ 0, -2-1/2], [0, -1-4/10], 0, 3/2,
664 [ [ 3, 10], [ 0, 1], 0, [
"TITLE1"] ],
665 [ [ 5, 7], [ 1, 2], 0, [
"DATE"] ],
666 [ [ 5, 7], [ 2, 4], 0, [
"DRAWN BY"] ],
667 [ [ 0, 2], [ 0, 1], 0, [
"DRAWING NUMBER"] ],
668 [ [ 0, 1], [ 1, 3], 0, [
"SHEET"] ],
669 [ [ 9, 11], [ 1, 4], 0, [
"PROJECTION"] ],
670 [ [ 0, 1], [ 5, 7], 0, [
"MATERIAL"] ],
671 [ [ 0, 1], [ 3, 5], 0, [
"TREATMENT"] ],
672 [ [ 4, 5], [ 2, 4], 0, [
"CHECKED BY"] ],
673 [ [ 1, 4], [ 2, 4], 0, [
"APPROVED BY"] ],
674 [ [ 1, 6], [ 6, 7], 0, [
"NOTE1"] ],
675 [ [ 1, 6], [ 4, 6], 0, [
"NOTE2"] ],
676 [ [ 6, 11], [ 4, 7], 0, [
"NOTE3"] ],
677 [ [ 8, 9], [ 1, 4], 0, [
"SCALE"], [str(
"1:",
draft_sheet_scale), [0,0], [0,0]] ],
680 [ [10, 11], [ 0, 1], 0, [
"LOGO"], [
"omdl"] ]
690 draft_table_format_map_common =
692 [
"cmh",
length(1/4,
"in") ],
693 [
"cmv",
length(1/4,
"in") ],
716 empty_str, [ 0, -1], [ 0, -1/2-4/10], [0, -1-2/10], 0, 1,
729 draft_table_format_map_common,
733 empty_str, [ 0, -1], [ 0, -1/2-3/10], [0, -1-2/10], 0, 1,
739 empty_str, [ 0, -1], [ 0, -1/2-4/10], [0, -1-2/10], 0, 1,
753 draft_table_format_map_common,
757 empty_str, [-1, -1], [2/5, -4/5], [0, -1-1/5], 0, 1,
763 empty_str, [-1, -1], [2/5, -9/10], [0, -1-1/5], 0, 1,
777 draft_table_format_map_common,
781 empty_str, [+1, -1], [-2/5, -4/5], [0, -1-1/5], 0, 1,
787 empty_str, [+1, -1], [-2/5, -9/10], [0, -1-1/5], 0, 1,
empty_str
<string> A string with no characters (the empty string).
function consts(l, v, u=false)
Create a list of constant or incrementing elements.
function map_get_value(m, k)
Get the map value associated with a key.
function table_get_value(r, c, ri, ci)
Get the table cell value for a specified row and column identifier.
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.
length_unit_base
<string> The base units for value storage.