Grasshopper

algorithmic modeling for Rhino

Hi guys,

There is a problem about splitting brep with cutting shape which you can see below, also attached with a gh file. Is it the shape that makes errors, because there is no mistake as I use other shape. Or, is there anything else that could be used to make a closed brep with this shape and bottom surface?

Thank you in advance.

Xiaojian

Views: 905

Attachments:

Replies to This Discussion

There is a gap between your inner brep and the outer one that prevents the split from succeeding.  You can see it using 'BBX', which returns the intersection curve:

Hi Joseph,

Wow, that's really where problem comes from. Thank you very much. But how to solve it to make a splitted volume? Could you please give me a hand? 

Xiaojian

There is no indication in your code as to how that splitting surface was created?  You just have to make it "better", so that the 'BBX' curve is complete - meaning that the surface must cut all the way through the outer brep.  In general, having the perimeter of your cutting surface be identical (in top view) with the brep you want to split is not a great idea.  It may work in the best of circumstances but with an irregular surface like you have, it can easily fail, as you can see.  It can be greater in size but never less than what you want to split.  Good luck.

P.S.  Folds in the cutting surface may cause problems as well.  In general, geometry needs to be "clean" to get good intersections.

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