@coloopx/colocad 0.0.0-stage → 0.1.0-alpha.2

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 (179) hide show
  1. package/LICENSE +21 -0
  2. package/NOTICE.md +5 -0
  3. package/README.md +53 -2
  4. package/bin/colocad.mjs +32 -0
  5. package/examples/manifold.json +11 -0
  6. package/examples/sensor-rail.json +9 -0
  7. package/kernel/LICENSE +21 -0
  8. package/kernel/dist/artifacts.d.ts +3 -0
  9. package/kernel/dist/artifacts.js +19 -0
  10. package/kernel/dist/assets.d.ts +3 -0
  11. package/kernel/dist/assets.js +11 -0
  12. package/kernel/dist/binary.d.ts +2 -0
  13. package/kernel/dist/binary.js +14 -0
  14. package/kernel/dist/client.d.ts +22 -0
  15. package/kernel/dist/client.js +99 -0
  16. package/kernel/dist/files.d.ts +19 -0
  17. package/kernel/dist/files.js +103 -0
  18. package/kernel/dist/generated.d.ts +707 -0
  19. package/kernel/dist/generated.js +1 -0
  20. package/kernel/dist/helpers.d.ts +9 -0
  21. package/kernel/dist/helpers.js +23 -0
  22. package/kernel/dist/index.d.ts +8 -0
  23. package/kernel/dist/index.js +6 -0
  24. package/kernel/dist/preview-cache.d.ts +19 -0
  25. package/kernel/dist/preview-cache.js +29 -0
  26. package/kernel/dist/process.d.ts +12 -0
  27. package/kernel/dist/process.js +41 -0
  28. package/kernel/dist/tools.d.ts +67 -0
  29. package/kernel/dist/tools.js +20 -0
  30. package/kernel/dist/types.d.ts +26 -0
  31. package/kernel/dist/types.js +1 -0
  32. package/kernel/licenses/adler2-2.0.1-LICENSE-0BSD +12 -0
  33. package/kernel/licenses/adler2-2.0.1-LICENSE-APACHE +201 -0
  34. package/kernel/licenses/adler2-2.0.1-LICENSE-MIT +23 -0
  35. package/kernel/licenses/allocator-api2-0.2.21-LICENSE-APACHE +176 -0
  36. package/kernel/licenses/allocator-api2-0.2.21-LICENSE-MIT +23 -0
  37. package/kernel/licenses/autocfg-1.5.1-LICENSE-APACHE +201 -0
  38. package/kernel/licenses/autocfg-1.5.1-LICENSE-MIT +25 -0
  39. package/kernel/licenses/bitflags-1.3.2-LICENSE-APACHE +201 -0
  40. package/kernel/licenses/bitflags-1.3.2-LICENSE-MIT +25 -0
  41. package/kernel/licenses/block-buffer-0.10.4-LICENSE-APACHE +201 -0
  42. package/kernel/licenses/block-buffer-0.10.4-LICENSE-MIT +25 -0
  43. package/kernel/licenses/cfg-if-1.0.5-LICENSE-APACHE +201 -0
  44. package/kernel/licenses/cfg-if-1.0.5-LICENSE-MIT +25 -0
  45. package/kernel/licenses/cpufeatures-0.2.17-LICENSE-APACHE +201 -0
  46. package/kernel/licenses/cpufeatures-0.2.17-LICENSE-MIT +25 -0
  47. package/kernel/licenses/crc32fast-1.5.4-LICENSE-APACHE +202 -0
  48. package/kernel/licenses/crc32fast-1.5.4-LICENSE-MIT +21 -0
  49. package/kernel/licenses/crossbeam-deque-0.8.8-LICENSE-APACHE +201 -0
  50. package/kernel/licenses/crossbeam-deque-0.8.8-LICENSE-MIT +27 -0
  51. package/kernel/licenses/crossbeam-epoch-0.9.21-LICENSE-APACHE +201 -0
  52. package/kernel/licenses/crossbeam-epoch-0.9.21-LICENSE-MIT +27 -0
  53. package/kernel/licenses/crossbeam-utils-0.8.23-LICENSE-APACHE +201 -0
  54. package/kernel/licenses/crossbeam-utils-0.8.23-LICENSE-MIT +27 -0
  55. package/kernel/licenses/crypto-common-0.1.7-LICENSE-APACHE +201 -0
  56. package/kernel/licenses/crypto-common-0.1.7-LICENSE-MIT +25 -0
  57. package/kernel/licenses/dependencies.json +618 -0
  58. package/kernel/licenses/digest-0.10.7-LICENSE-APACHE +201 -0
  59. package/kernel/licenses/digest-0.10.7-LICENSE-MIT +25 -0
  60. package/kernel/licenses/dyn-clone-1.0.20-LICENSE-APACHE +176 -0
  61. package/kernel/licenses/dyn-clone-1.0.20-LICENSE-MIT +23 -0
  62. package/kernel/licenses/either-1.19.0-LICENSE-APACHE +201 -0
  63. package/kernel/licenses/either-1.19.0-LICENSE-MIT +25 -0
  64. package/kernel/licenses/equivalent-1.0.3-LICENSE-APACHE +201 -0
  65. package/kernel/licenses/equivalent-1.0.3-LICENSE-MIT +25 -0
  66. package/kernel/licenses/fdeflate-0.3.7-LICENSE-APACHE +177 -0
  67. package/kernel/licenses/fdeflate-0.3.7-LICENSE-MIT +25 -0
  68. package/kernel/licenses/flate2-1.1.10-LICENSE-APACHE +201 -0
  69. package/kernel/licenses/flate2-1.1.10-LICENSE-MIT +25 -0
  70. package/kernel/licenses/foldhash-0.2.0-LICENSE +19 -0
  71. package/kernel/licenses/generic-array-0.14.7-LICENSE +21 -0
  72. package/kernel/licenses/hashbrown-0.16.1-LICENSE-APACHE +201 -0
  73. package/kernel/licenses/hashbrown-0.16.1-LICENSE-MIT +25 -0
  74. package/kernel/licenses/itoa-1.0.18-LICENSE-APACHE +176 -0
  75. package/kernel/licenses/itoa-1.0.18-LICENSE-MIT +23 -0
  76. package/kernel/licenses/libc-0.2.191-LICENSE-APACHE +176 -0
  77. package/kernel/licenses/libc-0.2.191-LICENSE-MIT +25 -0
  78. package/kernel/licenses/memchr-2.8.3-COPYING +3 -0
  79. package/kernel/licenses/memchr-2.8.3-LICENSE-MIT +21 -0
  80. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE +25 -0
  81. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-APACHE.md +177 -0
  82. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-MIT.md +24 -0
  83. package/kernel/licenses/miniz_oxide-0.8.9-LICENSE-ZLIB.md +14 -0
  84. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE +25 -0
  85. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-APACHE.md +177 -0
  86. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-MIT.md +24 -0
  87. package/kernel/licenses/miniz_oxide-0.9.1-LICENSE-ZLIB.md +14 -0
  88. package/kernel/licenses/num-traits-0.2.19-LICENSE-APACHE +201 -0
  89. package/kernel/licenses/num-traits-0.2.19-LICENSE-MIT +25 -0
  90. package/kernel/licenses/png-0.17.16-LICENSE-APACHE +201 -0
  91. package/kernel/licenses/png-0.17.16-LICENSE-MIT +25 -0
  92. package/kernel/licenses/proc-macro2-1.0.107-LICENSE-APACHE +176 -0
  93. package/kernel/licenses/proc-macro2-1.0.107-LICENSE-MIT +23 -0
  94. package/kernel/licenses/quote-1.0.47-LICENSE-APACHE +176 -0
  95. package/kernel/licenses/quote-1.0.47-LICENSE-MIT +23 -0
  96. package/kernel/licenses/rayon-1.12.0-LICENSE-APACHE +201 -0
  97. package/kernel/licenses/rayon-1.12.0-LICENSE-MIT +25 -0
  98. package/kernel/licenses/rayon-core-1.13.0-LICENSE-APACHE +201 -0
  99. package/kernel/licenses/rayon-core-1.13.0-LICENSE-MIT +25 -0
  100. package/kernel/licenses/ref-cast-1.0.27-LICENSE-APACHE +176 -0
  101. package/kernel/licenses/ref-cast-1.0.27-LICENSE-MIT +23 -0
  102. package/kernel/licenses/ref-cast-impl-1.0.27-LICENSE-APACHE +176 -0
  103. package/kernel/licenses/ref-cast-impl-1.0.27-LICENSE-MIT +23 -0
  104. package/kernel/licenses/robust-1.2.0-LICENSE-APACHE +201 -0
  105. package/kernel/licenses/robust-1.2.0-LICENSE-MIT +26 -0
  106. package/kernel/licenses/schemars-1.2.3-LICENSE +21 -0
  107. package/kernel/licenses/schemars_derive-1.2.3-LICENSE +21 -0
  108. package/kernel/licenses/serde-1.0.229-LICENSE-APACHE +176 -0
  109. package/kernel/licenses/serde-1.0.229-LICENSE-MIT +23 -0
  110. package/kernel/licenses/serde_core-1.0.229-LICENSE-APACHE +176 -0
  111. package/kernel/licenses/serde_core-1.0.229-LICENSE-MIT +23 -0
  112. package/kernel/licenses/serde_derive-1.0.229-LICENSE-APACHE +176 -0
  113. package/kernel/licenses/serde_derive-1.0.229-LICENSE-MIT +23 -0
  114. package/kernel/licenses/serde_derive_internals-0.30.0-LICENSE-APACHE +176 -0
  115. package/kernel/licenses/serde_derive_internals-0.30.0-LICENSE-MIT +23 -0
  116. package/kernel/licenses/serde_json-1.0.154-LICENSE-APACHE +176 -0
  117. package/kernel/licenses/serde_json-1.0.154-LICENSE-MIT +23 -0
  118. package/kernel/licenses/sha2-0.10.9-LICENSE-APACHE +201 -0
  119. package/kernel/licenses/sha2-0.10.9-LICENSE-MIT +27 -0
  120. package/kernel/licenses/simd-adler32-0.3.10-LICENSE.md +21 -0
  121. package/kernel/licenses/smallvec-1.16.4-LICENSE-APACHE +201 -0
  122. package/kernel/licenses/smallvec-1.16.4-LICENSE-MIT +25 -0
  123. package/kernel/licenses/solidcore-1.0.1-LICENSE +203 -0
  124. package/kernel/licenses/solidcore-1.0.1-NOTICE +30 -0
  125. package/kernel/licenses/solidcore-ATTRIBUTION.md +92 -0
  126. package/kernel/licenses/solidcore-LICENSE +203 -0
  127. package/kernel/licenses/solidcore-NOTICE +30 -0
  128. package/kernel/licenses/solidcore-convert-0.1.0-ATTRIBUTION.md +92 -0
  129. package/kernel/licenses/solidcore-convert-0.1.0-LICENSE +203 -0
  130. package/kernel/licenses/solidcore-convert-0.1.0-NOTICE +30 -0
  131. package/kernel/licenses/solidcore-record-0.1.0-ATTRIBUTION.md +92 -0
  132. package/kernel/licenses/solidcore-record-0.1.0-LICENSE +203 -0
  133. package/kernel/licenses/solidcore-record-0.1.0-NOTICE +30 -0
  134. package/kernel/licenses/solidcore-tess-0.1.0-ATTRIBUTION.md +92 -0
  135. package/kernel/licenses/solidcore-tess-0.1.0-LICENSE +203 -0
  136. package/kernel/licenses/solidcore-tess-0.1.0-NOTICE +30 -0
  137. package/kernel/licenses/spade-2.15.1-LICENSE-APACHE +202 -0
  138. package/kernel/licenses/spade-2.15.1-LICENSE-MIT +25 -0
  139. package/kernel/licenses/step-brep-0.1.0-ATTRIBUTION.md +92 -0
  140. package/kernel/licenses/step-brep-0.1.0-LICENSE +203 -0
  141. package/kernel/licenses/step-brep-0.1.0-NOTICE +30 -0
  142. package/kernel/licenses/step-export-0.1.0-ATTRIBUTION.md +92 -0
  143. package/kernel/licenses/step-export-0.1.0-LICENSE +203 -0
  144. package/kernel/licenses/step-export-0.1.0-NOTICE +30 -0
  145. package/kernel/licenses/step-import-0.1.0-ATTRIBUTION.md +92 -0
  146. package/kernel/licenses/step-import-0.1.0-LICENSE +203 -0
  147. package/kernel/licenses/step-import-0.1.0-NOTICE +30 -0
  148. package/kernel/licenses/syn-3.0.9-LICENSE-APACHE +176 -0
  149. package/kernel/licenses/syn-3.0.9-LICENSE-MIT +23 -0
  150. package/kernel/licenses/thiserror-2.0.21-LICENSE-APACHE +176 -0
  151. package/kernel/licenses/thiserror-2.0.21-LICENSE-MIT +23 -0
  152. package/kernel/licenses/thiserror-impl-2.0.21-LICENSE-APACHE +176 -0
  153. package/kernel/licenses/thiserror-impl-2.0.21-LICENSE-MIT +23 -0
  154. package/kernel/licenses/typenum-1.20.1-LICENSE +1 -0
  155. package/kernel/licenses/typenum-1.20.1-LICENSE-APACHE +201 -0
  156. package/kernel/licenses/typenum-1.20.1-LICENSE-MIT +21 -0
  157. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-APACHE +176 -0
  158. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-MIT +23 -0
  159. package/kernel/licenses/unicode-ident-1.0.27-LICENSE-UNICODE +39 -0
  160. package/kernel/licenses/version_check-0.9.5-LICENSE-APACHE +201 -0
  161. package/kernel/licenses/version_check-0.9.5-LICENSE-MIT +19 -0
  162. package/kernel/licenses/zlib-rs-0.6.8-LICENSE +19 -0
  163. package/kernel/licenses/zmij-1.0.23-LICENSE-MIT +23 -0
  164. package/kernel/native/darwin-arm64/agent-cad +4 -0
  165. package/kernel/native/darwin-arm64/manifest.json +6 -0
  166. package/kernel/native/linux-arm64/agent-cad +4 -0
  167. package/kernel/native/linux-arm64/manifest.json +6 -0
  168. package/kernel/native/linux-x64/agent-cad +4 -0
  169. package/kernel/native/linux-x64/manifest.json +6 -0
  170. package/kernel/schemas/model.schema.json +4080 -0
  171. package/package.json +54 -4
  172. package/solidworks/managed/Colocad.SolidWorks.deps.json +23 -0
  173. package/solidworks/managed/Colocad.SolidWorks.dll +0 -0
  174. package/solidworks/managed/Colocad.SolidWorks.runtimeconfig.json +13 -0
  175. package/src/build.mjs +69 -0
  176. package/src/index.d.mts +67 -0
  177. package/src/index.mjs +4 -0
  178. package/src/solidworks.mjs +65 -0
  179. package/src/tree.mjs +199 -0
