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

Base Simplification & Fixes #229

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Base Simplification & Fixes #229

merged 3 commits into from
Oct 15, 2024

Conversation

EmperorArthur
Copy link
Collaborator

Fixes an issue where half and quarter sized bins were the wrong size, since gap spacing was not kept constant.

Gridfinity bases now always automatically handle half and quarter units. Removing the confusing "div_base_x" and "div_base_y". If they were left to their default value of 1, half sized bins would not work correctly, and users would be confused as to why.

@EmperorArthur
Copy link
Collaborator Author

I have some other work to bases, but decided to go back and put this in first, since it simplifies things later on.

@EmperorArthur
Copy link
Collaborator Author

Seeking input on one thing. Should we use half and quarter bin sizes on all axes, or only the one which is fractional.

Example using a bin size of [2.5, 2]:

Current:
image

Alternative:
image

* Fixes CI not running.
* Allows markdown files to have hard linebreaks.
* Ads additional checks.
This fixes a compatibility issue when using fractional grid sizes.
If someone wants to make custom sized grid bins, they can pass in custom grid_dimensions.
@EmperorArthur EmperorArthur merged commit a9e2618 into main Oct 15, 2024
1 check passed
@EmperorArthur EmperorArthur deleted the base_updates branch October 17, 2024 04:59
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.

2 participants