Grasshopper

algorithmic modeling for Rhino

Can anyone please explain to me why I'm getting an 'Invalid Surface' from 'SrfSplit'?

I am projecting a joined curve and line onto a surface and expecting two surfaces to result from 'SrfSplit' - one is valid ('idxSplit=0'), but not the one I want; the other ('idxSplit=1') is "Invalid"?

How do I get the remainder of this surface?  Oh, wait!  As I write this, an idea... and yes, it works; I can get the surface I want by using 'SDiff (Solid Difference)' between the original surface and the "hole" surface returned by 'SrfSplit'.

So now my question is, why is this 'SDiff' step necessary?  Why does 'SrfSplit' fail to return both surfaces?

Views: 368

Attachments:

Replies to This Discussion

Hi Joseph, the line and curve didn't join succesfully because they intersect. They should meet at one point.

Oh!  Very good eye, thank you.  I see that now.  I was stuck on the assumption that they are supposed to have a point in common but I see that something got corrupted along the way... digging into it, thanks again!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service