@@ -0,0 +1,19 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2017-2018 Sergio Benitez
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
5
+ this software and associated documentation files (the "Software"), to deal in
6
+ the Software without restriction, including without limitation the rights to
7
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
+ the Software, and to permit persons to whom the Software is furnished to do so,
9
+ subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ (C) 2024 Trifecta Tech Foundation
2
+
3
+ This software is provided 'as-is', without any express or implied
4
+ warranty. In no event will the authors be held liable for any damages
5
+ arising from the use of this software.
6
+
7
+ Permission is granted to anyone to use this software for any purpose,
8
+ including commercial applications, and to alter it and redistribute it
9
+ freely, subject to the following restrictions:
10
+
11
+ 1. The origin of this software must not be misrepresented; you must not
12
+ claim that you wrote the original software. If you use this software
13
+ in a product, an acknowledgment in the product documentation would be
14
+ appreciated but is not required.
15
+
16
+ 2. Altered source versions must be plainly marked as such, and must not be
17
+ misrepresented as being the original software.
18
+
19
+ 3. This notice may not be removed or altered from any source distribution.
@@ -0,0 +1,23 @@
1
+ Permission is hereby granted, free of charge, to any
2
+ person obtaining a copy of this software and associated
3
+ documentation files (the "Software"), to deal in the
4
+ Software without restriction, including without
5
+ limitation the rights to use, copy, modify, merge,
6
+ publish, distribute, sublicense, and/or sell copies of
7
+ the Software, and to permit persons to whom the Software
8
+ is furnished to do so, subject to the following
9
+ conditions:
10
+
11
+ The above copyright notice and this permission notice
12
+ shall be included in all copies or substantial portions
13
+ of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
16
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
17
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
18
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
19
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
22
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
+ DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/kernel/native/darwin-arm64/agent-cad
3
+ size: 35996880 bytes
4
+ sha256: 654d3cf07e093183913f1ed852ba4b944b13c2f0e48eefa960c464207cee2380
@@ -0,0 +1,6 @@
1
+ {
2
+ "platform": "darwin-arm64",
3
+ "version": "0.5.0",
4
+ "bytes": 35996880,
5
+ "sha256": "654d3cf07e093183913f1ed852ba4b944b13c2f0e48eefa960c464207cee2380"
6
+ }
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/kernel/native/linux-arm64/agent-cad
3
+ size: 35525448 bytes
4
+ sha256: e4631cf988a2ceed9fbe87fbe4311bb65d84f530d18de66df337570302f3d73e
@@ -0,0 +1,6 @@
1
+ {
2
+ "platform": "linux-arm64",
3
+ "version": "0.5.0",
4
+ "sha256": "e4631cf988a2ceed9fbe87fbe4311bb65d84f530d18de66df337570302f3d73e",
5
+ "bytes": 35525448
6
+ }
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/kernel/native/linux-x64/agent-cad
3
+ size: 46378104 bytes
4
+ sha256: 96dc76748e85928959de684b25e107e45a9e39df46841239d7da084c96554a29
@@ -0,0 +1,6 @@
1
+ {
2
+ "platform": "linux-x64",
3
+ "version": "0.5.0",
4
+ "sha256": "96dc76748e85928959de684b25e107e45a9e39df46841239d7da084c96554a29",
5
+ "bytes": 46378104
6
+ }