aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: c64f62fa9099f38dc46fdf4b05fda030ca606ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# oscad-gridfinity

[GridFinity](https://gridfinity.xyz/) implementation for [OpenSCAD](https://openscad.org/)

![Bottom View](img/bottom.png)

Create fully parameterized Templates for GridFinity.

`gridfinity(<x>, <y>, <z>, lip=<>, magnets=<>);`

* **x, y** Vertical size in *GridFinity* units
* **z** Height in GridFinity units (`z * 7mm`). This in excluding the base and stacking lip.
* **lip** `true/false` Sets wether to put a stacking lip on top. Only works with z >= 1.
* **magnets** `true/false` Sets wether to put holes for magnets in the base.

## Example

```scad
use <gridfinity.scad>

gridfinity(2, 1, 2, lip=true, magnets=false);
```

## License

Licensed under the MIT License. Consult `LICENSE`.