tt-acm / Spectacles.GrasshopperExporter

A Spectacles Exporter for Grasshopper
MIT License
7 stars 12 forks source link

ability to export 'project data' with a model #10

Open mnaugle-tt opened 9 years ago

mnaugle-tt commented 9 years ago

it would be beneficial to add 'project level' data to an exporter. this gives a creator the ability to give a geographic location for a model, assign the model a human readable name, lists of key value pairs, etc. etc.

would open up new possibilities on the viewer side for projects like Design Explorer where all relevant data for a model is hosted with a model instead of a separate document.

mostaphaRoudsari commented 9 years ago

:+1: As @mnaugle-tt said it will open up new possibilities. I started to thinking about locating design in real location in google map 3D.

bhowes-tt commented 9 years ago

Totally doable. We are hooking views and layers on to the scene right now as user data: https://github.com/tt-acm/Spectacles.GrasshopperExporter/blob/master/src/Spectacles.GrasshopperExporter/Spectacles_SceneCompiler.cs#L521-L540

How would the interface work? Separate component or additional key/val inputs on the exporter?

mnaugle-tt commented 9 years ago

first thought is a key/value input on the final exporter component.