Grasshopper

algorithmic modeling for Rhino

In Grasshopper v0.7 I can derive my class from IGH_PreviewData to implement methods for drawing my object in wireframe or Mesh.

How do I do this in GHv0.6.0059?  I've reflected on this for a while, and can't work it out.

Thanks in advance,

Jon

Views: 249

Replies to This Discussion

To answer my own question, I found the classes Display.GH_PointBucket etc which when utilized from the Component class seem to be the equivalent.
Jon,

Preview and baking was the job of the Parameter in 0.6, it's the job of the data in 0.7. The new system is far easier to code for (and there's still the possibility to override the drawing on the parameter level if you feel like caching stuff).

Is there any reason you want this to work on 0.6?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
I did get it working. A significant number of the GeomGym plug-in users are not able to upgrade to GH0.7, not always their own decision (Lot's of firms don't like to be on the leading edge of new software releases), so my hands are tied.

Thanks for the reply.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service