Skip to content

jeremytammik/roomedit

Repository files navigation

roomedit

Roomedit implements a simplified 2D cloud-based round-trip room editor.

It displays and edits 2D plan view the furniture and equipment layout in a room coming from a building information model or BIM.

It cooperates with the RoomEditorApp Revit add-in that exports information from Revit and re-imports the modified data.

The model, level, room, furniture and symbol data is stored in a cloud-based CouchDB data repository and includes the hierarchical relationships and geometry definitions encoded in SVG, scalable vector graphics.

This data is queried and displayed on a browser on any device, including tablets and smartphones, using server-side scripting in JavaScript.

It generates HTML and SVG code to:

  • Navigate the model.
  • Display the room and furniture graphically using SVG.
  • Edit the furniture position and rotation interactively.
  • Update the data repository with new placement data.

For an intermediate snapshot of the development process in mid-2013, please refer to the project description and status, including a two-minute video recording.

The complete project presentation including a video recording and all materials is provided by the Autodesk University 2013 online class DV1736 – Cloud-Based, Real-Time, Round-Trip, 2D Revit Model Editing on Any Mobile Device.

The detailed analysis, implementation and development process is discussed by The Building Coder in the following categories:

Update

November 2015 – Here is a recent summary and overview description of this project.

Installation

One way to run the roomedit CouchDB app is to host it on a public CouchDB hosting platform such as Iris Couch.

In that case, you only have to fork and clone this repository and launch your version of the app on that host.

Another way is to install and run both Apache CouchDB and the roomedit app itself locally on your own system.

That's all you need.

That's not yet all, though...

While developing this, I used Kanso on the Mac Unix command line to install the database definition in CouchDB from my hand-edited local system files.

I then replicated the local Unix-hosted database to a cloud-hosted IrisCouch one, and replicated that from the cloud to the Windows system running Revit.

I was unable to get Kanso running directly on Windows, and also failed with other similar CouchDB installation tools.

The simplest way for you to install the database definition files presented here on a Windows system is probably to grab this zip file of my own database definition roomedit.couch copied directly from my Windows CouchDB repository in C:\Program Files (x86)\Apache Software Foundation\CouchDB\var\lib\couchdb and unpack it in the corresponding location on your own system:

Author

Jeremy Tammik, The Building Coder and The 3D Web Coder, ADN Open, Autodesk Inc.

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.