algorithmic modeling for Rhino
Hello,
I need some help casting a single Goo to a List<Goo>.
Actually its a mesh-representation which should be cast to a List of Polylines.
I have done a lot of "single-single" object-casting but have no idee how to deal with "single-list"
Would be nice if someone can enlight me on this topic...
Greets
public override bool CastTo<Q>(ref Q target)
{
return ToGH_Curves(ref target);
}
private bool ToGH_Curves<Q>(ref Q target)
{
//Todo CastToCurves
return false;
}
Tags:
You can't. Casting is always a one-to-one process.
If you need to create collections of data from a single piece of data (or the other way around) you need to create a component which does that internally.
Ok, thanks for the answer...
What a pity...
Aloha
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by