Grasshopper

algorithmic modeling for Rhino

All, I've been trying to set up a simple SketchUp-to-Grasshopper interoperability demo and I could use your advice.

I currently have a semi-working definition, where a simple SketchUp model is saved, and linked into a Rhino doc as a linked block instance. Then, in Grasshopper, i use ReadFile to listen for changes in the SketchUp file, Lunchbox's RhinoCommand component to update all Rhino block external references, several Human components to get the Brep geormetry from the block. Following this, I've done a quickie area calculation, but the end goal is more complex analysis of forms initially generated in SketchUp, allowing a SketchUp user who's unfamiliar with Rhino to get some realtime data reporting from their Model.

As it works now, to get updates in the Rhino viewport is a two-click process. First, you have to save the sketchup model, then, usually, recompute the grasshopper def manually, though sometimes the GH def will automatically update, which is the goal. 

I hope someone here can help me figure out what's going wrong... the way I have it structured is a little hacky I admit, but logically it seems OK, and should be updating the def whenever the Sketchup model is saved.

Any ideas on how to make this run a little smoother?

Views: 3343

Attachments:

Replies to This Discussion

This is nice... not sure sketch up can take smooth geometries and huge files.

I created this for energy analysis (working with sefaira and open studio etc) but it works fine with everything. for the stuff you talked about, take a look at this:

https://www.youtube.com/watch?v=ctkvSMAuCrI

Hi Kaveh, have you made this available to the public or is there any chance of participating in the beta testing stages?

Hi, it has been loooooong time since update, but do you have any new version?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service