Grasshopper

algorithmic modeling for Rhino

I'm working on a subdivision scheme that takes any set of closed curves (say, a distorted grid or voronoi cells) and 'inserts' a regular grid into each... so far I've got it working pretty well, and the definition is fast (all good). My problem now is that ideally I want the output to be a set of closed cells... and as it is now i'm getting grid lines.


Any ideas?

Views: 4397

Attachments:

Replies to This Discussion

Sorry, it's not quite clear to me what you wish to achieve. You must already have the perimeter polygons of your cells. If it's of interest, I've been doing some work adding tools to my plug-ins with a designer for cell creation (including operating within Grasshopper). I've added options for creating closed curves, flat surface or extruded polysurface. Options are there for controlling the filleting radius and the offset width. There might be other easier ways when the network is already defined by closed polygons, but my tools traverse a curve network without that requirement.

Happy to help if I can.

Jon

Jon, are you willing to share that definition?
The component calls on the algorithm that is coded into my plug-in. The logic etc weren't the easiest to set straight.

However, if you're prepared to install the plug-in (it's a free evaluation from http://www.geometrygym.com/downloads , once installed it instructs how to request a license), you can take advantage of the algorithm. I'll upload the sample files and images to my blog shortly as test runs for users to try. Happy to help if you need assistance getting up and running.
looks like a useful def, but no, not exactly what i'm trying to do.

I have managed to get grid lines out - and i want to get closed cells. I'm talking about the smaller grids, not the top-level cell outlines.
Hi Evan,

Sorry, I missed your post yesterday. Now I understand your requirement. I'll post how the grasshopper solution looks using my tools later today.


Well I have success, but not without want of improvements. I don't understand trees,paths well enough, but it would be good if the curves could be seperated/sorted into lists that connect to each other (or are contained in each island). It would speed up my solution, and at present there is a limitation in that my data structure only recognizes a single external border, so that all but one outer cell has an overall cell area also produced.

Anyway, if you wish to have a look, download the latest version of my plug-in, make sure you have a validated license and take a look. With the current solution it adds 5 more components to your existing solution.
Attachments:
thanks jon - which plug-in is it?
ssiStructDrawRhino, http://www.geometrygym.com/downloads

If you need help getting up and running, I'm happy to oblige.
is there a way to install this without admin rights?
It's probably the writing of the registry keys so that the plug-in automatically loads that needs admin writes.

You can open a .msi file in winzip, and manually copy the files in it to a folder of choice (usually C:\Program Files\Rhinoceros 4.0\Plug-ins\SSI, but depending on your Windows version may differ or prevent you from writing files there). Then simply drag the .rhp file over Rhino while it is running. If you have troubles opening the .msi file, I'll upload a .zip file for you.
if you could upload a zip i would appreciate it
Ok, I added a zip file to the downloads page http://www.geometrygym.com/downloads

In the meantime, I'll see if I can make the installer work for non-administrators without registry writing.

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