add makefile
This commit is contained in:
parent
1ff34e4b70
commit
5017dc589c
6 changed files with 21 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -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
7
Makefile
Normal 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
|
||||
|
|
@ -1,7 +1,11 @@
|
|||
CAD files for noisy cricket
|
||||
===========================
|
||||
|
||||
case and plate
|
||||
Create lower case and plate files by running:
|
||||
|
||||
```shell
|
||||
make render
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
|
||||
include <util.scad>
|
||||
|
||||
$fn = 64;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
|
||||
|
||||
include <util.scad>
|
||||
|
||||
$fn = 64;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue