Commit graph

50 commits

Author SHA1 Message Date
Arthur Moore
0f5fb2d243 Add a magnet hole with crush ribs.
Also moved (most) hole functions to a separate file.
2024-04-14 14:28:12 -04:00
Arthur Moore
fd4db5aa9f Add more brief function descriptions 2024-02-24 09:18:49 +01:00
Arthur Moore
6b6b385cda Made height calculations more readable.
There are significantly more lines, but the code is now more understandable.
2024-02-24 09:18:49 +01: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
Asger1002
2f2567d7a9 Removed whitespace in attempt to pass merge test
Pre-merge test showed a failure in removing 'trailing whitespace'. Some whitespaces removed in an attempt to pass this.
2024-02-16 16:15:06 +01:00
Asger1002
1bc283cf59 code cleanup + added comments
- Added comments describing CutEqualBins functionality
- Fixed a single line of missing code as described in a github comment
2024-02-16 16:15:06 +01:00
Asger1002
db06f2914b Added ability to customize tab sizes. Added function for cutting multiple bins.
Additions:
- ability to change height of tab, i.e. stickout, for thinner/thicker labels. Specified in mm.

- ability to change width of tab, for longer/shorter tabs that don't span the full bin width. Specified in mm.

- 'CuEqualBins' function for cutting multiple equally-sized bins given:
* amount of bins (in x and y directions)
* length (in x and y directions, specified in gridfinity-bases),
* starting position (lower left of first bin, in gridfinity bases)
2024-02-16 16:15:06 +01:00
James Jenkins
e31742e37d Make style_hole=4 compatible with only_corners 2024-02-16 12:47:26 +01:00
Timothy Stranex
d6eb8402e9 Add chamfers to cylindrical cutout holes 2024-02-15 10:25:20 +01:00
Stephen Kent
faff922757 Add style_lip as argument to gridfinityInit
When used as a library, `grifinity-rebuilt-utility.scad` accepts all the
bin properties to use as arguments to `gridfinityInit`, `cut`, or other
methods, with the sole exception of `style_lip` which must be defined in
the calling file.

This change adds `style_lip` as an argument to `gridfinityInit` to
ensure `gridfinity-rebuilt-utility.scad` can be used as a library.
2024-01-29 09:58:53 +01:00
Stephen Kent
944dd39c81 Fix whitespace errors using pre-commit 2024-01-06 08:37:37 -08:00
Ruud
3a485537da
Merge branch 'main' into pre-commit 2024-01-06 13:18:55 +01:00
Stephen Kent
86cab75c50 Merge remote-tracking branch 'origin/main' into pre-commit
Conflicts:
	gridfinity-rebuilt-utility.scad
