Grasshopper

algorithmic modeling for Rhino

Hi everybody,

i am trying to split a curved surfaces with 4 breps into 5 separate segments.

however the result i am getting is that grasshopper is splitting the surface five times into 2 surfaces.

i checked previous discussions regarding that issue but without a real solution to this problem.

I would be really grateful if someone could have a look at the attached gh definition.

Thank you in advance for your help!!!!!!

Views: 4926

Attachments:

Replies to This Discussion

Is C++ the right choice or would you rather recommend

python or vbscript.

where are less tears to be expected?

i hope i can know c#,VB,but i don't,so i try it below.

hi Jack lee,

thanks for taking the time to enter the discussion.

the definition does work for a couple of elements but becomes rather tedious if you want to split 50 elements with 50 cutting elements.

Depth of nesting is limited: Restart

where are less tears to be expected

the more the tears at start the less at end. Meaning: cry now be a happy bunny later on.

is C# the right choice?

depends on a variety of things ... but before taking the one way ticket to hell CAREFULLY estimate your future working environment (the CAD/MCAD apps + the estimated available resources worldwide) and NEVER take the short way home

Happy bunny i am already.

just trying to estimate the amount of tissues I will need.

Who can tell?

Anyway don't forget to recycle the product.

And here's the dead meat resurrection:

As we discussed already the small S (the dog) when used for splitting the leftmost bar (the cat) yields a valid AND an invalid brep. Shown the bad cat (and the decomposed items List that reports invalid this, invalid that):

Then a variety of freaky things follow and if a face has OK BrepTrims then is sampled into a good sub-cat List (these are the faces NOT affected by that "partial" dog's bite):

Whilst the bad faces are reconstructed and any sign of dog bite (false in the screen capture) is removed:

Then all the above are added in the sub-cat List and the pieces are joined yielding a resurrected valid open cat ready to suffer some bites from other dogs:

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