algorithmic modeling for Rhino
Tags:
private void RunScript(Curve x, ref object A)
{
A = x.IsClosed; // Boolean Return
}
Michael,
Many thanks. I feel silly for asking but I'm still having trouble with the SDK so some further clarification would be great if you can bear with me. Just say I have an array of curves, duplicated from a Brep after the Brep was successfully brought in through the x input.
// For example
Brep [] geom = new Brep();
geom = x;
Curves[] ca = geom.DuplicateEdgeCurves(true);
// The naked edge curves are then joined here
Curves[] neca = Curve.JoinCurves(ca);
// I want to test for closed edge curves here.
bool[] b = neca.IsClosed;
// End of example.
Why doesn't this work? I'm clearly missing a lot of something...
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