UNPKG

dxf-viewer

Version:
80 lines (78 loc) 5.22 kB
import { Pattern, RegisterPattern } from "../../Pattern.js" RegisterPattern(Pattern.ParsePatFile(` *LOOPLINKS,LOOPLINKS ;By John Hyslop, Using AutoCAD Lisp Tool ;Developed in mm as metric QCAD3 pattern 206.565051,13.462,17.018,34.077676066,11.35922544,0.567961272,-56.22816542 243.434949,13.716,17.526,22.718450626,11.35922544,0.567961272,-56.22816542 116.565051,11.938,17.018,34.077676066,11.35922544,0.567961272,-56.22816542 153.434949,12.446,16.764,22.718450626,11.35922544,0.567961272,-56.22816542 180,12.954,16.764,0,25.4,0.508,-24.892 258.690068,4.826,14.986,24.906749272,4.981349956,1.29515108,-128.219944728 251.565051,5.08,15.748,24.09655582,8.032185358,0.803218612,-79.518633952 243.434949,5.588,16.764,22.718450626,11.35922544,1.135922544,-55.660204148 230.194429,6.858,18.288,162.6068376,3.252136752,1.9838035,-196.396538372 225,7.874,19.304,17.960512212,17.960512212,1.436840916,-34.484183508 209.744881,9.652,20.32,148.072666262,3.150482142,2.047813532,-202.733533318 194.036243,11.684,20.828,80.085263502,6.160405002,2.094537594,-102.632345154 251.565051,7.112,15.24,24.09655582,8.032185358,1.60643697,-78.715415594 239.036243,7.874,16.51,56.628832894,4.356064186,1.481061808,-146.625116452 225,8.89,17.526,17.960512212,17.960512212,1.436840916,-34.484183508 210.963757,10.16,18.288,91.477345366,4.356064186,1.481061808,-146.625116452 198.434949,11.684,18.796,56.225296744,8.032185358,1.60643697,-78.715415594 116.565051,17.018,11.938,34.077676066,11.35922544,0.567961272,-56.22816542 153.434949,17.526,11.684,22.718450626,11.35922544,0.567961272,-56.22816542 26.565051,17.018,13.462,34.077676066,11.35922544,0.567961272,-56.22816542 63.434949,16.764,12.954,22.718450626,11.35922544,0.567961272,-56.22816542 90,16.764,12.446,0,25.4,0.508,-24.892 168.690068,14.986,20.574,24.906749272,4.981349956,1.29515108,-128.219944728 161.565051,15.748,20.32,24.09655582,8.032185358,0.803218612,-79.518633952 153.434949,16.764,19.812,22.718450626,11.35922544,1.135922544,-55.660204148 140.194429,18.288,18.542,162.6068376,3.252136752,1.9838035,-196.396538372 135,19.304,17.526,17.960512212,17.960512212,1.436840916,-34.484183508 119.744881,20.32,15.748,148.072666262,3.150482142,2.047813532,-202.733533318 104.036243,20.828,13.716,80.085263502,6.160405002,2.094537594,-102.632345154 161.565051,15.24,18.288,24.09655582,8.032185358,1.60643697,-78.715415594 149.036243,16.51,17.526,56.628832894,4.356064186,1.481061808,-146.625116452 135,17.526,16.51,17.960512212,17.960512212,1.436840916,-34.484183508 120.963757,18.288,15.24,91.477345366,4.356064186,1.481061808,-146.625116452 108.434949,18.796,13.716,56.225296744,8.032185358,1.60643697,-78.715415594 26.565051,11.938,8.382,34.077676066,11.35922544,0.567961272,-56.22816542 63.434949,11.684,7.874,22.718450626,11.35922544,0.567961272,-56.22816542 296.565051,13.462,8.382,34.077676066,11.35922544,0.567961272,-56.22816542 333.434949,12.954,8.636,22.718450626,11.35922544,0.567961272,-56.22816542 0,12.446,8.636,0,25.4,0.508,-24.892 78.690068,20.574,10.414,24.906749272,4.981349956,1.29515108,-128.219944728 71.565051,20.32,9.652,24.09655582,8.032185358,0.803218612,-79.518633952 63.434949,19.812,8.636,22.718450626,11.35922544,1.135922544,-55.660204148 50.194429,18.542,7.112,162.6068376,3.252136752,1.9838035,-196.396538372 45,17.526,6.096,17.960512212,17.960512212,1.436840916,-34.484183508 29.744881,15.748,5.08,148.072666262,3.150482142,2.047813532,-202.733533318 14.036243,13.716,4.572,80.085263502,6.160405002,2.094537594,-102.632345154 71.565051,18.288,10.16,24.09655582,8.032185358,1.60643697,-78.715415594 59.036243,17.526,8.89,56.628832894,4.356064186,1.481061808,-146.625116452 45,16.51,7.874,17.960512212,17.960512212,1.436840916,-34.484183508 30.963757,15.24,7.112,91.477345366,4.356064186,1.481061808,-146.625116452 18.434949,13.716,6.604,56.225296744,8.032185358,1.60643697,-78.715415594 296.565051,8.382,13.462,34.077676066,11.35922544,0.567961272,-56.22816542 333.434949,7.874,13.716,22.718450626,11.35922544,0.567961272,-56.22816542 206.565051,8.382,11.938,34.077676066,11.35922544,0.567961272,-56.22816542 243.434949,8.636,12.446,22.718450626,11.35922544,0.567961272,-56.22816542 270,8.636,12.954,0,25.4,0.508,-24.892 348.690068,10.414,4.826,24.906749272,4.981349956,1.29515108,-128.219944728 341.565051,9.652,5.08,24.09655582,8.032185358,0.803218612,-79.518633952 333.434949,8.636,5.588,22.718450626,11.35922544,1.135922544,-55.660204148 320.194429,7.112,6.858,162.6068376,3.252136752,1.9838035,-196.396538372 315,6.096,7.874,17.960512212,17.960512212,1.436840916,-34.484183508 299.744881,5.08,9.652,148.072666262,3.150482142,2.047813532,-202.733533318 284.036243,4.572,11.684,80.085263502,6.160405002,2.094537594,-102.632345154 341.565051,10.16,7.112,24.09655582,8.032185358,1.60643697,-78.715415594 329.036243,8.89,7.874,56.628832894,4.356064186,1.481061808,-146.625116452 315,7.874,8.89,17.960512212,17.960512212,1.436840916,-34.484183508 300.963757,7.112,10.16,91.477345366,4.356064186,1.481061808,-146.625116452 288.434949,6.604,11.684,56.225296744,8.032185358,1.60643697,-78.715415594 90,11.684,-7.874,0,25.4,15.748,-9.652 270,13.716,7.874,0,25.4,15.748,-9.652 180,7.874,11.684,0,25.4,15.748,-9.652 0,-7.874,13.716,0,25.4,15.748,-9.652 `))