parasolid-kit 0.1.0.dev4__tar.gz → 0.3.3__tar.gz

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 (285) hide show
  1. parasolid_kit-0.3.3/.gitattributes +18 -0
  2. parasolid_kit-0.3.3/CHANGELOG.md +51 -0
  3. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/Cargo.lock +2 -2
  4. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/Cargo.toml +2 -2
  5. parasolid_kit-0.3.3/LICENSES/Apache-2.0.txt +201 -0
  6. parasolid_kit-0.3.3/PKG-INFO +141 -0
  7. parasolid_kit-0.3.3/README.md +115 -0
  8. parasolid_kit-0.3.3/corpus/README.md +138 -0
  9. parasolid_kit-0.3.3/corpus/expected/release-v1/values.x_b.json +220 -0
  10. parasolid_kit-0.3.3/corpus/expected/release-v1/values.x_t.json +219 -0
  11. parasolid_kit-0.3.3/corpus/manifest.jsonl +3 -0
  12. parasolid_kit-0.3.3/corpus/release-checks.json +68 -0
  13. parasolid_kit-0.3.3/corpus/release-checks.schema.json +421 -0
  14. parasolid_kit-0.3.3/crates/parasolid-core/Cargo.toml +23 -0
  15. parasolid_kit-0.3.3/crates/parasolid-core/LICENSE +21 -0
  16. parasolid_kit-0.3.3/crates/parasolid-core/LICENSE-APACHE-2.0 +201 -0
  17. parasolid_kit-0.3.3/crates/parasolid-core/PARTIAL_READERS.md +96 -0
  18. parasolid_kit-0.3.3/crates/parasolid-core/README.md +122 -0
  19. parasolid_kit-0.3.3/crates/parasolid-core/examples/benchmark.rs +70 -0
  20. parasolid_kit-0.3.3/crates/parasolid-core/examples/release_corpus.rs +142 -0
  21. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/brep/mapper.rs +30 -17
  22. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/brep/metrics.rs +11 -1
  23. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/brep/model.rs +6 -0
  24. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/brep/profile_roles.rs +237 -37
  25. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/lib.rs +4 -0
  26. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/analytic.rs +237 -0
  27. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/blend.rs +251 -0
  28. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/intersection.rs +841 -0
  29. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/layout.rs +137 -0
  30. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/mod.rs +67 -0
  31. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/native_fin.rs +337 -0
  32. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/native_hierarchy/tests.rs +260 -0
  33. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/native_hierarchy.rs +453 -0
  34. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/offset.rs +159 -0
  35. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/spline.rs +1308 -0
  36. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/subset.rs +50 -0
  37. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/sweep.rs +113 -0
  38. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/topology.rs +909 -0
  39. parasolid_kit-0.3.3/crates/parasolid-core/src/partial/view.rs +15 -0
  40. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/profile.rs +7 -2
  41. parasolid_kit-0.3.3/crates/parasolid-core/src/schema/profiles/icad_legacy.rs +163 -0
  42. parasolid_kit-0.3.3/crates/parasolid-core/src/schema/profiles/icad_v34.rs +37 -0
  43. parasolid_kit-0.3.3/crates/parasolid-core/src/schema/profiles/mod.rs +25 -0
  44. parasolid_kit-0.3.3/crates/parasolid-core/src/schema/profiles/onshape_current.rs +97 -0
  45. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/profiles/sch13006.rs +7 -8
  46. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/profiles/sch30000.rs +74 -6
  47. parasolid_kit-0.3.3/crates/parasolid-core/src/schema/profiles/solidworks.rs +72 -0
  48. parasolid_kit-0.3.3/crates/parasolid-core/tests/builtin_icad_legacy.rs +114 -0
  49. parasolid_kit-0.3.3/crates/parasolid-core/tests/builtin_icad_v34.rs +142 -0
  50. parasolid_kit-0.3.3/crates/parasolid-core/tests/builtin_onshape_current.rs +81 -0
  51. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/builtin_sch30000.rs +6 -6
  52. parasolid_kit-0.3.3/crates/parasolid-core/tests/builtin_solidworks.rs +95 -0
  53. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/support/sch30000.rs +74 -1
  54. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-python/src/brep.rs +16 -0
  55. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/api.md +164 -31
  56. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/builtin-profiles.md +296 -23
  57. parasolid_kit-0.3.3/docs/format-support.md +461 -0
  58. parasolid_kit-0.3.3/docs/images/viewer.png +0 -0
  59. parasolid_kit-0.3.3/docs/installation.md +97 -0
  60. parasolid_kit-0.3.3/docs/onshape-composite.md +91 -0
  61. parasolid_kit-0.3.3/docs/onshape-current-parametric.md +111 -0
  62. parasolid_kit-0.3.3/docs/releasing.md +149 -0
  63. parasolid_kit-0.3.3/docs/resource-validation.md +113 -0
  64. parasolid_kit-0.3.3/docs/schema-catalogs.md +87 -0
  65. parasolid_kit-0.3.3/docs/solidworks-partitions.md +62 -0
  66. parasolid_kit-0.3.3/docs/v30-parametric-viewer.md +116 -0
  67. parasolid_kit-0.3.3/docs/viewer-validation.json +315 -0
  68. parasolid_kit-0.3.3/docs/viewer-validation.md +118 -0
  69. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/fuzz/Cargo.lock +1 -1
  70. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/fuzz/fuzz_targets/parse.rs +25 -3
  71. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/pyproject.toml +41 -4
  72. parasolid_kit-0.3.3/scripts/benchmark_parser.py +283 -0
  73. parasolid_kit-0.3.3/scripts/bump_version.py +51 -0
  74. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/prepare_fuzz_corpus.py +151 -0
  75. parasolid_kit-0.3.3/scripts/release_corpus_oracle.py +408 -0
  76. parasolid_kit-0.3.3/scripts/release_corpus_parametric.py +520 -0
  77. parasolid_kit-0.3.3/scripts/release_corpus_runtime.py +180 -0
  78. parasolid_kit-0.3.3/scripts/release_geometry.py +169 -0
  79. parasolid_kit-0.3.3/scripts/run_fuzz.py +107 -0
  80. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_artifacts.py +145 -11
  81. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_isolated_install.py +23 -8
  82. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_optional_install.py +33 -4
  83. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_optional_interop_i6.py +59 -62
  84. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_optional_interop_i7.py +4 -3
  85. parasolid_kit-0.3.3/scripts/verify_release.py +207 -0
  86. parasolid_kit-0.3.3/scripts/verify_release_corpus.py +320 -0
  87. parasolid_kit-0.3.3/scripts/verify_viewer_install.py +238 -0
  88. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/__init__.py +3 -1
  89. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/brep/_native.py +7 -0
  90. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/brep/geometry.py +3 -0
  91. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/brep/model.py +1 -1
  92. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/cli.py +4 -2
  93. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/conversion.py +80 -13
  94. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/coverage.py +10 -9
  95. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/geometry.py +46 -0
  96. parasolid_kit-0.3.3/src/parasolid_kit/interop/occt/intersection.py +187 -0
  97. parasolid_kit-0.3.3/src/parasolid_kit/interop/occt/parametric.py +600 -0
  98. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/topology.py +2 -0
  99. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/validation.py +17 -1
  100. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/server.py +1 -0
  101. parasolid_kit-0.3.3/src/parasolid_kit/interop/preview/static/index.html +71 -0
  102. parasolid_kit-0.3.3/src/parasolid_kit/interop/preview/static/viewer.css +200 -0
  103. parasolid_kit-0.3.3/src/parasolid_kit/interop/preview/static/viewer.js +6720 -0
  104. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/tessellation.py +67 -19
  105. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/writer.py +7 -6
  106. parasolid_kit-0.3.3/tests/support/import_contract.py +46 -0
  107. parasolid_kit-0.3.3/tests/support/release_fixture.py +22 -0
  108. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_artifact_gate.py +122 -11
  109. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_bspline_surface_runtime.py +1 -1
  110. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_embedded_runtime.py +21 -0
  111. parasolid_kit-0.3.3/tests/test_builtin_icad_legacy_runtime.py +277 -0
  112. parasolid_kit-0.3.3/tests/test_builtin_onshape_composite_runtime.py +123 -0
  113. parasolid_kit-0.3.3/tests/test_builtin_onshape_current_runtime.py +169 -0
  114. parasolid_kit-0.3.3/tests/test_builtin_onshape_parametric_runtime.py +142 -0
  115. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_schema_runtime.py +7 -5
  116. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_spcurve_runtime.py +23 -5
  117. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_trimmed_runtime.py +3 -3
  118. parasolid_kit-0.3.3/tests/test_builtin_v30_complex_runtime.py +85 -0
  119. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_cadquery_adapter.py +8 -2
  120. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_cli.py +72 -1
  121. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_distribution_runtime.py +85 -1
  122. parasolid_kit-0.3.3/tests/test_fuzz_runner.py +51 -0
  123. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_geometry_coverage.py +1 -1
  124. parasolid_kit-0.3.3/tests/test_import_isolation.py +24 -0
  125. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_interop.py +15 -11
  126. parasolid_kit-0.3.3/tests/test_occt_parametric.py +221 -0
  127. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_preview.py +70 -16
  128. parasolid_kit-0.3.3/tests/test_public_contracts.py +56 -0
  129. parasolid_kit-0.3.3/tests/test_release_corpus.py +312 -0
  130. parasolid_kit-0.3.3/tests/test_release_corpus_oracle.py +141 -0
  131. parasolid_kit-0.3.3/tests/test_release_gate.py +148 -0
  132. parasolid_kit-0.3.3/tests/test_release_geometry.py +46 -0
  133. parasolid_kit-0.3.3/tests/test_release_versions.py +97 -0
  134. parasolid_kit-0.3.3/viewer/README.md +252 -0
  135. parasolid_kit-0.3.3/viewer/asset-manifest.json +21 -0
  136. parasolid_kit-0.3.3/viewer/build.mjs +71 -0
  137. parasolid_kit-0.3.3/viewer/package-lock.json +687 -0
  138. parasolid_kit-0.3.3/viewer/package.json +24 -0
  139. parasolid_kit-0.3.3/viewer/src/adapter.ts +93 -0
  140. parasolid_kit-0.3.3/viewer/src/app.ts +248 -0
  141. parasolid_kit-0.3.3/viewer/src/filter.ts +56 -0
  142. parasolid_kit-0.3.3/viewer/src/glb.ts +116 -0
  143. parasolid_kit-0.3.3/viewer/src/index.html +71 -0
  144. parasolid_kit-0.3.3/viewer/src/index.ts +17 -0
  145. parasolid_kit-0.3.3/viewer/src/manifest.ts +131 -0
  146. parasolid_kit-0.3.3/viewer/src/selection.ts +63 -0
  147. parasolid_kit-0.3.3/viewer/src/style.css +59 -0
  148. parasolid_kit-0.3.3/viewer/src/validation.ts +102 -0
  149. parasolid_kit-0.3.3/viewer/tests/adapter.test.ts +150 -0
  150. parasolid_kit-0.3.3/viewer/tests/browser.mjs +296 -0
  151. parasolid_kit-0.3.3/viewer/tests/filter.test.ts +42 -0
  152. parasolid_kit-0.3.3/viewer/tests/fixtures/box/preview.glb +0 -0
  153. parasolid_kit-0.3.3/viewer/tests/fixtures/box/preview.manifest.json +1356 -0
  154. parasolid_kit-0.3.3/viewer/tests/fixtures/box-cm-no-edges/preview.glb +0 -0
  155. parasolid_kit-0.3.3/viewer/tests/fixtures/box-cm-no-edges/preview.manifest.json +372 -0
  156. parasolid_kit-0.3.3/viewer/tests/fixtures/box-partial/preview.glb +0 -0
  157. parasolid_kit-0.3.3/viewer/tests/fixtures/box-partial/preview.manifest.json +1359 -0
  158. parasolid_kit-0.3.3/viewer/tests/fixtures/cylinder-hole/preview.glb +0 -0
  159. parasolid_kit-0.3.3/viewer/tests/fixtures/cylinder-hole/preview.manifest.json +674 -0
  160. parasolid_kit-0.3.3/viewer/tests/fixtures/oracle.json +6600 -0
  161. parasolid_kit-0.3.3/viewer/tests/fixtures/sheet/preview.glb +0 -0
  162. parasolid_kit-0.3.3/viewer/tests/fixtures/sheet/preview.manifest.json +265 -0
  163. parasolid_kit-0.3.3/viewer/tests/fixtures/two-boxes/preview.glb +0 -0
  164. parasolid_kit-0.3.3/viewer/tests/fixtures/two-boxes/preview.manifest.json +2656 -0
  165. parasolid_kit-0.3.3/viewer/tests/generate_fixtures.py +82 -0
  166. parasolid_kit-0.3.3/viewer/tests/helpers.ts +26 -0
  167. parasolid_kit-0.3.3/viewer/tests/launch_cli.py +33 -0
  168. parasolid_kit-0.3.3/viewer/tests/production.mjs +126 -0
  169. parasolid_kit-0.3.3/viewer/tests/screenshot.mjs +86 -0
  170. parasolid_kit-0.3.3/viewer/tests/selection.test.ts +49 -0
  171. parasolid_kit-0.3.3/viewer/tests/serve_previews.py +212 -0
  172. parasolid_kit-0.3.3/viewer/third-party/manifest.json +45 -0
  173. parasolid_kit-0.3.3/viewer/third-party/n8ao-1.10.1.txt +121 -0
  174. parasolid_kit-0.3.3/viewer/third-party/postprocessing-6.39.0.txt +19 -0
  175. parasolid_kit-0.3.3/viewer/third-party/three-0.184.0.txt +21 -0
  176. parasolid_kit-0.3.3/viewer/third-party/three-cad-viewer-5.0.6.txt +18 -0
  177. parasolid_kit-0.3.3/viewer/tsconfig.json +18 -0
  178. parasolid_kit-0.1.0.dev4/.gitattributes +0 -4
  179. parasolid_kit-0.1.0.dev4/PKG-INFO +0 -416
  180. parasolid_kit-0.1.0.dev4/README.md +0 -391
  181. parasolid_kit-0.1.0.dev4/corpus/README.md +0 -55
  182. parasolid_kit-0.1.0.dev4/crates/parasolid-core/Cargo.toml +0 -19
  183. parasolid_kit-0.1.0.dev4/crates/parasolid-core/src/schema/profiles/mod.rs +0 -10
  184. parasolid_kit-0.1.0.dev4/docs/format-support.md +0 -305
  185. parasolid_kit-0.1.0.dev4/src/parasolid_kit/interop/preview/static/index.html +0 -88
  186. parasolid_kit-0.1.0.dev4/src/parasolid_kit/interop/preview/static/viewer.css +0 -299
  187. parasolid_kit-0.1.0.dev4/src/parasolid_kit/interop/preview/static/viewer.js +0 -732
  188. parasolid_kit-0.1.0.dev4/tests/test_public_contracts.py +0 -52
  189. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/LICENSE +0 -0
  190. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/corpus/manifest.schema.json +0 -0
  191. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/brep/mod.rs +0 -0
  192. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/comparison.rs +0 -0
  193. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/document.rs +0 -0
  194. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/error.rs +0 -0
  195. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/header.rs +0 -0
  196. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/reader.rs +0 -0
  197. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/catalog.rs +0 -0
  198. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/coverage.rs +0 -0
  199. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/decoder.rs +0 -0
  200. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/mod.rs +0 -0
  201. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/model.rs +0 -0
  202. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/provider.rs +0 -0
  203. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/registry.rs +0 -0
  204. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/schema/wire.rs +0 -0
  205. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/text_document.rs +0 -0
  206. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/text_reader.rs +0 -0
  207. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/src/user_fields.rs +0 -0
  208. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/builtin_sch13006.rs +0 -0
  209. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/builtin_sch30000_brep.rs +0 -0
  210. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/builtin_sch30000_holdout_values.rs +0 -0
  211. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-core/tests/embedded_base_membership.rs +0 -0
  212. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-python/Cargo.toml +0 -0
  213. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/crates/parasolid-python/src/lib.rs +0 -0
  214. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/doubly-periodic-surface-evidence.json +0 -0
  215. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/doubly-periodic-surface-evidence.md +0 -0
  216. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/nurbs-surface-evidence.json +0 -0
  217. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/nurbs-surface-evidence.md +0 -0
  218. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/rational-periodic-surface-evidence.json +0 -0
  219. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/rational-periodic-surface-evidence.md +0 -0
  220. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/step-accuracy-data.json +0 -0
  221. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/docs/step-accuracy.md +0 -0
  222. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/fuzz/Cargo.toml +0 -0
  223. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/fuzz/fuzz_targets/inspect.rs +0 -0
  224. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/fuzz/fuzz_targets/schema_catalog.rs +0 -0
  225. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_corpus.py +0 -0
  226. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_optional_interop_i0.py +0 -0
  227. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/scripts/verify_optional_interop_i5.py +0 -0
  228. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/__main__.py +0 -0
  229. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/_native.py +0 -0
  230. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/api.py +0 -0
  231. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/binary/__init__.py +0 -0
  232. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/binary/document.py +0 -0
  233. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/binary/header.py +0 -0
  234. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/brep/__init__.py +0 -0
  235. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/brep/topology.py +0 -0
  236. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/diagnostics.py +0 -0
  237. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/errors.py +0 -0
  238. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/__init__.py +0 -0
  239. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/_typing.py +0 -0
  240. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/cadquery.py +0 -0
  241. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/dependency.py +0 -0
  242. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/errors.py +0 -0
  243. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/limits.py +0 -0
  244. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/__init__.py +0 -0
  245. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/model.py +0 -0
  246. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/options.py +0 -0
  247. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/occt/step.py +0 -0
  248. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/__init__.py +0 -0
  249. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/glb.py +0 -0
  250. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/interop/preview/model.py +0 -0
  251. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/limits.py +0 -0
  252. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/py.typed +0 -0
  253. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/schema/__init__.py +0 -0
  254. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/schema/api.py +0 -0
  255. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/schema/model.py +0 -0
  256. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/schema/provider.py +0 -0
  257. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/summary.py +0 -0
  258. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/text/__init__.py +0 -0
  259. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/text/header.py +0 -0
  260. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/validation/__init__.py +0 -0
  261. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/src/parasolid_kit/validation/comparison.py +0 -0
  262. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/__init__.py +0 -0
  263. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/_occt_fixtures.py +0 -0
  264. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/support/__init__.py +0 -0
  265. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/support/parasolid_binary.py +0 -0
  266. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/support/parasolid_schema.py +0 -0
  267. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/support/parasolid_text.py +0 -0
  268. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_brep.py +0 -0
  269. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_cone_runtime.py +0 -0
  270. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_intersection_data_runtime.py +0 -0
  271. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_builtin_intersection_runtime.py +0 -0
  272. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_corpus_gate.py +0 -0
  273. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_corpus_manifest.py +0 -0
  274. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_diagnostics.py +0 -0
  275. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_inspect_xb.py +0 -0
  276. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_limits.py +0 -0
  277. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_occt_conversion.py +0 -0
  278. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_parse_xb.py +0 -0
  279. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_parse_xt.py +0 -0
  280. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_schema_catalog.py +0 -0
  281. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_schema_resolution.py +0 -0
  282. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_step_export.py +0 -0
  283. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_summary.py +0 -0
  284. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_synthetic_binary.py +0 -0
  285. {parasolid_kit-0.1.0.dev4 → parasolid_kit-0.3.3}/tests/test_user_fields.py +0 -0
@@ -0,0 +1,18 @@
1
+ # Viewer assets are hash-pinned at build time and runtime on every platform.
2
+ /src/parasolid_kit/interop/preview/static/*.html text eol=lf
3
+ # Generated bundles preserve upstream license/template/shader whitespace verbatim.
4
+ /src/parasolid_kit/interop/preview/static/*.css text eol=lf -whitespace
5
+ /src/parasolid_kit/interop/preview/static/*.js text eol=lf -whitespace
6
+ /viewer/** text eol=lf
7
+ /viewer/**/*.glb -text
8
+ /viewer/third-party/*.txt -text -whitespace
9
+
10
+ # Release baselines and synthetic wire bytes are hash-pinned on every platform.
11
+ /corpus/expected/**/*.json text eol=lf
12
+ /corpus/generated/synthetic/**/*.x_t -text
13
+ /corpus/generated/synthetic/**/*.x_b -text
14
+
15
+ # Compare distributed licenses byte-for-byte across all wheel platforms.
16
+ /LICENSE text eol=lf
17
+ /LICENSES/*.txt text eol=lf
18
+ /crates/parasolid-core/LICENSE* text eol=lf
@@ -0,0 +1,51 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ - Add five exact legacy iCAD embedded 13006 profiles with pinned B-Rep roles
6
+ for Issues #6 and #7. Qualify BLEND_BOUND (59), its BLENDED_EDGE (56)
7
+ dependency, SPUN_SURF (68), and SP_CURVE (137) dependencies only for the
8
+ observed keys. The sampled 539 resources now parse without a catalog;
9
+ 535 map completely and four retain explicit unsupported SPUN_SURF geometry.
10
+ See the [support matrix](docs/format-support.md#supported-profiles) for
11
+ per-key revisions, hashes and conversion limits.
12
+
13
+ - Extend the exact iCAD V34 profile to revision 2 with the reviewed 13006
14
+ TORUS (54) definition and matching B-Rep roles. The profile ID is
15
+ `icad-sch34101-13006-r2`; other schema keys and unknown base types retain
16
+ their existing boundaries. This core patch supports catalog-free parsing
17
+ of qualified toroidal saved solids in downstream iCAD readers.
18
+
19
+ - Add the exact iCAD `SCH_3401212_34101_13006` built-in profile for extracted
20
+ Parasolid streams, including pinned source B-Rep roles. Unknown base types and
21
+ nearby keys still require their own reviewed support. Native ICD extraction,
22
+ part ownership, placement and unit interpretation remain caller responsibilities.
23
+
24
+ ## 0.2.0 — unreleased
25
+
26
+ - Add the exact Onshape `SCH_3701212_37102_13006` profile, including analytic
27
+ geometry, direct NURBS curves/surfaces, intersection and trimmed curves,
28
+ surface-parametric curves, and fully declared multi-part transmit blocks.
29
+ Other modeller keys still require their own reviewed profile or an explicit
30
+ schema provider.
31
+ - Preserve intersection chart and limit positions in the source B-Rep.
32
+ - Add the bundled local viewer and bounded UV/intersection conversion.
33
+ Parser, OCCT conversion, STEP export and preview retain separate support limits.
34
+ - Extend release validation with native NURBS coefficients, sampled parametric
35
+ geometry, producer tolerance reporting and hashed native evidence.
36
+
37
+ ### Migration from 0.1.0
38
+
39
+ - The V30 profile is `onshape-sch30000-r3`; the new current Onshape profile is
40
+ `onshape-sch37102-13006-r3`. Consumers that pin profile IDs or hashes must
41
+ update their expectations for these exact keys.
42
+ - Intersection definitions include `chart_points`, `start_points` and
43
+ `end_points`. Strict JSON consumers must accept these additional fields.
44
+ - Core area and volume require complete planar polygonal boundaries. Curved
45
+ boundaries return `None`, including cases previously assigned incorrect
46
+ endpoint-polygon metrics. Bounding boxes still use source topological vertices.
47
+ - Reading a NURBS definition does not establish OCCT/STEP/preview conversion for
48
+ every rational, closed or periodic variant. Assemblies, native CAD containers
49
+ and SolidWorks delta application remain outside the complete parser contract.
50
+
51
+ See [format support](docs/format-support.md) for exact keys and stage boundaries.
@@ -88,7 +88,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
88
88
 
89
89
  [[package]]
90
90
  name = "parasolid-core"
91
- version = "0.1.0-dev4"
91
+ version = "0.3.3"
92
92
  dependencies = [
93
93
  "serde_json",
94
94
  "sha2",
@@ -96,7 +96,7 @@ dependencies = [
96
96
 
97
97
  [[package]]
98
98
  name = "parasolid-python"
99
- version = "0.1.0-dev4"
99
+ version = "0.3.3"
100
100
  dependencies = [
101
101
  "parasolid-core",
102
102
  "pyo3",
@@ -4,11 +4,11 @@ exclude = ["fuzz"]
4
4
  resolver = "3"
5
5
 
6
6
  [workspace.package]
7
- version = "0.1.0-dev4"
7
+ version = "0.3.3"
8
8
  edition = "2024"
9
9
  rust-version = "1.88"
10
10
  description = "Schema-aware parser core for Parasolid X_T and X_B data"
11
- license = "MIT"
11
+ license = "MIT AND Apache-2.0"
12
12
  repository = "https://github.com/monozukuri-ai/parasolid-kit"
13
13
 
14
14
  [workspace.dependencies]
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,141 @@
1
+ Metadata-Version: 2.4
2
+ Name: parasolid-kit
3
+ Version: 0.3.3
4
+ Classifier: Development Status :: 5 - Production/Stable
5
+ Classifier: Programming Language :: Python :: 3
6
+ Classifier: Programming Language :: Python :: 3 :: Only
7
+ Classifier: Programming Language :: Python :: 3.10
8
+ Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Programming Language :: Python :: 3.13
11
+ Classifier: Programming Language :: Rust
12
+ Classifier: Typing :: Typed
13
+ Requires-Dist: cadquery>=2.8,<2.9 ; extra == 'cadquery'
14
+ Requires-Dist: numba>=0.62.1,<0.63 ; platform_machine == 'x86_64' and sys_platform == 'darwin' and extra == 'cadquery'
15
+ Requires-Dist: cadquery-ocp-novtk>=7.9.3.1,<7.10 ; extra == 'occt'
16
+ Provides-Extra: cadquery
17
+ Provides-Extra: occt
18
+ License-File: LICENSE
19
+ License-File: LICENSES/Apache-2.0.txt
20
+ Summary: Schema-aware Python parser for Parasolid X_T and X_B data
21
+ License-Expression: MIT AND Apache-2.0
22
+ Requires-Python: >=3.10
23
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
24
+ Project-URL: Repository, https://github.com/monozukuri-ai/parasolid-kit
25
+
26
+ # parasolid-kit
27
+
28
+ A schema-aware parser for Parasolid X_T and X_B transmit files. A safe Rust
29
+ core handles parsing and geometry mapping; Python exposes immutable typed
30
+ models and a command-line interface. The project focuses on reading and
31
+ preserving the transmitted structure for inspection and conversion pipelines.
32
+
33
+ Rust applications can use [parasolid-core](crates/parasolid-core/README.md)
34
+ directly, without Python.
35
+
36
+ ## Features
37
+
38
+ - Inspect headers and map supported topology, analytic geometry and NURBS to
39
+ a typed source B-Rep.
40
+ - Compare X_T/X_B documents after pointer remapping and reconstruct an
41
+ unmodified parsed X_B document byte-for-byte.
42
+ - Report structured diagnostics and enforce configurable resource limits.
43
+ - Use optional OCCT conversion, validated STEP export, CadQuery shapes and a
44
+ local viewer with face/edge source picking, body visibility and section views.
45
+
46
+ ## Installation
47
+
48
+ Python 3.10+ is required. The base package has no runtime dependencies:
49
+
50
+ ```bash
51
+ python -m pip install parasolid-kit
52
+ ```
53
+
54
+ For STEP export and the viewer, install the OCCT profile:
55
+
56
+ ```bash
57
+ python -m pip install "parasolid-kit[occt]"
58
+ ```
59
+
60
+ See [installation](docs/installation.md) for platform requirements, the separate
61
+ CadQuery profile, downloaded wheels and source builds.
62
+
63
+ ## Quick start
64
+
65
+ For an input covered by a built-in profile:
66
+
67
+ ```bash
68
+ parasolid-kit inspect model.x_b # Header only; no schema catalog needed.
69
+ parasolid-kit check model.x_b # Parse and check the source B-Rep.
70
+ parasolid-kit check model.x_t --json # Structured report.
71
+ parasolid-kit compare model.x_t model.x_b
72
+ ```
73
+
74
+ The same workflow is available in Python:
75
+
76
+ ```python
77
+ from parasolid_kit import read_brep
78
+
79
+ parsed = read_brep("model.x_b")
80
+ print(parsed.summary.to_dict())
81
+ print(parsed.complete)
82
+ print(parsed.brep.diagnostics)
83
+ ```
84
+
85
+ `complete` describes source B-Rep mapping. Geometry conversion and a native CAD
86
+ file's saved configuration have separate requirements. Use `check` when
87
+ completeness must affect the CLI exit code. See the [Python API](docs/api.md)
88
+ and [CLI reference](docs/api.md#cli) for lower-level operations and diagnostics.
89
+
90
+ ## Local viewer
91
+
92
+ To try the viewer from a source checkout with Rust 1.88+ installed:
93
+
94
+ ```bash
95
+ python -m pip install ".[occt]"
96
+ parasolid-kit viewer model.x_t --source-unit mm
97
+ ```
98
+
99
+ Choose the input's actual unit; it is never inferred. `view` is an alias.
100
+ The command opens a local URL; Ctrl-C stops serving and keeps the generated
101
+ files. Node.js and a CDN are unnecessary at runtime.
102
+
103
+ ![Viewer showing two boxes and the selected face's source ID, node and byte range](docs/images/viewer.png)
104
+
105
+ Project-authored synthetic two-body fixture, rendered with Linux/SwiftShader.
106
+ See [preview controls and saving](docs/api.md#bounded-local-preview),
107
+ [display limits](docs/format-support.md#viewer-display-boundary) and
108
+ [viewer development](viewer/README.md).
109
+
110
+ ## Supported inputs
111
+
112
+ Built-in profiles cover exact Onshape V30/V13/current, extracted iCAD and
113
+ SolidWorks partition keys. Each has `verified_subset` coverage and requires
114
+ zero user fields. Consult the [support matrix](docs/format-support.md#supported-profiles)
115
+ for exact keys and geometry limits; matching a key does not guarantee that
116
+ all records are supported. Other keys or uncovered types need an explicit
117
+ [schema catalog](docs/schema-catalogs.md).
118
+
119
+ Native CAD containers, assemblies and SolidWorks delta application are outside
120
+ the complete parser contract. Parsing, OCCT conversion, STEP export and preview
121
+ have separate coverage. See [format support and limitations](docs/format-support.md).
122
+
123
+ ## Documentation
124
+
125
+ | Topic | Guide |
126
+ |---|---|
127
+ | Setup and optional runtimes | [Installation](docs/installation.md) |
128
+ | Python models, conversion and CLI | [API reference](docs/api.md) |
129
+ | External schema providers | [Schema catalogs](docs/schema-catalogs.md) |
130
+ | Supported inputs and geometry | [Support matrix](docs/format-support.md) |
131
+ | Profile sources and validation | [Built-in profiles](docs/builtin-profiles.md) |
132
+ | Release changes | [Changelog](CHANGELOG.md) |
133
+ | Maintainer verification | [Release gates](docs/releasing.md), [corpus policy](corpus/README.md) |
134
+
135
+ ## License
136
+
137
+ The distribution is licensed under `MIT AND Apache-2.0`: the original
138
+ implementation uses [MIT](LICENSE), and adopted partial readers use
139
+ [Apache-2.0](LICENSES/Apache-2.0.txt). See [reader provenance](crates/parasolid-core/PARTIAL_READERS.md)
140
+ and [viewer notices](viewer/README.md#dependencies-and-licenses).
141
+
@@ -0,0 +1,115 @@
1
+ # parasolid-kit
2
+
3
+ A schema-aware parser for Parasolid X_T and X_B transmit files. A safe Rust
4
+ core handles parsing and geometry mapping; Python exposes immutable typed
5
+ models and a command-line interface. The project focuses on reading and
6
+ preserving the transmitted structure for inspection and conversion pipelines.
7
+
8
+ Rust applications can use [parasolid-core](crates/parasolid-core/README.md)
9
+ directly, without Python.
10
+
11
+ ## Features
12
+
13
+ - Inspect headers and map supported topology, analytic geometry and NURBS to
14
+ a typed source B-Rep.
15
+ - Compare X_T/X_B documents after pointer remapping and reconstruct an
16
+ unmodified parsed X_B document byte-for-byte.
17
+ - Report structured diagnostics and enforce configurable resource limits.
18
+ - Use optional OCCT conversion, validated STEP export, CadQuery shapes and a
19
+ local viewer with face/edge source picking, body visibility and section views.
20
+
21
+ ## Installation
22
+
23
+ Python 3.10+ is required. The base package has no runtime dependencies:
24
+
25
+ ```bash
26
+ python -m pip install parasolid-kit
27
+ ```
28
+
29
+ For STEP export and the viewer, install the OCCT profile:
30
+
31
+ ```bash
32
+ python -m pip install "parasolid-kit[occt]"
33
+ ```
34
+
35
+ See [installation](docs/installation.md) for platform requirements, the separate
36
+ CadQuery profile, downloaded wheels and source builds.
37
+
38
+ ## Quick start
39
+
40
+ For an input covered by a built-in profile:
41
+
42
+ ```bash
43
+ parasolid-kit inspect model.x_b # Header only; no schema catalog needed.
44
+ parasolid-kit check model.x_b # Parse and check the source B-Rep.
45
+ parasolid-kit check model.x_t --json # Structured report.
46
+ parasolid-kit compare model.x_t model.x_b
47
+ ```
48
+
49
+ The same workflow is available in Python:
50
+
51
+ ```python
52
+ from parasolid_kit import read_brep
53
+
54
+ parsed = read_brep("model.x_b")
55
+ print(parsed.summary.to_dict())
56
+ print(parsed.complete)
57
+ print(parsed.brep.diagnostics)
58
+ ```
59
+
60
+ `complete` describes source B-Rep mapping. Geometry conversion and a native CAD
61
+ file's saved configuration have separate requirements. Use `check` when
62
+ completeness must affect the CLI exit code. See the [Python API](docs/api.md)
63
+ and [CLI reference](docs/api.md#cli) for lower-level operations and diagnostics.
64
+
65
+ ## Local viewer
66
+
67
+ To try the viewer from a source checkout with Rust 1.88+ installed:
68
+
69
+ ```bash
70
+ python -m pip install ".[occt]"
71
+ parasolid-kit viewer model.x_t --source-unit mm
72
+ ```
73
+
74
+ Choose the input's actual unit; it is never inferred. `view` is an alias.
75
+ The command opens a local URL; Ctrl-C stops serving and keeps the generated
76
+ files. Node.js and a CDN are unnecessary at runtime.
77
+
78
+ ![Viewer showing two boxes and the selected face's source ID, node and byte range](docs/images/viewer.png)
79
+
80
+ Project-authored synthetic two-body fixture, rendered with Linux/SwiftShader.
81
+ See [preview controls and saving](docs/api.md#bounded-local-preview),
82
+ [display limits](docs/format-support.md#viewer-display-boundary) and
83
+ [viewer development](viewer/README.md).
84
+
85
+ ## Supported inputs
86
+
87
+ Built-in profiles cover exact Onshape V30/V13/current, extracted iCAD and
88
+ SolidWorks partition keys. Each has `verified_subset` coverage and requires
89
+ zero user fields. Consult the [support matrix](docs/format-support.md#supported-profiles)
90
+ for exact keys and geometry limits; matching a key does not guarantee that
91
+ all records are supported. Other keys or uncovered types need an explicit
92
+ [schema catalog](docs/schema-catalogs.md).
93
+
94
+ Native CAD containers, assemblies and SolidWorks delta application are outside
95
+ the complete parser contract. Parsing, OCCT conversion, STEP export and preview
96
+ have separate coverage. See [format support and limitations](docs/format-support.md).
97
+
98
+ ## Documentation
99
+
100
+ | Topic | Guide |
101
+ |---|---|
102
+ | Setup and optional runtimes | [Installation](docs/installation.md) |
103
+ | Python models, conversion and CLI | [API reference](docs/api.md) |
104
+ | External schema providers | [Schema catalogs](docs/schema-catalogs.md) |
105
+ | Supported inputs and geometry | [Support matrix](docs/format-support.md) |
106
+ | Profile sources and validation | [Built-in profiles](docs/builtin-profiles.md) |
107
+ | Release changes | [Changelog](CHANGELOG.md) |
108
+ | Maintainer verification | [Release gates](docs/releasing.md), [corpus policy](corpus/README.md) |
109
+
110
+ ## License
111
+
112
+ The distribution is licensed under `MIT AND Apache-2.0`: the original
113
+ implementation uses [MIT](LICENSE), and adopted partial readers use
114
+ [Apache-2.0](LICENSES/Apache-2.0.txt). See [reader provenance](crates/parasolid-core/PARTIAL_READERS.md)
115
+ and [viewer notices](viewer/README.md#dependencies-and-licenses).