Share icon indicating copy to clipboard operation
Share copied to clipboard

UI: Open local IFCs with 'open', double-click and drag-n-drop.

Open pablo-mayrgundter opened this issue 3 years ago • 1 comments

It might be relatively easy to make bldrs open local (IFC) files using the open command, double-clicks, and drag-n-drop into the browser.

A quick summary of instructions from the web:

  1. Make bldrs.ai an installable web app (or "progressive web app"/PWA?).

Try these instructions, mainly adding the web app manifest to our page:

https://web.dev/install-criteria/

  1. Register bldrs app as handler for IFC with the file-api:

https://web.dev/web-share-target/ chrome://flags/#file-handling-api

  1. At that point, bldrs should be draggable to the Applications folder or as a desktop shortcut.. then I think the system file handler api takes over and the user needs to choose to associate IFC files with the Bldrs app, and then double-clicking IFCs or opening them should open them in Bldrs.

pablo-mayrgundter avatar Jul 18 '22 18:07 pablo-mayrgundter

Maybe this helps: Antonio did a chrome plugin a while back

Video: https://www.youtube.com/watch?v=s3XQqHIHJKI Download: https://drive.google.com/drive/folders/1jGkr8LeD1yRJ4RUB4JiVl64TJyrfUzeJ Source Code: https://github.com/agviegas/google-ifc

MarkusSteinbrecher avatar Jul 18 '22 18:07 MarkusSteinbrecher