readme: add case renderings
This commit is contained in:
11
Makefile
11
Makefile
@@ -81,11 +81,16 @@ build/web-viewer/index.html: doc.in/index.html build/web-viewer/vtk.js build/web
|
||||
mkdir -p build/web-viewer
|
||||
cp $< $@
|
||||
|
||||
%.png: cq_toplevel.py src/*.py
|
||||
%_case.png: cq_toplevel.py src/*.py
|
||||
mkdir -p "$(@D)"
|
||||
./cq_toplevel.py --export-png $@
|
||||
%_case_with_phone.png: cq_toplevel.py src/*.py
|
||||
mkdir -p "$(@D)"
|
||||
./cq_toplevel.py --render-phone --export-png $@
|
||||
|
||||
doc: build/web-viewer/index.html build/images/pinephone_case.png
|
||||
readme: readme_files/pinephone_front_case_with_phone.png readme_files/pinephone_back_case_with_phone.png readme_files/pinephone_side_case_with_phone.png
|
||||
|
||||
doc: readme build/web-viewer/index.html
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
@@ -98,5 +103,5 @@ build/case.stl: cq_toplevel.py src/*.py
|
||||
mkdir -p $(shell dirname $@)
|
||||
slic3r $(SLIC3R_FLAGS) $< -o $@
|
||||
|
||||
.PHONY: all install clean
|
||||
.PHONY: all install readme doc clean
|
||||
|
||||
|
@@ -4,6 +4,12 @@ this first model.
|
||||
|
||||
status: case is usable, but the print is rough and requires a good deal of manual cleaning due to aggressive fillets/overhangs.
|
||||
|
||||
## Images
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
## Prerequisites
|
||||
- run `nix develop` to enter a dev environment.
|
||||
- or manually install these dependencies:
|
||||
|
BIN
readme_files/pinephone_back_case_with_phone.png
Normal file
BIN
readme_files/pinephone_back_case_with_phone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 KiB |
BIN
readme_files/pinephone_front_case_with_phone.png
Normal file
BIN
readme_files/pinephone_front_case_with_phone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 88 KiB |
BIN
readme_files/pinephone_side_case_with_phone.png
Normal file
BIN
readme_files/pinephone_side_case_with_phone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
Reference in New Issue
Block a user