Add ifc to file lists.

This commit is contained in:
kovacsv 2021-07-01 18:25:30 +02:00
parent 626591698a
commit d2a25abf97
4 changed files with 12 additions and 4 deletions

View File

@ -25,6 +25,7 @@ The repository is separated into two parts. See more information in the [Develop
- ply (text and binary)
- gltf (text and binary)
- 3dm (experimental)
- ifc (experimental)
- off (text only)
### Export
@ -58,4 +59,4 @@ The repository is separated into two parts. See more information in the [Develop
## External Libraries
Online 3D Viewer uses these wonderful libraries: [jquery](https://github.com/jquery/jquery), [three.js](https://github.com/mrdoob/three.js), [rhino3dm](https://github.com/mcneel/rhino3dm).
Online 3D Viewer uses these wonderful libraries: [jquery](https://github.com/jquery/jquery), [three.js](https://github.com/mrdoob/three.js), [web-ifc](https://github.com/tomvandig/web-ifc).

View File

@ -154,7 +154,7 @@
<div class="intro_section only_full_width only_full_height"><img src="assets/images/3dviewer_net_logo.svg" class="intro_logo"></img></div>
<div class="intro_section intro_big_text">
Drag and drop your 3D models here.<br>
<b>obj, 3ds, stl, ply, gltf, glb, 3dm, off</b>
<b>obj, 3ds, stl, ply, gltf, glb, 3dm, ifc, off</b>
</div>
<div class="intro_section">
Or you can use the browse button above.

View File

@ -24,7 +24,7 @@
<p>
This is the user manual for the <a href="https://3dviewer.net">3dviewer.net</a> website.
The website can open several 3D file formats and visualize the model in your browser.
Supported file formats: obj, 3ds, stl, ply, gltf, glb, 3dm, and off.
Supported file formats: obj, 3ds, stl, ply, gltf, glb, 3dm, ifc, and off.
</p>
<p>
<ol>
@ -117,6 +117,13 @@
<td class="center green">&#x2713</td>
<td>experimental</td>
</tr>
<tr>
<td>ifc</td>
<td>text</td>
<td class="center green">&#x2713</td>
<td class="center red">&#x2717</td>
<td>experimental</td>
</tr>
<tr>
<td rowspan="2">off</td>
<td>text</td>

View File

@ -5,7 +5,7 @@ OV.InitModelLoader = function (modelLoader, callbacks)
if (importError.code === OV.ImportErrorCode.NoImportableFile) {
return OV.ShowMessageDialog (
'Something went wrong',
'No importable file found. You can open obj, 3ds, stl, ply, gltf, glb, 3dm, and off files.',
'No importable file found. You can open obj, 3ds, stl, ply, gltf, glb, 3dm, ifc, and off files.',
importError.message
);
} else if (importError.code === OV.ImportErrorCode.ImportFailed) {