Skip to content

Conversation

@Stu142
Copy link
Owner

@Stu142 Stu142 commented Apr 27, 2025

-Fix for #124

Checks for lower divider height and lowers fillets to match.

If x and y divider heights are different the fillets will only go up to the lower one as they are just and extruded cut and can't differentiate between the different scenarios.

image

I think this is acceptable as there are probably limited users using both at a different height and it still works.

@greg19
Copy link
Contributor

greg19 commented May 9, 2025

If x and y divider heights are different the fillets will only go up to the lower one as they are just and extruded cut and can't differentiate between the different scenarios.

The taller fillets should be the ones adjacent to the bin walls that are perpendicular to the higher divider, all other fillets should be shorter.

In code, you can for example:

  1. First, iterate over the divider intersections and create 4 fillets that are adjacent to the divider intersection of height $min(h_x, h_y)$ (in a doubly nested for loop).
  2. Then create fillets that touch bin walls by two separate for loops
    a. one loop creates fillets that touch $x$-plane wall of the bin with height $h_x$
    b. second loop creates fillets that touch $y$-plane wall of the bin of height $h_y$

@greg19
Copy link
Contributor

greg19 commented May 9, 2025

Also I think it's a good opportunity to extract the common code of _make_compartments_with_deviders and make_eco_compartments to a helper function, as I see you are making exactly the same changes in these two functions.

@sergebat
Copy link

sergebat commented Jul 7, 2025

I see refactoring is planned around fillet generation, so let me post it here as this is likely related. Even with the a single divider on a simple gridfinity without a lip (I think this is the culprit) the fillet does not reach the top.

image

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants