UNPKG

dxf-viewer

Version:
64 lines (62 loc) 3.47 kB
import { Pattern, RegisterPattern } from "../../Pattern.js" RegisterPattern(Pattern.ParsePatFile(` *CELTIC-02,CELTIC PATTERN 02 ;By John Hyslop ;Developed in mm as Metric QCAD3 pattern,,,,,, 180,11.1371634,0.392662664,0,25.4,3.125672946,-22.27432705 270,25.00733734,11.1371634,0,25.4,3.125672946,-22.27432705 270,0.392662664,17.38850955,0,25.4,3.125672946,-22.27432705 180,17.38850955,25.00733734,0,25.4,3.125672946,-22.27432705 90,25.00733734,11.9185817,0,25.4,13.08875564,-12.31124436 270,25.00733734,7.230072408,0,25.4,6.837409744,-18.56259026 180,11.1371634,7.230072408,0,25.4,3.125672946,-22.27432705 180,13.4814183,8.011490454,0,25.4,9.18166439,-16.21833561 0,8.011490454,11.9185817,0,25.4,3.125672946,-22.27432705 0,4.29975391,11.1371634,0,25.4,9.18166439,-16.21833561 270,21.10024609,17.38850955,0,25.4,3.125672946,-22.27432705 270,21.88166439,21.88166439,0,25.4,9.96308269,-15.43691731 270,13.4814183,25.00733734,0,25.4,3.125672946,-22.27432705 270,18.16992759,25.00733734,0,25.4,3.125672946,-22.27432705 90,17.38850955,18.16992759,0,25.4,6.837409744,-18.56259026 90,18.16992759,8.011490454,0,25.4,3.125672946,-22.27432705 90,17.38850955,4.29975391,0,25.4,9.18166439,-16.21833561 90,14.2628366,18.16992759,0,25.4,6.837409744,-18.56259026 90,13.4814183,8.011490454,0,25.4,3.125672946,-22.27432705 90,14.2628366,4.29975391,0,25.4,9.18166439,-16.21833561 90,7.230072408,14.2628366,0,25.4,3.125672946,-22.27432705 90,7.230072408,0.392662664,0,25.4,3.125672946,-22.27432705 90,8.011490454,11.9185817,0,25.4,9.18166439,-16.21833561 90,8.011490454,0.392662664,0,25.4,6.837409744,-18.56259026 90,11.9185817,0.392662664,0,25.4,3.125672946,-22.27432705 90,11.9185817,14.2628366,0,25.4,3.125672946,-22.27432705 90,11.1371634,11.9185817,0,25.4,9.18166439,-16.21833561 90,11.1371634,0.392662664,0,25.4,6.837409744,-18.56259026 180,17.38850955,18.16992759,0,25.4,3.125672946,-22.27432705 180,3.51833561,18.16992759,0,25.4,3.125672946,-22.27432705 180,7.230072408,17.38850955,0,25.4,6.837409744,-18.56259026 180,21.10024609,17.38850955,0,25.4,9.18166439,-16.21833561 180,3.51833561,13.4814183,0,25.4,3.125672946,-22.27432705 180,7.230072408,14.2628366,0,25.4,6.837409744,-18.56259026 180,17.38850955,13.4814183,0,25.4,3.125672946,-22.27432705 180,21.10024609,14.2628366,0,25.4,9.18166439,-16.21833561 180,25.00733734,7.230072408,0,25.4,3.125672946,-22.27432705 180,25.00733734,8.011490454,0,25.4,6.837409744,-18.56259026 180,25.00733734,11.9185817,0,25.4,3.125672946,-22.27432705 180,25.00733734,11.1371634,0,25.4,6.837409744,-18.56259026 180,25.00733734,25.00733734,0,25.4,6.837409744,-18.56259026 0,11.9185817,0.392662664,0,25.4,13.08875564,-12.31124436 0,0.392662664,0.392662664,0,25.4,6.837409744,-18.56259026 270,0.392662664,13.4814183,0,25.4,13.08875564,-12.31124436 270,0.392662664,25.00733734,0,25.4,6.837409744,-18.56259026 180,13.4814183,25.00733734,0,25.4,13.08875564,-12.31124436 180,21.88166439,21.88166439,0,25.4,3.711736544,-21.68826346 90,21.88166439,3.51833561,0,25.4,3.711736544,-21.68826346 0,14.2628366,4.29975391,0,25.4,3.125672946,-22.27432705 0,11.9185817,3.51833561,0,25.4,9.96308269,-15.43691731 0,3.51833561,3.51833561,0,25.4,3.711736544,-21.68826346 270,4.29975391,11.1371634,0,25.4,3.125672946,-22.27432705 270,3.51833561,13.4814183,0,25.4,9.96308269,-15.43691731 270,3.51833561,21.88166439,0,25.4,3.711736544,-21.68826346 180,11.1371634,21.10024609,0,25.4,3.125672946,-22.27432705 180,13.4814183,21.88166439,0,25.4,9.96308269,-15.43691731 `))