Index: drc_query/Makefile =================================================================== --- drc_query/Makefile (nonexistent) +++ drc_query/Makefile (revision 30375) @@ -0,0 +1,16 @@ +ROOT=../.. + +SRC=$(ROOT)/src +TDIR=../tests/drc_query +PCBRND=./pcb-rnd + +all: thickness.diff + +thickness.diff: thickness.out + @diff -u thickness.out thickness.ref && rm thickness.out + +thickness.out: FORCE + @cd $(SRC) && echo "drc()" | ./$(PCBRND) $(TDIR)/thickness.lht --gui batch > $(TDIR)/thickness.out + + +FORCE: Index: drc_query/thickness.lht =================================================================== --- drc_query/thickness.lht (nonexistent) +++ drc_query/thickness.lht (revision 30375) @@ -0,0 +1,291 @@ +ha:pcb-rnd-board-v6 { + + li:styles { + ha:Signal { + diameter = 2.0mm + text_scale = 0 + text_thick = 0.0 + thickness = 10.0mil + hole = 31.5mil + clearance = 20.0mil + } + ha:Power { + diameter = 2.2mm + text_scale = 0 + text_thick = 0.0 + thickness = 20.0mil + hole = 1.0mm + clearance = 20.0mil + } + ha:Fat { + diameter = 137.8mil + text_scale = 0 + text_thick = 0.0 + thickness = 80.0mil + hole = 47.24mil + clearance = 25.0mil + } + ha:Sig-tight { + diameter = 64.0mil + text_scale = 0 + text_thick = 0.0 + thickness = 10.0mil + hole = 31.5mil + clearance = 12.0mil + } + } + + ha:meta { + ha:size { + thermal_scale = 0.500000 + x = 40.005mm + y = 600.0mil + } + ha:grid { + spacing = 25.0mil + offs_x = 0.0 + offs_y = 0.0 + } + } + + ha:data { + li:padstack_prototypes { + } + + li:objects { + } + li:layers { + + ha:top-sig { + lid=0 + group=1 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftt} + {pcb-rnd::key::select}={l; t} + } + + li:objects { + ha:line.5 { + x1=75.0mil; y1=75.0mil; x2=75.0mil; y2=250.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.15 { + x1=75.0mil; y1=375.0mil; x2=75.0mil; y2=550.0mil; thickness=9.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:arc.8 { + x=325.0mil; y=250.0mil; width=150.0mil; height=150.0mil; astart=-90.000000; adelta=90.000000; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:arc.18 { + x=325.0mil; y=550.0mil; width=150.0mil; height=150.0mil; astart=-90.000000; adelta=90.000000; thickness=9.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:text.9 { + string=Hello!; x=400.0mil; y=125.0mil; scale=200; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + ha:text.19 { + string=Hello!; x=400.0mil; y=425.0mil; scale=200; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + thickness = 9.0mil + } + } + color = {#8b2323} + } + + ha:outline { + lid=1 + group=5 + ha:combining { } + + li:objects { + } + color = {#00868b} + } + + ha:bottom-silk { + lid=2 + group=7 + ha:combining { auto=1; } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftx} + {pcb-rnd::key::select}={l; x} + } + + li:objects { + } + color = {#000000} + } + + ha:top-silk { + lid=3 + group=0 + ha:combining { auto=1; } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shifts} + {pcb-rnd::key::select}={l; s} + } + + li:objects { + ha:line.30 { + x1=925.0mil; y1=75.0mil; x2=925.0mil; y2=250.0mil; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:line.33 { + x1=925.0mil; y1=375.0mil; x2=925.0mil; y2=550.0mil; thickness=6.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:arc.36 { + x=1.175in; y=250.0mil; width=150.0mil; height=150.0mil; astart=-90.000000; adelta=90.000000; thickness=10.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:arc.37 { + x=1.175in; y=550.0mil; width=150.0mil; height=150.0mil; astart=-90.000000; adelta=90.000000; thickness=6.0mil; clearance=40.0mil; + ha:flags { + clearline=1 + } + } + ha:text.38 { + string=Hello!; x=31.75mm; y=125.0mil; scale=200; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + } + ha:text.39 { + string=Hello!; x=31.75mm; y=425.0mil; scale=200; fid=0; + ha:flags { + clearline=1 + } + rot = 0.000000 + thickness = 6.0mil + } + } + color = {#000000} + } + + ha:bottom-mask { + lid=4 + group=6 + ha:combining { sub=1; auto=1; } + + li:objects { + } + color = {#ff0000} + } + + ha:fab { + lid=5 + group=8 + ha:combining { auto=1; } + + li:objects { + } + color = {#222222} + } + } + } + + ha:layer_stack { + li:groups { + ha:0 { + name = top_silk + ha:type { top=1; silk=1; } + li:layers { 3; } + } + ha:1 { + name = top_copper + ha:type { top=1; copper=1; } + li:layers { 0; } + } + ha:2 { + name = grp_4 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.7375mm } + } + } + ha:3 { + name = grp_6 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.125mm } + } + } + ha:4 { + name = grp_8 + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.7375mm } + } + } + ha:5 { + name = global_outline + ha:type { boundary=1; } + li:layers { 1; } + purpose = uroute + } + ha:6 { + name = bottom_mask + ha:type { bottom=1; mask=1; } + li:layers { 4;} + } + ha:7 { + name = bottom_silk + ha:type { silk=1; bottom=1; } + li:layers { 2; } + } + ha:8 { + name = fab + ha:type { top=1; doc=1; } + li:layers { 5;} + ha:attributes { + init-invis=1 + } + purpose = fab + } + } + } + li:pcb-rnd-conf-v1 { + ha:overwrite { + ha:design { + text_font_id = 0 + min_wid = 10mil + min_slk = 7mil + } + ha:plugins { + ha:drc_orig { + disable=1 + } + } + } + } +} Index: drc_query/thickness.ref =================================================================== --- drc_query/thickness.ref (nonexistent) +++ drc_query/thickness.ref (revision 30375) @@ -0,0 +1,30 @@ +1: thin copper: copper object too thin +within (44.28, 322.41, 105.72, 602.59) mil +required value 0.00 +Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. + +2: thin copper: copper object too thin +within (125.01, 350.01, 374.99, 599.99) mil +required value 0.00 +Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. + +3: thin copper: copper object too thin +within (346.00, 413.75, 716.00, 556.25) mil +required value 0.00 +Copper object thickness is below the required value. Copper objects too thin may break or peel off during board fabriaction. + +4: thin silk: silk object too thin +within (896.16, 324.29, 953.84, 600.71) mil +required value 0.00 +Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. + +5: thin silk: silk object too thin +within (976.92, 351.93, 1223.08, 598.08) mil +required value 0.00 +Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. + +6: thin silk: silk object too thin +within (1196.00, 413.75, 1566.00, 556.25) mil +required value 0.00 +Silk object thickness is below the required value. Silk objects too thin may disappear during board fabrication. +