Grasshopper

algorithmic modeling for Rhino

Hi

has anyone managed to use thir own custom class as an output parameter to a GH component?

 

I have a node class (see attached) that inherit from GH_Goo/span>Point3d>

Next I have a custom component named CustomClass that takes a point and outputs a node

Last i have a custom component named NodeTest that takes a node and output a point and the property  named connections.

 

However my problem is that I cannot use the output of the CustomClass directly as input to a ordinary pointComponent

 

The error i get is this:

1. Data conversion failed from Node to Point

Any suggestions to fix this???

Views: 335

Attachments:

Replies to This Discussion

Here you can see the error in grasshopper

Attachments:

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