-
Notifications
You must be signed in to change notification settings - Fork 115
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
JS errors with the viewer #13
Comments
Sam My bad. Looks like I moved some files around. Will look into this and Theo On Sat, Nov 5, 2016 at 6:04 AM, Sam Wu [email protected] wrote:
|
Thanks Theo !!! Sam Sent from myMail for iOS Saturday, November 5, 2016, 1:24 PM -0400 from Theo Armour [email protected]:
|
Sam Doh! I renamed 'libs' to 'lib' - forgetting it was used here of course. If you update your code, this simple rename should fix things. I will update the source later today. BTW, this is all very old code. There are now easier and simpler ways of if you have a sample of files online, I can show you some more effective Theo On Sat, Nov 5, 2016 at 10:53 AM, Sam Wu [email protected] wrote:
|
Hi, Theo, You guys rock! Yes updating the 'libs' to 'lib' for readme-reader.html file seen to fix three.min.js:150 THREE.WebGLRenderer 82 [image: Inline image 1] Btw, my current project is using IFC file formats, here is a link to a few http://www.buildingsmart-tech.org/implementation/ifc4-implementation/helpful-examples Sam Email: [email protected] On Sat, Nov 5, 2016 at 2:05 PM, Theo Armour [email protected]
|
This new set of errors is because that vA3C viewer is set to load the latest version of Three.js. And, guess what, Three.js has changed a lot. So I have added to my task list, the task of fixing the viewer only to load the antique revisions it was comfortable with those many years ago. But let's get back to your issue - viewing IFC files. I have looked at the data for HelloWall.ifc and HelloHouse.ifc and the format is tedious but not complicated. I also looked here for free, open source IFC 3D viewers that run in the browser, But all the apps want to be downloaded - which seems very old-school to me. Oh, I now see this one: http://www.ifctoolsproject.com/ - last updated 2013 and perhaps some others as well - but nothing that's on GitHub, has no strings and is just simple. Am I missing something - seeing some cool IFC apps - that are out there somewhere? If I build an IFC 3D viewer with Three.js that reads the two samples can you supply more complex models? |
Yes there are some cool IFC apps out there. OpensourceBIM server and BIMVie.ws viewer (I think it might be using three.js already, from some https://github.com/opensourceBIM/BIMserver Here is a 70mb model running on my laptop using opensourceBIM server. [image: Inline image 1] I want to provide this information to you so that I will not be wasting
Anyway I mention this so that if we do develop a new IFC js viewer/editor, Regards, Sam Sam Email: [email protected] On Sat, Nov 5, 2016 at 7:13 PM, Theo Armour [email protected]
|
Image did not make it. BIMvie.ws looks like really complicated stuff. And I could not get it to load anyway - something about issues with a plugin. Anyway, I am thinking about something smaller more hackable. Something easy enough for an engineer or designer to edit themselves. > 1. Editable IFC file If you are talking about opening an IFC file, viewing it, editing something using the browser and saving back to an IFC file. Then, I don't see why not. If its about updating data on something like bimServer then that can get complicated and is most likely above my level. > 2. Redline the IFC model , etc. If we can do 1, then we can redline in any color you want. >3. Lastly, is there any possibility that we can divide AEC models (Revit or That depends on what you are trying to accomplish. If it's about reducing file size that depends so much on how the models are built. If, however, you are talking about viewing then there's a lot of fun stuff you can do with Three.js to section and explode views. I will come back in a day or two once I've had a go at viewing the two sample IFC models. By then I should know quite a bit more about what is doable. BTW, if you like tiled maps, here is a work in progress: https://jaanga.github.io/terrain3/elevations-core3/ |
Image attached. Sam Email: [email protected] On Sat, Nov 5, 2016 at 8:46 PM, Theo Armour [email protected]
|
still invisible. ;-) On Sat, Nov 5, 2016 at 6:14 PM, Sam Wu [email protected] wrote:
|
Okay it looks like Github email server is doing something ... I have share this folder, which contains 1. the Bimvie.ws image 2. An IFC https://drive.google.com/drive/folders/0BxGGtjhrE11IbHVzS0J0STZuM1k?usp=sharing Also in Revit, you can export any .rvt file to IFC file, by using the Regards, Sam Sam Email: [email protected] On Sat, Nov 5, 2016 at 9:37 PM, Theo Armour [email protected]
|
Got the files. Thanks The data looks like it will be a fun puzzle to crack. and it won't happen overnight. ;-) PS: Revit: closed source = old-school |
IFC View R1IFC View Read MeConcept
qll of the above needs confirming Mission
2016-11-07 ~ R1
|
Thanks Theo -
Industry Foundation Classes (IFC) is the open and neutral data format for Mission Sam Email: [email protected] On Mon, Nov 7, 2016 at 7:24 PM, Theo Armour [email protected]
|
Some answers to your questions Are there any aspect of the IFC files that we should be concentrating Sam: a. I think we can concentrate on render all IFC types - so that the Are there any good sources for the IFC format info? Most sources read Sam: at the bottom of this page, you can find a few IFC sample files. http://bimvision.eu/en/download/ Regards, Sam EntityReferenceView_V1 [image: Link to this page] Link to this page Sam Email: [email protected] On Mon, Nov 7, 2016 at 10:57 PM, Sam Wu [email protected] wrote:
|
The first building should be a good reference IFC file: Sam Email: [email protected] On Mon, Nov 7, 2016 at 11:08 PM, Sam Wu [email protected] wrote:
|
All good. Thank you! More tomorrow... |
Great work on the viewer !
I just download the viewer as a zip, tried it directly on Chrome browser, and also deployed to Tomcat and run it as a web app.
I got some JS errors, and the 3d scene would not load (blank screen).
http://jaanga.github.io/libs/db/master/db.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://jaanga.github.io/libs/md/showdown.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://jaanga.github.io/libs/db/master/db.js Failed to load resource: the server responded with a status of 404 (Not Found)
readme-reader.html:18 Uncaught ReferenceError: init is not defined(…)
Please shed some lights on this :-)
The text was updated successfully, but these errors were encountered: