[TD]adjustable extension line gap

This commit is contained in:
Wanderer Fan
2022-04-25 12:32:50 -04:00
committed by WandererFan
parent 90d660260c
commit b6c20202cd
8 changed files with 307 additions and 181 deletions

View File

@@ -319,3 +319,21 @@ std::string Preferences::bitmapFill(void)
}
return result;
}
double Preferences::ISOGap()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->
GetGroup("Mod/TechDraw/Dimensions");
double factor = hGrp->GetFloat("ISOGap", 8.0);
return factor;
}
double Preferences::ASMEGap()
{
Base::Reference<ParameterGrp> hGrp = App::GetApplication().GetUserParameter()
.GetGroup("BaseApp")->GetGroup("Preferences")->
GetGroup("Mod/TechDraw/Dimensions");
double factor = hGrp->GetFloat("ASMEGap", 6.0);
return factor;
}