Updated testing script to allow for mapping mode to be used.
This commit is contained in:
21
src/test.sh
21
src/test.sh
@ -9,36 +9,39 @@ source .venv/bin/activate
|
||||
#----------------------------Configuration------------------------------#
|
||||
|
||||
# place all image files to one folder
|
||||
input_path=res/test/Jenetrics/leva
|
||||
input_path=res/test
|
||||
|
||||
# !!!!!!!!!!!!!!!!!!
|
||||
# this is very important, run this on directories containing files with the same dpi
|
||||
dpi=600
|
||||
dpi=500
|
||||
# !!!!!!!!!!!!!!!!!!
|
||||
|
||||
# recommend png, it's supported by opencv
|
||||
format=png
|
||||
format=tif
|
||||
|
||||
# name of configuration file
|
||||
config_file=conf/conf.json
|
||||
|
||||
# name of preset in conf. file
|
||||
#presets=("strong" "test-weak" "test-repeat" "test-strong")
|
||||
presets=("ridge")
|
||||
|
||||
# generate stl files and set generation mode {"planar", "curved", "mapped"}
|
||||
generate_stl=true
|
||||
generate_stl_mode="curved"
|
||||
generate_stl=false
|
||||
generate_stl_mode="planar"
|
||||
|
||||
# in 1/10 of milimeters
|
||||
height_line=2.5
|
||||
height_base=6
|
||||
height_base=2
|
||||
|
||||
curv_x=1.3
|
||||
curv_y=3
|
||||
|
||||
#----------------------------Application---------------------------#
|
||||
iteration=1
|
||||
finger_x=0
|
||||
finger_y=0
|
||||
finger_z=0
|
||||
|
||||
# TODO: check if file will overwrite the original, print warning if that's the case
|
||||
#----------------------------Application---------------------------#
|
||||
|
||||
# function to apply filter to all files in directory
|
||||
apply_filter() {
|
||||
|
Reference in New Issue
Block a user