bimvie.ws icon indicating copy to clipboard operation
bimvie.ws copied to clipboard

BIMViews hangs loading 3d view

Open webdada opened this issue 9 years ago • 2 comments

bimviews_loading_issue

BIMViews would not load 3d view.

Please see the screen capture and highlighted Javascript errors. It starts with error loading projectTreeWrapper. promise.chain(load(containerDiv.find(".projectTreeWrapper"), "projecttree.html", function(){

BIMViews_Doc2.docx

function Navigator(containerDiv, parent) { var o = this;

this.load = function(){
    var promise = new window.BimServerApiPromise();
    promise.chain(load(containerDiv.find(".projectTreeWrapper"), "projecttree.html", function(){
        o.projecttree = new ProjectTree($(this), parent, {}, o.selectedObjectId);
        o.sidespan = o.projecttree;
        return o.projecttree.load();
    }));
    promise.chain(load(containerDiv.find(".typesWrapper"), "types.html", function(){
        o.types = new Types($(this), parent);
    }));
    promise.chain(load(containerDiv.find(".layersWrapper"), "layers.html", function(){
        o.layers = new Layers($(this), parent);
    }));
    promise.chain(load(containerDiv.find(".classificationWrapper"), "classifications.html", function(){
        o.classifications = new Classifications($(this), parent);
    }));
    promise.chain(load(containerDiv.find(".propertiesWrapper"), "properties.html", function(){
        o.properties = new Properties($(this), parent, o.selectedObjectId);
    }));

    return promise;
};

this.resize = function(){
    var width = $(window).width() / 3 - 50;
    var height = ($(window).height() - $(".navbar").outerHeight() - $(".navbar-header").outerHeight() - containerDiv.find(".navigator .panel-heading").outerHeight());
    containerDiv.find(".sidespanWrapper").width(width + "px");
    containerDiv.find(".sidespanWrapper").height(height + "px");
};

this.showProjectTree = function(){
    if (o.sidespan != null) {
        o.sidespan.hide();
    }
    o.sidespan = o.projecttree;
    o.sidespan.show();
};

this.showProperties = function(){
    if (o.sidespan != null) {
        o.sidespan.hide();
    }
    o.sidespan = o.properties;
    o.sidespan.show();
};

this.showTypes = function(){
    if (o.sidespan != null) {
        o.sidespan.hide();
    }
    o.sidespan = o.types;
    o.sidespan.show();
};

this.showLayers = function(){
    if (o.sidespan != null) {
        o.sidespan.hide();
    }
    o.sidespan = o.layers;
    o.sidespan.show();
};

this.showClassifications = function(){
    if (o.sidespan != null) {
        o.sidespan.hide();
    }
    o.sidespan = o.classifications;
    o.sidespan.show();
};

containerDiv.find(".btnProjectTree").click(o.showProjectTree);
containerDiv.find(".btnProperties").click(o.showProperties);
containerDiv.find(".btnTypes").click(o.showTypes);
containerDiv.find(".btnLayers").click(o.showLayers);
containerDiv.find(".btnClassifications").click(o.showClassifications);

// $(window).resize(o.resize); }

webdada avatar Jul 04 '16 13:07 webdada

Hi All, I have installed BIMserver and pluged in BIMvie in tomcat7 ubuntu system.

BIMViews is not load 3d view.

How can i find the javascript file name path of the director. i have installed BIMserver and plunged in BIMvie i have create and uploaded ifc file but the file 3D view loading. i can't execute the 3D view.

Thank you

Siddle111 avatar Aug 02 '16 08:08 Siddle111

BIMserver requires Tomcat 8

rubendel avatar Aug 02 '16 10:08 rubendel