Index: bug_files/Poly_rewrite/intersect.gtl =================================================================== --- bug_files/Poly_rewrite/intersect.gtl (nonexistent) +++ bug_files/Poly_rewrite/intersect.gtl (revision 36169) @@ -0,0 +1,277 @@ +G04 start of page 2 for group 3 layer_idx 0 * +G04 Title: USB hub, top_copper * +G04 Creator: pcb-rnd 3.0.4-rc1 * +G04 CreationDate: 2022-04-16 10:40:19 UTC * +G04 For: * +G04 Format: Gerber/RS-274X * +G04 PCB-Dimensions: 393701 393701 * +G04 PCB-Coordinate-Origin: lower left * +%MOIN*% +%FSLAX25Y25*% +%LNTOP_COPPER_NONE_3*% +%ADD11C,0.0001*% +G54D11*G36* +X379921Y379528D02*Y170866D01* +X195079D01* +Y259744D01* +X196850D01* +X196912Y259748D01* +X196972Y259762D01* +X197030Y259786D01* +X197083Y259818D01* +X197130Y259859D01* +X197170Y259906D01* +X197202Y259959D01* +X197226Y260016D01* +X197240Y260076D01* +X197245Y260138D01* +X197240Y260200D01* +X197226Y260260D01* +X197202Y260317D01* +X197170Y260370D01* +X197130Y260417D01* +X197083Y260457D01* +X197030Y260490D01* +X196972Y260513D01* +X196912Y260528D01* +X196851Y260531D01* +X197244D01* +Y260925D01* +X197248Y260863D01* +X197262Y260803D01* +X197286Y260746D01* +X197318Y260693D01* +X197359Y260646D01* +X197406Y260606D01* +X197459Y260573D01* +X197516Y260550D01* +X197576Y260535D01* +X197638Y260530D01* +X197700Y260535D01* +X197760Y260550D01* +X197817Y260573D01* +X197870Y260606D01* +X197917Y260646D01* +X197957Y260693D01* +X197990Y260746D01* +X198013Y260803D01* +X198028Y260863D01* +X198031Y260925D01* +Y265059D01* +X198028Y265121D01* +X198013Y265181D01* +X197990Y265238D01* +X197957Y265291D01* +X197917Y265338D01* +X197870Y265379D01* +X197817Y265411D01* +X197760Y265435D01* +X197700Y265449D01* +X197638Y265454D01* +X197576Y265449D01* +X197516Y265435D01* +X197458Y265411D01* +X197406Y265379D01* +X197359Y265338D01* +X197318Y265291D01* +X197286Y265238D01* +X197262Y265181D01* +X197248Y265121D01* +X197244Y265059D01* +Y265453D01* +X196851D01* +X196912Y265456D01* +X196972Y265471D01* +X197030Y265495D01* +X197083Y265527D01* +X197130Y265567D01* +X197170Y265614D01* +X197202Y265667D01* +X197226Y265724D01* +X197240Y265785D01* +X197245Y265846D01* +X197240Y265908D01* +X197226Y265968D01* +X197202Y266026D01* +X197170Y266079D01* +X197130Y266126D01* +X197083Y266166D01* +X197030Y266198D01* +X196972Y266222D01* +X196912Y266237D01* +X196850Y266240D01* +X195079D01* +Y379528D01* +X379921D01* +G37* + +X195079D02*Y266240D01* +X193307D01* +X193245Y266237D01* +X193185Y266222D01* +X193128Y266198D01* +X193075Y266166D01* +X193028Y266126D01* +X192988Y266079D01* +X192955Y266026D01* +X192931Y265968D01* +X192917Y265908D01* +X192912Y265846D01* +X192917Y265785D01* +X192931Y265724D01* +X192955Y265667D01* +X192988Y265614D01* +X193028Y265567D01* +X193075Y265527D01* +X193128Y265495D01* +X193185Y265471D01* +X193245Y265456D01* +X193307Y265453D01* +X192913D01* +Y265059D01* +X192910Y265121D01* +X192895Y265181D01* +X192872Y265238D01* +X192839Y265291D01* +X192799Y265338D01* +X192752Y265379D01* +X192699Y265411D01* +X192642Y265435D01* +X192581Y265449D01* +X192520Y265454D01* +X192458Y265449D01* +X192398Y265435D01* +X192340Y265411D01* +X192288Y265379D01* +X192240Y265338D01* +X192200Y265291D01* +X192168Y265238D01* +X192144Y265181D01* +X192130Y265121D01* +X192126Y265059D01* +Y260925D01* +X192130Y260863D01* +X192144Y260803D01* +X192168Y260746D01* +X192200Y260693D01* +X192240Y260646D01* +X192288Y260606D01* +X192340Y260573D01* +X192398Y260550D01* +X192458Y260535D01* +X192520Y260530D01* +X192581Y260535D01* +X192642Y260550D01* +X192699Y260573D01* +X192752Y260606D01* +X192799Y260646D01* +X192839Y260693D01* +X192872Y260746D01* +X192895Y260803D01* +X192910Y260863D01* +X192913Y260925D01* +Y260531D01* +X193307D01* +X193245Y260528D01* +X193185Y260513D01* +X193128Y260490D01* +X193075Y260457D01* +X193028Y260417D01* +X192988Y260370D01* +X192955Y260317D01* +X192931Y260260D01* +X192917Y260200D01* +X192912Y260138D01* +X192917Y260076D01* +X192931Y260016D01* +X192955Y259959D01* +X192988Y259906D01* +X193028Y259859D01* +X193075Y259818D01* +X193128Y259786D01* +X193185Y259762D01* +X193245Y259748D01* +X193307Y259744D01* +X195079D01* +Y170866D01* +X189173D01* +Y259744D01* +X191308D01* +X191339Y259742D01* +X191462Y259751D01* +X191462Y259751D01* +X191583Y259780D01* +X191697Y259828D01* +X191803Y259893D01* +X191897Y259973D01* +X191978Y260067D01* +X192042Y260173D01* +X192090Y260287D01* +X192119Y260408D01* +X192128Y260531D01* +X192126Y260562D01* +Y265422D01* +X192128Y265453D01* +X192119Y265576D01* +X192090Y265697D01* +X192042Y265811D01* +X191978Y265917D01* +X191897Y266011D01* +X191803Y266092D01* +X191697Y266156D01* +X191583Y266204D01* +X191462Y266233D01* +X191339Y266243D01* +X191308Y266240D01* +X189173D01* +Y379528D01* +X195079D01* + +G36* +X189173D02*Y266240D01* +X187039D01* +X187008Y266243D01* +X186885Y266233D01* +X186884Y266233D01* +X186764Y266204D01* +X186649Y266157D01* +X186544Y266092D01* +X186449Y266011D01* +X186369Y265917D01* +X186304Y265811D01* +X186257Y265697D01* +X186228Y265576D01* +X186218Y265453D01* +X186220Y265422D01* +Y260562D01* +X186218Y260531D01* +X186228Y260408D01* +X186257Y260287D01* +X186304Y260173D01* +X186369Y260067D01* +X186449Y259973D01* +X186544Y259893D01* +X186649Y259828D01* +X186764Y259780D01* +X186884Y259751D01* +X187008Y259742D01* +X187039Y259744D01* +X189173D01* +Y170866D01* +X13780D01* +Y379528D01* +X189173D01* +G37* +G36* +X187008Y260531D02*Y265453D01* +X191339D01* +Y260531D01* +X187008D01* +G37* +G36* +X192913D02*Y265453D01* +X197244D01* +Y260531D01* +X192913D01* +G37* +M02* Index: bug_files/Poly_rewrite/intersect.lht =================================================================== --- bug_files/Poly_rewrite/intersect.lht (nonexistent) +++ bug_files/Poly_rewrite/intersect.lht (revision 36169) @@ -0,0 +1,960 @@ +ha:pcb-rnd-board-v8 { + + ha:meta { + ha:size { + thermal_scale = 0.500000 + x = 100.0mm + y = 100.0mm + } + ha:grid { + spacing = 0.1mm + offs_x = 0.0 + offs_y = 0.0 + } + board_name = USB hub + } + + ha:data { + li:padstack_prototypes { + + ha:ps_proto_v6.0 { + hdia=0.3mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.6mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + name = 0.3/0.6 + } + + ha:ps_proto_v6.1 { + hdia=0.5mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=0.8mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + name = 0.5/0.8 + } + + ha:ps_proto_v6.2 { + hdia=3.2mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=4.8mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=4.8mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=4.8mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=4.9524mm; } + ha:combining { sub=1; auto=1; } + ha:layer_mask { + top = 1 + mask = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=4.9524mm; } + ha:combining { sub=1; auto=1; } + ha:layer_mask { + bottom = 1 + mask = 1 + } + clearance=0.0 + } + } + name = mounting hole + } + + ha:ps_proto_v6.3 { + hdia=0.0; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + li:ps_poly { + -4.75mm + -4.75mm + -4.75mm + 4.75mm + 4.75mm + 4.75mm + 4.75mm + -4.75mm + } + } + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + li:ps_poly { + -4.75mm + -4.75mm + -4.75mm + 4.75mm + 4.75mm + 4.75mm + 4.75mm + -4.75mm + } + } + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + li:ps_poly { + -4.75mm + -4.75mm + -4.75mm + 4.75mm + 4.75mm + 4.75mm + 4.75mm + -4.75mm + } + } + } + name = USB-A + } + + ha:ps_proto_v6.4 { + hdia=5.5mm; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=11.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=11.0mm; } + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + } + + ha:ps_shape_v4 { + ha:ps_circ { x=0.0; y=0.0; dia=11.0mm; } + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + } + } + name = DC barrel + } + + ha:ps_proto_v6.5 { + hdia=0.0; hplated=1; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.0 + li:ps_poly { + -5.75mm + -5.75mm + -5.75mm + 5.75mm + 5.75mm + 5.75mm + 5.75mm + -5.75mm + } + } + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + bottom = 1 + copper = 1 + } + clearance=0.0 + li:ps_poly { + -5.75mm + -5.75mm + -5.75mm + 5.75mm + 5.75mm + 5.75mm + 5.75mm + -5.75mm + } + } + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + intern = 1 + } + clearance=0.0 + li:ps_poly { + -5.75mm + -5.75mm + -5.75mm + 5.75mm + 5.75mm + 5.75mm + 5.75mm + -5.75mm + } + } + } + name = USB-B + } + } + + li:objects { + ha:subc.159264 { + ha:attributes { + value=20pF + footprint=CAPC1608X92N.lht + refdes=C26 + } + ha:data { + li:padstack_prototypes { + + ha:ps_proto_v6.0 { + hdia=0.0; hplated=0; htop=0; hbottom=0; + li:shape { + + ha:ps_shape_v4 { + ha:combining { } + ha:layer_mask { + copper = 1 + top = 1 + } + clearance=0.2mm + li:ps_poly { + -0.625mm + -0.55mm + 0.625mm + -0.55mm + 0.625mm + 0.55mm + -0.625mm + 0.55mm + } + } + + ha:ps_shape_v4 { + ha:combining { sub=1; auto=1; } + ha:layer_mask { + top = 1 + mask = 1 + } + clearance=0.0 + li:ps_poly { + -0.675mm + -0.6mm + 0.675mm + -0.6mm + 0.675mm + 0.6mm + -0.675mm + 0.6mm + } + } + + ha:ps_shape_v4 { + ha:combining { auto=1; } + ha:layer_mask { + top = 1 + paste = 1 + } + clearance=0.0 + li:ps_poly { + -0.625mm + -0.55mm + 0.625mm + -0.55mm + 0.625mm + 0.55mm + -0.625mm + 0.55mm + } + } + } + } + } + + li:objects { + ha:padstack_ref.159303 { + proto=0; x=48.05mm; y=33.2mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.2mm; + ha:flags { + clearline=1 + } + + li:thermal { + } + + ha:attributes { + term=1 + name=1 + } + } + ha:padstack_ref.159304 { + proto=0; x=1.9507874in; y=33.2mm; rot=90.000000; xmirror=0; smirror=0; clearance=0.2mm; + ha:flags { + clearline=1 + } + + li:thermal { + li:2 { + on + diag + round + noshape + } + } + + ha:attributes { + term=2 + name=2 + } + } + } + li:layers { + + ha:subc-aux { + lid=0 + ha:combining { } + + li:objects { + ha:line.159265 { + x1=48.8mm; y1=33.2mm; x2=48.8mm; y2=33.2mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=origin + } + } + ha:line.159268 { + x1=48.8mm; y1=33.2mm; x2=48.8mm; y2=32.2mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=x + } + } + ha:line.159271 { + x1=48.8mm; y1=33.2mm; x2=49.8mm; y2=33.2mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=y + } + } + ha:line.159274 { + x1=48.8mm; y1=33.2mm; x2=48.8mm; y2=33.2mm; thickness=0.1mm; clearance=0.0; + ha:attributes { + subc-role=pnp-origin + } + } + } + ha:type { + top = 1 + misc = 1 + virtual = 1 + } + } + + ha:top-silkscreen { + lid=1 + ha:combining { } + + li:objects { + ha:line.159277 { + x1=47.9mm; y1=34.125mm; x2=49.7mm; y2=34.125mm; thickness=0.2mm; clearance=0.0; + } + ha:line.159280 { + x1=47.9mm; y1=32.275mm; x2=49.7mm; y2=32.275mm; thickness=0.2mm; clearance=0.0; + } + } + ha:type { + silk = 1 + top = 1 + } + } + + ha:top-assembly { + lid=2 + ha:combining { } + + li:objects { + ha:line.159283 { + x1=48.8mm; y1=33.9mm; x2=48.8mm; y2=32.5mm; thickness=0.1mm; clearance=0.0; + } + ha:line.159286 { + x1=48.1mm; y1=33.2mm; x2=49.5mm; y2=33.2mm; thickness=0.1mm; clearance=0.0; + } + ha:line.159289 { + x1=48.0mm; y1=33.6mm; x2=48.0mm; y2=32.8mm; thickness=0.1mm; clearance=0.0; + } + ha:line.159292 { + x1=48.0mm; y1=32.8mm; x2=49.6mm; y2=32.8mm; thickness=0.1mm; clearance=0.0; + } + ha:line.159295 { + x1=49.6mm; y1=32.8mm; x2=49.6mm; y2=33.6mm; thickness=0.1mm; clearance=0.0; + } + ha:line.159298 { + x1=49.6mm; y1=33.6mm; x2=48.0mm; y2=33.6mm; thickness=0.1mm; clearance=0.0; + } + ha:arc.159301 { + x=48.8mm; y=33.2mm; width=0.5mm; height=0.5mm; astart=90.000000; adelta=360.000000; thickness=0.1mm; clearance=0.0; + } + } + ha:type { + top = 1 + doc = 1 + } + purpose = assy + } + + ha:top-courtyard { + lid=3 + ha:combining { } + + li:objects { + ha:polygon.159305 { + li:geometry { + ta:contour { + { 47.25mm; 34.075mm } + { 47.75mm; 34.075mm } + { 49.85mm; 34.075mm } + { 50.35mm; 34.075mm } + { 50.35mm; 32.325mm } + { 49.85mm; 32.325mm } + { 47.75mm; 32.325mm } + { 47.25mm; 32.325mm } + } + } + } + } + ha:type { + top = 1 + doc = 1 + } + purpose = ko.courtyard + } + + ha:top-silk { + lid=4 + ha:combining { auto=1; } + + li:objects { + } + ha:type { + silk = 1 + top = 1 + } + } + } + } + uid = Z7PWfKk5e3ZiWDedtbcAAAEl + } + } + li:layers { + + ha:top-sig { + lid=0 + group=3 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftt} + {pcb-rnd::key::select}={l; t} + } + + li:objects { + } + color = {#238b27} + } + + ha:bottom-sig { + lid=1 + group=10 + ha:combining { } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shiftb} + {pcb-rnd::key::select}={l; b} + } + + li:objects { + } + color = {#38ee39} + } + + ha:top-gnd { + lid=2 + group=3 + ha:combining { } + + li:objects { + ha:polygon.333076 { clearance=0.4mm; + li:geometry { + ta:contour { + { 3.5mm; 3.6mm } + { 96.5mm; 3.6mm } + { 96.5mm; 56.6mm } + { 3.5mm; 56.6mm } + } + } + + ha:flags { + clearpoly=1 + lock=1 + } + } + } + color = {#104e8b} + } + + ha:bottom-gnd { + lid=3 + group=10 + ha:combining { } + + li:objects { + } + color = {#6164ff} + } + + ha:outline { + lid=4 + group=7 + ha:combining { } + + li:objects { + } + color = {#00868b} + } + + ha:bottom-silk { + lid=5 + group=12 + 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=6 + group=1 + ha:combining { auto=1; } + + ha:attributes { + {pcb-rnd::key::vis}={l; Shifts} + {pcb-rnd::key::select}={l; s} + } + + li:objects { + } + color = {#000000} + } + + ha:top-paste { + lid=7 + group=0 + ha:combining { auto=1; } + + li:objects { + } + color = {#cd00cd} + } + + ha:top-mask { + lid=8 + group=2 + ha:combining { sub=1; auto=1; } + + li:objects { + } + color = {#ff0000} + } + + ha:bottom-mask { + lid=9 + group=11 + ha:combining { sub=1; auto=1; } + + li:objects { + } + color = {#ff0000} + } + + ha:bottom-paste { + lid=10 + group=13 + ha:combining { auto=1; } + + li:objects { + } + color = {#cd00cd} + } + + ha:slot-plated { + lid=11 + group=14 + ha:combining { auto=1; } + + li:objects { + } + color = {#8b7355} + } + + ha:slot-unplated { + lid=12 + group=15 + ha:combining { auto=1; } + + li:objects { + } + color = {#00868b} + } + + ha:top-assy { + lid=13 + group=16 + ha:combining { } + + li:objects { + } + color = {#444444} + } + + ha:bot-assy { + lid=14 + group=17 + ha:combining { } + + li:objects { + } + color = {#444444} + } + + ha:fab { + lid=15 + group=18 + ha:combining { auto=1; } + + li:objects { + } + color = {#222222} + } + + ha:top-courtyard { + lid=16 + group=8 + ha:combining { } + + li:objects { + } + color = {#104e8b} + } + + ha:bot-courtyard { + lid=17 + group=9 + ha:combining { } + + li:objects { + } + color = {#cd3700} + } + + ha:top-pwr { + lid=18 + group=3 + ha:combining { } + + li:objects { + } + color = {#c24744} + } + + ha:bottom-pwr { + lid=19 + group=10 + ha:combining { } + + li:objects { + } + color = {#ffa457} + } + + ha:bottom_shield { + lid=20 + group=10 + ha:combining { } + + li:objects { + ha:polygon.355623 { clearance=0.4mm; + li:geometry { + ta:contour { + { 3.5mm; 3.6mm } + { 6.1mm; 3.6mm } + { 6.1mm; 56.6mm } + { 3.5mm; 56.6mm } + } + } + + ha:flags { + clearpoly=1 + } + } + } + color = {#fcff58} + } + + } + } + ha:layer_stack { + li:groups { + ha:0 { + name = top_paste + ha:type { top=1; paste=1; } + li:layers { 7; } + } + ha:1 { + name = top_silk + ha:type { silk=1; top=1; } + li:layers { 6; } + } + ha:2 { + name = top_mask + ha:type { top=1; mask=1; } + li:layers { 8; } + } + ha:3 { + name = top_copper + ha:type { copper=1; top=1; } + li:layers { 0; 18; 2; } + ha:attributes { + thickness=0.035mm + } + } + ha:4 { + ha:type { substrate=1; intern=1; } + li:layers { } + ha:attributes { + thickness={0.2mm} + } + name = grp_4 + } + ha:5 { + name = grp_6 + ha:type { intern=1; substrate=1; } + li:layers { } + } + ha:6 { + ha:type { substrate=1; intern=1; } + li:layers { } + name = grp_8 + ha:attributes { + thickness=0.2mm + } + } + ha:7 { + name = global_outline + ha:type { boundary=1; } + li:layers { 4; } + purpose = uroute + } + ha:8 { + ha:type { top=1; doc=1; } + li:layers { 16;} + ha:attributes { + init-invis=true + } + name = top-courtyard + purpose = ko.courtyard + } + ha:9 { + name = bot-courtyard + ha:type { bottom=1; doc=1; } + li:layers { 17; } + purpose = ko.courtyard + ha:attributes { + init-invis=true + } + } + ha:10 { + name = bottom_copper + ha:type { bottom=1; copper=1; } + li:layers { 1; 19; 3; 20; } + ha:attributes { + thickness=0.035mm + } + } + ha:11 { + name = bottom_mask + ha:type { bottom=1; mask=1; } + li:layers { 9; } + } + ha:12 { + name = bottom_silk + ha:type { bottom=1; silk=1; } + li:layers { 5; } + } + ha:13 { + name = bottom_paste + ha:type { bottom=1; paste=1; } + li:layers { 10; } + } + ha:14 { + name = pmech + ha:type { mech=1; } + li:layers { 11; } + purpose = proute + } + ha:15 { + name = umech + ha:type { mech=1; } + li:layers { 12; } + purpose = uroute + } + ha:16 { + name = top_assy + ha:type { top=1; doc=1; } + li:layers { 13; } + purpose = assy + ha:attributes { + init-invis=1 + } + } + ha:17 { + name = bot_assy + ha:type { bottom=1; doc=1; } + li:layers { 14; } + purpose = assy + ha:attributes { + init-invis=1 + } + } + ha:18 { + name = fab + ha:type { top=1; doc=1; } + li:layers { 15; } + ha:attributes { + init-invis=1 + } + purpose = fab + } + } + } + ha:pixmaps { + } +} Index: bug_files/Poly_rewrite/intersect.txt =================================================================== --- bug_files/Poly_rewrite/intersect.txt (nonexistent) +++ bug_files/Poly_rewrite/intersect.txt (revision 36169) @@ -0,0 +1,6 @@ +Corner case: two clearances happen to have a shared vertical contour line +in the middle which causes self-intersecting poly on the gerber output. + +Poly nohole slicer should probably slice it in the middle, but it may be +the poly lib that's having a zero sized polygon there? +