ENH: restrict the input range of z-hop

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Ieca161bc7a52d6554efca5c0474d2a2fafb2da3c
This commit is contained in:
xun.zhang 2023-08-01 15:47:54 +08:00 committed by Lane.Wei
parent a02f700c5d
commit 7c2c057f19

View file

@ -2407,6 +2407,8 @@ void PrintConfigDef::init_fff_params()
"Using spiral line to lift z can prevent stringing");
def->sidetext = L("mm");
def->mode = comSimple;
def->min = 0;
def->max = 5;
def->set_default_value(new ConfigOptionFloats { 0.4 });
def = this->add("z_hop_types", coEnums);