Update all files and re-run render process with new scad.sh
This commit is contained in:
parent
8597eb449f
commit
b7ae081c77
18
Makefile
18
Makefile
|
@ -1,18 +0,0 @@
|
|||
|
||||
SRC=scad/bolex_base_plate.scad
|
||||
IM=convert
|
||||
OPENSCAD=openscad
|
||||
OPENSCAD_OPTIONS=--enable manifold -D VERBOSE=false --export-format=asciistl
|
||||
THEME=DeepOcean
|
||||
OPENSCAD_IMAGE=--enable manifold --viewall --render --imgsize=512,512 --colorscheme=$(THEME)
|
||||
ORDER_STL=python3 scad/common/c14n_stl.py
|
||||
|
||||
all: bolex_base_plate
|
||||
|
||||
bolex_base_plate : $(SRC)
|
||||
echo "Generating $@.stl from $(SRC)..."
|
||||
$(OPENSCAD) $(OPENSCAD_OPTIONS) -o stl/$@.stl -D PART=\"$@\" $(SRC)
|
||||
$(ORDER_STL) stl/$@.stl
|
||||
$(OPENSCAD) $(OPENSCAD_IMAGE) -o img/$@.png -D PART=\"$@\" $(SRC)
|
||||
$(IM) img/$@.png img/$@.jpg
|
||||
rm img/$@.png
|
|
@ -4,3 +4,7 @@ Creates a flat bottom plate for "round bottom" Bolexes.
|
|||
Has mounting holes for rails and additional holes for side-mounted accessories.
|
||||
|
||||

|
||||
|
||||
## Development
|
||||
|
||||
Generate all files by running the `scad.sh` script in the source directory or open the files in [OpenSCAD](https://openscad.org/).
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
16
meta.json
16
meta.json
|
@ -1,21 +1,27 @@
|
|||
{
|
||||
"camera" : {
|
||||
"x" : -110,
|
||||
"y" : 110,
|
||||
"z" : 0
|
||||
},
|
||||
"objects" : [
|
||||
{
|
||||
"name" : "bolex_base_plate",
|
||||
"material" : "black_plastic",
|
||||
"rotation" : {
|
||||
"x" : 0,
|
||||
"y" : 0,
|
||||
"z" : 180
|
||||
"x" : -150,
|
||||
"y" : 150,
|
||||
"z" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"src" : [
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"Makefile",
|
||||
"scad.sh",
|
||||
"scad/bolex_base_plate.scad",
|
||||
"scad/common/common.scad",
|
||||
"scad/common/c14n_stl.py"
|
||||
"scad/common/c14n_stl.py",
|
||||
"scad/common/scad.sh"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
bash scad/common/scad.sh scad/bolex_base_plate.scad
|
|
@ -1 +1 @@
|
|||
Subproject commit 53f4dd4a2d6dd038c1beb97f8ae721ec5905a43b
|
||||
Subproject commit 68cc58418d106fa455019e7bc771fe48fd586bc1
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue