Grasshopper

algorithmic modeling for Rhino

*** UPDATE 07/2016 ***

Now with capped sides after splitting (if applicable)

Nothing more, nothing less:

Brep + some planes = individual brep pieces.

I hope it can be of help to some of you!

P.S. you need the python for grasshopper plugin, it's free for donwload here.

Cheers,

Arie-Willem

Views: 21972

Attachments:

Replies to This Discussion

Glad I could help!

I run into a Problem by trying to cut a list of breps, in different branches by planes according the same Branche structure:

 

breps:

{0;0}(N=1)

{0;1}(N=1)

{0;2}(N=1)

{1;0}(N=1)

....

 

Planes:

{0;0}(N=2)

{0;1}(N=2)

{0;2}(N=2)

{1;0}(N=2)

{1;1}(N=2)

....

 

If I select just one Branche it works, but not for the whole list. any ideas?

 

Hey Patric!

I tried to replicate your problem, but it works if I use cones. 

Attached is my test file.

If you want pass me your def and I'll have a go with it.

Cheers!

Attachments:

Very simple and useful component. Thank you!

Thank you so much!!! I've been cracking my head for the past hour to find a component that does this in gh and there was none! I kept getting 42 surfaces instead of 28, it works perfectly with yours!!

Hello,

I'm trying to use your component to split some solid breps but I keep getting an error about the plane input. This example is just splitting a cube with the YZ plane. Thanks

 

Hi Andrew!

I'm not sure what the problem is, its already a kind of dated definition, maybe the Python plugin was updated. Could you post your def? I'll have a look at it.

Cheers!

Update:

I can't seem to replicate the error. Could you check if the 'pln' input is set to 'List Access' and the 'Type Hint' to 'Plane' (this should be already set)

Hi Arie-Willem,

I've tried the component again and it seems to be working fine now! Not sure what the issue was previously. Thanks! the component works exactly as i need it to.

Cheers

Great!

I just played with this nice tool, adding bits to spread the split pieces apart and color them by volume.  I discovered that for many of them, their volume returns as negative!?  Had to use 'Abs' to get it right.

Attachments:

Attachments:

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