diff --git a/Makefile b/Makefile index 0caa1ea..bd78b29 100644 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index 9921446..df6c904 100644 --- a/README.md +++ b/README.md @@ -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 + +![front view](readme_files/pinephone_front_case_with_phone.png) +![side view](readme_files/pinephone_side_case_with_phone.png) +![back view](readme_files/pinephone_back_case_with_phone.png) + ## Prerequisites - run `nix develop` to enter a dev environment. - or manually install these dependencies: diff --git a/readme_files/pinephone_back_case_with_phone.png b/readme_files/pinephone_back_case_with_phone.png new file mode 100644 index 0000000..5dc9822 Binary files /dev/null and b/readme_files/pinephone_back_case_with_phone.png differ diff --git a/readme_files/pinephone_front_case_with_phone.png b/readme_files/pinephone_front_case_with_phone.png new file mode 100644 index 0000000..e466a24 Binary files /dev/null and b/readme_files/pinephone_front_case_with_phone.png differ diff --git a/readme_files/pinephone_side_case_with_phone.png b/readme_files/pinephone_side_case_with_phone.png new file mode 100644 index 0000000..8479cb8 Binary files /dev/null and b/readme_files/pinephone_side_case_with_phone.png differ