blob: d3326c7ff9c97c3fc7f5299c94b7b0ce39e93295 (
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
27
28
29
30
31
32
33
34
35
|
# 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);
```
## Building
STLs and PNGs can be built with GNU make by just running
`make stl` and `make png`
respectively.
T build a single object, use the desired file as a target:
`make example.stl`
## License
Licensed under the MIT License. Consult `LICENSE`.
|