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: 22481

Attachments:

Replies to This Discussion

Hello Arie-Willem,

your plugin is great! What is best is that it outputs the intersections in paths according to the path of the original surfaces. However I think I have found a bug in it. I have a case of three surface that do not intersect, and it's splitting each surface in two. 

Best

Attachments:

Never mind what I said. I get the same result doing it with Brep / Plane intersection component. I think it's because of the way the planes are orientated. 

Hola Jesus!

Que onda! I'm glad the script is of some use to you! What might be the problem here is that your inputting the three surfaces you want split in the pln input. That input needs to be a plane or several cutting planes planes.

See attached,

Cheers!

Attachments:

love it!

hi Arie-Willem de Jongh,

I am getting this message when trying to open your python component.

Component Python Script {410755b1-224a-4c1e-a407-bf32fb45ea7e} failed to deserialize itself: Method not found: 'System.Collections.Generic.List`1 GH_IO.Serialization.GH_IChunk.get_Chunks()'

any idea why?

Thanks,

Matthew

what gh version?

its 9.0059 . thanks patric for your time.

version 9? wow ;)

....0.9.0059 

you have to download the newest gh version 0.9.0061, I think the 0.9.0059 is not supporting the python component.

haha damn decimal places :)

thanks patric.. i'll try updating it !

Hey Matthew,

What Patric says, there is a slight bug in GH version 9.0056 which gives problems with the ghpython plugin, updating to 9.0061 should solves this.

On a side note there is a component now called split brep (split) under intersect>shapes, that does the same thing as my python script, only with a surface instead of a plane. 

Good luck and cheers!

updating did the job.

I was mostly interested in your script as an example to learn python.

thanks Arie !

Thanks, This is exactly what I needed to finish my script for arch school. I made an account just to thank you.

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