Fusion360Voronoi icon indicating copy to clipboard operation
Fusion360Voronoi copied to clipboard

Request: Min and Max Cell Distance, Min and Max Cell Area, Refresh

Open robarm74 opened this issue 3 years ago • 4 comments

Hi. First of all I would like to congratulate you for this beautiful plugin. If possible I would like to make some requests.

Cell distance: I would like to be able to set the minimum and maximum cell distance. In this way we can avoid too much dishomogeneous distances. The relaxation tends to make the cells too homogeneous both in shape and size.

Minimum and maximum area of cells: it would be nice to be able to set them in such a way as to avoid cells too small or large.

Refresh: it would be nice to have the possibility to recalculate shapes and positions in a random way so you can have more proposals.

thanks in advance

robarm74 avatar Jan 11 '21 19:01 robarm74

Hi @robarm74 -

Refresh (randomize) support would be easy to add.

For the cell distance, does adjusting the relaxation amount to a very small value not provide the support you would like?

I'll look into how I might support your requests.

Thanks for your feedback!

hanskellner avatar Jan 12 '21 00:01 hanskellner

Thanks for the reply. The "relaxation" parameter does not seem to be enough. I would like to have large and small cells but for 3d printing the distance between the cells must not be too small or too large but must be within certain limits. With the relaxation parameter the cells seem to take the same size. Or maybe I'm doing something wrong. Thanks again for your support and for the work you do!

robarm74 avatar Jan 20 '21 08:01 robarm74

Hi @robarm74 & @hanskellner, I've just found this and don't want to hi-jack it but would agree that when considering 3D printing as a use case for using this generator (which is amazing by the way!) that minimum widths between cells would need to be a parameter that is set. I still like the randomness that Relaxation offers however so am wondering if it would be difficult to add a flag/checkbox for when a minimum cell distance is required and then allows you to put in a value?

For instance I am trying to create an item to print in ShapeWays Natural Sandstone where "Supported Wires" requires 2.0mm & Unsupported Wires requires 3.0mm widths. At present I am generating something that looks pleasing and then having to check the minimum width before tightening up on the relaxation but checking the width between all sides of 50+ cells can take quite a while to do and then to fix as well.

If this isn't achievable then all good as this is still an amazing product and I've been using it for years, so it's been great to see how much it has matured.

lokiidesigns avatar Mar 05 '21 22:03 lokiidesigns

Hi All -

I've made an update the add-in that allows setting a "Cell Gap" in millimeters for Curved and Linear cells (not shapes).

https://github.com/hanskellner/Fusion360Voronoi/blob/master/README.md#cell-gap

It seems to work in most cases. Although, I've noted there are a times when a cell might still be too close to another. In that case, you can manual edit the distance to clean it up.

hanskellner avatar Aug 04 '22 22:08 hanskellner