@bldrs-ai/conway 0.7.766 → 0.8.782
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/README.md +30 -31
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmNode.js +1 -1
- package/compiled/dependencies/conway-geom/Dist/ConwayGeomWasmWeb.js +1 -1
- package/compiled/dependencies/conway-geom/interface/conway_geometry.d.ts +19 -0
- package/compiled/dependencies/conway-geom/interface/conway_geometry.d.ts.map +1 -1
- package/compiled/dependencies/conway-geom/interface/conway_geometry.js +31 -0
- package/compiled/dependencies/conway-geom/interface/geometry_object.d.ts +4 -0
- package/compiled/dependencies/conway-geom/interface/geometry_object.d.ts.map +1 -1
- package/compiled/dependencies/conway-geom/interface/parameters/params_get_boolean_result.d.ts +1 -0
- package/compiled/dependencies/conway-geom/interface/parameters/params_get_boolean_result.d.ts.map +1 -1
- package/compiled/dependencies/conway-geom/interface/parse_buffer.d.ts +11 -0
- package/compiled/dependencies/conway-geom/interface/parse_buffer.d.ts.map +1 -0
- package/compiled/dependencies/conway-geom/interface/parse_buffer.js +1 -0
- package/compiled/src/AP214E3_2010/ap214_command_line_main.js +11 -13
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.js +0 -1
- package/compiled/src/AP214E3_2010/ap214_geometry_extraction.test.js +15 -13
- package/compiled/src/AP214E3_2010/ap214_step_model.d.ts.map +1 -1
- package/compiled/src/AP214E3_2010/ap214_step_model.test.js +12 -1
- package/compiled/src/AP214E3_2010/ap214_step_parser.d.ts.map +1 -1
- package/compiled/src/core/canonical_mesh.d.ts +1 -1
- package/compiled/src/core/canonical_mesh.d.ts.map +1 -1
- package/compiled/src/core/geometry_aggregator.test.js +7 -7
- package/compiled/src/core/packed_mesh.test.js +4 -4
- package/compiled/src/ifc/ifc_command_line_main.js +17 -16
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts +6 -4
- package/compiled/src/ifc/ifc_geometry_extraction.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_geometry_extraction.js +107 -102
- package/compiled/src/ifc/ifc_geometry_extraction.test.js +4 -4
- package/compiled/src/ifc/ifc_model_geometry.d.ts +4 -0
- package/compiled/src/ifc/ifc_model_geometry.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_model_geometry.js +13 -0
- package/compiled/src/ifc/ifc_property_extraction.test.js +12 -1
- package/compiled/src/ifc/ifc_regression_main.js +5 -3
- package/compiled/src/ifc/ifc_scene_builder.test.js +11 -8
- package/compiled/src/ifc/ifc_step_model.d.ts +1 -0
- package/compiled/src/ifc/ifc_step_model.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_step_model.js +1 -0
- package/compiled/src/ifc/ifc_step_model.test.js +12 -1
- package/compiled/src/ifc/ifc_step_parser.d.ts +1 -0
- package/compiled/src/ifc/ifc_step_parser.d.ts.map +1 -1
- package/compiled/src/ifc/ifc_step_parser.js +1 -0
- package/compiled/src/step/parsing/step_deserialization_functions.d.ts +1 -1
- package/compiled/src/step/parsing/step_deserialization_functions.d.ts.map +1 -1
- package/compiled/src/step/parsing/step_deserialization_functions.js +1 -1
- package/compiled/src/step/parsing/step_parser.d.ts +1 -1
- package/compiled/src/step/parsing/step_parser.d.ts.map +1 -1
- package/compiled/src/step/parsing/step_parser.js +3 -3
- package/compiled/src/step/parsing/step_vtable_builder.d.ts +4 -3
- package/compiled/src/step/parsing/step_vtable_builder.d.ts.map +1 -1
- package/compiled/src/step/parsing/step_vtable_builder.js +5 -4
- package/compiled/src/step/step_entity_base.d.ts +27 -2
- package/compiled/src/step/step_entity_base.d.ts.map +1 -1
- package/compiled/src/step/step_entity_base.js +77 -15
- package/compiled/src/step/step_entity_internal_reference.d.ts +1 -0
- package/compiled/src/step/step_entity_internal_reference.d.ts.map +1 -1
- package/compiled/src/step/step_external_mapping.test.js +12 -1
- package/compiled/src/step/step_model_base.d.ts.map +1 -1
- package/compiled/src/step/step_model_base.js +1 -0
- package/compiled/src/version/version.js +1 -1
- package/compiled/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -1
- package/compiled/src/examples/browser.d.ts +0 -3
- package/compiled/src/examples/browser.d.ts.map +0 -1
- package/compiled/src/examples/browser.js +0 -388
- package/compiled/src/examples/validator.d.ts +0 -8
- package/compiled/src/examples/validator.d.ts.map +0 -1
- package/compiled/src/examples/validator.js +0 -378
package/README.md
CHANGED
|
@@ -8,52 +8,53 @@ Conway includes two major subcomponents:
|
|
|
8
8
|
|
|
9
9
|
## Getting Started
|
|
10
10
|
|
|
11
|
-
###
|
|
12
|
-
|
|
11
|
+
### Windows Setup
|
|
12
|
+
1. [Install MinGW-64](https://github.com/msys2/msys2-installer/releases/download/2022-06-03/msys2-x86_64-20220603.exe) and add ```g++.exe``` location to your PATH variable.
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
```
|
|
16
|
-
sudo apt-get update && \
|
|
17
|
-
sudo apt-get install -y dotnet-sdk-6.0
|
|
18
|
-
```
|
|
14
|
+
### MacOS Setup
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
brew install dotnet@6
|
|
23
|
-
```
|
|
16
|
+
1. Install the `gmake` and `node` dependencies via Homebrew (```brew install gmake node```).
|
|
24
17
|
|
|
25
|
-
###
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
# 2) Make sure you're in main repo, not fork
|
|
31
|
-
git pull # if you get an error about a submodule not found, run yarn submodule-update here and then pull again
|
|
32
|
-
yarn install
|
|
33
|
-
yarn submodule-update
|
|
18
|
+
### EMSDK Setup
|
|
19
|
+
1. [Install EMSDK](https://github.com/emscripten-core/emsdk). Install version 3.1.72 or higher. ```git checkout 3.1.72```
|
|
20
|
+
2. Add EMSDK environment variable to your terminal.
|
|
21
|
+
- Windows: ```EMSDK=C:\path\to\emsdk```
|
|
22
|
+
- MacOS: ```export EMSDK=/path/to/emsdk```
|
|
34
23
|
|
|
35
|
-
|
|
36
|
-
# Answer yes or all to replace files if they've already been unzipped before
|
|
37
|
-
unzip dependencies.zip
|
|
38
|
-
cd -
|
|
24
|
+
### Initial Build
|
|
39
25
|
|
|
26
|
+
Clone the Conway repository, then in the root directory of the repository:
|
|
27
|
+
```
|
|
28
|
+
# Make sure EMSDK environment is set up.
|
|
29
|
+
yarn setup
|
|
40
30
|
yarn build
|
|
41
31
|
yarn test
|
|
42
32
|
```
|
|
43
33
|
|
|
44
|
-
###
|
|
45
|
-
|
|
34
|
+
### Example Uses
|
|
35
|
+
You can now load your IFC files. From the Conway root:
|
|
36
|
+
1. ```yarn browser model.ifc```
|
|
37
|
+
2. ```yarn validator model.ifc "IFCWINDOW.OverallHeight <= 1500"```
|
|
38
|
+
|
|
39
|
+
See the full example docs at [Browser.md](examples/Browser.md) and [Validator.md](examples/Validator.md)
|
|
46
40
|
|
|
47
|
-
|
|
41
|
+
## Development
|
|
42
|
+
Update your client with changes since your last sync:
|
|
48
43
|
```
|
|
49
|
-
|
|
44
|
+
git pull
|
|
45
|
+
yarn setup
|
|
50
46
|
```
|
|
51
47
|
|
|
52
|
-
For the
|
|
48
|
+
For the full build of both conway (TypeScript) and conway-geom (WASM subproject):
|
|
53
49
|
```
|
|
54
50
|
yarn build
|
|
55
51
|
```
|
|
56
52
|
|
|
53
|
+
Build just conway, not conway-geom, e.g. for updating just the Conway API or tools:
|
|
54
|
+
```
|
|
55
|
+
yarn build-incremental
|
|
56
|
+
```
|
|
57
|
+
|
|
57
58
|
For a full, clean rebuild:
|
|
58
59
|
```
|
|
59
60
|
yarn build-rebuild
|
|
@@ -69,8 +70,6 @@ And finally, using the watch functionality, you can also have the code automatic
|
|
|
69
70
|
yarn build-test-watch
|
|
70
71
|
```
|
|
71
72
|
|
|
72
|
-
If you have Visual Studio Code, Conway also comes with a Visual Studio Code workspace to add IDE accessability to these features, and also let you edit the IFC-gen C# code in place.
|
|
73
|
-
|
|
74
73
|
# Production NPM Build
|
|
75
74
|
```
|
|
76
75
|
yarn test
|