Gridfinity Bin Generator: STL, Capacity, Filament & Print Time
Generate a custom Gridfinity bin with dividers, magnets, scoop and label shelf. Download its STL or 3MF and estimate capacity, filament, cost and print time.
This Gridfinity bin generator turns a storage requirement into a printable bin and a material estimate. Engineers, students and workshop makers can choose a footprint, add compartments, and download a custom Gridfinity bin STL or 3MF directly from the interactive model. Dimensions in the download are millimetres.
Start with the number of 42 mm cells across and along your drawer. Choose height in 7 mm units, measured from the underside of the feet to the nominal rim. The supported stacking lip adds 3.8 mm above that rim. A two-cell width is 83.5 mm, leaving the system’s normal clearance. Wall and floor settings change the actual model rather than only changing the estimates.
Add dividers across either direction. Magnet pockets accept nominal 6 × 2 mm discs, using 6.5 mm diameter, 2.4 mm deep glue-fit recesses at all four positions in every cell. Optional 3 mm pilot holes extend 6 mm into the base. The front scoop helps retrieve small parts; a rear label shelf has a 45° underside. Shallow bins automatically shorten these features. Turn the model to inspect the arrangement, and use its download menu to export.
Capacity is the cavity volume below the nominal rim, excluding walls, dividers, scoop and label shelf. It includes spaces that a rigid part may not reach. For a more practical comparison, enter your part’s rectangular bounding dimensions. The part count tests six orientations in conservative clear boxes for each compartment, allowing for corner radii, the lip, scoop and shelf. It is a feasible grid-packing estimate, not an optimal packing solution. Irregular loose parts can behave very differently.
Select a filament density or enter a custom value. The Gridfinity calculator distinguishes solid CAD volume from deposited polymer: thin walls are shells, thicker regions contain skins and your chosen infill. Filament cost includes the entered waste allowance; use your own currency per kilogram. Price is an example input, not a current market quotation. Mass and time charts compare discrete height choices.
Print time uses the three extrusion speeds, volumetric flow limit, layer count, cooling minimum, layer overhead and setup time. It does not generate G-code or model machine acceleration. Compare the estimate with your slicer before committing a long print. The floor and stack results are applied loads, not allowable loads; printed strength, creep, impact and heat are not assessed. Magnet pull is a derated pull-to-steel comparison with weight, not a lifting rating or a prediction of sliding resistance. Test the fit of one bin with your printer and baseplate before printing an entire drawer.
How it is calculated
Geometry and capacity
Gridfinity follows Zack Freedman's open modular system. The geometry uses the community specification and Gridfinity Rebuilt standard.scad (attached, pp. 1–2): 42 mm pitch, 7 mm height increments, 0.5 mm total footprint clearance, 3.75 mm outside corner radius, and one foot per cell. The foot expands from 35.6 mm to 37.2 mm over 0.8 mm, stays vertical for 1.8 mm, then expands to 41.5 mm over 2.15 mm. Corner centres stay fixed.
The stacking interface has the documented 0.7 / 1.8 / 1.9 mm profile, with its sharp top truncated by 0.6 mm to leave a printable 0.6 mm rim and a 3.8 mm extension. A 45° internal ramp supports the lip above thin walls. The floor starts at 4.75 mm plus the entered floor thickness. Dividers stop 1.2 mm below the nominal rim when a lip is present. The scoop is a concave quarter-circle; the label shelf has a 1.2 mm top and 45° support.
Capacity is a Boolean subtraction of the complete printable solid from the rounded outer envelope between floor and nominal rim. CAD volume is measured from the final manifold mesh. An independent integral clips the compartment grid to the analytic rounded outline and height-dependent scoop, shelf and lip boundaries. Cartesian interval coverage gives the straight-region area directly; only the two symmetric pairs of outer corners require circular-segment corrections. This is equivalent to clipping every compartment separately.
Filament and time
Horizontal material sections are integrated with interval breaks at every foot, floor, feature, lip and skin transition. Constant sections are integrated exactly; varying sections retain the selected slice density. Slic3r's semicircular-ended bead model gives line spacing and area . The perimeter shell depth is . A 2D inset by that depth estimates the infill core. Changes in the inset area within the top/bottom skin thickness estimate solid skins. The three integrated regions are normalized to the CAD volume, then infill fraction fills only the remaining core: . Density gives printed mass; the waste fraction increases spool usage and cost, not bin weight. Filament length assumes 1.75 mm filament.
For each extrusion category, flow is the smaller of bead area × speed and the entered flow limit. Time sums volume/flow, adds layer overhead, respects the minimum layer time averaged over the print, and adds setup time. The number of layers is the ceiling of overall height/layer height.
Loads and packing
Floor load is contents mass × gravity; average pressure uses the nominal internal floor area. Stack load is the weight of the entered number of identical loaded bins above. Magnet pull is magnet count × rated pull × effective fraction. Weight includes the printed polymer and 0.43 g per installed magnet. Cuboid packing tests six orientations after intersecting every compartment with one global clear envelope. That envelope reserves the full scoop and shelf depth across every affected row, and clears the rounded corners and lip. Mesh-intersection checks verify that the proposed boxes do not overlap the actual bin.
Height comparisons
The reference height depends only on geometry and print settings, never the selected height. Independent calculations are used until the combined bottom-feature height, top-feature depth and two skin thicknesses are separated. Above that threshold, shell and core sections extend linearly from the fixed reference, with CAD-volume normalization at each height. The unchanged feet and floor volume are reused. All 14 chart heights are checked against direct bin selection and full section integration.
Assumptions
- Height units include the feet and floor but exclude the lip. The chart starts at 3 units. Shorter-height feature and skin interactions are integrated separately; taller bins extend the same straight section from a fixed reference.
- The bin prints upright with its feet on the bed. Pockets are empty in the export; the section shows installed magnets in grey. There are four identical, correctly polarized magnets per enabled cell.
- PLA and PETG densities are the named Prusament data-sheet values (2021 edition, p. 2), not universal values for every colour or brand.
- The 7.26 N nominal magnet pull and 0.43 g mass come from supermagnete S-06-02-N. The default 0.30 effective pull fraction is a user-adjustable assumption, not a measured gap correction.
- Contents load is uniform. Every upper bin has this bin's polymer mass, magnet count and contents mass. Screws, labels and glue add no mass in the estimate.
- Packing allows independent orthogonal orientation in each compartment and excludes curved and obstructed edge strips. Enter the full envelope of the part, including protrusions.
Where it applies
This is a geometric generator and a slicer-style estimate, not a toolpath generator or a structural strength calculation. Loads do not establish a load limit. Creep, layer adhesion, local contact stresses, buckling, drops, vibration and temperature are outside the model. Magnet ratios describe normal pull against steel; they do not cover shear, peeling, glue failure, baseplate retention or lifting.
The stacking lip uses a flat 0.6 mm tip in place of the reference's rounded sharp tip. Print a fit sample: elephant's foot, shrinkage, hole compensation and warping are printer-dependent. The nominal 3 mm holes are blind pilot holes, not guaranteed clearance or tapped threads. Magnet and screw recess ceilings require the same short bridges used by conventional Gridfinity prints. Shelf and lip supports stay at 45° or steeper; no supports are otherwise intended.
Filament integration uses 240 nominal slices by default, split further at geometric transitions; doubling resolution changes the default mass by less than 0.01%. The inset core near foot holes approximates clipped hole overlaps and shell-to-skin allocation. Normalization preserves total CAD volume, but neither infill patterns, local adaptive wall widths nor top-surface toolpaths are reproduced. Expect slicer-dependent differences, particularly with thick walls, sparse infill or very small bins. Print time omits acceleration, jerk, first-layer speed, exact travel, retractions, brim/support and machine-specific cooling; minimum layer time is applied to the print's average, so mixed short and long layers can take longer. Calibrate speeds and layer overhead against a known print.
Extruded rounded outlines have 24 segments per quadrant by default. Conical corners and cylindrical holes use the library's fixed 72-sided circles (maximum chord sag below 0.004 mm for the standard holes). Height charts integrate automatically shortened or interacting features independently, then extend the straight section only after bottom and top features plus their skin regions are separated. The chart is independent of the selected height.
The defaults take about 2 seconds on the build machine. Tested 6 × 6-cell, 64-compartment cases at 960 integration slices and 72 arc segments complete within the 30-second engine limit; a combined large-feature, thick-skin case took about 12 seconds. On slower hardware, reduce integration slices to 240 or arc segments to 24 if necessary. That reduces numerical or mesh resolution, not the modeled geometry or feature set.
The published reference cases verify dimensional constants and filament densities; there is no independent measured print-time or strength validation.
References
- Gridfinity by Zack Freedman, original release and MIT licensing, via the community site: https://gridfinity.xyz/ and https://www.youtube.com/watch?v=ra_9zU-mnl8
- Gridfinity community design reference (willtree8, draft): https://gridfinity.xyz/specification/ ; specification repository: https://github.com/gridfinity-unofficial/specification
- Gridfinity Rebuilt, MIT, dimensional constants, retrieved 2026-11-11: https://github.com/kennetek/gridfinity-rebuilt-openscad/blob/main/src/core/standard.scad
- Prusament PLA technical data sheet, 2021, p. 2, density 1.24 g/cm³: https://prusament.com/wp-content/uploads/2022/10/PLA_Prusament_TDS_2021_10_EN.pdf
- Prusament PETG technical data sheet, 2021, p. 2, density 1.27 g/cm³: https://prusament.com/wp-content/uploads/2022/10/PETG_Prusament_TDS_2021_10_EN.pdf
- supermagnete S-06-02-N, Ø6 × 2 mm N45 magnet, rated pull 7.26 N and mass 0.43 g (retrieved 2026-11-11): https://www.supermagnete.de/eng/disc-magnets-neodymium/disc-magnet-6mm-2mm_S-06-02-N
- Slic3r Flow Math, bead cross-section and line spacing: https://manual.slic3r.org/advanced/flow-math ; PrusaSlicer worked two-perimeter example: https://help.prusa3d.com/article/layers-and-perimeters_1748
Inputs
| Input | Symbol | Unit | Default |
|---|---|---|---|
| Cells wide | nx | 2 | |
| Cells deep | ny | 2 | |
| Height units Each unit is 7 mm to the nominal rim; the stacking lip adds 3.8 mm. | height_u | 6 | |
| Dividers across width | div_x | 1 | |
| Dividers across depth | div_y | 0 | |
| Wall and divider thickness | wall_t | mm | 1.2 |
| Floor above feet Measured above the 4.75 mm foot profile. | floor_t | mm | 2.25 |
| Stacking lip | lip | true | |
| Magnet pockets | magnets | true | |
| M3 pilot holes | screws | false | |
| Front scoop | scoop | true | |
| Scoop radius Reduced automatically in shallow bins. | scoop_r | mm | 6 |
| Rear label shelf | label_tab | true | |
| Label shelf depth A 45° underside supports the shelf; depth reduces in shallow bins. | tab_d | mm | 8 |
| Filament | material | Prusament PLA | |
| Filament price (your currency) | price | 1/kg | 25 |
| Purge and waste fraction | waste | 0.03 | |
| Part bounding length | part_a | mm | 10 |
| Part bounding width | part_b | mm | 8 |
| Part bounding height Six orthogonal orientations are tested inside conservative clear boxes. | part_c | mm | 5 |
| Contents mass | payload | kg | 0.5 |
| Loaded bins above Each upper bin is assumed identical and carries the same contents mass. | bins_above | 2 | |
| Rated pull per magnet Default: S-06-02-N against steel; use your supplier's pull value. | mag_pull | N | 7.26 |
| Effective pull fraction Account for recess, glue, air gaps, steel thickness and imperfect contact. | mag_factor | 0.3 | |
| Nozzle diameter | nozzle | mm | 0.4 |
| Layer height | layer_h | mm | 0.2 |
| Extrusion width | line_w | mm | 0.45 |
| Perimeters | perimeters | 3 | |
| Top and bottom layers | skins | 4 | |
| Infill fraction | infill | 0.15 | |
| Perimeter speed | v_wall | mm/s | 45 |
| Infill speed | v_fill | mm/s | 80 |
| Solid skin speed | v_skin | mm/s | 35 |
| Volumetric flow limit | flow_max | mm^3/s | 12 |
| Travel and layer overhead Seconds per layer for travel, retractions and layer changes. | layer_delay | s | 3 |
| Warm-up and setup | start_min | min | 5 |
| Minimum layer time | min_layer | s | 5 |
| Arc segments per quadrant Extruded outlines use this resolution; conical corners and round holes use 72 sides. | arc_n | 24 | |
| Integration slices Increase to check capacity and print-volume convergence. | quad_n | 240 |
Results
With the default inputs above, the calc gives:
| Result | Value |
|---|---|
| Outside width | 83.5 mm |
| Outside depth | 83.5 mm |
| Overall height | 45.8 mm |
| Capacity below nominal rim | 222.06 mL |
| Box-packed parts, conservative | 336 |
| Stored part envelope volume | 0.4 mL |
| Compartments | 2 |
| CAD part volume | 65,520 mm³ |
| Mass if printed solid | 81.24 g |
| Printed bin mass | 52.12 g |
| Filament including waste | 53.68 g |
| Filament length including waste | 18 m |
| Filament cost (your currency) | 1.34 |
| Estimated print time | 3.57 h |
| Layers | 229 |
| Installed magnets | 16 |
| Contents load on floor | 4.9 N |
| Average floor pressure | 0.75 kPa |
| Load from bins above | 10.96 N |
| Effective total magnet pull | 34.85 N |
| Pull / empty bin weight | 60.23 |
| Pull / loaded bin weight | 6.36 |

Responses