From 94fae370b5c7e265026a33ad5568f15caf69ecd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rostislav=20L=C3=A1n?= Date: Fri, 28 Apr 2023 20:02:54 +0200 Subject: [PATCH] Updated testing script to allow for mapping mode to be used. --- src/test.sh | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/test.sh b/src/test.sh index 8ad7fbd..70b766b 100644 --- a/src/test.sh +++ b/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() {