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
Tags:
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
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
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by