Skip to content

vegarringdal/web-ifc-experiment

Repository files navigation

web-ifc-experiment

⚠️ This repo is not maintained. Used what I learned here to make a 3d application at work

⚠️ Will not be maintained - but might rebuilt it later if I have time takign all I learned from 3d application at work - if I dont get to open source work application. But again that was not using IFC, but backend parsing of RVM files and custom format from azure blob storage


This was a repo where I tried gpu picking, but it used to much memory on very large models, so moved away from it Parser used is web-ifc

Work here might end up as seperate package or part of web-ifc-viewer

Warning 💣⚠️🪖

  • This will have a lot of weird stuff, there have been no focus at all on how code is, just try and get it to work.
  • Spagetti code is a good word for it 😂🎉😎
  • Its pretty much been a testign ground for another project

Atm its not something you can install, most work will go into helper viewController class - located under folder scr/viewer

Progress Sample live sample

What I want to have working (and might fail at getting to work):

  • select items/picking to get data about item
    • and highlight (limited data atm, since I will use database to get data from TAG property)
    • select all elements with same ID (before this, just simple parts get highlighted)
  • hide items
  • select many files and load them
  • center items when loading (default atm) - uses first file as default for next ones
  • show data of selected
  • multi select by holding CTRL
    • deselect when clicking same item (when using CTRL key)
  • show all (hidden)
  • hide not selected
  • use spacenavigator
  • set focus to last selected with button
    • set focus on selected when you click on a item
  • clear scene (so you can load new, else it will add)
  • enable wireframe on material
  • some selection three
  • simple clipping tools
    • with working selection/picking to get data about item
  • simple ground plane
  • merge geometry buffer per expressID/color to same memory (might kill normals with this..)
  • clean up selection/hide spagetti :-)

how to use

  • clone repo
  • npm install
  • npm start
  • open browser to localhost

build github pages site

  • npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages