Skip to content

Commit

Permalink
Final Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
beachtom committed Oct 7, 2023
1 parent 3ee1084 commit 88bb376
Show file tree
Hide file tree
Showing 8 changed files with 1,485 additions and 5,375 deletions.
41 changes: 30 additions & 11 deletions benchmark.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
# System informations
{"cpuName":"Apple M1","freeRam":103.15625,"totalRam":8192}
{"cpuName":"Apple M1","freeRam":72.859375,"totalRam":8192}
_________
| filename | Size (mb) | Time to open model (ms) | Time to execute all (ms) | Total ifc entities | Total meshes | Total geometries | total errors |
|-------|-------|-------|-------|-------|-------|-------|-------|
| tests/ifcfiles/public/S_Office_Integrated Design Archi.ifc | 29.62 | 316 | 5900 | 551442 | 3422 | 3873 | 96 |
tests/ifcfiles/public/Sample_entities.ifc | 0.03 | 16 | 1 | 466 | 2 | 10 | 0 |
tests/ifcfiles/public/advanced_model.ifc | 33.67 | 284 | 2369 | 594374 | 6401 | 14120 | 0 |
tests/ifcfiles/public/clinic.ifc | 12.4 | 113 | 975 | 209259 | 2586 | 2626 | 176 |
tests/ifcfiles/public/dental_clinic.ifc | 12.4 | 103 | 922 | 209259 | 2586 | 2626 | 176 |
tests/ifcfiles/public/duplex.ifc | 2.27 | 22 | 78 | 38898 | 216 | 224 | 0 |
tests/ifcfiles/public/example.ifc | 0.39 | 4 | 11 | 6487 | 115 | 119 | 0 |
tests/ifcfiles/public/example_issue_214.ifc | 0 | 6 | 73 | 5 | 0 | 0 | 1 |
tests/ifcfiles/public/schependomlaan.ifc | 47 | 397 | 763 | 714485 | 3569 | 3643 | 7296 |
tests/ifcfiles/public/tested_sample_project.ifc | 0.68 | 8 | 129 | 14119 | 93 | 98 | 0 |
| tests/ifcfiles/public/AC20-FZK-Haus.ifc | 2.45 | 22 | 151 | 44249 | 83 | 103 | 786 |
tests/ifcfiles/public/C20-Institute-Var-2.ifc | 10.43 | 88 | 635 | 147712 | 702 | 821 | 2278 |
tests/ifcfiles/public/FM_ARC_DigitalHub.ifc | 13.66 | 115 | 1310 | 266483 | 705 | 725 | 1262 |
tests/ifcfiles/public/ISSUE_005_haus.ifc | 2.41 | 24 | 158 | 44249 | 83 | 103 | 786 |
tests/ifcfiles/public/ISSUE_021_Mini Project.ifc | 3.2 | 29 | 752 | 49044 | 2636 | 3697 | 136 |
tests/ifcfiles/public/ISSUE_034_HouseZ.ifc | 4.92 | 43 | 265 | 81806 | 228 | 239 | 1882 |
tests/ifcfiles/public/ISSUE_044_test_IFCCOMPOSITEPROFILEDEF.ifc | 0.03 | 1 | 0 | 435 | 7 | 11 | 0 |
tests/ifcfiles/public/ISSUE_053_20181220Holter_Tower_10.ifczip | 29.38 | 1401 | 12704 | 2807815 | 60285 | 60847 | 490 |
tests/ifcfiles/public/ISSUE_068_ARK_NUS_skolebygg.ifc | 54.65 | 629 | 4448 | 945194 | 4459 | 4542 | 118 |
tests/ifcfiles/public/ISSUE_102_M3D-CON-CD.ifc | 26.11 | 349 | 3304 | 503608 | 1616 | 1635 | 214 |
tests/ifcfiles/public/ISSUE_102_M3D-CON.ifc | 6.1 | 57 | 279 | 123282 | 138 | 143 | 0 |
tests/ifcfiles/public/ISSUE_126_model.ifc | 4.32 | 177 | 116 | 88876 | 257 | 288 | 24 |
tests/ifcfiles/public/ISSUE_129_N1540_17_EXE_MOD_448200_02_09_11SMC_IGC_V17.ifc | 11.67 | 89 | 741 | 202661 | 959 | 981 | 8 |
tests/ifcfiles/public/ISSUE_159_kleine_Wohnung_R22.ifc | 9.73 | 147 | 874 | 189788 | 425 | 457 | 1330 |
tests/ifcfiles/public/ISSUE_171_IfcSurfaceCurveSweptAreaSolid.ifc | 0.24 | 3 | 19 | 4327 | 60 | 141 | 134 |
tests/ifcfiles/public/IfcOpenHouse_IFC4.ifc | 0.11 | 64 | 7 | 2885 | 35 | 43 | 0 |
tests/ifcfiles/public/KIT-Simple-Road-Test-Web-IFC4x3_RC2.ifc | 0.38 | 447 | 157 | 6500 | 66 | 119 | 0 |
tests/ifcfiles/public/Office_A_20110811.ifc | 3.91 | 29 | 272 | 62930 | 803 | 810 | 40 |
tests/ifcfiles/public/S_Office_Integrated Design Archi.ifc | 29.62 | 269 | 5452 | 551442 | 3422 | 3873 | 96 |
tests/ifcfiles/public/Sample_entities.ifc | 0.03 | 0 | 1 | 466 | 2 | 10 | 0 |
tests/ifcfiles/public/advanced_model.ifc | 33.67 | 332 | 2434 | 594374 | 6401 | 14120 | 0 |
tests/ifcfiles/public/clinic.ifc | 12.4 | 109 | 1131 | 209259 | 2586 | 2626 | 176 |
tests/ifcfiles/public/dental_clinic.ifc | 12.4 | 97 | 968 | 209259 | 2586 | 2626 | 176 |
tests/ifcfiles/public/duplex.ifc | 2.27 | 20 | 77 | 38898 | 216 | 224 | 0 |
tests/ifcfiles/public/example.ifc | 0.39 | 3 | 11 | 6487 | 115 | 119 | 0 |
tests/ifcfiles/public/example_issue_214.ifc | 0 | 0 | 1 | 5 | 0 | 0 | 1 |
tests/ifcfiles/public/ifcbridge-model01.ifc | 14.47 | 128 | 255 | 296968 | 165 | 168 | 0 |
tests/ifcfiles/public/schependomlaan.ifc | 47 | 417 | 843 | 714485 | 3569 | 3643 | 7296 |
tests/ifcfiles/public/tested_sample_project.ifc | 0.68 | 6 | 119 | 14119 | 93 | 98 | 0 |
7 changes: 5 additions & 2 deletions examples/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"cpy-cli": "^4.2.0",
"del-cli": "^5.0.0",
"esbuild": "^0.12.15",
"make-dir-cli": "^3.0.0",
"local-web-server": "^5.2.1"
"local-web-server": "^5.2.1",
"make-dir-cli": "^3.0.0"
},
"dependencies": {
"three": "^0.157.0"
}
}
2 changes: 1 addition & 1 deletion examples/viewer/web-ifc-scene.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls.js";
import * as THREE from "three";

let scene;
Expand Down
2 changes: 1 addition & 1 deletion examples/viewer/web-ifc-three.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import * as THREE from "three";
import { IfcAPI, ms, PlacedGeometry, Color, FlatMesh, IFCSITE } from "../../dist/web-ifc-api";
import { BufferGeometryUtils } from "three/examples/jsm/utils/BufferGeometryUtils";
import * as BufferGeometryUtils from "three/examples/jsm/utils/BufferGeometryUtils.js";

export class IfcThree
{
Expand Down
Loading

0 comments on commit 88bb376

Please sign in to comment.