Commit Graph

691 Commits

Author SHA1 Message Date
Viktor Kovacs
474d46968b Minor modifications. 2023-10-22 18:13:33 +02:00
Viktor Kovacs
757703a889 Minor modifications. 2023-10-22 18:11:18 +02:00
Viktor Kovacs
1a4c3c128d Refactor mesh material handling. 2023-10-22 18:08:30 +02:00
Viktor Kovacs
077d46d112 Refactor material conversion. 2023-10-21 18:10:45 +02:00
Viktor Kovacs
7420e4dfeb Convert line segments with dummy material. 2023-10-21 08:46:54 +02:00
kovacsv
1af09bf377 Read lines from obj files. 2023-10-17 19:47:00 +02:00
kovacsv
2db8771317 Rename function. 2023-10-17 19:08:32 +02:00
kovacsv
aa984afbdb Fix jshint error. 2023-10-17 18:13:31 +02:00
kovacsv
f546ce65c0 No need to have a separate material for lines. 2023-10-17 17:58:31 +02:00
kovacsv
4361240842 Replace callbacks with color values. 2023-10-16 21:55:17 +02:00
kovacsv
cba71f92fa Add lines to the mesh data structure. 2023-10-15 21:40:19 +02:00
kovacsv
d2215f2295 Preserve navigation and projection mode between sessions #425 2023-10-14 09:11:33 +02:00
kovacsv
37a21aab36 Introduce camera settings class. 2023-10-14 08:33:51 +02:00
kovacsv
34a64b5d83 Introduce NavigationMode enum. 2023-10-14 07:58:28 +02:00
kovacsv
d7db1442b2 Rename CameraMode to ProjectionMode. 2023-10-14 07:44:44 +02:00
kovacsv
b2e21f32ee Update web-ifc to version 0.0.44. 2023-10-08 19:39:39 +02:00
kovacsv
fbf946c54e Update third-party libraries. 2023-10-07 20:45:49 +02:00
Luiz Henrique Cassettari
8ebcba7591
Update importerbim.js with default color (#414)
* Update importerbim.js with default color

# Update
if the color is undefined use the default color instead.

* Update `defaultMaterialIndex` to null
2023-08-14 18:25:22 +02:00
kovacsv
28d3f07589 Support new DropBox sharing url format #408 2023-08-14 07:55:40 +02:00
kovacsv
ee1e0fbcb4 Update occt-import-js. 2023-07-17 20:29:43 +02:00
kovacsv
599f05ceb7 Add unit information where it is known. 2023-07-17 19:41:15 +02:00
kovacsv
deb06ddf49 Use default material in three.js based importers #405 2023-06-29 21:48:11 +02:00
kovacsv
8ef709d778 Remove debug prints. 2023-06-29 21:48:04 +02:00
kovacsv
8edce119cd Option to switch between themes without opening a model #400 2023-06-28 20:35:31 +02:00
kovacsv
1ec2f1df36 Option to create screenshot with transparent background #401 2023-06-28 19:02:39 +02:00
kovacsv
181b237f12 Center intro page content #404 2023-06-18 07:37:57 +02:00
kovacsv
6490b22533 Adjust minimal window size. 2023-06-04 13:46:13 +02:00
kovacsv
8a625e7ef9 Update intro page. 2023-06-04 13:25:41 +02:00
kovacsv
67ee073dfd Update libraries. 2023-06-02 22:47:39 +02:00
kovacsv
4bd7168fa2 amf format support #397 2023-05-18 16:37:42 +02:00
kovacsv
8cb4bd284b Fix order of nodes in glTF export. 2023-05-13 08:29:31 +02:00
kovacsv
7a6cdaee68 Fix hierarchy detection. 2023-05-08 19:21:17 +02:00
Viktor Kovacs
10f97dcf84 Fix mesh node handling during glTF export. 2023-05-08 08:40:18 +02:00
Viktor Kovacs
96609b559a Eliminate manual node type setting in importers. 2023-05-08 08:07:37 +02:00
Viktor Kovacs
b661ddcfb5 Fix glTF export transformations. 2023-05-08 07:49:00 +02:00
kovacsv
dabb20b6b1 Fix glTF validator issues with the exported file. 2023-05-07 19:17:33 +02:00
kovacsv
7fb27931b0 GLTF Exporter Hierarchy Support #319 2023-05-07 19:07:14 +02:00
kovacsv
d61087d110 GLTF Exporter Hierarchy Support #319 2023-05-07 17:42:45 +02:00
kovacsv
b93581c1bc Update three.js to version 0.152.2. 2023-05-07 11:59:54 +02:00
kovacsv
104983ef6e Prepare exporter model for hierarchical export. 2023-05-07 09:35:58 +02:00
kovacsv
eb440871bb Minify css using esbuild #394 2023-05-03 16:34:08 +02:00
kovacsv
7e0c281263 Update web-ifc to version 0.0.39. 2023-04-15 21:38:01 +02:00
kovacsv
63bc9333c2 Update three.js to version 0.151.3. 2023-04-15 20:56:52 +02:00
kovacsv
ef3817c998 Minor modification. 2023-04-15 08:01:11 +02:00
kovacsv
142d71efb6 Update occt-import-js. 2023-04-15 07:54:59 +02:00
kovacsv
c4c066dcfe Minor modification. 2023-04-09 08:05:18 +02:00
kovacsv
c2ba70660e Explicitly remove user data references. 2023-04-09 07:21:36 +02:00
kovacsv
d5283bc432 Tree should show the node name if the mesh doesn't have a name. #385 2023-04-08 21:18:35 +02:00
kovacsv
aa701a4744 Sidebar.js typo #381 2023-04-05 15:58:24 +02:00
kovacsv
a0594d5ee2 Enable calling Init3DViewerElements from everywhere #375 2023-04-03 17:35:10 +02:00
kovacsv
9bd495bcd5 Texture map options not parsed from mtl file #371 2023-03-22 22:15:59 +01:00
kovacsv
fefee144bd Read custom properties from glTF elements #368 2023-03-03 20:23:30 +01:00
kovacsv
d449753349 Sharing link broken due to missed slash before hash parameters #364 2023-02-25 13:40:24 +01:00
kovacsv
9aee8636f9 Show tree view automatically in case of hierarchical models #360 2023-02-20 21:02:24 +01:00
kovacsv
f337e962b6 Hide header before the website is fully initialized. 2023-02-10 21:52:36 +01:00
Wojciech Radaczyński
9e0ee3000c
Update exporterbim.js (#359)
The only change (schema version update)
2023-02-08 15:05:18 +01:00
kovacsv
12de8537bc Set the default up vector direction to y. 2023-02-04 12:05:06 +01:00
kovacsv
65cea7fb20 Make function names shorter. 2023-02-01 22:28:47 +01:00
kovacsv
ee5ecbd028 Update three.js to v149. 2023-02-01 22:22:19 +01:00
kovacsv
34f3ad2bf7 Move tsconfig.json file to the tools folder. 2023-01-29 19:01:15 +01:00
Callum Gander
83eb66f0d3
Added config + command to build_engine_module to generate .d.ts on building engine module (#356) 2023-01-29 18:52:56 +01:00
kovacsv
9482ed0b0a Update three.js to version 0.148.0. 2023-01-21 23:35:04 +01:00
kovacsv
b9fe936047 Add utility function for string to rgba color conversion. 2023-01-21 22:54:31 +01:00
kovacsv
0217122621 Correct the type of element parameter. 2023-01-15 15:47:28 +01:00
kovacsv
1950e3619e Update documentation. 2023-01-14 22:11:46 +01:00
Ilia Pozdnyakov
c95f7c2026
Allow initializing viewer element from File objects. (#352)
Co-authored-by: Ilia Pozdnyakov <pozdnyakov@peterpartner.net>
2023-01-14 22:09:07 +01:00
kovacsv
ff05887daa Model can't open if an url parameter contains slash #351 2023-01-10 20:19:57 +01:00
kovacsv
1718e9bb92 Failed to load glTF files with invalid texture coordinates #349 2023-01-08 22:17:00 +01:00
kovacsv
bd10b196d9 Create documentation for the engine #328 2023-01-07 08:22:23 +01:00
kovacsv
f3e79a74c2 Create class for environment settings. 2023-01-03 21:58:36 +01:00
kovacsv
6c66557884 Move shading model to a separate file. 2022-12-31 12:36:08 +01:00
kovacsv
c39a63bc1c Create class for edge settings. 2022-12-31 12:20:27 +01:00
kovacsv
f83e28cd88 Rename geometry to model. 2022-12-31 08:40:31 +01:00
kovacsv
4fd581e215 Use ViewerModel in ViewerMainModel. 2022-12-19 14:44:20 +01:00
kovacsv
69b423e837 Rename viewer geometry to viewer model. 2022-12-19 14:16:49 +01:00
kovacsv
c244562ed0 Context and Closure Memory Leaks #321 2022-12-16 13:24:31 +01:00
Viktor Kovacs
3eca24c4ac
Fix DeepScan error. 2022-12-13 08:36:46 +01:00
Viktor Kovacs
e3e6c56fce
Fix splitter and resize logic. 2022-12-13 08:34:12 +01:00
Viktor Kovacs
1b65f22802 New sidebar resize logic #336 2022-12-12 22:38:41 +01:00
Viktor Kovacs
82ad91ccaa Download original files #323 2022-12-11 13:44:30 +01:00
Viktor Kovacs
a558a31240 Initialize model loader in the constructor. 2022-12-05 17:54:16 +01:00
GuYounes
cb2e48cf11
feat(EmbeddedViewer): add the loader as class property (#327)
Co-authored-by: Younes Guarssifi <younes.guarssifi@sms-group.com>
2022-12-05 17:42:18 +01:00
kovacsv
dc3d0546d6 Add event handler for model download. 2022-11-29 21:03:05 +01:00
Viktor Kovacs
5ac604c172 Download model basics. 2022-11-22 19:30:16 +01:00
Viktor Kovacs
feb4b81deb Remove o3dv importer. 2022-11-18 21:42:13 +01:00
Viktor Kovacs
3c69b36a0d Add 3d print icon. 2022-11-18 21:20:58 +01:00
kovacsv
25bfc4a804 Minor modification. 2022-11-05 11:32:29 +01:00
kovacsv
5004ffc6f4 Fix plugin interface function. 2022-11-04 19:38:05 +01:00
kovacsv
ca4021c3a3 Add toolbar plugin technology. 2022-11-04 19:35:21 +01:00
kovacsv
a59f531ed7 Minor modification. 2022-11-04 17:51:50 +01:00
kovacsv
2157920392 Minor modification. 2022-11-03 21:11:48 +01:00
kovacsv
bf3b045ff0 Add plugin technology to add header buttons. 2022-11-03 21:05:37 +01:00
kovacsv
499c867f4c Modify fix up vector parameter name. 2022-10-30 07:35:38 +01:00
kovacsv
ae8f1b0c25 Update dependencies. 2022-10-27 17:23:34 +02:00
kovacsv
76dd260801 Background settings is visible with orthographic camera, but it doesn't work #306 2022-10-11 20:07:41 +02:00
kovacsv
8da7f15a54 Restructure navigator and sidebar callbacks. 2022-10-11 18:47:59 +02:00
kovacsv
3b63efc4f9 Gltf file with VALUE_NOT_IN_RANGE not opening #311 2022-10-10 18:19:35 +02:00
kovacsv
d7345647fc Prevent crash when no importable objects found. 2022-10-10 17:35:45 +02:00
kovacsv
f9b3d9bc82 Support for FCStd format #307 2022-10-08 15:56:23 +02:00
kovacsv
990d6329aa Handle worker lifetime. 2022-10-02 12:04:33 +02:00