xbimteam / xbimwebui Goto Github PK
View Code? Open in Web Editor NEWWeb components for xBIM Toolkit
Home Page: http://xbimteam.github.io/XbimWebUI/
License: Other
Web components for xBIM Toolkit
Home Page: http://xbimteam.github.io/XbimWebUI/
License: Other
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
I want to change color of wexbim images in X-ray mode.Is it possible
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 .
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.
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.
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..?
Moved from: xBimTeam/XbimWindowsUI#10
When using the Xbim web viewer the COBie data is associated by the ifc label id and in the Xbim Windows viewer the COBie Excel output that is produced uses the ifc GUID,which one should be used as there seems to be no apparent link between the two?
Hello ,
Can you suggest me IfcTagnames for Electrical ,Plumbing ,HVAC, Lighting companonts for WeXbim file.
for eg. IfcDistributionFlowElement ,IfcDistributionFlowElementType comes in HVAC ,
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
Is it possible,to retrieve a data of object .ie properties and attributes (like a Area,volume ,height,width).
I have seen in XbimWebUI project .There is properties and attributes window of object ,which is showed by using json file..
But ,Is it possible to retrieve that same data by using .xbim file.
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
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
@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:
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:
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:
I'm new in Xbim, and I have to get the EntityLabel of each selected element in the XbimWebUI project because I need to obtain the geometry and coordinates.
I have seen that in XbimWindowsUI project the EntityLabel is showed in the tab Object.
Is it possible to retrieve that also in the web project ?
Hello ,
I stuck to implement this functionality in BIM viewer . Can you please help me to get any clue to develop WALK through functionality in BIM .
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
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
Hello, I am have trouble getting some wexbim files show. The link below examples one such wexbim that fails with a JavaScript throw 'Style index not found.' The file is a conversion from an IFC file which also is included in the link provided.
http://support.concertosupport.co.uk/Deane_Waitrose_Malmesbury_BuildingModel_14_2014-09-04.zip
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 ?
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?
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
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';
}
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]);
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?
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!
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? .
I would like to show 2D by floors, is there any way to show them using xbim toolkits?
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
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 .
Hello, please could you advise on how can we customize the highlighted item color( by setting the style id for highlight)?
I would like to give user the ability to set the color for highlighted items.
thanks
Hi,
I just encountered the problem that I have no idea how to run XbimExchanger common line to covert IFC to wexbim by downloaded code. Does anyone explain the process to me? Thanks in advanced.
Best,
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.
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.
Hi all,
I want to catch all IDs of the elements in the wexBIM file, is thee a method to achieve that?
Thanks,
Micheal
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)
Interestingly, in fiddling with the xviewer code to display isolated shapes (and their maps) the shape display individually, just not collectively.
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.
Looks like there may be some glitches in the WebUI after all @martin1cerny ๐
Hello,
I would like to know if there is a possibility there to set the sensitivity of the zooming on dragging/clipping functionalities. I mean precision on moving action.
Thank you
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 .
Hello all,
I can't select from the viewer...
thanks in advance...
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
I would like to add some labels and hints on the 3D web page when use click the specific element?
is it possible to do it?
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"
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();
Hi
Not converting a complete JSON file for some ifc file.It create only facility and floor types in tree.
It is not generating a space and asset type .
Problem occur mainly big size of ifc files.
How to centralize the element when I double click ?
and how to make the zoom in size small than default setting it it too large in my use case?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.