Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No file in the viewer #244

Open
seghier opened this issue Oct 24, 2023 · 5 comments
Open

No file in the viewer #244

seghier opened this issue Oct 24, 2023 · 5 comments

Comments

@seghier
Copy link

seghier commented Oct 24, 2023

Hello
I use the bundle from example folder and i load ifc file but nothing appears in Chrome browser?

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="icon" type="image/png" href="./favicon.ico" />
    <link rel="preconnect" href="https://fonts.gstatic.com" />
    <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="./styles.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>IFC.js</title>
  </head>
  <body>
    <input type="file" id="file-input" accept=".ifc, .ifcXML, .ifcZIP">
    <div id="viewer-container"></div>
    <script src="./build/main.js"></script>
  </body>
</html>

image

@agviegas
Copy link
Collaborator

Hi @seghier

We have officially released the new library components on September 20. This library substitutes web-ifc-three and web-ifc-viewer. Both WIV and WIT will remain up, but they will be deprecated and won't be maintained any longer.

All our efforts are going towards components now. The API is very similar, so I strongly suggest you make the leap and start using it. You can start using it now (check out the latest alpha version in npm or see the big-restructure branch in the repo. If you still face this issue with it, you can open an issue there and we'll take a look.

Cheers!

@seghier
Copy link
Author

seghier commented Oct 24, 2023

Thank you @agviegas
I check components but i don't find a bundle or explanation how to create it like in ifc viewer

@agviegas
Copy link
Collaborator

You can find the documentation here. Keep in mind that basic web development (including getting the library from npm and bundling your project) is out of its scope!

@seghier
Copy link
Author

seghier commented Oct 26, 2023

I can't access to the website
image

@agviegas
Copy link
Collaborator

You can press the button below to sign up, it's free

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants