Index: work/bug_files/wrong_unit.lht =================================================================== --- work/bug_files/wrong_unit.lht (revision 35392) +++ work/bug_files/wrong_unit.lht (nonexistent) @@ -1,592 +0,0 @@ -ha:pcb-rnd-board-v4 { - - ha:attributes { - {PCB::grid::size}=0.2500mm - {PCB::grid::unit}=mm - } - - li:styles { - ha:20 { - diameter = 74.80314961mil - thickness = 0.2mm - hole = 0.9mm - clearance = 0.25mm - } - ha:25 { - diameter = 74.80314961mil - thickness = 0.25mm - hole = 0.9mm - clearance = 0.4mm - } - ha:32 { - diameter = 2.8mm - thickness = 0.32mm - hole = 1.5mm - clearance = 0.5mm - } - ha:50 { - diameter = 3.2mm - thickness = 0.5mm - hole = 1.7mm - clearance = 0.5mm - } - } - - ha:meta { - ha:size { - thermal_scale = 0.500000 - x = 200.0mm - y = 200.0mm - isle_area_nm2 = 12903200000000.000000 - } - ha:cursor { - zoom = 1.000000 - x = 0.0 - y = 0.0 - } - ha:drc { - min_drill = 0.38mm - min_ring = 0.25mm - bloat = 0.25mm - shrink = 0.25mm - min_width = 0.25mm - min_silk = 0.25mm - } - ha:grid { - spacing = 0.25mm - offs_x = 0.0 - offs_y = 0.0 - } - } - - ha:data { - li:padstack_prototypes { - } - - li:objects { - ha:element.1327 { - x=163.37mm; y=107.25008mm; - ha:flags { - onsolder=1 - } - - ha:attributes { - vendor_part_number=unknown - vendor=unknown - manufacturer_part_number=unknown - device=Capacitor - manufacturer=unknown - } - -li:objects { -ha:text.1324{string=m2012_a.fp; x=164.070024mm; y=103.44998mm; scale=100; fid=0; direction=2; role=desc; ha:flags {onsolder=1}} -ha:text.1325 { string=adrC4; x=164.070024mm; y=103.44998mm; scale=100; fid=0; direction=2; role=name; ha:flags {onsolder=1}} -ha:text.1326 { string=100n; x=164.070024mm; y=103.44998mm; scale=100; fid=0; direction=2; role=value; ha:flags {onsolder=1}} -ha:line.1328 { x1=1.039876mm; y1=-72.44mil; x2=1.039876mm; y2=1.839976mm; thickness=0.24003mm; clearance=0.0; } -ha:line.1329 { x1=-40.94mil; y1=1.839976mm; x2=1.039876mm; y2=1.839976mm; thickness=0.24003mm; clearance=0.0; } -ha:line.1330 { x1=-40.94mil; y1=-72.44mil; x2=-40.94mil; y2=1.839976mm; thickness=0.24003mm; clearance=0.0; } -ha:line.1331 { x1=-40.94mil; y1=-72.44mil; x2=1.039876mm; y2=-72.44mil; thickness=0.24003mm; clearance=0.0; } -ha:pad.1332 { - name=1; number=1; x1=-0.15mm; y1=-0.95mm; x2=0.15mm; y2=-0.95mm; mask=1.54mm; thickness=1.3mm; clearance=0.6mm; - ha:flags { square=1; onsolder=1; } -} -ha:pad.1333 { - name=2; number=2; x1=-0.15mm; y1=0.95mm; x2=0.15mm; y2=0.95mm; mask=1.54mm; thickness=1.3mm; clearance=0.6mm; - ha:flags { square=1; onsolder=1; } -} -} - - } - ha:element.1357 { - x=165.5985mm; y=120.68458mm; - ha:attributes { - vendor_part_number=unknown - vendor=unknown - manufacturer_part_number=unknown - device=MAX232 - manufacturer=unknown - } - - li:objects { - ha:text.1354 { - string=DIP16; x=159.4155mm; y=122.248458mm; scale=100; fid=0; direction=0; role=desc; - } - ha:text.1355 { - string=adrU1; x=159.4155mm; y=122.248458mm; scale=100; fid=0; direction=0; role=name; - } - ha:text.1356 { - string=ST232E; x=159.4155mm; y=122.248458mm; scale=100; fid=0; direction=0; role=value; - } - ha:line.1358 { - x1=50.0mil; y1=-19050.0um; x2=50.0mil; y2=50.0mil; thickness=10.0mil; clearance=0.0; - } - ha:line.1359 { - x1=-8890.0um; y1=-19050.0um; x2=50.0mil; y2=-19050.0um; thickness=10.0mil; clearance=0.0; - } - ha:line.1360 { - x1=-8890.0um; y1=-19050.0um; x2=-8890.0um; y2=50.0mil; thickness=10.0mil; clearance=0.0; - } - ha:line.1361 { - x1=-2540.0um; y1=50.0mil; x2=50.0mil; y2=50.0mil; thickness=10.0mil; clearance=0.0; - } - ha:line.1362 { - x1=-8890.0um; y1=50.0mil; x2=-5080.0um; y2=50.0mil; thickness=10.0mil; clearance=0.0; - } - ha:arc.1379 { - x=-3810.0um; y=50.0mil; width=50.0mil; height=50.0mil; astart=180; adelta=180; thickness=10.0mil; clearance=0.0; - } - ha:pin.1363 { - name=C1+; number=1; x=0.0; y=0.0; hole=28.0mil; mask=1.8764mm; thickness=1.724mm; clearance=30.0mil; - ha:flags { - pin=1 - square=1 - } - } - ha:pin.1364 { - name=V+; number=2; x=0.0; y=-2540.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1365 { - name=C1-; number=3; x=0.0; y=-5080.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1366 { - name=C2+; number=4; x=0.0; y=-7620.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1367 { - name=C2-; number=5; x=0.0; y=-10160.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1368 { - name=V-; number=6; x=0.0; y=-12700.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1369 { - name=Tx2 Out; number=7; x=0.0; y=-15240.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1370 { - name=Rx2 In; number=8; x=0.0; y=-17780.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1371 { - name=Rx2 Out; number=9; x=-7620.0um; y=-17780.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1372 { - name=Tx2 In; number=10; x=-7620.0um; y=-15240.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1373 { - name=Tx1 In; number=11; x=-7620.0um; y=-12700.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - ha:thermal { bottom=diagonal-round; top=diagonal-round; } - pin=1 - } - } - ha:pin.1374 { - name=Rx1 Out; number=12; x=-7620.0um; y=-10160.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1375 { - name=Rx1 In; number=13; x=-7620.0um; y=-7620.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1376 { - name=Tx1 Out; number=14; x=-7620.0um; y=-5080.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - ha:pin.1377 { - name=GND; number=15; x=-7620.0um; y=-2540.0um; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - ha:thermal { bottom=diagonal-round; top=diagonal-round; } - pin=1 - } - } - ha:pin.1378 { - name=Vcc; number=16; x=-7620.0um; y=0.0; hole=28.0mil; mask=66.0mil; thickness=60.0mil; clearance=30.0mil; - ha:flags { - pin=1 - } - } - } - } - ha:element.1422 { - x=153.62mm; y=104.75008mm; - li:objects { - ha:text.1419 { - string=dil_4; x=147.87mm; y=102.69008mm; scale=100; fid=0; direction=0; role=desc; - } - ha:text.1420 { - string=aU2; x=147.87mm; y=102.69008mm; scale=100; fid=0; direction=0; role=name; - } - ha:text.1421 { - string=EL817; x=147.87mm; y=102.69008mm; scale=100; fid=0; direction=0; role=value; - } - ha:line.1423 { - x1=-8890.0um; y1=50.0mil; x2=50.0mil; y2=50.0mil; thickness=0.32mm; clearance=0.0; - } - ha:line.1424 { - x1=-8890.0um; y1=-3810.0um; x2=-8890.0um; y2=50.0mil; thickness=0.32mm; clearance=0.0; - } - ha:line.1425 { - x1=-8890.0um; y1=-3810.0um; x2=50.0mil; y2=-3810.0um; thickness=0.32mm; clearance=0.0; - } - ha:line.1426 { - x1=50.0mil; y1=-3810.0um; x2=50.0mil; y2=50.0mil; thickness=0.32mm; clearance=0.0; - } - ha:pin.1427 { - name=anode; number=1; x=0.0; y=0.0; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - square=1 - } - } - ha:pin.1428 { - name=katode; number=2; x=0.0; y=-2540.0um; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - } - } - ha:pin.1429 { - name=emitter; number=3; x=-7620.0um; y=-2540.0um; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - ha:thermal { bottom=diagonal-round; top=diagonal-round; } - pin=1 - edge2=1 - } - } - ha:pin.1430 { - name=collector; number=4; x=-7620.0um; y=0.0; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - } - } - } - } - ha:element.1434 { - x=146.0mm; y=111.75002mm; - li:objects { - ha:text.1431 { - string=dil_4; x=147.75mm; y=112.19002mm; scale=100; fid=0; direction=0; role=desc; - } - ha:text.1432 { - string=aU3; x=147.75mm; y=112.19002mm; scale=100; fid=0; direction=0; role=name; - } - ha:text.1433 { - string=EL817; x=147.75mm; y=112.19002mm; scale=100; fid=0; direction=0; role=value; - } - ha:line.1435 { - x1=-1270.0um; y1=-1270.0um; x2=350.0mil; y2=-1270.0um; thickness=0.32mm; clearance=0.0; - } - ha:line.1436 { - x1=350.0mil; y1=-1270.0um; x2=350.0mil; y2=150.0mil; thickness=0.32mm; clearance=0.0; - } - ha:line.1437 { - x1=350.0mil; y1=150.0mil; x2=-1270.0um; y2=150.0mil; thickness=0.32mm; clearance=0.0; - } - ha:line.1438 { - x1=-1270.0um; y1=150.0mil; x2=-1270.0um; y2=-1270.0um; thickness=0.32mm; clearance=0.0; - } - ha:pin.1439 { - name=anode; number=1; x=0.0; y=0.0; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - square=1 - } - } - ha:pin.1440 { - name=katode; number=2; x=0.0; y=100.0mil; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - } - } - ha:pin.1441 { - name=emitter; number=3; x=300.0mil; y=100.0mil; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - ha:thermal { bottom=diagonal-round; top=diagonal-round; } - pin=1 - edge2=1 - } - } - ha:pin.1442 { - name=collector; number=4; x=300.0mil; y=0.0; hole=0.7mm; mask=74.80314961mil; thickness=1.7mm; clearance=0.5mm; - ha:flags { - pin=1 - edge2=1 - } - } - } - } - ha:element.1383 { - x=172.62mm; y=114.00008mm; - ha:attributes { - vendor_part_number=unknown - vendor=unknown - manufacturer_part_number=unknown - device=CONNECTOR_4 - manufacturer=unknown - } - - li:objects { - ha:text.1380 { - string=stelvio_mrt9_p3.5_04.fp; x=168.87mm; y=113.95008mm; scale=100; fid=0; direction=1; role=desc; - } - ha:text.1381 { - string=X6; x=168.87mm; y=113.95008mm; scale=100; fid=0; direction=1; role=name; - } - ha:text.1382 { - string=mrt9_p3.5_04; x=168.87mm; y=113.95008mm; scale=100; fid=0; direction=1; role=value; - } - ha:line.1384 { - x1=-167.32mil; y1=2.450084mm; x2=2.999994mm; y2=2.450084mm; thickness=0.32004mm; clearance=0.0; - } - ha:line.1385 { - x1=-167.32mil; y1=-509.84mil; x2=-167.32mil; y2=2.450084mm; thickness=0.32004mm; clearance=0.0; - } - ha:line.1386 { - x1=-167.32mil; y1=-509.84mil; x2=2.999994mm; y2=-509.84mil; thickness=0.32004mm; clearance=0.0; - } - ha:line.1387 { - x1=2.999994mm; y1=-509.84mil; x2=2.999994mm; y2=2.450084mm; thickness=0.32004mm; clearance=0.0; - } - ha:line.1388 { - x1=-185.04mil; y1=68.9mil; x2=6.400038mm; y2=68.9mil; thickness=0.119888mm; clearance=0.0; - } - ha:line.1389 { - x1=-185.04mil; y1=-482.28mil; x2=-185.04mil; y2=68.9mil; thickness=0.119888mm; clearance=0.0; - } - ha:line.1390 { - x1=-185.04mil; y1=-482.28mil; x2=6.400038mm; y2=-482.28mil; thickness=0.119888mm; clearance=0.0; - } - ha:line.1391 { - x1=6.400038mm; y1=-482.28mil; x2=6.400038mm; y2=68.9mil; thickness=0.119888mm; clearance=0.0; - } - ha:pin.1392 { - name=1; number=1; x=0.0; y=0.0; hole=1.299972mm; mask=2.70002mm; thickness=2.29997mm; clearance=19.69mil; - ha:flags { - ha:thermal { bottom=diagonal-round; top=diagonal-round; } - pin=1 - square=1 - } - } - ha:pin.1393 { - name=2; number=2; x=0.0; y=-3500.12um; hole=1.299972mm; mask=2.70002mm; thickness=2.29997mm; clearance=19.69mil; - ha:flags { - pin=1 - } - } - ha:pin.1394 { - name=3; number=3; x=0.0; y=-275.59mil; hole=1.299972mm; mask=2.70002mm; thickness=2.29997mm; clearance=19.69mil; - ha:flags { - pin=1 - } - } - ha:pin.1395 { - name=4; number=4; x=0.0; y=-413.39mil; hole=1.299972mm; mask=2.70002mm; thickness=2.29997mm; clearance=19.69mil; - ha:flags { - pin=1 - } - } - } - } - ha:rat.1863 { - x1=163.219886mm; y1=106.30012mm; lgrp1=5; x2=150.12mm; y2=99.25008mm; lgrp2=3; - ha:flags { - via=1 - } - } - } - li:layers { - - ha:top { - lid=0 - group=3 - ha:combining { } - visible=1 - - li:objects { - } - } - - ha:bottom { - lid=1 - group=5 - ha:combining { } - visible=1 - - li:objects { - ha:polygon.1259 { clearance=0.5mm; - li:geometry { - ta:contour { - { 175.619998mm; 99.25008mm } - { 150.12mm; 99.25008mm } - { 150.12mm; 124.50008mm } - { 175.619998mm; 124.50008mm } - } - } - - ha:flags { - fullpoly=1 - clearpoly=1 - } - } - } - } - - {ha:bottom silk} { - lid=2 - group=7 - ha:combining { auto=1; } - visible=1 - - li:objects { - } - } - - {ha:top silk} { - lid=3 - group=1 - ha:combining { auto=1; } - visible=1 - - li:objects { - } - } - } - } - - ha:netlists { - li:input { - ha:unnamed_net5 { - li:conn { adrC4-1; adrU1-11; adrU1-15; aU3-3; X6-1; } - } - } - } - ha:layer_stack { - li:groups { - ha:0 { - name = top_paste - ha:type { top=1; paste=1; } - li:layers { } - } - ha:1 { - name = top_silk - ha:type { silk=1; top=1; } - li:layers { 3; } - } - ha:2 { - name = top_mask - ha:type { top=1; mask=1; } - li:layers { } - } - ha:3 { - name = top_copper - ha:type { copper=1; top=1; } - li:layers { 0; } - } - ha:4 { - name = grp_4 - ha:type { substrate=1; intern=1; } - li:layers { } - } - ha:5 { - name = bottom_copper - ha:type { bottom=1; copper=1; } - li:layers { 1; } - } - ha:6 { - name = bottom_mask - ha:type { bottom=1; mask=1; } - li:layers { } - } - ha:7 { - name = bottom_silk - ha:type { silk=1; bottom=1; } - li:layers { 2; } - } - ha:8 { - name = bottom_paste - ha:type { bottom=1; paste=1; } - li:layers { } - } - } - } - li:pcb-rnd-conf-v1 { - ha:overwrite { - ha:design { - line_thickness = 320.00 um - groups = {c,1:s,2} - via_thickness = 2.8000 mm - via_drilling_hole = 1500.00 um - clearance = 500.00 um - } - ha:editor { - live_routing = false - snap_pin = true - show_number = false - auto_drc = true - all_direction_lines = false - hide_names = false - unique_names = false - local_ref = false - name_on_pcb = true - orthogonal_moves = false - check_planes = false - swap_start_direction = false - clear_line = true - line_refraction = 2 - show_solder_side = 0 - show_drc = false - grid_unit = mm - draw_grid = false - only_names = false - full_poly = true - buffer_number = 0 - lock_names = true - thin_draw_poly = false - thin_draw = false - rubber_band_mode = false - ha:view { - flip_x = 0 - } - description = false - } - ha:plugins { - ha:mincut { - enable = false - } - } - } - } -}