Giter Club home page Giter Club logo

xbimwebui's People

Contributors

andyward avatar dependabot[bot] avatar fomayette avatar georgdangl avatar ibrahim5aad avatar jbaan avatar lloydpickering avatar martin1cerny avatar mbacon-edocs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xbimwebui's Issues

Cancel clipping after enabled it (red line visible)

Hello,
I would like to know which method could be used to cancel the clipping action when we have the red line shown up (before cutting the model), so that the red line disappeared. I tried the unclip() but it could not do the trick.
thanks

Problem occur in Deployment on another PC

Hi ,

I am trying to deploy my application on another PC where visual studio 2013 is not installed .I have installed 4.5.1 & 4.5.2 both framework. But still conversion of ifc to wexbim is not done .

quick question about color of sharder

How to handle the colors of the objects in 3D diagram that xBIM WebUI draws.
eg. A type of wall => red , B type of wall => yellow , C type of wall => blue.

.Wexbim Viewer Diagram is not displayed on IE11...

Hi,
I have problem to display a .wexbim diagram on IE11 . I got an error as follows
.ie WEBGL11041: INVALID_VALUE: enableVertexAttribArray: Parameter outside of bounds
File: xbim-viewer.debug.js, Line: 619, Column: 5

I have also check with latest XbimWebUI resource on IE11 browser. That Source is also not displaying a .wexbim diagram on IE and getting a same error.

BIM ID changing with minor modifications in original file

The Bim ID for all objetcs are changing ,everytime any object is deleted or added to the original file. What i want to achieve is, if i make minor modifications to a file such as adding a chair or removing a table, the other objects which have not been changed at all, the BIM id should not change. Is there any other ID's that i can extract from .Xbim file that are unique to every object, so the id's of all objects dont change after some minor modifications have been made in the file..?

How can I create the Semantic JSON FIle

Hi - I've downloaded WBIM WebUI & XBim Exchange modules - I had to change the Nuget refereence as they were referencing 3.0.5 PreRelease, so I changed to 3.0.3 and all building ok now.

I have converted my IFC Model to .wexbim but how can I create the expected .json file
There is no link to COBieJSONSerialiser from the COBie Client?

Thanks
Daz

webxbim error in visual studio 2013 - CORS

From @zhengcongyin on August 30, 2015 4:17

I have tried to add the source code of webxbimUI in visual studio, I can not load the model and Json, and got a error "Failed to fetch binary data from server. Server code: 404'. This might be due to CORS policy of your browser if you run this as a local file". However, it works fine in Visual Studio 2010. Could you tell me how to fix this problem?
Thanks,

Best,
Zhengcong

Copied from original issue: xBimTeam/XbimWindowsUI#8

Possible multiple models loading

Hello,
I wojld like to ask if is it possible to load more than one model and get all built to one to be display with the framework.

Thanks

Unexpected Products in latest myget Geometry causing crashes

@martin1cerny , just a heads up, this may be one for you or it may be one for @CBenghi

It looks like there's been a change in how we're handling openings in the Geometry Engine (possibly this change: xBimTeam/XbimGeometry@e63ad95) - which is causing the xbim-viewer[...].js to throw an exception during parsing of the wexbim file.

Repro

Using Xbim.Geometry 3.1.3 from Myget/develop, and the latest XbimWebUI (pre-release from myget)

Take any Model with an opening(e.g. OneWallTwoWindows.ifc) and you'll get error on the console at this line:

https://github.com/xBimTeam/XbimWebUI/blob/master/Xbim.WeXplorer/Viewer/xbim-model-geometry.debug.js#L175

If you use a wexbim generated from the latest Nuget Xbim.Geometry it's fine.

I'll see if I can track it back to a particular change but it may be a few days before I can look at it. I put a spot fix in to skip the problem items and you see something like this:

image

Left is latest Geometry (Myget 3.1.3). Right is the old Geometry (Nuget 3.0.21). Both are the same source model file and XbimWebUI code. The only difference is the version of Xbim.Geometry used to generate the webxbim. Might be worth speaking to Claudio to see what the intention is with the above change. The newer wexbim is larger so I'm assuming it contains extra records (intentionally, or unintentionally).

Loading the new (and old) xbim files into XbimXplorer renders OK

