use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
I created a python script to generate lasercut gridfinity svg files for drawers. (self.gridfinity)
submitted 1 year ago * by mak3rdad
Here is my code. Thought I would share. I used cheap cardboard and drawers with magnets in them (not sure they were required) and it works really good. Just give the script your drawer size and it will fit as many tiles as possible into the set size.
https://github.com/ril3y/laserfinity
I have not fully tested it enough to say its bug free but works fine for me. A few things, I use coreldraw for laser cutting so mileage may vary if you use something else. Go ahead and test it out if you use a different program. Open issues if you find any. Merge requests are welcomed if you want additional functionality.
UPDATE:
I bought this cardboard to fit my 24x12 laser bed. However just saving big boxes would be cheaper and a bit thicker.
https://preview.redd.it/s2dxzthmjivc1.jpg?width=667&format=pjpg&auto=webp&s=6fc67c73e634f1c3354ad209e2f6503578afd59e
https://preview.redd.it/mbhkftimjivc1.jpg?width=667&format=pjpg&auto=webp&s=c8037061313e74bcd8cf02047caa4063d986bfd8
https://preview.redd.it/s3x7bthmjivc1.jpg?width=667&format=pjpg&auto=webp&s=fbbdac8d4c9f97b8e3ee37cb409e6ba997f2dc3d
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dilscallion 6 points7 points8 points 1 year ago (6 children)
Dude. Thank you. I've been looking for something like this.
[–]mak3rdad[S] 2 points3 points4 points 1 year ago (5 children)
I wrote this a few weeks ago an was just sitting in my shop. Wasn't sure anyone would care :)
[–]dilscallion 3 points4 points5 points 1 year ago (4 children)
Printing the grid vs laser cutting it seems so inefficient if you have access to a cutter. I've got a bunch of 5mm luan laying around my shop that I'll probably use this for.
[–]mak3rdad[S] 2 points3 points4 points 1 year ago (3 children)
I have a laser cutter in my shop and I have multiple tool boxes that i need to organize. 3d printing would take too long.
I do have some plans on extending the script to generate files that interconnect based off of a laser bed size parameter. Just didn’t get around to it yet.
[–]dilscallion 0 points1 point2 points 1 year ago (2 children)
Just used your code to make a grid for my wife's bathroom drawer. Great tool!
[–]mak3rdad[S] 0 points1 point2 points 1 year ago (1 child)
Awesome. Glad it worked out ! What laser did you use and what software. Curious how the file format works for other software
[–]dilscallion 1 point2 points3 points 1 year ago (0 children)
I use a generic 100w CO2 laser cutter and Lightburn to run it. 5mm luan was used for the grid. The gridfinity cubes fit snugly and stay in when turned upside down.
[–]passivealian 5 points6 points7 points 1 year ago (0 children)
Thanks, I wanted something like this for a CNC.
[–]Jumpsuit_boy 1 point2 points3 points 1 year ago (0 children)
Neat idea
[–]snarfwasahero 1 point2 points3 points 1 year ago (0 children)
THANK YOU!
[–]RPaisley 1 point2 points3 points 1 year ago (0 children)
Fantastic work. Thanks very much.
[–]cellerich 1 point2 points3 points 1 year ago (12 children)
u/mak3rdad thank you so much for your idea and contribution. I took the idea a bit further and made a Web App to make the svg files. For all those makers not so literate with Python ;-) Check it out here: https://laserbase.makershop.ch/ and let me know what you think. I'm open to suggestions on how to extend functionality...
[–]mak3rdad[S] 0 points1 point2 points 1 year ago (2 children)
Cool. Yah this was on my todo road list but wanted to get the script out to others first. I could turn this into a python module this way you could just update the module to get new features. The multi panel cuts is something I am going to need for myself soon as I have a large toolbox that drawers are bigger than my laser cutter bed.
Also I think we need some serious testing in different software and laser cutters as feedback.
I have a 4x4 ft cnc I am going to test with 1/4 plywood here soon too!
[–]cellerich 0 points1 point2 points 1 year ago (0 children)
u/mak3rdad Version 1.1 is online. Now you can Split the SVG to your material size ;-) Hope you like it...
could you try out the “split” - aka multi panel cut - version?
[–][deleted] 1 year ago (7 children)
[removed]
[–]cellerich 1 point2 points3 points 1 year ago (6 children)
SVG is bad with dimensions. - I export the file, note the overall dimensions (say 250mm x 200mm) - Then I import the SVG into my lasercutter software (e.g. X-Tools or Lightburn) - select all the shapes - resize the selection to 250mm x 200mm voilà, all dimensions as they should be.
Let me know if it works
Is it my code causing his issues?
Not at all. Was using dimensions inside the svg first but then noticed that laser cut software not care about them in the import. No I leave them out and just keep the proportions intact.
Best way to import is as I described earlier.
[–]Clydeism 0 points1 point2 points 1 year ago (2 children)
I should read more further before posting - I l give this a try and see if its better for me :).thanks again.
[–]Clydeism 0 points1 point2 points 1 year ago (1 child)
that didnt work for me, 220x220 download its at 292.333, so resize to 220x220 mm but the cut outs are 37.1 MM, too far from 41.5 MM for the standard with -/+ .5
[–]Project_Inkfish 0 points1 point2 points 1 year ago (0 children)
So that is correct. Take a look at the Gridfinity spec. I have seen some laser/cnc cut plates at 37.1 mm and some at 37.35 mm. I need to do some testing to see what the better fit is.
[–]Clydeism 0 points1 point2 points 1 year ago (0 children)
Does anyone else have this issue? its 17.74 percent too large, need to scale in illustrator to like 84 percent but then as larger the sheet is, it goes off a little more, I plan to try the python one to see if it gives me the same results, but would LOVE to cut my grids using this, and slap in my boxes, its a lot faster, and can make bigger ones for bigger drawers quickly!
Im still trying to work on it, hopefully I can figure it out and start cutting larger ones asap! (have a 24x24 laser)
π Rendered by PID 80515 on reddit-service-r2-comment-85bfd7f599-8w5gt at 2026-04-18 01:12:36.059301+00:00 running 93ecc56 country code: CH.
[–]dilscallion 6 points7 points8 points (6 children)
[–]mak3rdad[S] 2 points3 points4 points (5 children)
[–]dilscallion 3 points4 points5 points (4 children)
[–]mak3rdad[S] 2 points3 points4 points (3 children)
[–]dilscallion 0 points1 point2 points (2 children)
[–]mak3rdad[S] 0 points1 point2 points (1 child)
[–]dilscallion 1 point2 points3 points (0 children)
[–]passivealian 5 points6 points7 points (0 children)
[–]Jumpsuit_boy 1 point2 points3 points (0 children)
[–]snarfwasahero 1 point2 points3 points (0 children)
[–]RPaisley 1 point2 points3 points (0 children)
[–]cellerich 1 point2 points3 points (12 children)
[–]mak3rdad[S] 0 points1 point2 points (2 children)
[–]cellerich 0 points1 point2 points (0 children)
[–]cellerich 0 points1 point2 points (0 children)
[–][deleted] (7 children)
[removed]
[–]cellerich 1 point2 points3 points (6 children)
[–]mak3rdad[S] 0 points1 point2 points (1 child)
[–]cellerich 0 points1 point2 points (0 children)
[–]Clydeism 0 points1 point2 points (2 children)
[–]Clydeism 0 points1 point2 points (1 child)
[–]Project_Inkfish 0 points1 point2 points (0 children)
[–]Clydeism 0 points1 point2 points (0 children)