From 244fcaa5346f4fad819cc2b72857cfb2c472944a Mon Sep 17 00:00:00 2001 From: Hiroshi Murayama Date: Sat, 28 Dec 2019 23:45:33 +0900 Subject: add a function that generate filled gerberdata with representing internal shape by fliping polarity --- tests/data/ref_dxf_metric.dxf | 304 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 277 insertions(+), 27 deletions(-) (limited to 'tests/data/ref_dxf_metric.dxf') diff --git a/tests/data/ref_dxf_metric.dxf b/tests/data/ref_dxf_metric.dxf index 89af1e7..8861d4b 100644 --- a/tests/data/ref_dxf_metric.dxf +++ b/tests/data/ref_dxf_metric.dxf @@ -271,49 +271,105 @@ AcDbPolyline 43 0.0 10 -9 +40 20 0 10 -1 +9.9999999999999982 20 -0 +1.1102230246251565e-15 42 --0.41421356237309515 +-0.41421356237309565 10 -0 +1.1102230246251565e-15 +20 +10 +10 +1.1102230246251565e-15 20 -0.99999999999999978 +40 +42 +-0.41421356237309553 +10 10 -6.9388939039072284e-16 20 -9 +50 +10 +40 +20 +50 +42 +-0.41421356237309603 +10 +50 +20 +40 +10 +50 +20 +9.9999999999999982 42 -0.41421356237309548 +0 +LWPOLYLINE +5 +101 +100 +AcDbEntity +8 +0 +100 +AcDbPolyline +90 +8 +70 +1 +43 +0.0 10 -0.99999999999999978 +74.270404858697972 20 +75.039392445007664 10 +74.270404858697972 +20 +45.039392445007664 +42 +-0.41421356237309553 10 -9 +64.270404858697972 20 +35.039392445007664 10 +34.270404858697965 +20 +35.039392445007664 42 --0.41421356237309509 +-0.41421356237309553 10 +24.270404858697965 +20 +45.039392445007664 10 +24.270404858697958 20 -9 +75.039392445007664 +42 +-0.41421356237309553 10 +34.270404858697965 +20 +85.039392445007678 10 +64.270404858697972 20 -1 +85.039392445007678 42 --0.41421356237309548 +-0.41421356237309603 0 CIRCLE 5 -101 +102 100 AcDbEntity 8 @@ -321,17 +377,121 @@ AcDbEntity 100 AcDbCircle 10 -0.61705708382705282 +80.154604804025013 20 +12.631646043929035 +30 +0 +40 +12.546259950593821 +210 +0 +220 +0 +230 +1 +0 +CIRCLE 5 +103 +100 +AcDbEntity +8 +0 +100 +AcDbCircle +10 +50 +20 +65 30 0 40 -0.29999999999999999 +10.277260744660863 +210 +0 +220 +0 +230 +1 +0 +ARC +5 +104 +100 +AcDbEntity +8 +0 +100 +AcDbCircle +10 +50 +20 +65 +30 +0 +40 +6.4592498736207826 +210 +0 +220 +-0 +230 +1 +100 +AcDbArc +50 +90 +51 +345.73898023603914 +0 +LINE +5 +105 +100 +AcDbEntity +8 +0 +100 +AcDbLine +10 +50 +20 +65 +30 +0 +11 +56.26019871530297 +21 +63.408830312383643 +31 +0 +0 +LINE +5 +106 +100 +AcDbEntity +8 +0 +100 +AcDbLine +10 +50 +20 +65 +30 +0 +11 +50 +21 +71.459249873620777 +31 +0 0 LWPOLYLINE 5 -102 +107 100 AcDbEntity 8 @@ -339,25 +499,115 @@ AcDbEntity 100 AcDbPolyline 90 -3 +4 70 1 43 0.0 10 -0.91705708382705309 +38.203772564818578 20 -7.5106817728417301 -42 --0.67748879940688445 +42.206179116779516 +10 +13.451174232106741 +20 +42.206179116779516 +10 +13.451174232106741 +20 +13.596032991956758 +10 +38.203772564818578 +20 +13.596032991956758 +0 +LINE +5 +108 +100 +AcDbEntity +8 +0 +100 +AcDbLine +10 +80 +20 +85 +30 +0 +11 +80 +21 +35 +31 +0 +0 +LINE +5 +109 +100 +AcDbEntity +8 +0 +100 +AcDbLine 10 -0.39955725374872897 +90 20 -7.3040569342673214 +85 +30 +0 +11 +90 +21 +35 +31 +0 +0 +LINE +5 +110 +100 +AcDbEntity +8 +0 +100 +AcDbLine 10 -0.61705708382705282 20 -7.5106817728417301 +20 +32.938987371135568 +30 +0 +11 +32.582672402541192 +21 +32.938987371135568 +31 +0 +0 +LINE +5 +111 +100 +AcDbEntity +8 +0 +100 +AcDbLine +10 +32.582672402541192 +20 +32.938987371135568 +30 +0 +11 +32.582672402541192 +21 +17.844276543429842 +31 +0 0 ENDSEC 0 -- cgit