Sounds like either:

  1. WebUI needs to handle the new entries
    or
  2. The Xbim3DModelContext Serialiser needs to strip them out during wexbim serialisation

The function ZoomTo probable issue in XbimWebUI

Hello
The function ZoomTo in yhe xviewer sometime zooms too much, mostly in the case of a wall. for example. users have to zoom out a bit in order to see the element fully.
Is a way to fix that?

thank you

How to get Exact position of Object in viewer diagram

Hi Martin,

I want to get a exact position of object .
For that, I refer xViewer.prototype.zoomTo() function , but still I did'nt get any proper position ,
And Is it possible to get a position in X,Y & Z co-ordinates format?.

Thanks,
Amol

uncaught exception: Failed to fetch semantic JSON data from server. Server code: 404. This might be due to CORS policy of your browser if you run this as a local file.

I am using XbimWebUI-master source ,And try to convert this source in MVC ,then I got this error as follows .
"uncaught exception: Failed to fetch semantic JSON data from server. Server code: 404. This might be due to CORS policy of your browser if you run this as a local file."

This error is occur in xbim,browser,js ..

Can someone help me ?

Problem trying to run XbimGeometryEngine

Hello, i'm new in Xbim, i need to load the geometry of an IFC file, but i obtain this error.

"Could not load file or assembly 'Xbim.Geometry.Engine32.dll' or one of its dependencies. The specified module could not be found."

The same problem emerges when i try to open a IFC file using XbimXplorer

Any ideas on what i'm doing wrong?

Issue with converting IFC file to WEXBIM

Hello,
I have a question regarding converting IFC file to WEXBIM on C# side, I have the attached error. Is there a limitation size for conversion? Because I tried to convert a file of size 256 MB
ifc_to_wexbim_issue

Thank you for help.

Regards

webxbim error in visual studio 2013

From @zhengcongyin on August 30, 2015 4:17

I have tried to add the source code of webxbimUI in visual studio, I can not load the model and Json, and got a error "Failed to fetch binary data from server. Server code: 404'. This might be due to CORS policy of your browser if you run this as a local file". However, it works fine in Visual Studio 2010. Could you tell me how to fix this problem?
Thanks,

Best,
Zhengcong

Copied from original issue: xBimTeam/XbimWindowsUI#8

Does'nt seem to detect staircases and elevation in Navigate function

i have implemented walk functionality in xbim. but it does'nt seem to detect staircases and elevation..it just goes straight ..whearas it should walk up or down the stairs.....also the frame rates of the transitions are very low..giving a choppy walking experience

I have used the following code for that in viewer.debug.js
if (front) {
navigate('zoom', topvalue, topvalue);
}
else if (Back) {
navigate('zoom', -topvalue * viewer.scrollSpeed, -topvalue * viewer.panSpeed);
}
if (left) {
navigate('orbit', -5 * viewer.panSpeed, 0);
// navigate('pan', 2 * viewer.panSpeed, 0);
}
else if (right) {
navigate('orbit', 5 * viewer.panSpeed, 0);
// navigate('pan', -2 * viewer.panSpeed, 0);
} else if (stable) {
viewer.navigationMode = 'orbit';
}

How to change color of HIGHLIGHTED

Hello,
How to change color of Highlighted object. I am using following code to Highlight but i want to change the color of highlighted object.
viewer.setState(xState.HIGHLIGHTED, [Data]);

How to create XBimModel from .xBim binary file?

Hi,

I know how to create an instant of XBimModel from .ifc file.
But I don't know how to create an instant of XBimModel from .xBim binary file?

Something like this:
var model = new Xbim.IO.XbimModel();
model.CreateFrom(xBimFile,....);

The reason is my IFC file is very big then it takes ages to create instant of XBimModel in the first time then I don't want to parse IFC file everytime. Therefore I think I should parse the .xBim instead in the second time as it should be faster than IFC text format.

Any ideas?

Hide some elements while zooming / panning to improve performance?

Hello,

If I load several IFC files (or a large one), the viewer displays all the items contained within the file, including less important details such as chairs, tables, etc... (which is expected, of course!)

It could be interesting to have a mode where, while zooming / panning, only a subset of the elements are rendered during these operations. Once the user stops interacting with the model, is gets 100% rendered.

Is this something you plan to develop? or maybe it is already supported?

Thanks!

How to convert a .json file to .wexbim or .ifc file to .wexbim ?

