Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I'm currently working with a GH Defintion, which creates 100.000ds of small, planar closed curves. Since the curves are very small, I would like to display them not with their outlines, but as a solid filling.

I could create a timmed planar surface for each of these curves, but that takes very long to calculate. So within Rhino, I would solve this problem with the creation of hatches. But this requires to "bake" the hatch, since there is no hatch representation within GH. Is there a way to "virtually" display hatches within GH?

Thanks

- Karl

Views: 5221

Replies to This Discussion

You could also try meshing and turn mesh edges off?

I think actually solid hatches are drawn as meshes.

I wrote a small VB component that meshes a collection of closed, planar curves and assigns a single colour to them all. It's not particularly fast (~5 seconds for 10,000 circles) though.

If the curves are all convex, then there are faster ways to draw them, but that will involve a lot more code.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

Thanks,

that helps a lot. The curves I'm dealing with are not necessarily convex.

So I'll guess I'll take your definition.

- Karl

P.S.: Your definition was created in 9.2 ... can't wait to have it in my hands.

Hi David,

I just installed the latest Rhino 5 WIP and after installing the Definition from above is crashing.

I was wondering if you could upload the ghx file, so I could take a look at the component code again. (or alternativelly just post the code)

- Karl

Crashing how? If you disable the solver before opening the file, you should be able to see the code inside the VB component.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

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