Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robarm74 opened this issue Jan 11, 2021 · 4 comments
Open

Comments

@robarm74
Copy link

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

@hanskellner
Copy link
Owner

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!

@robarm74
Copy link
Author

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!

@lokiidesigns
Copy link

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.

@hanskellner
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants