3D Repo for the brave
3D Repo Ltd is a Software as a Service (SaaS) platform provider of Building Information Modeling (BIM) solutions in the cloud. Headquartered in London, UK, 3D Repo offers web-based data management and visualization software for architects, consultants and contractors working on large multi-disciplinary construction projects globally. It is one of several BIM development kits in the cloud advocating the use of open standards.
More at Wikipedia (soon)
Node-RED is a great tool for connecting to 3D Repo’s APIs for model checking, analysis and data mining. Its graphical programming interface is similar to popular tools such as Grasshopper or Dynamo and allows users advanced filtering of metadata and visualising the results in 3drepo.io. Insights depend on quality of the models and preferred format is IFC for its interoperability, wide industry adoption and standardised data schema. 3D Repo supports BCF in (coming soon) and out which allows smooth integration to existing workflows.
For purpose of advanced search and analytics, Node-RED is installed and runs locally. Node-RED flows can be deployed in cloud as well, however for this workflow this is not recommended. Running Node-RED on your computer is more cost effective and also safer as you will be sending username and password in API calls.
- Export IFC model from your BIM authoring tool
- Upload the file to 3repo.io through a web browser
- Search and analyse data in Node-RED
- Visualise results in 3drepo.io and share with your team
- Alternatively, export BCF
3D Repo – Node-RED workflow
Node-RED is a Node.js application which has to be installed first. Follow the instructions below.
Open Command Prompt on your Windows and type node-red to run it. Access Node-RED editor in your browser (Chrome or Firefox) at http://localhost:1880 .
Load the first 3D Repo flow
This first flow is set up to work with a Sample_Federation in Sample_Project in your teamspace.
- Start Node-RED
- Go to your teamspace and open Sample_Federation model
- In a new tab, open Node-RED editor at http://localhost:1880
- From menu in right top corner select Import > Clipboard
- Copy code from here (triple-click in the code box, ctrl+A, ctrl+C) and paste it (ctrl+V) in “Import nodes” dialog in Node-RED editor
- Select “new flow” and hit Import button
- Hit “Deploy” button
- In a new tab, open Node-RED dashboard at http://localhost:1880/ui
- Fill in your 3D Repo username and password in login section
- Go back to Node-RED editor
- Double-click on “INPUTS” node in the flow canvas and fill in required fields:
- Type in your teamspace (identical with your username)
- In 3D Repo, open Sample_Federation and copy & paste model ID from your browser’s address bar, for example: “https://www.3drepo.io/teamspace/ba049092-14c6-459e-b92f-f8072f0e9ae5”
- Leave the rest as is for now
- Hit Deploy button
- Go to Sample_Federation in 3D Repo
- New issue called “Green bricks” appears in the issues tracker
Congratulations! You have successfully deployed your first flow.
There are more options predefined in the filter. Activate them by deleting “//” or pressing ctrl+/ on your keyboard. Each line in filter is a key-value pair which corresponds with model’s metadata. In 3D Repo activate Meta tool, inspect objects, add more metadata filters and try various combinations.
Specify name in issueName. createIssue toggle enables/disables creation of a new issue in tracker. The first boolean item (true/false) in the filter values list enables string search. In this case “Category”:[false, “SYSTEM: BRICKS”] we are looking for objects with Category exactly matching SYSTEM: BRICKS. This example “BrickName”:[true, “1X3″,”2X3”] searches for any object with Category with value containing either “1X3” or “2X2”.
Dashboard returns quantities of each search term and can be viewed at http://localhost:1880/ui .