Skip to content

How to use BIMSurfer v3 instead of v2 #10

Description

@sebphi

Could you please explain how to use https://github.com/opensourceBIM/BIMsurfer in ifc-pipeline? There are no installation instructions for that repo and it seems the directory structure has changed quite a bit in comparison to v2. I do not know how to change application/Dockerfile accordingly. I guess it is somewhere around

COPY application/bimsurfer/bimsurfer /www/static/bimsurfer

WORKDIR /www/static
# RUN jsdoc -r -d docs bimsurfer
RUN r.js -o baseUrl=. name=App out=App.built.js optimize=none
RUN npx babel App.built.js -o App.built.es2015.js --presets=@babel/preset-env --compact false
RUN uglifyjs --compress -o App.$(cat /version).js -- App.built.es2015.js
RUN npx babel bimsurfer/lib/DRACOLoader.js -o bimsurfer/lib/DRACOLoader.es2015.js --presets=@babel/preset-env --compact false
RUN uglifyjs --compress -o bimsurfer/lib/three.gltf.orbit.draco.min.js -- bimsurfer/lib/three.js bimsurfer/lib/GLTFLoader.js bimsurfer/lib/DRACOLoader.es2015.js bimsurfer/lib/OrbitControls.js
RUN rm -rf node_modules package-lock.json

So far, i have added v3 as a submodule like this:

[submodule "application/bimsurfer3"]
     path = application/bimsurfer3
     url = https://github.com/opensourceBIM/BIMsurfer

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions