Skip to content

Commit

Permalink
add test reading all files also reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed Mar 25, 2016
1 parent 9f9c3fd commit 6c01e44
Show file tree
Hide file tree
Showing 38 changed files with 2,233 additions and 16 deletions.
16 changes: 1 addition & 15 deletions regions/io/setup_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,5 @@
import os

def get_package_data():
parser_test = [os.path.join('data', 'ds9.fk5.reg'),
os.path.join('data', 'ds9.fk5.strip.reg'),
os.path.join('data', 'ds9.fk5.hms.reg'),
os.path.join('data', 'ds9.fk5.hms.strip.reg'),
os.path.join('data', 'fk5_reference.reg'),
os.path.join('data', 'ds9.galactic.reg'),
os.path.join('data', 'ds9.galactic.strip.reg'),
os.path.join('data', 'ds9.galactic.hms.reg'),
os.path.join('data', 'ds9.galactic.hms.strip.reg'),
os.path.join('data', 'galactic_reference.reg'),
os.path.join('data', 'ds9.physical.reg'),
os.path.join('data', 'ds9.physical.strip.reg'),
os.path.join('data', 'ds9.physical.windows.reg'),
os.path.join('data', 'physical_reference.reg')]

parser_test = ['data/*.reg']
return {'regions.io.tests': parser_test}
10 changes: 10 additions & 0 deletions regions/io/tests/data/ds9.color.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
fk5
circle(13:29:52.675,+47:11:45.02,1") # color=blue
circle(13:29:52.675,+47:11:45.02,2") # color=#800
circle(13:29:52.675,+47:11:45.02,3") # color=#0a0
circle(13:29:52.675,+47:11:45.02,4") # color=#880000
circle(13:29:52.675,+47:11:45.02,5") # color=#00aa00
circle(13:29:52.675,+47:11:45.02,6") # color=#888800000000
circle(13:29:52.675,+47:11:45.02,7") # color=#0000aaaa0000
10 changes: 10 additions & 0 deletions regions/io/tests/data/ds9.comment.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Region file format: DS9 version 4.0
#
# foobar
# foobar+
# foo+bar
## foobar
### foobar
#. foobar
##. foobar

39 changes: 39 additions & 0 deletions regions/io/tests/data/ds9.composite.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
fk5
# composite(202.48165,47.1931,317.39831) || composite=1
circle(202.48705,47.208237,3.9640007") || # color=pink width=3 font="times 10 normal roman" text={Circle} tag={foo} tag={foo bar} This is a Comment
-ellipse(202.48309,47.204492,7.9280014",3.9640007",2.3983109) || # color=#0ff font="helvetica 10 normal italic" text={Ellipse} background
-box(202.47783,47.201057,15.856003",7.9280014",2.3983109) || # color=yellow font="helvetica 10 bold roman" text={Box}
polygon(202.47309,47.198922,202.46877,47.199044,202.46859,47.196108,202.47291,47.195985) || # font="courier 10 normal roman" text={Polygon} edit=0 rotate=0
-line(202.4684,47.194116,202.46202,47.193946) || # line=1 1 color=cyan text={Line}
# vector(202.46159,47.191504,7.9280014",2.3983109) || vector=1 color=red text={Vector}
# text(202.45907,47.188886) || color=magenta font="helvetica 14 bold roman" text={Region}
# ruler(202.48176,47.194165,202.47471,47.194171) || ruler=physical physical color=white font="helvetica 12 normal roman" text={Ruler}
annulus(202.49319,47.203697,1.9820003",3.9640007",5.946001") || # color=magenta font="helvetica 10 bold roman" text={Annulus}
ellipse(202.48834,47.200368,2.9730005",1.4865003",5.946001",2.9730005",2.3983109) || # color=red width=3 font="helvetica 10 bold roman" text={Ellipse Annulus}
box(202.4832,47.197085,7.9280014",3.9640007",11.892002",5.946001",2.3983109) || # font="helvetica 10 bold roman" text={Box Annulus}
point(202.49871,47.200189) || # point=circle text={Circle Point}
point(202.49351,47.196791) || # point=box color=red width=3 text={Box Point}
point(202.48857,47.193854) || # point=diamond text={Diamond Point}
point(202.5005,47.197643) || # point=cross color=blue text={Cross Point}
point(202.49591,47.194852) || # point=x text={X Point}
point(202.49148,47.191862) || # point=arrow color=magenta text={Arrow Point}
point(202.49864,47.19267) || # point=boxcircle text={BoxCircle Point}
# projection(202.47611,47.189884,202.46694,47.189092,3.9640007") || text={Projection}
panda(202.48266,47.190165,317.39831,587.39831,3,0",5.946001",2) || # text={Panda}
panda(202.48753,47.186403,8.9802109,47.398311,1,0",2.9730005",1) || # panda=(8.9802109 47.398311 137.39831 227.39831)(0" 2.9730005" 5.946001") text={Panda 2}
panda(202.48753,47.186403,8.9802109,47.398311,1,2.9730005",5.946001",1) || # panda=ignore
panda(202.48753,47.186403,47.398311,137.39831,1,0",2.9730005",1) || # panda=ignore
panda(202.48753,47.186403,47.398311,137.39831,1,2.9730005",5.946001",1) || # panda=ignore
panda(202.48753,47.186403,137.39831,227.39831,1,0",2.9730005",1) || # panda=ignore
panda(202.48753,47.186403,137.39831,227.39831,1,2.9730005",5.946001",1) || # panda=ignore
# compass(202.46768,47.186188,7.9280014") || compass=physical {N} {E} 1 1 text={Compass}
epanda(202.47821,47.186785,317.39831,587.39831,3,2.9730005",1.4865003",5.946001",2.9730005",1,2.3983109) || # text={Epanda}
epanda(202.48291,47.183066,2.3983109,47.398311,1,2.9730005",1.4865003",5.946001",2.9730005",1,2.3983109) || # epanda=(2.3983109 47.398311 137.39831 227.39831)(2.9730005" 1.4865003" 5.946001" 2.9730005")(2.3983109) text={Epanda 2}
epanda(202.48291,47.183066,47.398311,137.39831,1,2.9730005",1.4865003",5.946001",2.9730005",1,2.3983109) || # epanda=ignore
epanda(202.48291,47.183066,137.39831,227.39831,1,2.9730005",1.4865003",5.946001",2.9730005",1,2.3983109) || # epanda=ignore
bpanda(202.47302,47.183543,317.39831,587.39831,3,7.9280014",3.9640007",11.892002",5.946001",1,2.3983109) || # text={Bpanda}
bpanda(202.47809,47.180126,2.3983109,47.398311,1,7.9280014",3.9640007",11.892002",5.946001",1,2.3983109) # bpanda=(2.3983109 47.398311 137.39831 227.39831)(7.9280014" 3.9640007" 11.892002" 5.946001")(2.3983109) text={Bpanda 2}
bpanda(202.47809,47.180126,47.398311,137.39831,1,7.9280014",3.9640007",11.892002",5.946001",1,2.3983109) # bpanda=ignore
bpanda(202.47809,47.180126,137.39831,227.39831,1,7.9280014",3.9640007",11.892002",5.946001",1,2.3983109) # bpanda=ignore
39 changes: 39 additions & 0 deletions regions/io/tests/data/ds9.ecliptic.hms.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
ecliptic
circle(+175:06:44.660,+50:57:09.921,3.964") # color=pink width=3 font="times 10 normal roman" text={Circle} tag={foo} tag={foo bar} This is a Comment
-ellipse(+175:06:44.660,+50:56:53.323,7.928",3.964",326.717) # color=#0ff font="helvetica 10 normal italic" text={Ellipse} background
-box(+175:06:39.530,+50:56:35.776,15.856",7.928",326.717) # color=yellow font="helvetica 10 bold roman" text={Box}
polygon(+175:06:31.722,+50:56:22.779,+175:06:17.685,+50:56:16.970,+175:06:26.903,+50:56:08.125,+175:06:40.939,+50:56:13.934) # font="courier 10 normal roman" text={Polygon} edit=0 rotate=0
-line(+175:06:32.927,+50:56:02.026,+175:06:13.393,+50:55:52.432) # line=1 1 color=cyan text={Line}
# vector(+175:06:20.154,+50:55:44.667,7.928",326.717) vector=1 color=red text={Vector}
# text(+175:06:20.956,+50:55:33.430) color=magenta font="helvetica 14 bold roman" text={Region}
# ruler(+175:07:14.900,+50:56:21.236,+175:06:52.643,+50:56:11.190) ruler=physical physical color=white font="helvetica 12 normal roman" text={Ruler}
annulus(+175:07:19.163,+50:57:05.414,1.982",3.964",5.946") # color=magenta font="helvetica 10 bold roman" text={Annulus}
ellipse(+175:07:14.964,+50:56:48.757,2.973",1.4865",5.946",2.973",326.717) # color=red width=3 font="helvetica 10 bold roman" text={Ellipse Annulus}
box(+175:07:09.715,+50:56:31.833,7.928",3.964",11.892",5.946",326.717) # font="helvetica 10 bold roman" text={Box Annulus}
point(+175:07:48.259,+50:57:03.028) # point=circle text={Circle Point}
point(+175:07:43.186,+50:56:45.675) # point=box color=red width=3 text={Box Point}
point(+175:07:37.393,+50:56:30.037) # point=diamond text={Diamond Point}
point(+175:08:02.394,+50:56:58.143) # point=cross color=blue text={Cross Point}
point(+175:07:57.227,+50:56:43.435) # point=x text={X Point}
point(+175:07:53.228,+50:56:28.371) # point=arrow color=magenta text={Arrow Point}
point(+175:08:13.115,+50:56:40.951) # point=boxcircle text={BoxCircle Point}
# projection(+175:07:11.338,+50:56:00.651,+175:06:45.077,+50:55:45.258,3.964") text={Projection}
panda(+175:07:31.067,+50:56:10.824,281.717,551.717,3,0",5.946",2) # text={Panda}
panda(+175:07:58.962,+50:56:06.771,333.299,371.717,1,0",2.973",1) # panda=(333.299 11.7173 101.717 191.717)(0" 2.973" 5.946") text={Panda 2}
panda(+175:07:58.962,+50:56:06.771,333.299,371.717,1,2.973",5.946",1) # panda=ignore
panda(+175:07:58.962,+50:56:06.771,11.7173,101.717,1,0",2.973",1) # panda=ignore
panda(+175:07:58.962,+50:56:06.771,11.7173,101.717,1,2.973",5.946",1) # panda=ignore
panda(+175:07:58.962,+50:56:06.771,101.717,191.717,1,0",2.973",1) # panda=ignore
panda(+175:07:58.962,+50:56:06.771,101.717,191.717,1,2.973",5.946",1) # panda=ignore
# compass(+175:06:57.081,+50:55:37.819,7.928") compass=physical {N} {E} 1 1 text={Compass}
epanda(+175:07:28.292,+50:55:54.588,281.717,551.717,3,2.973",1.4865",5.946",2.973",1,326.717) # text={Epanda}
epanda(+175:07:55.505,+50:55:50.422,326.717,371.717,1,2.973",1.4865",5.946",2.973",1,326.717) # epanda=(326.717 11.7173 101.717 191.717)(2.973" 1.4865" 5.946" 2.973")(326.717) text={Epanda 2}
epanda(+175:07:55.505,+50:55:50.422,11.7173,101.717,1,2.973",1.4865",5.946",2.973",1,326.717) # epanda=ignore
epanda(+175:07:55.505,+50:55:50.422,101.717,191.717,1,2.973",1.4865",5.946",2.973",1,326.717) # epanda=ignore
bpanda(+175:07:22.735,+50:55:37.704,281.717,551.717,3,7.928",3.964",11.892",5.946",1,326.717) # text={Bpanda}
bpanda(+175:07:50.085,+50:55:34.937,326.717,371.717,1,7.928",3.964",11.892",5.946",1,326.717) # bpanda=(326.717 11.7173 101.717 191.717)(7.928" 3.964" 11.892" 5.946")(326.717) text={Bpanda 2}
bpanda(+175:07:50.085,+50:55:34.937,11.7173,101.717,1,7.928",3.964",11.892",5.946",1,326.717) # bpanda=ignore
bpanda(+175:07:50.085,+50:55:34.937,101.717,191.717,1,7.928",3.964",11.892",5.946",1,326.717) # bpanda=ignore
# segment(+175:06:02.705,+50:55:33.587,+175:06:14.128,+50:55:29.262,+175:06:12.470,+50:55:24.216) text={Segment}
1 change: 1 addition & 0 deletions regions/io/tests/data/ds9.ecliptic.hms.strip.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecliptic;circle(+175:06:44.660,+50:57:09.921,3.964");-ellipse(+175:06:44.660,+50:56:53.323,7.928",3.964",326.717);-box(+175:06:39.530,+50:56:35.776,15.856",7.928",326.717);polygon(+175:06:31.722,+50:56:22.779,+175:06:17.685,+50:56:16.970,+175:06:26.903,+50:56:08.125,+175:06:40.939,+50:56:13.934);-line(+175:06:32.927,+50:56:02.026,+175:06:13.393,+50:55:52.432);annulus(+175:07:19.163,+50:57:05.414,1.982",3.964",5.946");ellipse(+175:07:14.964,+50:56:48.757,2.973",1.4865",5.946",2.973",326.717);box(+175:07:09.715,+50:56:31.833,7.928",3.964",11.892",5.946",326.717);point(+175:07:48.259,+50:57:03.028);point(+175:07:43.186,+50:56:45.675);point(+175:07:37.393,+50:56:30.037);point(+175:08:02.394,+50:56:58.143);point(+175:07:57.227,+50:56:43.435);point(+175:07:53.228,+50:56:28.371);point(+175:08:13.115,+50:56:40.951);panda(+175:07:31.067,+50:56:10.824,281.717,551.717,3,0",5.946",2);panda(+175:07:58.962,+50:56:06.771,333.299,371.717,1,0",2.973",1);panda(+175:07:58.962,+50:56:06.771,333.299,371.717,1,2.973",5.946",1);panda(+175:07:58.962,+50:56:06.771,11.7173,101.717,1,0",2.973",1);panda(+175:07:58.962,+50:56:06.771,11.7173,101.717,1,2.973",5.946",1);panda(+175:07:58.962,+50:56:06.771,101.717,191.717,1,0",2.973",1);panda(+175:07:58.962,+50:56:06.771,101.717,191.717,1,2.973",5.946",1);epanda(+175:07:28.292,+50:55:54.588,281.717,551.717,3,2.973",1.4865",5.946",2.973",1,326.717);epanda(+175:07:55.505,+50:55:50.422,326.717,371.717,1,2.973",1.4865",5.946",2.973",1,326.717);epanda(+175:07:55.505,+50:55:50.422,11.7173,101.717,1,2.973",1.4865",5.946",2.973",1,326.717);epanda(+175:07:55.505,+50:55:50.422,101.717,191.717,1,2.973",1.4865",5.946",2.973",1,326.717);bpanda(+175:07:22.735,+50:55:37.704,281.717,551.717,3,7.928",3.964",11.892",5.946",1,326.717);bpanda(+175:07:50.085,+50:55:34.937,326.717,371.717,1,7.928",3.964",11.892",5.946",1,326.717);bpanda(+175:07:50.085,+50:55:34.937,11.7173,101.717,1,7.928",3.964",11.892",5.946",1,326.717);bpanda(+175:07:50.085,+50:55:34.937,101.717,191.717,1,7.928",3.964",11.892",5.946",1,326.717);
39 changes: 39 additions & 0 deletions regions/io/tests/data/ds9.ecliptic.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
ecliptic
circle(175.11241,50.952756,3.9640007") # color=pink width=3 font="times 10 normal roman" text={Circle} tag={foo} tag={foo bar} This is a Comment
-ellipse(175.11241,50.948145,7.9280014",3.9640007",326.71725) # color=#0ff font="helvetica 10 normal italic" text={Ellipse} background
-box(175.11098,50.943271,15.856003",7.9280014",326.71725) # color=yellow font="helvetica 10 bold roman" text={Box}
polygon(175.10881,50.939661,175.10491,50.938047,175.10747,50.93559,175.11137,50.937204) # font="courier 10 normal roman" text={Polygon} edit=0 rotate=0
-line(175.10915,50.933896,175.10372,50.931231) # line=1 1 color=cyan text={Line}
# vector(175.1056,50.929074,7.9280014",326.71725) vector=1 color=red text={Vector}
# text(175.10582,50.925953) color=magenta font="helvetica 14 bold roman" text={Region}
# ruler(175.12081,50.939232,175.11462,50.936442) ruler=physical physical color=white font="helvetica 12 normal roman" text={Ruler}
annulus(175.12199,50.951504,1.9820003",3.9640007",5.946001") # color=magenta font="helvetica 10 bold roman" text={Annulus}
ellipse(175.12082,50.946877,2.9730005",1.4865003",5.946001",2.9730005",326.71725) # color=red width=3 font="helvetica 10 bold roman" text={Ellipse Annulus}
box(175.11937,50.942176,7.9280014",3.9640007",11.892002",5.946001",326.71725) # font="helvetica 10 bold roman" text={Box Annulus}
point(175.13007,50.950841) # point=circle text={Circle Point}
point(175.12866,50.946021) # point=box color=red width=3 text={Box Point}
point(175.12705,50.941677) # point=diamond text={Diamond Point}
point(175.134,50.949484) # point=cross color=blue text={Cross Point}
point(175.13256,50.945398) # point=x text={X Point}
point(175.13145,50.941214) # point=arrow color=magenta text={Arrow Point}
point(175.13698,50.944709) # point=boxcircle text={BoxCircle Point}
# projection(175.11982,50.933514,175.11252,50.929238,3.9640007") text={Projection}
panda(175.1253,50.93634,281.71725,551.71725,3,0",5.946001",2) # text={Panda}
panda(175.13305,50.935214,333.29915,371.71725,1,0",2.9730005",1) # panda=(333.29915 11.717254 101.71725 191.71725)(0" 2.9730005" 5.946001") text={Panda 2}
panda(175.13305,50.935214,333.29915,371.71725,1,2.9730005",5.946001",1) # panda=ignore
panda(175.13305,50.935214,11.717254,101.71725,1,0",2.9730005",1) # panda=ignore
panda(175.13305,50.935214,11.717254,101.71725,1,2.9730005",5.946001",1) # panda=ignore
panda(175.13305,50.935214,101.71725,191.71725,1,0",2.9730005",1) # panda=ignore
panda(175.13305,50.935214,101.71725,191.71725,1,2.9730005",5.946001",1) # panda=ignore
# compass(175.11586,50.927172,7.9280014") compass=physical {N} {E} 1 1 text={Compass}
epanda(175.12453,50.93183,281.71725,551.71725,3,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725) # text={Epanda}
epanda(175.13208,50.930673,326.71725,371.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725) # epanda=(326.71725 11.717254 101.71725 191.71725)(2.9730005" 1.4865003" 5.946001" 2.9730005")(326.71725) text={Epanda 2}
epanda(175.13208,50.930673,11.717254,101.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725) # epanda=ignore
epanda(175.13208,50.930673,101.71725,191.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725) # epanda=ignore
bpanda(175.12298,50.92714,281.71725,551.71725,3,7.9280014",3.9640007",11.892002",5.946001",1,326.71725) # text={Bpanda}
bpanda(175.13058,50.926371,326.71725,371.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725) # bpanda=(326.71725 11.717254 101.71725 191.71725)(7.9280014" 3.9640007" 11.892002" 5.946001")(326.71725) text={Bpanda 2}
bpanda(175.13058,50.926371,11.717254,101.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725) # bpanda=ignore
bpanda(175.13058,50.926371,101.71725,191.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725) # bpanda=ignore
# segment(175.10075,50.925996,175.10392,50.924795,175.10346,50.923393) text={Segment}
1 change: 1 addition & 0 deletions regions/io/tests/data/ds9.ecliptic.strip.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ecliptic;circle(175.11241,50.952756,3.9640007");-ellipse(175.11241,50.948145,7.9280014",3.9640007",326.71725);-box(175.11098,50.943271,15.856003",7.9280014",326.71725);polygon(175.10881,50.939661,175.10491,50.938047,175.10747,50.93559,175.11137,50.937204);-line(175.10915,50.933896,175.10372,50.931231);annulus(175.12199,50.951504,1.9820003",3.9640007",5.946001");ellipse(175.12082,50.946877,2.9730005",1.4865003",5.946001",2.9730005",326.71725);box(175.11937,50.942176,7.9280014",3.9640007",11.892002",5.946001",326.71725);point(175.13007,50.950841);point(175.12866,50.946021);point(175.12705,50.941677);point(175.134,50.949484);point(175.13256,50.945398);point(175.13145,50.941214);point(175.13698,50.944709);panda(175.1253,50.93634,281.71725,551.71725,3,0",5.946001",2);panda(175.13305,50.935214,333.29915,371.71725,1,0",2.9730005",1);panda(175.13305,50.935214,333.29915,371.71725,1,2.9730005",5.946001",1);panda(175.13305,50.935214,11.717254,101.71725,1,0",2.9730005",1);panda(175.13305,50.935214,11.717254,101.71725,1,2.9730005",5.946001",1);panda(175.13305,50.935214,101.71725,191.71725,1,0",2.9730005",1);panda(175.13305,50.935214,101.71725,191.71725,1,2.9730005",5.946001",1);epanda(175.12453,50.93183,281.71725,551.71725,3,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725);epanda(175.13208,50.930673,326.71725,371.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725);epanda(175.13208,50.930673,11.717254,101.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725);epanda(175.13208,50.930673,101.71725,191.71725,1,2.9730005",1.4865003",5.946001",2.9730005",1,326.71725);bpanda(175.12298,50.92714,281.71725,551.71725,3,7.9280014",3.9640007",11.892002",5.946001",1,326.71725);bpanda(175.13058,50.926371,326.71725,371.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725);bpanda(175.13058,50.926371,11.717254,101.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725);bpanda(175.13058,50.926371,101.71725,191.71725,1,7.9280014",3.9640007",11.892002",5.946001",1,326.71725);
12 changes: 12 additions & 0 deletions regions/io/tests/data/ds9.fits.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Region file format: DS9 version 4.1
global color=green dashlist=8 3 width=1 font="helvetica 10 normal roman" select=1 highlite=1 dash=0 fixed=0 edit=1 move=1 delete=1 include=1 source=1
physical
circle(383,1153,40)
box(679,1149,160,80,0)
-box(1057,1155,160,80,30)
box(675,979,160,80,0)
box(1065,979,160,80,30)
-ellipse(399,777,80,40,30)
point(687,773) # point=boxcircle
annulus(685,561,20,60)
polygon(1014,805,1151,805,1151,668,1051,685)

0 comments on commit 6c01e44

Please sign in to comment.