@mylasertools/kerfscript 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/CHANGELOG.md +195 -1
  2. package/LANGUAGE.md +160 -30
  3. package/README.md +22 -5
  4. package/THIRD-PARTY-NOTICES.md +113 -0
  5. package/dist/analysis.d.cts +20 -0
  6. package/dist/analysis.d.ts +20 -0
  7. package/dist/assembly.d.cts +28 -1
  8. package/dist/assembly.d.ts +28 -1
  9. package/dist/ast.d.cts +9 -0
  10. package/dist/ast.d.ts +9 -0
  11. package/dist/cli.js +13060 -5013
  12. package/dist/diff.d.cts +18 -0
  13. package/dist/diff.d.ts +18 -0
  14. package/dist/evaluator.d.cts +34 -0
  15. package/dist/evaluator.d.ts +34 -0
  16. package/dist/functions.d.cts +1 -0
  17. package/dist/functions.d.ts +1 -0
  18. package/dist/geometry.d.cts +17 -0
  19. package/dist/geometry.d.ts +17 -0
  20. package/dist/hardware.d.cts +13 -0
  21. package/dist/hardware.d.ts +13 -0
  22. package/dist/highlight.cjs +2 -2
  23. package/dist/highlight.js +2 -2
  24. package/dist/import/index.d.cts +16 -0
  25. package/dist/import/index.d.ts +16 -0
  26. package/dist/import/shapes.d.cts +76 -0
  27. package/dist/import/shapes.d.ts +76 -0
  28. package/dist/import/svg.d.cts +48 -0
  29. package/dist/import/svg.d.ts +48 -0
  30. package/dist/import/xml.d.cts +12 -0
  31. package/dist/import/xml.d.ts +12 -0
  32. package/dist/index.cjs +1955 -32
  33. package/dist/index.d.cts +12 -2
  34. package/dist/index.d.ts +12 -2
  35. package/dist/index.js +1955 -32
  36. package/dist/instructions.d.cts +3 -0
  37. package/dist/instructions.d.ts +3 -0
  38. package/dist/language.cjs +1899 -51
  39. package/dist/language.js +1899 -51
  40. package/dist/libraries.cjs +1874 -26
  41. package/dist/libraries.d.cts +3 -0
  42. package/dist/libraries.d.ts +3 -0
  43. package/dist/libraries.js +1874 -26
  44. package/dist/paths.d.cts +1 -1
  45. package/dist/paths.d.ts +1 -1
  46. package/dist/png.d.cts +9 -0
  47. package/dist/png.d.ts +9 -0
  48. package/dist/render.d.cts +22 -1
  49. package/dist/render.d.ts +22 -1
  50. package/dist/signatures.cjs +244 -11
  51. package/dist/signatures.js +244 -11
  52. package/dist/slots.d.cts +8 -0
  53. package/dist/slots.d.ts +8 -0
  54. package/dist/values.d.cts +6 -1
  55. package/dist/values.d.ts +6 -1
  56. package/dist/verify/command.d.cts +1 -0
  57. package/dist/verify/command.d.ts +1 -0
  58. package/dist/verify/geometry.d.cts +25 -0
  59. package/dist/verify/geometry.d.ts +25 -0
  60. package/dist/verify/index.d.cts +10 -0
  61. package/dist/verify/index.d.ts +10 -0
  62. package/dist/verify/joints.d.cts +7 -0
  63. package/dist/verify/joints.d.ts +7 -0
  64. package/dist/verify/mechanics.d.cts +11 -0
  65. package/dist/verify/mechanics.d.ts +11 -0
  66. package/dist/verify/motion.d.cts +8 -0
  67. package/dist/verify/motion.d.ts +8 -0
  68. package/dist/verify/pose.d.cts +5 -0
  69. package/dist/verify/pose.d.ts +5 -0
  70. package/dist/verify/relations.d.cts +8 -0
  71. package/dist/verify/relations.d.ts +8 -0
  72. package/dist/verify/snapshot.d.cts +11 -0
  73. package/dist/verify/snapshot.d.ts +11 -0
  74. package/dist/verify/solids.d.cts +39 -0
  75. package/dist/verify/solids.d.ts +39 -0
  76. package/dist/verify/spec.d.cts +9 -0
  77. package/dist/verify/spec.d.ts +9 -0
  78. package/dist/verify/summary.d.cts +17 -0
  79. package/dist/verify/summary.d.ts +17 -0
  80. package/dist/verify/types.d.cts +299 -0
  81. package/dist/verify/types.d.ts +299 -0
  82. package/docs/cli.md +96 -15
  83. package/docs/import.md +149 -0
  84. package/docs/javascript.md +88 -25
  85. package/docs/layers.md +42 -2
  86. package/docs/library/calibration.svg +1 -1
  87. package/docs/library/hanging.svg +1 -1
  88. package/docs/library/hinge.svg +1 -1
  89. package/docs/library.md +299 -3
  90. package/docs/mcp.md +88 -0
  91. package/docs/parts-and-sheets.md +186 -1
  92. package/docs/shared-libraries.md +8 -1
  93. package/docs/specification.md +78 -23
  94. package/docs/verification.md +363 -0
  95. package/docs/versions.md +2 -2
  96. package/package.json +3 -3
@@ -15,6 +15,9 @@ export interface Manifest {
15
15
  /** Library name to source: github:owner/repo@tag, an https link to a
16
16
  * .tar.gz, or a folder */
17
17
  libraries: Record<string, string>;
18
+ /** The project's laser bed, [width, height] in mm: the sheet for every
19
+ * design in the project that does not set $sheet */
20
+ sheet?: [number, number];
18
21
  }
19
22
  /** One library pinned in kerf.lock. */
20
23
  export interface Locked {
@@ -15,6 +15,9 @@ export interface Manifest {
15
15
  /** Library name to source: github:owner/repo@tag, an https link to a
16
16
  * .tar.gz, or a folder */
17
17
  libraries: Record<string, string>;
18
+ /** The project's laser bed, [width, height] in mm: the sheet for every
19
+ * design in the project that does not set $sheet */
20
+ sheet?: [number, number];
18
21
  }
19
22
  /** One library pinned in kerf.lock. */
20
23
  export interface Locked {