makefile: tune slicer settings for elegoo printer
This commit is contained in:
18
Makefile
18
Makefile
@@ -71,6 +71,9 @@ SLIC3R_FLAGS=\
|
|||||||
# runs/data
|
# runs/data
|
||||||
# - defaults: print had entire walls, failed. e.g. volume box had no top.
|
# - defaults: print had entire walls, failed. e.g. volume box had no top.
|
||||||
# - defaults, ACF film: print succeeded, but some walls caved in during print.
|
# - defaults, ACF film: print succeeded, but some walls caved in during print.
|
||||||
|
# - Siraya recommended settings, ACF film: print succeeded, but some walls caved in during print.
|
||||||
|
# exposure=3, lift-distance=3, retract-speed=240, lift-speed=45
|
||||||
|
# - exposure=5, lift-distance=5, retract-speed=150: excellent print
|
||||||
#
|
#
|
||||||
# other resins:
|
# other resins:
|
||||||
# - Elegoo Standard Resin: prints excellent with default settings; zero flexibility, and BRITTLE.
|
# - Elegoo Standard Resin: prints excellent with default settings; zero flexibility, and BRITTLE.
|
||||||
@@ -78,17 +81,19 @@ SLIC3R_FLAGS=\
|
|||||||
# N.B. we rotate the model 90-degrees when slicing else it doesn't fit within print bounds.
|
# N.B. we rotate the model 90-degrees when slicing else it doesn't fit within print bounds.
|
||||||
MSLICER_FLAGS=\
|
MSLICER_FLAGS=\
|
||||||
--rotation 0,0,90 \
|
--rotation 0,0,90 \
|
||||||
|
--exposure-time 5 \
|
||||||
--first-layers 5 \
|
--first-layers 5 \
|
||||||
--transition-layers 5 \
|
--transition-layers 5 \
|
||||||
--lift-distance 3 \
|
--lift-distance 5 \
|
||||||
--lift-speed 45 \
|
--lift-speed 45 \
|
||||||
--retract-speed 240 \
|
--retract-speed 150 \
|
||||||
--first-lift-distance 3 \
|
--first-lift-distance 5 \
|
||||||
--first-lift-speed 45 \
|
--first-lift-speed 45 \
|
||||||
--first-retract-speed 240
|
--first-retract-speed 150
|
||||||
|
|
||||||
|
|
||||||
all: build/case.stl build/case.gcode build/case.sl1 build/case.ctb build/case.goo
|
# all: build/case.stl build/case.gcode build/case.sl1 build/case.ctb build/case.goo build/pinephone_case.png build/pinephone_case_with_phone.png
|
||||||
|
all: build/case.stl build/case.gcode build/case.sl1 build/case.goo build/pinephone_case.png build/pinephone_case_with_phone.png
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(SHAREDIR)
|
mkdir -p $(SHAREDIR)
|
||||||
@@ -139,7 +144,6 @@ build/case.stl: main.py src/*.py
|
|||||||
|
|
||||||
# .goo: for Gen 4+ Elegoo printers (requires `mslicer` package)
|
# .goo: for Gen 4+ Elegoo printers (requires `mslicer` package)
|
||||||
%.goo: %.stl
|
%.goo: %.stl
|
||||||
# XXX: slicer's --rotation argument is radians; it may change to degrees in the future.
|
|
||||||
slicer --mesh $< $(MSLICER_FLAGS) $@
|
slicer --mesh $< $(MSLICER_FLAGS) $@
|
||||||
|
|
||||||
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
|
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
|
||||||
@@ -147,7 +151,7 @@ readme: readme_files/pinephone_front_case_with_phone.png readme_files/pinephone_
|
|||||||
doc: readme build/web-viewer/index.html
|
doc: readme build/web-viewer/index.html
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf build
|
rm -rf build/*
|
||||||
|
|
||||||
upload: build/case.gcode
|
upload: build/case.gcode
|
||||||
lftp -e "set ssl:verify-certificate false; put $<; exit" -u ${PRINTER_AUTH} ftps://${PRINTER_HOST}
|
lftp -e "set ssl:verify-certificate false; put $<; exit" -u ${PRINTER_AUTH} ftps://${PRINTER_HOST}
|
||||||
|
Reference in New Issue
Block a user