@draftwright/specify-core-wasm 0.1.17 → 0.1.18
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.
- package/NOTICE +24 -0
- package/README.md +8 -5
- package/package.json +3 -2
- package/specify_core_wasm_bg.wasm +0 -0
package/NOTICE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
specify-core-rust (a Rust port of specify-core)
|
|
2
|
+
Copyright (C) 2026 Betwixt Limited (trading as Draftwright)
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
5
|
+
this software except in compliance with the License. You may obtain a copy of the
|
|
6
|
+
License in LICENSE or at http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
9
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
10
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
11
|
+
specific language governing permissions and limitations under the License.
|
|
12
|
+
|
|
13
|
+
Third-party material:
|
|
14
|
+
|
|
15
|
+
- tests/fixtures/freecad contains unmodified FreeCAD-library STEP files by
|
|
16
|
+
nicoguaro and Francisco, compressed for regression tests, under CC-BY-3.0.
|
|
17
|
+
Attribution, source links and the licence are in that directory.
|
|
18
|
+
|
|
19
|
+
- src/specify_core/fonts/futural.jhf is the Hershey "Futura Light" single-stroke
|
|
20
|
+
font in James Hurt's format, from https://github.com/kamalmostafa/hershey-fonts.
|
|
21
|
+
The Hershey Fonts were originally created by Dr. A. V. Hershey while working
|
|
22
|
+
at the U. S. National Bureau of Standards. The format of the Font data in this
|
|
23
|
+
distribution was originally created by James Hurt, Cognition, Inc., 900
|
|
24
|
+
Technology Park Drive, Billerica, MA 01821 (mit-eddie!ci-dandelion!hurt).
|
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# specify-core-wasm
|
|
2
2
|
|
|
3
3
|
Browser bindings for specify-core. See [the WASM guide](https://github.com/pzfreo/specify-core/blob/main/docs/wasm.md)
|
|
4
|
-
for the JSON API, build instructions and
|
|
4
|
+
for the JSON API, build instructions and installation, from npm
|
|
5
|
+
(`npm install @draftwright/specify-core-wasm`) or from a release archive.
|
|
5
6
|
|
|
6
7
|
Initialize the web module, then use `IntentEngine`, `review` and `interpret`.
|
|
7
8
|
Errors are thrown as strings. STEP input must be decompressed. The constructor opens a file
|
|
@@ -11,15 +12,17 @@ the parts with `IntentEngine.parts(name, bytes)` and open one with
|
|
|
11
12
|
original file. `writePmi` uses the upstream verified writer and optionally stores the
|
|
12
13
|
base64 `draftwright editor project` attribute on the part.
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
Apache-2.0; see [LICENSE](https://github.com/pzfreo/specify-core/blob/main/LICENSE) and
|
|
16
|
+
[NOTICE](https://github.com/pzfreo/specify-core/blob/main/NOTICE). The bundled haecceity and
|
|
17
|
+
quiddity ([pzfreo/quiddity](https://github.com/pzfreo/quiddity)) are Apache-2.0 too.
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
Snapshot faces include usable unique authored STEP `f:` names.
|
|
17
20
|
Shared/generic labels retain geometric matching and are omitted from analysis. Keep the entire
|
|
18
21
|
`evidence()` object with external answers: named parts use schema 3; missing or
|
|
19
22
|
duplicate names are unresolved without geometric fallback. See
|
|
20
|
-
[face-name matching and compatibility](
|
|
23
|
+
[face-name matching and compatibility](https://github.com/pzfreo/specify-core/blob/main/docs/face-names.md).
|
|
21
24
|
|
|
22
25
|
Complete answer sidecars (defaults explicit, with geometry evidence) can be exported
|
|
23
26
|
before writing: `engine.exportAnswers(answersJson)` returns an answer map as JSON.
|
|
24
27
|
Incomplete sets and unresolved carries are refused. See
|
|
25
|
-
[answer files](
|
|
28
|
+
[answer files](https://github.com/pzfreo/specify-core/blob/main/docs/answers.md#export-a-complete-sidecar).
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@draftwright/specify-core-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Browser bindings for Specify's questions and manufacturing intent",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.18",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"files": [
|
|
12
12
|
"specify_core_wasm_bg.wasm",
|
|
13
13
|
"specify_core_wasm.js",
|
|
14
|
-
"specify_core_wasm.d.ts"
|
|
14
|
+
"specify_core_wasm.d.ts",
|
|
15
|
+
"NOTICE"
|
|
15
16
|
],
|
|
16
17
|
"main": "specify_core_wasm.js",
|
|
17
18
|
"types": "specify_core_wasm.d.ts",
|
|
Binary file
|