2023-12-24 15:23:05 -08:00
Jannes
6202c73b21 move cylindrical cutouts to utility 2023-11-21 21:41:08 +01:00
Ruud
c95938da94
Merge pull request #129 from banpower1:banpower1/gridfinity-refined-holes
Gridfinity Refined magnet holes
2023-11-11 20:39:13 +01:00
banpower1
b50c07a0fb Added refined_hole function into block_base allowing to select option 4 - Refined holes 2023-09-26 22:54:02 +02:00
Stephen Kent
046ed3067c Add whitespace fixes generated by pre-commit 2023-09-21 23:11:23 -07:00
Stephen Kent
19e2a5996b Skip tab fillet cutter if tabs are disabled 2023-09-21 22:16:28 -07:00
rpedde
4ae0a87793 Fix "unknown variable length" error
The "only corners" option didn't get the message about the move of
length to l_grid in 99100b66
2023-06-08 12:01:29 -05: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
Ruud Swinkels
6168fdf322 Merge remote-tracking branch 'upstream/main' into fix/static_hole_location 2023-05-31 17:46:41 +02:00
Ruud Swinkels
99100b6600 move length to constants file 2023-05-31 17:46:30 +02:00
Ruud Swinkels
66c64945fd remove square with zero height call 2023-05-27 15:03:15 +02:00
Ruud Swinkels
3b90df14f5 fix dynamic hole location on grid length 2023-04-26 19:05:37 +02:00
Joe Rogers
70b6e00e7e
Fix ghosted hole cutout rendering 2023-04-22 23:01:14 -04:00
Ruud Swinkels
1b9f71b4b5 fix holes only on corners 2023-03-20 18:48:28 +01:00
Ruud Swinkels
0538b37c3d improve performance 2023-02-21 22:31:48 +01:00
K Hodson
b95548fe6d Option to only put holes at corners of bin 2023-02-17 10:23:59 -07:00
Kenneth
b07d85e58f
Merge branch 'main' into make-scoop-customizable 2023-02-14 09:57:46 -07:00
K Hodson
831c7d6bf1 Convered scoop param from boolean to real
Scoop parameter can now be any real number. Follows the same logic as before, where false (now 0) means no scoop, and true (now 1) means regular scoop. Any real number will scale the scoop value to preference.
2023-02-14 09:55:29 -07:00
K Hodson
e2e9ad536c Fixed #59
Changed `enable_lip` to `style_lip` to allow a choice between a regular lip, removal of the lip (losing 3.6mm of height) or remove lip while retaining the regular height
2023-02-07 16:02:46 -07:00
K Hodson
c5e99d1298 Fixed #46
Wall profile had negative geometry when bin height was too small (1u).
2023-02-05 23:47:50 -07:00
Miguel Camba
7430123683 Make scoop customizable 2023-01-31 20:56:36 +01:00
kennetek
d02bcd1bfe magnet error in baseplate, slit height 2022-11-09 10:29:55 -07:00
kennetek
fc1e98c927 small change for when only one hole is desired 2022-11-06 14:56:08 -07:00
kennetek
705ab42ff3 generalized lite version 2022-11-05 23:19:56 -07:00
Rui Carmo
50515ea89d Merge https://github.com/kennetek/gridfinity-rebuilt-openscad 2022-10-15 19:49:34 +01:00
Rui Carmo
4e2ae56300 Revert slight offset 2022-10-15 19:43:17 +01:00
Kenneth
7d8513bbfb
Merge pull request #15 from Ruudjhuu/feature/baseplates
Added baseplates
2022-10-15 10:57:40 -07:00
Rui Carmo
744ff09aaa Merge block_base_cutout from @JakeWorrel 2022-10-15 18:34:04 +01:00
kennetek
b717689c32 moved func to baseplate file, organized features
functions in the utility file should be more applicable to "extension" modules, so the baseplate generation was moved to its file. Removed some constants that should be defined by already existing constants. Altered the base generator function to make an accurate model instead of using a scale.
2022-10-11 18:34:02 -07:00
Ruud Swinkels
d96415610b enabled no_holes for baseplate 2022-10-11 10:10:35 +02:00
kennetek
afce2f90ec fixed small bug when increasing wall thickness 2022-10-10 19:19:04 -07:00
Ruud Swinkels
354705620e Add countersink hole style 2022-10-04 22:25:11 +02:00
Ruud Swinkels
473dc07ffa add baseplate modules 2022-10-04 21:40:20 +02:00
kennetek
0199dadead reworked file structure
- renamed a bunch of stuff to make people's lives hard ig (more because the file hierarchy was really bad and needed improvement to make other dependent modules)
- updated README documentation to match new modules
- new constants file to clear up clutter in main files
- base function now separate from the bin function
2022-10-02 17:35:03 -07:00
kennetek
5a4396f480 screw holes, file naming, and base dividing
- screw holes toggle
- renamed base file to utility to avoid confusion
- base dividing will now always be safe to use on baseplates (cannot divide into sections that cannot be multiplied by an integer to equal 1)
2022-10-01 23:10:19 -07:00
Renamed from gridfinity-rebuilt-base.scad (Browse further)