Commit graph

21 commits

Author SHA1 Message Date
Arthur Moore
c34de9bff0 Switch stacking lip constants to the same format as baseplate constants
This increases readability and usability, while also being more compact.

Also updated documentation in gridfinity-rebuilt-bins to explain how heights are calculated.
2024-10-04 01:28:15 -04:00
Arthur Moore
b4061d45d9 Caculate stacking lip support based on an angle
Removes the need for a magic constant.
2024-10-04 01:28:07 -04:00
Arthur Moore
d40a3decc9 Define the profile of the base by sweeping a polygon.
This is the same approach taken for the stacking lip and baseplate.
2024-08-29 20:14:51 -04:00
Arthur Moore
8bfd05be8e Generate Baseplate from profile isntead of as a negative
Previous implementation was off by 0.5mm,
and required creating a gridfinity base.

This is much more flexible, and easier to understand.
2024-05-17 09:38:54 -04:00
Arthur Moore
95219c6cb9 Fix Baseplate
Hole changes were not tested against it.
Many oppertunities for improvements here.
2024-04-30 01:46:37 -04:00
Arthur Moore
787fa30950 Split screw_hole into a separate function.
This can be re-used for the baseplate.
2024-04-30 01:06:40 -04:00
Arthur Moore
32f91a77ca Support Chamfering Magnet Holes
Similar to ljbeal's Pull Request.
However, the implementation is completely different.

https://github.com/kennetek/gridfinity-rebuilt-openscad/pull/144
2024-04-21 23:34:23 -04:00
Arthur Moore
f222c262fc Allow using crush ribs for the magnet hole 2024-04-21 23:28:49 -04:00
Arthur Moore
a4200a04bd Simplify refined_hole() 2024-04-21 23:07:08 -04:00
Arthur Moore
67ba594585 Made some hole constants more readable 2024-04-21 22:08:54 -04:00
Arthur Moore
637b98577f Match radius of bin to radius of base.
Fixes #169, and #165.
2024-03-10 23:34:30 -04:00
Arthur Moore
015daff2e8 Update Stacking Lip Profile
Profile is now based on https://gridfinity.xyz/specification/
This does not change the final profile, merely how it is created.

Fixes #168 - Cura watertight issue.
Paritally fixes #169 - FreeCad errors.
2024-02-24 03:57:06 -05:00
Priit Laes
5df82679c8 Fix r_fo1 radius to 7.5/2 and fix usage in code
Also introduce d_fo1 = 2 * r_fo1 in places where diameter seems
to be used.
2024-02-16 22:40:01 +01:00
Priit Laes
b4abd1d474 Use proper radius value for r_fo2 2024-02-16 22:40:01 +01:00
Priit Laes
9b364e410c Use proper radius value for r_fo3
The same value used in baseplate is now handled as radius (instead of
diameter).
2024-02-16 22:40:01 +01:00
Stephen Kent
0b7bf6ee78 Fix clearence -> clearance typo 2024-01-29 09:59:51 +01:00
Ruud
3a485537da
Merge branch 'main' into pre-commit 2024-01-06 13:18:55 +01:00
schorsch3000
084f8ed981
Bugfix/fix fixed baseplate offest (#143)
* make the baseplate xy offset configurable

* rename variable to be shorter

---------

Co-authored-by: Dirk Heilig <heilig@adesso-mobile.de>
2024-01-06 02:04:01 +01:00
Stephen Kent
046ed3067c Add whitespace fixes generated by pre-commit 2023-09-21 23:11:23 -07:00
Ruud Swinkels
1622fcbc1d Merge remote-tracking branch 'upstream/main' into hotfix/holes_at_corners 2023-05-31 19:01:00 +02:00
Ruud Swinkels
de00ffde5f renamed constant file to standard.scad 2023-05-31 17:48:39 +02:00
Renamed from gridfinity-constants.scad (Browse further)