Grasshopper

algorithmic modeling for Rhino

hi david

hope you can help
is it possible to read data trees into the vb component
so i can work with them inside vbdotnet?
thanx in advance

Views: 506

Replies to This Discussion

Not yet. Data casting for VB and C# components is crap at the moment. It needs a rewrite.
thanx david
yeah data casting is really not the best currently ;)
also the problem with the disappearing of the definition after changing input variables - which was reported already
hope you can solve the problems soon ;)
all the best
If you're going to rewrite data casting, can I put in a request for OnObject and OnGeometry data types? There are times (such as a simple transformation) that I don't necessarily care what the object is (point, curve, surface, bRep), but I'd rather not have to worry about letting the input be any old object.

Also on a somewhat related topic, I'm not sure if this will work with a generic data item, but would it be possible to get an OnXform data parameter. I notice that there's an OnXform input type for the scripting components, but no real way to pass OnXforms around on the canvas. One last tag-along with this is that the components that are under the onXform tabs output an OnXform matrix along with the geometry. That way one could not even worry about passing geometry, just create the Xform, then pass that to a component. I guess that might require a generic Xform component that would require generating an Xform separately and passing that along with it.

Thanks,
Damien
Adding OnXForm data types, parameters and components is a fairly big job, definitely not something I can finish before going on holiday next week. But I suppose eventually I'll have to yield and add them.

I can see the point of having OnGeometry as a type filter, but what do you need OnObject for?
I always over wish and see what you come back with. Taking a closer look, it doesn't look like OnObject really would be useful, so you can scratch that one.

As long as OnXforms are on their way eventually then I'm happy. Thanks David. Enjoy your holiday :)

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