I am using a XbimWebUI source .But i have problem in Conversion of .json file to .wexbim file in this source.
I have uploaded a .ifc file in my project and I want to convert this file into .wexbim file.Can you please tell me , how to be done this conversion either .ifc to .wexbim or .json to .wexbim? .

Content does not load on chrome / Firefox on Android

Under Android 6 on a nexus 5,

On chrome, the live demo at
http://xbimteam.github.io/XbimWebUI/1_Hello_building.live.html does not load any content. (In the canvas).

Under Firefox, it crashes the browser.

Are mobile browsers supposed to be supported?

Thanks

FYI, the following is a partial view of chrome://version

Google Chrome 46.0.2490.76 (Official Build) (32-bit)
Revision 56034b7e9233e7f8b0890dcd45094695a41082aa-refs/branch-heads/2490@{#528}
OS Android 6.0.0; Nexus 5 Build/MRA58K

Performance Issue: To display a viewer diagram in Browser.

Hi,

As you suggest ,a Graphics card is required in Issues #7 .
We are tested application on M/c which have a graphics card.
The overall funcionality is working fine .But When the diagram is loaded on browser ,browser is still Hanged for a min. I am sending you a screenshot regarding a browser .

  1. Chrome
    chrome
  2. FireFox
    Uploading firefox.pngโ€ฆ

Problem to create JSON file from Big IFC file

I am working on xBIMTeam project but we facing one problem to convert IFC file to JSON file.
At the conversion, IFC file completely converted but issue in creating JSON file that issue come when file size greater than 100mb.

Please give me idea to convert complete file size in JSON.

GetProductType function error

Hello,
I got an error while trying to hide by type. Basically the issue is related to the getProductType function which throws the following error. could you please help?

getproducttypeissue

Thanks

How to Convert ifc TO wexbim

Plz any one Tell me procedure Because i have old XBIM Souce there it only Convertes into xbim,ifcxml like that format not convert into wexbim format.

Getting IDs from wexBIM file

Hi all,

I want to catch all IDs of the elements in the wexBIM file, is thee a method to achieve that?

Thanks,

Micheal

Mapped items not displaying correctly

While investigating #26 I discovered what looks like a problem in the transform handling for mapped items meaning some parts of the scene are not being rendered. This seem most obvious in things like Windows.

E.g.In the following OneWallTwoWindows model, note the left window pane is missing (easy to see on black background) as is the right outer-windowframe/ledge (although the inner frame - a BREP - is present)
image

Interestingly, in fiddling with the xviewer code to display isolated shapes (and their maps) the shape display individually, just not collectively.
image

It's like it only manages to render the first map correctly.

I think you can also see this problem in the tutorial samples http://xbimteam.github.io/XbimWebUI/4_Building_seen_from_everywhere.live.html

Note the window frames are missing, and some of the furniture (e.g. chairs) are missing geometry.

image
image

Looks like there may be some glitches in the WebUI after all @martin1cerny ๐Ÿ˜„

How to hide whole image?

We are using HIDDEN property to hide a particular object of wexbim image by providing an Id of that object.
So, Can you tell me ,Is any possibility to hide all image .

objects with label=0

hello,
We realised that the label, which xviewer uses to select an object in the model, is not unique.
we have converted two projects and there are many elements with label =0.
How the viewer deals with that?

thanks in advance

Error in converting Ifc file to wexbim

Can anybody please help me to resolve error which is occurred while converting ifc file to wexbim which is working fine on my desktop but not working on some laptop's.
Error-
"Could not load file or assembly 'Xbim.Geometry.Engine' or one of its dependencies. The specified module could not be found"

How to unload or hide a model

Hello,

I have loaded two models in the xViewer...I want hide or unload on of them when a button clicked

    viewer.load("../data/pro.wexbim");
    viewer.load("../data/SampleHouse.wexbim");
    viewer.start();

3d model issue in Chrome and FF

Hello,
On one of our computers with Windows 10, the latest versions of FF and Chrome we have these issues:
1- Chrome, the model doesn't display and in the console we have a list of errors as seen in the attachment:

2- FF, no model is shown and no errors in console of the browser

Please could someone advise on these situations, what could be the issues there?

thanks in advance.
chrome issue
chrome_bim_issue

FF issue
ff_bim_issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.