UNPKG

dxf-viewer

Version:
194 lines (192 loc) 12.1 kB
import { Pattern, RegisterPattern } from "../../Pattern.js" RegisterPattern(Pattern.ParsePatFile(` *HOLLY,HOLLY ;By John Hyslop ;Developed in mm as Metric QCAD3 pattern 99.462322,20.32,2.794,129.4477627,4.175734346,1.545021802,-152.9571465 74.744881,17.018,2.032,104.7031863,2.22772732,2.896045516,-286.7085124 68.198591,13.462,3.81,80.18324705,4.716661636,2.73566382,-134.0475224 270,14.732,9.398,0,25.4,1.778,-23.622 248.198591,19.05,8.89,80.18324705,4.716661636,2.73566382,-134.0475224 45,20.32,5.08,17.96051221,17.96051221,2.155261374,-33.76576305 351.869898,22.86,3.302,25.14471705,3.592102544,1.796051272,-177.8090711 0,21.844,3.302,0,25.4,1.016,-24.384 26.565051,20.828,2.794,34.07767607,11.35922544,1.135922544,-55.66020415 45,20.32,2.286,17.96051221,17.96051221,0.718420458,-35.20260397 341.565051,19.558,2.54,24.09655582,8.032185358,0.803218612,-79.51863395 0,18.542,2.54,0,25.4,1.016,-24.384 26.565051,18.034,2.286,34.07767607,11.35922544,0.567961272,-56.22816542 26.565051,17.526,2.032,34.07767607,11.35922544,0.567961272,-56.22816542 53.130102,16.764,1.016,91.44,5.08,1.27,-125.73 270,16.764,2.032,0,25.4,1.016,-24.384 303.690068,16.256,2.794,35.22346245,7.04469254,0.915809954,-90.6651923 315,15.748,3.302,17.96051221,17.96051221,0.718420458,-35.20260397 345.963757,14.732,3.556,24.6416195,6.160405002,1.047268924,-103.6796141 0,13.716,3.556,0,25.4,1.016,-24.384 33.690068,12.954,3.048,35.22346245,7.04469254,0.915809954,-90.6651923 255.963757,13.208,4.064,24.6416195,6.160405002,1.047268924,-103.6796141 281.309932,12.954,5.334,104.6083465,4.981349956,1.29515108,-128.2199447 284.036243,12.7,6.35,80.0852635,6.160405002,1.047268924,-103.6796141 296.565051,12.192,7.366,34.07767607,11.35922544,1.135922544,-55.66020415 303.690068,11.684,8.128,35.22346245,7.04469254,0.915809954,-90.6651923 180,12.7,8.128,0,25.4,1.016,-24.384 180,13.462,8.128,0,25.4,0.762,-24.638 213.690068,14.224,8.636,35.22346245,7.04469254,0.915809954,-90.6651923 243.434949,14.478,9.144,22.71845063,11.35922544,0.567961272,-56.22816542 251.565051,14.732,9.906,24.09655582,8.032185358,0.803218612,-79.51863395 108.434949,14.986,9.144,56.22529674,8.032185358,0.803218612,-79.51863395 135,15.494,8.636,17.96051221,17.96051221,0.718420458,-35.20260397 153.434949,16.002,8.382,22.71845063,11.35922544,0.567961272,-56.22816542 161.565051,16.764,8.128,24.09655582,8.032185358,0.803218612,-79.51863395 180,17.526,8.128,0,25.4,0.762,-24.638 198.434949,18.288,8.382,56.22529674,8.032185358,0.803218612,-79.51863395 225,18.796,8.89,17.96051221,17.96051221,0.718420458,-35.20260397 251.565051,19.05,9.652,24.09655582,8.032185358,0.803218612,-79.51863395 108.434949,19.304,8.89,56.22529674,8.032185358,0.803218612,-79.51863395 116.565051,19.812,7.874,34.07767607,11.35922544,1.135922544,-55.66020415 135,20.574,7.112,17.96051221,17.96051221,1.077630814,-34.84339386 161.565051,21.336,6.858,24.09655582,8.032185358,0.803218612,-79.51863395 180,22.098,6.858,0,25.4,0.762,-24.638 90,22.098,6.096,0,25.4,0.762,-24.638 111.801409,22.606,4.826,56.59993912,4.716661636,1.36783191,-135.4153543 126.869898,23.368,3.81,35.56,5.08,1.27,-125.73 149.036243,24.638,3.048,56.62883289,4.356064186,1.481061808,-146.6251165 338.587031,11.684,8.128,627.3335515,0.463661252,13.91447154,-1377.532674 338.198591,20.32,17.526,80.18324705,4.716661636,1.36783191,-135.4153543 323.972627,18.034,15.748,218.4910814,1.867445084,3.454773634,-342.0225773 315,15.24,13.462,17.96051221,17.96051221,2.873681832,-33.04734259 135,14.732,13.97,17.96051221,17.96051221,1.796051272,-34.12497315 126.869898,17.272,16.51,35.56,5.08,2.54,-124.46 105.945396,19.558,18.288,80.24604144,3.488958224,1.84914794,-183.0656433 30.963757,22.098,20.32,91.47734537,4.356064186,1.481061808,-146.6251165 14.036243,21.082,20.066,80.0852635,6.160405002,1.047268924,-103.6796141 0,20.32,20.066,0,25.4,0.762,-24.638 341.565051,19.558,20.32,24.09655582,8.032185358,0.803218612,-79.51863395 333.434949,19.05,20.574,22.71845063,11.35922544,0.567961272,-56.22816542 63.434949,18.796,20.066,22.71845063,11.35922544,0.567961272,-56.22816542 45,18.288,19.558,17.96051221,17.96051221,0.718420458,-35.20260397 33.690068,17.526,19.05,35.22346245,7.04469254,0.915809954,-90.6651923 18.434949,16.764,18.796,56.22529674,8.032185358,0.803218612,-79.51863395 0,16.002,18.796,0,25.4,0.762,-24.638 341.565051,15.24,19.05,24.09655582,8.032185358,0.803218612,-79.51863395 108.434949,15.494,18.288,56.22529674,8.032185358,0.803218612,-79.51863395 90,15.494,17.526,0,25.4,0.762,-24.638 75.963757,15.24,16.51,24.6416195,6.160405002,1.047268924,-103.6796141 45,14.478,15.748,17.96051221,17.96051221,1.077630814,-34.84339386 14.036243,13.462,15.494,80.0852635,6.160405002,1.047268924,-103.6796141 0,12.7,15.494,0,25.4,0.762,-24.638 126.869898,13.462,14.478,35.56,5.08,1.27,-125.73 90,13.462,13.716,0,25.4,0.762,-24.638 75.963757,13.208,12.7,24.6416195,6.160405002,1.047268924,-103.6796141 56.309932,12.7,11.938,56.35753981,7.04469254,0.915809954,-90.6651923 191.309932,13.97,12.192,104.6083465,4.981349956,1.29515108,-128.2199447 168.690068,15.24,11.938,24.90674927,4.981349956,1.29515108,-128.2199447 161.565051,16.764,11.43,24.09655582,8.032185358,1.60643697,-78.71541559 143.130102,17.78,10.668,91.44,5.08,1.27,-125.73 270,17.78,10.922,0,25.4,0.254,-25.146 270,17.78,11.684,0,25.4,0.762,-24.638 243.434949,18.288,12.7,22.71845063,11.35922544,1.135922544,-55.66020415 213.690068,19.05,13.208,35.22346245,7.04469254,0.915809954,-90.6651923 198.434949,19.812,13.462,56.22529674,8.032185358,0.803218612,-79.51863395 180,20.828,13.462,0,25.4,1.016,-24.384 146.309932,21.59,12.954,56.35753981,7.04469254,0.915809954,-90.6651923 303.690068,21.082,13.716,35.22346245,7.04469254,0.915809954,-90.6651923 270,21.082,14.478,0,25.4,0.762,-24.638 270,21.082,15.494,0,25.4,1.016,-24.384 243.434949,21.59,16.51,22.71845063,11.35922544,1.135922544,-55.66020415 225,22.098,17.018,17.96051221,17.96051221,0.718420458,-35.20260397 296.565051,21.844,17.526,34.07767607,11.35922544,0.567961272,-56.22816542 270,21.844,18.034,0,25.4,0.508,-24.892 255.963757,22.098,19.05,24.6416195,6.160405002,1.047268924,-103.6796141 243.434949,22.606,20.066,22.71845063,11.35922544,1.135922544,-55.66020415 233.130102,23.368,21.082,91.44,5.08,1.27,-125.73 40.601295,12.7,11.938,35.81521869,2.755016842,14.05058582,-220.1258435 195.945396,6.604,13.716,80.24604144,3.488958224,1.84914794,-183.0656433 5.194429,7.366,13.97,255.2564824,2.29960805,2.805521694,-277.7466482 19.983107,7.112,17.272,217.0068451,2.170068558,2.9729938,-294.3263839 185.710593,5.842,17.272,229.9928961,2.527394488,2.552668504,-252.7141722 164.054604,5.588,20.066,104.6687498,3.488958224,1.84914794,-183.0656433 45,6.858,20.066,17.96051221,17.96051221,1.436840916,-34.48418351 90,5.334,23.368,0,25.4,1.016,-24.384 75.963757,5.08,22.352,24.6416195,6.160405002,1.047268924,-103.6796141 243.434949,7.874,11.938,22.71845063,11.35922544,1.135922544,-55.66020415 236.309932,8.382,12.7,56.35753981,7.04469254,0.915809954,-90.6651923 225,9.144,13.462,17.96051221,17.96051221,1.077630814,-34.84339386 213.690068,9.906,13.97,35.22346245,7.04469254,0.915809954,-90.6651923 189.462322,11.43,14.224,129.4477627,4.175734346,1.545021802,-152.9571465 333.434949,10.922,14.478,22.71845063,11.35922544,0.567961272,-56.22816542 326.309932,10.16,14.986,56.35753981,7.04469254,0.915809954,-90.6651923 303.690068,9.652,15.748,35.22346245,7.04469254,0.915809954,-90.6651923 270,9.652,16.764,0,25.4,1.016,-24.384 251.565051,9.906,17.526,24.09655582,8.032185358,0.803218612,-79.51863395 236.309932,10.414,18.288,56.35753981,7.04469254,0.915809954,-90.6651923 213.690068,11.176,18.796,35.22346245,7.04469254,0.915809954,-90.6651923 0,10.16,18.796,0,25.4,1.016,-24.384 333.434949,9.144,19.304,22.71845063,11.35922544,1.135922544,-55.66020415 306.869898,8.382,20.32,35.56,5.08,1.27,-125.73 284.036243,8.128,21.336,80.0852635,6.160405002,1.047268924,-103.6796141 341.565051,7.366,21.59,24.09655582,8.032185358,0.803218612,-79.51863395 326.309932,6.604,22.098,56.35753981,7.04469254,0.915809954,-90.6651923 303.690068,6.096,22.86,35.22346245,7.04469254,0.915809954,-90.6651923 296.565051,5.334,24.384,34.07767607,11.35922544,1.703883816,-55.09224288 56.309932,4.572,21.59,56.35753981,7.04469254,0.915809954,-90.6651923 45,4.064,21.082,17.96051221,17.96051221,0.718420458,-35.20260397 33.690068,3.302,20.574,35.22346245,7.04469254,0.915809954,-90.6651923 116.565051,3.556,20.066,34.07767607,11.35922544,0.567961272,-56.22816542 108.434949,3.81,19.304,56.22529674,8.032185358,0.803218612,-79.51863395 90,3.81,18.288,0,25.4,1.016,-24.384 63.434949,3.302,17.272,22.71845063,11.35922544,1.135922544,-55.66020415 33.690068,2.54,16.764,35.22346245,7.04469254,0.915809954,-90.6651923 165.963757,3.556,16.51,24.6416195,6.160405002,1.047268924,-103.6796141 143.130102,4.572,15.748,91.44,5.08,1.27,-125.73 116.565051,5.08,14.732,34.07767607,11.35922544,1.135922544,-55.66020415 75.963757,4.826,13.716,24.6416195,6.160405002,1.047268924,-103.6796141 63.434949,4.318,12.7,22.71845063,11.35922544,1.135922544,-55.66020415 180,5.334,12.7,0,25.4,1.016,-24.384 165.963757,6.35,12.446,24.6416195,6.160405002,1.047268924,-103.6796141 135,6.858,11.938,17.96051221,17.96051221,0.718420458,-35.20260397 116.565051,7.366,10.922,34.07767607,11.35922544,1.135922544,-55.66020415 278.583621,5.334,24.384,847.7664863,0.473877386,13.61449474,-1347.834983 104.036243,7.62,5.08,80.0852635,6.160405002,1.047268924,-103.6796141 123.690068,8.128,4.318,35.22346245,7.04469254,0.915809954,-90.6651923 153.434949,9.144,3.81,22.71845063,11.35922544,1.135922544,-55.66020415 180,9.906,3.81,0,25.4,0.762,-24.638 206.565051,10.922,4.318,34.07767607,11.35922544,1.135922544,-55.66020415 236.309932,11.43,5.08,56.35753981,7.04469254,0.915809954,-90.6651923 255.963757,11.684,6.096,24.6416195,6.160405002,1.047268924,-103.6796141 288.434949,11.43,6.858,56.22529674,8.032185358,0.803218612,-79.51863395 303.690068,10.922,7.62,35.22346245,7.04469254,0.915809954,-90.6651923 333.434949,9.906,8.128,22.71845063,11.35922544,1.135922544,-55.66020415 0,9.144,8.128,0,25.4,0.762,-24.638 26.565051,8.128,7.62,34.07767607,11.35922544,1.135922544,-55.66020415 56.309932,7.62,6.858,56.35753981,7.04469254,0.915809954,-90.6651923 71.565051,7.366,6.096,24.09655582,8.032185358,0.803218612,-79.51863395 104.036243,4.064,7.874,80.0852635,6.160405002,1.047268924,-103.6796141 123.690068,4.572,7.112,35.22346245,7.04469254,0.915809954,-90.6651923 153.434949,5.588,6.604,22.71845063,11.35922544,1.135922544,-55.66020415 180,6.35,6.604,0,25.4,0.762,-24.638 206.565051,7.366,7.112,34.07767607,11.35922544,1.135922544,-55.66020415 236.309932,7.874,7.874,56.35753981,7.04469254,0.915809954,-90.6651923 255.963757,8.128,8.89,24.6416195,6.160405002,1.047268924,-103.6796141 288.434949,7.874,9.652,56.22529674,8.032185358,0.803218612,-79.51863395 303.690068,7.366,10.414,35.22346245,7.04469254,0.915809954,-90.6651923 333.434949,6.35,10.922,22.71845063,11.35922544,1.135922544,-55.66020415 0,5.588,10.922,0,25.4,0.762,-24.638 26.565051,4.572,10.414,34.07767607,11.35922544,1.135922544,-55.66020415 56.309932,4.064,9.652,56.35753981,7.04469254,0.915809954,-90.6651923 71.565051,3.81,8.89,24.09655582,8.032185358,0.803218612,-79.51863395 104.036243,8.636,9.652,80.0852635,6.160405002,1.047268924,-103.6796141 123.690068,9.144,8.89,35.22346245,7.04469254,0.915809954,-90.6651923 153.434949,10.16,8.382,22.71845063,11.35922544,1.135922544,-55.66020415 180,10.922,8.382,0,25.4,0.762,-24.638 206.565051,11.938,8.89,34.07767607,11.35922544,1.135922544,-55.66020415 236.309932,12.446,9.652,56.35753981,7.04469254,0.915809954,-90.6651923 255.963757,12.7,10.668,24.6416195,6.160405002,1.047268924,-103.6796141 288.434949,12.446,11.43,56.22529674,8.032185358,0.803218612,-79.51863395 303.690068,11.938,12.192,35.22346245,7.04469254,0.915809954,-90.6651923 333.434949,10.922,12.7,22.71845063,11.35922544,1.135922544,-55.66020415 0,10.16,12.7,0,25.4,0.762,-24.638 26.565051,9.144,12.192,34.07767607,11.35922544,1.135922544,-55.66020415 56.309932,8.636,11.43,56.35753981,7.04469254,0.915809954,-90.6651923 71.565051,8.382,10.668,24.09655582,8.032185358,0.803218612,-79.51863395 `))