add makefile

This commit is contained in:
Ricardo (XenGi) Band 2023-05-14 00:09:22 +02:00
commit 5017dc589c
No known key found for this signature in database
6 changed files with 21 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,3 +1,6 @@
*.stl
*.3mf
# Created by https://www.toptal.com/developers/gitignore/api/linux,windows,macos,vim
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,windows,macos,vim

7
Makefile Normal file
View file

@ -0,0 +1,7 @@
.PHONY: render
render:
openscad --export-format binstl -o lower_case.stl lower_case.scad
openscad --export-format 3mf -o lower_case.3mf lower_case.scad
openscad --export-format binstl -o plate.stl plate.scad
openscad --export-format 3mf -o plate.3mf plate.scad

View file

@ -1,7 +1,11 @@
CAD files for noisy cricket
===========================
case and plate
Create lower case and plate files by running:
```shell
make render
```
---

View file

@ -1,3 +1,5 @@
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
include <util.scad>
$fn = 64;

View file

@ -1,3 +1,5 @@
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
include <util.scad>
$fn = 64;

View file

@ -1,3 +1,5 @@
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
pcb_width = 139.7;
pcb_depth = 82.55;
pcb_radius = 3.175;