Grasshopper

algorithmic modeling for Rhino

How would I go about defining the cells created by straight lines crossing a closed curb (example attached). The attached file for example has 10 cells which I would like to define each one individually.
I havent been able to come up with a solution and im hoping there is a way to do it without VB (Since I dont know how to script... :( ).
Any ideas or suggestions would be appreciated!!

Views: 2994

Attachments:

Replies to This Discussion

your file has only one cell...

Create your cells (closed curve) and then use evaluate length to take two points and use the line component (repeat this four times).

Here I made the cells with the voronoi component and then I use the evaluate length to take random points.


For every line you have to change the seed on the random component (i use just one random for line, but you can use two). In the evaluate length component, check the reparamatrize option so you can evaluate your curve between 0 and 1.
If you dont want random lines, you can still use the evaluate length component with the points that you want.
Thanks for the reply, but I think I didnt explain myself well enough regarding what Im trying to do.
In the example I gave, I have a closed curved intersected by lines that create 10 defined spaces within the closed curve.
I would like to find a way for grasshopper to recognize each of these 10 spaces as a closed curve\polyline that is defined by the lines that border each of the 10 spaces (thus creating 10 closed cells from the original curves and lines that intersected each other).
Hi, could you please show how to create the Voronoi cells with spaces in between like that?

Thx
Hi,
I use a offset component and then a fillet curve component.

edit: here is an old post: http://www.grasshopper3d.com/forum/topics/offsetting-lines-in-voron...
Thanks Manuel, this is exactly what I was looking for.
Hi Micha,

What you are trying to do is basically split your cell as if it were a surface. Unfortunately this would be much easier to do with scripting than with with normal grasshopper components. I think you could figure out a way to do this with grasshopper components, but it would be very complicated and large, to the extent that it would make much more sense to figure out how to script it.

There has been a lot of discussion in the scripting forum on splitting and trimming, and you can review that if you like.
try this
and this
Thanks man

I appreciate the help!

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