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.
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.
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.
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.
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.