summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/inputs/fill.dxf2602
-rwxr-xr-xexamples/panelize.py7
2 files changed, 4 insertions, 2605 deletions
diff --git a/examples/inputs/fill.dxf b/examples/inputs/fill.dxf
deleted file mode 100644
index fdea04b..0000000
--- a/examples/inputs/fill.dxf
+++ /dev/null
@@ -1,2602 +0,0 @@
-0
-SECTION
-2
-HEADER
-9
-$INSUNITS
-70
-4
-9
-$ACADVER
-1
-AC1014
-9
-$HANDSEED
-5
-FFFF
-0
-ENDSEC
-0
-SECTION
-2
-TABLES
-0
-TABLE
-2
-VPORT
-5
-8
-100
-AcDbSymbolTable
-0
-ENDTAB
-0
-TABLE
-2
-LTYPE
-5
-5
-100
-AcDbSymbolTable
-0
-LTYPE
-5
-14
-100
-AcDbSymbolTableRecord
-100
-AcDbLinetypeTableRecord
-2
-BYBLOCK
-70
-0
-0
-LTYPE
-5
-15
-100
-AcDbSymbolTableRecord
-100
-AcDbLinetypeTableRecord
-2
-BYLAYER
-70
-0
-0
-ENDTAB
-0
-TABLE
-2
-LAYER
-5
-2
-100
-AcDbSymbolTable
-70
-2
-0
-LAYER
-5
-50
-100
-AcDbSymbolTableRecord
-100
-AcDbLayerTableRecord
-2
-0
-70
-0
-6
-CONTINUOUS
-0
-ENDTAB
-0
-TABLE
-2
-STYLE
-5
-3
-100
-AcDbSymbolTable
-70
-1
-0
-STYLE
-5
-11
-100
-AcDbSymbolTableRecord
-100
-AcDbTextStyleTableRecord
-2
-STANDARD
-70
-0
-0
-ENDTAB
-0
-TABLE
-2
-VIEW
-5
-6
-100
-AcDbSymbolTable
-70
-0
-0
-ENDTAB
-0
-TABLE
-2
-UCS
-5
-7
-100
-AcDbSymbolTable
-70
-0
-0
-ENDTAB
-0
-TABLE
-2
-APPID
-5
-9
-100
-AcDbSymbolTable
-70
-2
-0
-APPID
-5
-12
-100
-AcDbSymbolTableRecord
-100
-AcDbRegAppTableRecord
-2
-ACAD
-70
-0
-0
-ENDTAB
-0
-TABLE
-2
-DIMSTYLE
-5
-A
-100
-AcDbSymbolTable
-70
-1
-0
-ENDTAB
-0
-TABLE
-2
-BLOCK_RECORD
-5
-1
-100
-AcDbSymbolTable
-70
-1
-0
-BLOCK_RECORD
-5
-1F
-100
-AcDbSymbolTableRecord
-100
-AcDbBlockTableRecord
-2
-*MODEL_SPACE
-0
-BLOCK_RECORD
-5
-1B
-100
-AcDbSymbolTableRecord
-100
-AcDbBlockTableRecord
-2
-*PAPER_SPACE
-0
-ENDTAB
-0
-ENDSEC
-0
-SECTION
-2
-BLOCKS
-0
-BLOCK
-5
-20
-100
-AcDbEntity
-100
-AcDbBlockBegin
-2
-*MODEL_SPACE
-0
-ENDBLK
-5
-21
-100
-AcDbEntity
-100
-AcDbBlockEnd
-0
-BLOCK
-5
-1C
-100
-AcDbEntity
-100
-AcDbBlockBegin
-2
-*PAPER_SPACE
-0
-ENDBLK
-5
-1D
-100
-AcDbEntity
-100
-AcDbBlockEnd
-0
-ENDSEC
-0
-SECTION
-2
-ENTITIES
-0
-LWPOLYLINE
-5
-100
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-6
-70
-1
-43
-0.0
-10
-40
-20
-100
-10
-39.999999999999993
-20
-88.499999999999972
-42
--0.41421356237308982
-10
-38.5
-20
-87
-10
-36.899999999999999
-20
-87
-42
--0.41421356237308982
-10
-35.400000000000006
-20
-88.499999999999972
-10
-35.399999999999999
-20
-100
-0
-LWPOLYLINE
-5
-101
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-21.25
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-22.450000000000003
-20
-63.335000000000001
-10
-22.450000000000003
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-21.25
-20
-62.034999999999997
-0
-ARC
-5
-102
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-21.850000000000001
-20
-63.335000000000001
-30
-0
-40
-0.60000000000000053
-100
-AcDbArc
-50
-0
-51
-180
-0
-CIRCLE
-5
-103
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-29.950000000000003
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-LWPOLYLINE
-5
-104
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-19
-70
-1
-43
-0.0
-10
-22.200000000000003
-20
-60
-42
--0.4142135623730907
-10
-23.700000000000003
-20
-58.5
-10
-23.700000000000003
-20
-55.520659651813133
-42
--0.4142135623730907
-10
-22.200000000000003
-20
-54.020659651813133
-10
-13.5
-20
-54.020659651813133
-42
--0.4142135623730907
-10
-12.000000000000002
-20
-55.520659651813133
-10
-12.000000000000002
-20
-57
-10
-12.000000000000002
-20
-58.5
-42
--0.4142135623730907
-10
-13.5
-20
-60
-10
-13.900000000000002
-20
-60
-10
-15.4
-20
-60
-10
-15.4
-20
-61.5
-10
-15.4
-20
-71.5
-42
--0.41421356237308898
-10
-16.899999999999999
-20
-73
-10
-18.5
-20
-73
-42
--0.41421356237308898
-10
-20
-20
-71.5
-10
-20
-20
-61.5
-10
-20
-20
-60
-10
-21.5
-20
-60
-0
-LWPOLYLINE
-5
-105
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-8
-70
-1
-43
-0.0
-10
-22.5
-20
-21.300000000000004
-42
--0.41421356237308982
-10
-21.5
-20
-20.300000000000004
-10
-2.9999999999999982
-20
-20.300000000000004
-42
-0.41421356237309481
-10
-0
-20
-17.300000000000001
-10
-0
-20
-25.500000000000004
-42
-0.41421356237309548
-10
-3.0000000000000004
-20
-22.5
-10
-21.5
-20
-22.5
-42
--0.41421356237308982
-10
-22.5
-20
-21.5
-0
-LWPOLYLINE
-5
-106
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-18
-70
-1
-43
-0.0
-10
-43.699999999999989
-20
-55.520659651813126
-42
--0.4142135623730881
-10
-42.199999999999989
-20
-54.020659651813119
-10
-33.199999999999996
-20
-54.020659651813119
-42
--0.4142135623730907
-10
-31.699999999999999
-20
-55.520659651813126
-10
-31.699999999999999
-20
-58.5
-42
--0.4142135623730907
-10
-33.199999999999996
-20
-60
-10
-33.899999999999999
-20
-60
-10
-35.399999999999999
-20
-60
-10
-35.399999999999999
-20
-61.5
-10
-35.399999999999999
-20
-71.5
-42
--0.41421356237308898
-10
-36.899999999999999
-20
-73
-10
-38.5
-20
-73
-42
--0.41421356237308898
-10
-40
-20
-71.5
-10
-40
-20
-61.5
-10
-40
-20
-60
-10
-41.5
-20
-60
-10
-42.199999999999989
-20
-60
-42
--0.4142135623730881
-10
-43.699999999999989
-20
-58.5
-0
-LWPOLYLINE
-5
-107
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-6
-70
-1
-43
-0.0
-10
-60.220000000000013
-20
-88.499999999999972
-42
--0.41421356237308982
-10
-58.720000000000013
-20
-87
-10
-56.900000000000006
-20
-87
-42
--0.41421356237308982
-10
-55.400000000000006
-20
-88.499999999999972
-10
-55.399999999999999
-20
-100
-10
-60.220000000000027
-20
-100
-0
-LWPOLYLINE
-5
-108
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-9
-70
-1
-43
-0.0
-10
-0
-20
-44
-10
-12.000000000000002
-20
-44
-10
-12.000000000000002
-20
-47.094063415349972
-10
-21
-20
-47.094063415349972
-42
--0.4142135623730907
-10
-22.5
-20
-45.594063415349964
-10
-22.5
-20
-44.300000000000004
-42
--0.4142135623730907
-10
-21
-20
-42.800000000000004
-10
-2.9999999999999982
-20
-42.800000000000004
-42
-0.41421356237309481
-10
-0
-20
-39.800000000000004
-0
-LWPOLYLINE
-5
-109
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-54
-70
-1
-43
-0.0
-10
-42.5
-20
-21.5
-10
-42.5
-20
-21.300000000000004
-42
-0.4142135623731002
-10
-43.5
-20
-20.300000000000008
-10
-62
-20
-20.300000000000004
-42
--0.41421356237309509
-10
-65
-20
-17.300000000000001
-10
-65
-20
-16.500250410747213
-42
-0.4142135623730907
-10
-66.5
-20
-15.000250410747213
-10
-66.868642843789601
-20
-15.000250410747213
-42
--0.3348378315883157
-10
-68.310895504208148
-20
-13.912448498461867
-10
-70.46220136370448
-20
-6.3851777718192153
-42
-0.38411426985847918
-10
-72.732501266263071
-20
-4.9651597160810006
-10
-80.234065260223005
-20
-6.2878878457272922
-42
-0.41421356237308843
-10
-81.450804623240941
-20
-8.0255717417460044
-10
-81.446322967315581
-20
-8.0509884755172365
-42
-0.41421356237309825
-10
-79.708639071296886
-20
-9.2677278385351443
-10
-72.519542474307769
-20
-8.0000961415665639
-10
-65.035306016863061
-20
-50.445310296392726
-10
-92.21599999999998
-20
-55.238000000000014
-10
-99.700236457444689
-20
-12.792785845173839
-10
-92.511139860455586
-20
-11.525154148205248
-42
-0.41421356237310253
-10
-91.294400497437664
-20
-9.7874702521865409
-10
-91.298882153363024
-20
-9.7620535184153105
-42
-0.41421356237309104
-10
-93.036566049381747
-20
-8.5453141553973957
-10
-100.00000000000001
-20
-9.7731554392727293
-10
-100.00000000000001
-20
-59.359999999999999
-10
-82.220000000000013
-20
-59.359999999999999
-10
-82.220000000000013
-20
-71.5
-42
-0.41421356237309331
-10
-80.720000000000013
-20
-73
-10
-79.500000000000028
-20
-73
-42
-0.4142135623730881
-10
-78.000000000000028
-20
-71.5
-10
-78.000000000000014
-20
-59.359999999999999
-10
-60.220000000000013
-20
-59.359999999999999
-10
-60.22000000000002
-20
-71.5
-42
-0.4142135623730881
-10
-58.720000000000013
-20
-73
-10
-56.900000000000006
-20
-73
-42
-0.4142135623730881
-10
-55.399999999999999
-20
-71.5
-10
-55.399999999999999
-20
-60
-10
-53.200000000000003
-20
-60
-42
-0.4142135623730881
-10
-51.700000000000003
-20
-58.5
-10
-51.700000000000003
-20
-55.520659651813119
-42
-0.4142135623730881
-10
-53.200000000000003
-20
-54.020659651813112
-10
-58.220000000000013
-20
-54.020659651813119
-42
--0.41421356237309109
-10
-60.220000000000013
-20
-52.020659651813112
-10
-60.220000000000013
-20
-49.094063415349972
-42
--0.41421356237309109
-10
-58.220000000000013
-20
-47.094063415349964
-10
-44
-20
-47.094063415349972
-42
-0.4142135623730881
-10
-42.5
-20
-45.594063415349964
-10
-42.5
-20
-44.300000000000004
-42
-0.4142135623730881
-10
-44
-20
-42.800000000000004
-10
-62
-20
-42.800000000000004
-42
--0.41421356237309509
-10
-65
-20
-39.800000000000004
-10
-65
-20
-25.5
-42
--0.41421356237309509
-10
-62
-20
-22.5
-10
-43.5
-20
-22.499999999999996
-42
-0.4142135623731002
-0
-ARC
-5
-110
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-3.0000000000000004
-20
-3.0000000000000004
-30
-0
-40
-3.0000000000000004
-100
-AcDbArc
-50
-180
-51
-270
-0
-LINE
-5
-111
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-0
-20
-57
-30
-0
-11
-1.9000000000000004
-21
-57
-31
-0
-0
-LINE
-5
-112
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-3.4000000000000004
-20
-58.5
-30
-0
-11
-3.4000000000000004
-21
-58.5
-31
-0
-0
-ARC
-5
-113
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-1.8999999999999884
-20
-58.499999999999986
-30
-0
-40
-1.500000000000012
-100
-AcDbArc
-50
-0
-51
-89.999999999999545
-0
-LWPOLYLINE
-5
-114
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-2.4500000000000006
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-1.25
-20
-62.034999999999997
-10
-1.2500000000000002
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-2.4500000000000002
-20
-63.335000000000001
-0
-CIRCLE
-5
-115
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-9.9499999999999993
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-LWPOLYLINE
-5
-116
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-12.950000000000001
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-14.150000000000002
-20
-63.335000000000001
-10
-14.150000000000006
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-12.949999999999999
-20
-62.034999999999997
-0
-ARC
-5
-117
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-13.550000000000002
-20
-63.335000000000001
-30
-0
-40
-0.60000000000000053
-100
-AcDbArc
-50
-0
-51
-180
-0
-ARC
-5
-118
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-1.8500000000000003
-20
-63.335000000000001
-30
-0
-40
-0.59999999999999998
-100
-AcDbArc
-50
-0
-51
-180
-0
-ARC
-5
-119
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-1.8500000000000003
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000031
-100
-AcDbArc
-50
--180
-51
-0
-0
-ARC
-5
-120
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-13.550000000000002
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000275
-100
-AcDbArc
-50
--180
-51
-0
-0
-CIRCLE
-5
-121
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-5.4500000000000002
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-LINE
-5
-122
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-0
-20
-60
-30
-0
-11
-1.9000000000000004
-21
-60
-31
-0
-0
-LINE
-5
-123
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-14.150000000000002
-20
-63.335000000000001
-30
-0
-11
-14.150000000000002
-21
-62.034999999999997
-31
-0
-0
-LINE
-5
-124
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-1.25
-20
-62.034999999999997
-30
-0
-11
-1.25
-21
-63.335000000000001
-31
-0
-0
-LINE
-5
-125
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-12.949999999999999
-20
-62.034999999999997
-30
-0
-11
-12.950000000000001
-21
-63.335000000000001
-31
-0
-0
-LINE
-5
-126
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-2.4500000000000002
-20
-63.335000000000001
-30
-0
-11
-2.4500000000000002
-21
-62.034999999999997
-31
-0
-0
-LWPOLYLINE
-5
-127
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-6
-70
-1
-43
-0.0
-10
-18.5
-20
-87
-10
-16.899999999999999
-20
-87
-42
--0.41421356237308982
-10
-15.400000000000006
-20
-88.499999999999972
-10
-15.4
-20
-100
-10
-20
-20
-100
-10
-19.999999999999996
-20
-88.499999999999972
-42
--0.41421356237308982
-0
-LWPOLYLINE
-5
-128
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-54.150000000000006
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-52.950000000000003
-20
-62.034999999999997
-10
-52.95000000000001
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-54.149999999999999
-20
-63.335000000000001
-0
-CIRCLE
-5
-129
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-49.950000000000003
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-ARC
-5
-130
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-53.550000000000004
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000497
-100
-AcDbArc
-50
--180
-51
-0
-0
-LINE
-5
-131
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-72.874812992585703
-20
-48.312219961316394
-30
-0
-11
-72.649070361618698
-21
-49.592470040232264
-31
-0
-0
-ARC
-5
-132
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-53.550000000000004
-20
-63.335000000000001
-30
-0
-40
-0.59999999999999609
-100
-AcDbArc
-50
-0
-51
-180
-0
-LINE
-5
-133
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-85.353090375476171
-20
-51.832531532135668
-30
-0
-11
-85.578833006443176
-21
-50.552281453219805
-31
-0
-0
-CIRCLE
-5
-134
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-45.450000000000003
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-LINE
-5
-135
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-73.830839665233341
-20
-49.800847853432586
-30
-0
-11
-74.056582296200347
-21
-48.520597774516723
-31
-0
-0
-LINE
-5
-136
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-84.397063702828561
-20
-50.343903640019477
-30
-0
-11
-84.171321071861513
-21
-51.624153718935347
-31
-0
-0
-LINE
-5
-137
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-52.950000000000003
-20
-62.034999999999997
-30
-0
-11
-52.950000000000003
-21
-63.335000000000001
-31
-0
-0
-LWPOLYLINE
-5
-138
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-6
-70
-1
-43
-0.0
-10
-78.000000000000028
-20
-88.499999999999972
-10
-78.000000000000028
-20
-100
-10
-82.220000000000027
-20
-100
-10
-82.220000000000027
-20
-88.5
-42
--0.4142135623730881
-10
-80.720000000000027
-20
-87
-10
-79.500000000000028
-20
-87
-42
--0.41421356237308982
-0
-ARC
-5
-139
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-84.76220572366887
-20
-51.728342625535511
-30
-0
-40
-0.59999999999996168
-100
-AcDbArc
-50
-10.000000000000307
-51
-190.00000000000006
-0
-ARC
-5
-140
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-73.239955013426027
-20
-49.696658946832429
-30
-0
-40
-0.59999999999999665
-100
-AcDbArc
-50
-10.000000000000087
-51
-190.00000000000051
-0
-CIRCLE
-5
-141
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-81.329769128308413
-20
-50.463084146476625
-30
-0
-40
-0.59999999999999987
-0
-CIRCLE
-5
-142
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-76.898134239753475
-20
-49.681667346975445
-30
-0
-40
-0.59999999999999987
-0
-ARC
-5
-143
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-84.987948354635876
-20
-50.448092546619641
-30
-0
-40
-0.5999999999999982
-100
-AcDbArc
-50
--169.99999999999923
-51
-10.000000000000965
-0
-ARC
-5
-144
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-73.465697644393032
-20
-48.416408867916559
-30
-0
-40
-0.5999999999999982
-100
-AcDbArc
-50
--169.99999999999946
-51
-10.000000000000746
-0
-LINE
-5
-145
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-54.149999999999999
-20
-63.335000000000001
-30
-0
-11
-54.149999999999999
-21
-62.034999999999997
-31
-0
-0
-ARC
-5
-146
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-1.8999999999999884
-20
-58.500000000000014
-30
-0
-40
-1.5000000000000124
-100
-AcDbArc
-50
-270.00000000000045
-51
-360
-0
-CIRCLE
-5
-147
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-3.5000000000000004
-20
-39.300000000000004
-30
-0
-40
-1.375
-0
-CIRCLE
-5
-148
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-3.5000000000000004
-20
-16.800000000000001
-30
-0
-40
-1.375
-0
-LWPOLYLINE
-5
-149
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-32.95000000000001
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-34.149999999999999
-20
-63.335000000000001
-10
-34.150000000000006
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-32.950000000000003
-20
-62.034999999999997
-0
-LWPOLYLINE
-5
-150
-100
-AcDbEntity
-8
-0
-100
-AcDbPolyline
-90
-4
-70
-1
-43
-0.0
-10
-41.250000000000007
-20
-63.335000000000001
-42
--0.99999999999999989
-10
-42.450000000000003
-20
-63.335000000000001
-10
-42.45000000000001
-20
-62.034999999999997
-42
--0.99999999999999989
-10
-41.25
-20
-62.034999999999997
-0
-ARC
-5
-151
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-41.850000000000009
-20
-63.335000000000001
-30
-0
-40
-0.59999999999999609
-100
-AcDbArc
-50
-0
-51
-180
-0
-ARC
-5
-152
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-41.850000000000009
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000497
-100
-AcDbArc
-50
--180
-51
-0
-0
-ARC
-5
-153
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-33.550000000000004
-20
-63.335000000000001
-30
-0
-40
-0.59999999999999609
-100
-AcDbArc
-50
-0
-51
-180
-0
-ARC
-5
-154
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-21.850000000000001
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000053
-100
-AcDbArc
-50
--180
-51
-0
-0
-CIRCLE
-5
-155
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-25.449999999999999
-20
-62.685000000000002
-30
-0
-40
-0.59999999999999998
-0
-ARC
-5
-156
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-33.550000000000004
-20
-62.034999999999997
-30
-0
-40
-0.60000000000000497
-100
-AcDbArc
-50
--180
-51
-0
-0
-LINE
-5
-157
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-22.450000000000003
-20
-63.335000000000001
-30
-0
-11
-22.450000000000003
-21
-62.034999999999997
-31
-0
-0
-LINE
-5
-158
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-34.149999999999999
-20
-63.335000000000001
-30
-0
-11
-34.149999999999999
-21
-62.034999999999997
-31
-0
-0
-LINE
-5
-159
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-32.950000000000003
-20
-62.034999999999997
-30
-0
-11
-32.950000000000003
-21
-63.335000000000001
-31
-0
-0
-LINE
-5
-160
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-21.25
-20
-62.034999999999997
-30
-0
-11
-21.25
-21
-63.335000000000001
-31
-0
-0
-LINE
-5
-161
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-42.450000000000003
-20
-63.335000000000001
-30
-0
-11
-42.450000000000003
-21
-62.034999999999997
-31
-0
-0
-LINE
-5
-162
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-41.25
-20
-62.034999999999997
-30
-0
-11
-41.25
-21
-63.335000000000001
-31
-0
-0
-ARC
-5
-163
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-66.500000000000014
-20
-3.5002504107472014
-30
-0
-40
-1.500000000000012
-100
-AcDbArc
-50
-90.00000000000054
-51
-180
-0
-ARC
-5
-164
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-62
-20
-3.0000000000000004
-30
-0
-40
-3.0000000000000004
-100
-AcDbArc
-50
--90
-51
-0
-0
-CIRCLE
-5
-165
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-61.5
-20
-39.300000000000004
-30
-0
-40
-1.375
-0
-LINE
-5
-166
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-66.5
-20
-5.0002504107472134
-30
-0
-11
-66.5
-21
-5.0002504107472134
-31
-0
-0
-CIRCLE
-5
-167
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-61.5
-20
-16.800000000000001
-30
-0
-40
-1.375
-0
-LINE
-5
-168
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-68
-20
-3.5002504107472134
-30
-0
-11
-68
-21
-4.3709567898628133e-16
-31
-0
-0
-LINE
-5
-169
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-65
-20
-3.5002504107472134
-30
-0
-11
-65
-21
-3.0000000000000004
-31
-0
-0
-LINE
-5
-170
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-68
-20
-4.3709567898628133e-16
-30
-0
-11
-62
-21
-0
-31
-0
-0
-LINE
-5
-171
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-3.0000000000000004
-20
-0
-30
-0
-11
-0
-21
-0
-31
-0
-0
-LINE
-5
-172
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-0
-20
-0
-30
-0
-11
-0
-21
-3.0000000000000009
-31
-0
-0
-LINE
-5
-173
-100
-AcDbEntity
-8
-0
-100
-AcDbLine
-10
-0
-20
-60
-30
-0
-11
-0
-21
-57
-31
-0
-0
-ARC
-5
-174
-100
-AcDbEntity
-8
-0
-100
-AcDbCircle
-10
-66.5
-20
-3.5002504107472014
-30
-0
-40
-1.5000000000000124
-100
-AcDbArc
-50
-0
-51
-90
-0
-ENDSEC
-0
-SECTION
-2
-OBJECTS
-0
-DICTIONARY
-5
-C
-100
-AcDbDictionary
-3
-ACAD_GROUP
-350
-D
-3
-ACAD_MLINESTYLE
-350
-17
-0
-DICTIONARY
-5
-D
-100
-AcDbDictionary
-0
-DICTIONARY
-5
-1A
-330
-C
-100
-AcDbDictionary
-0
-DICTIONARY
-5
-17
-100
-AcDbDictionary
-0
-ENDSEC
-0
-EOF
diff --git a/examples/panelize.py b/examples/panelize.py
index 34cc446..20a2cac 100755
--- a/examples/panelize.py
+++ b/examples/panelize.py
@@ -18,7 +18,6 @@ boards=[
]
outline = 'inputs/outline.dxf'
mousebites = 'inputs/mousebites.dxf'
-fill = 'inputs/fill.dxf'
outputs = 'outputs/panelized'
os.chdir(os.path.dirname(__file__))
@@ -62,9 +61,11 @@ file = gerberex.read(outline)
file.write(outputs + '.GML')
putstr('.')
ctx = GerberComposition()
-file = gerberex.read(fill)
-file.to_metric()
+base = gerberex.rectangle(width=100, height=100, left=0, bottom=0, units='metric')
+base.draw_mode = DxfFile.DM_FILL
+ctx.merge(base)
file.draw_mode = DxfFile.DM_FILL
+file.negate_polarity()
ctx.merge(file)
ctx.dump(outputs + '-fill.GML')