wolfboyyang / simpleTwin

A simple IFC Viewer to hook up sensor values via MQTT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleTwin

Live Demo

This simple IFC viewer, based on web-ifc-three and web-ifc allows to hook up MTTQ Sensor to influence (the visualizaiton of) IFC BIM Models.

Documentation

To use,

  1. load an IFC file on the left side bar (folder icon)
  2. select an entity by double clicking it
  3. add an MQTT topic from which to take input values. In the demonstrator, this is a floating point number between 0.0 and 1.0 that will then determine the red value of the selected entities RGB color.
  4. Go to the free EMQX MQTT web-interface client or similar and use the same topic on the public broker [broker.emqx.io]

About

A simple IFC Viewer to hook up sensor values via MQTT

License:MIT License


Languages

Language:JavaScript 96.5%Language:TypeScript 3.2%Language:HTML 0.2%Language:CSS 0.0%