Grasshopper

algorithmic modeling for Rhino

Hi all, 

I am doing Surface box on Pipe with particular elements as a pattern. The goal is to cut the Pipe with boxes on surface with a yz-plane. I tried:

1) Just cut with plane with Split command, but it says "Did not succeed" and doesn't do any difference except adding plane division in the middle of the overall surface. Idea to Explode Brep and than delete unnecessary surfaces is the overkill.

2) Join all closed Breps together and use Solid Difference with the box, which totally covers the pipe, but there are still 30 pieces as output after Join Brep and this bring really weird result, see screenshot.

3) Trim basic pipe before Surface box or Divide Domain2 using Cull and Split but these operators still map boxes along untrimmed surfaces, as it was discussed on forum at least twice and is not helpful in my case.

I am almost sure that I searched whole forum for similar issues and could not find solution, however it is possible that I missed something. Hope You can give me some advice. Please, see attached files.

Cheers,

Dmytro.

Views: 2501

Attachments:

Replies to This Discussion

The "Split did not succeed" error message doesn't mean it didn't work!  It only means that some of the breps passed to it did not intersect the plane.  Look at the output of 'Split' and see that some of the results are still a "Closed Brep" while some are two "Open Breps".  It appears to me that picking the first one with 'List Item' is all you need to do:

Miracle! Did not know about this feature in Split... Thank You Joseph very much for the fast and helpful answer!! However it has interesting but annoying feature - depenging on number of suface morph boxes Split may cause or not strange residuals, any guess how to deal with this?

Wish You all the best,

Dmytro.

"strange residuals"?  You'll have to post an example.  Most likely, you picked the wrong fragment resulting from the split.  In my example, I always used the first item in the lists returned by 'Split' ('List Item' w/ 'i=0') but in some cases, it might be a different fragment (there may be more than two).  So you need an algorithm to decide if the fragments are on the side of the plane you want to keep.

Hi Joseph,

Thank You again for explanation. I think the problem is solved, it was depending on the size of the morph boxes and length of initial Pipe curve, after several moves it was fine. Sometimes some magic is had to be applied, this is normal process :)

Kind regards,

Dmytro.

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