[TD]add preference methods for Projection Group

This commit is contained in:
wandererfan
2024-09-28 10:35:10 -04:00
parent 6e2cd4e733
commit 9f334539ff
2 changed files with 18 additions and 0 deletions

View File

@@ -155,6 +155,21 @@ int Preferences::projectionAngle()
return getPreferenceGroup("General")->GetInt("ProjectionAngle", 0); //First Angle
}
bool Preferences::groupAutoDistribute()
{
return getPreferenceGroup("General")->GetBool("AutoDist", true);
}
double Preferences::groupSpaceX()
{
return getPreferenceGroup("General")->GetFloat("GroupSpaceX", 15.0);
}
double Preferences::groupSpaceY()
{
return getPreferenceGroup("General")->GetFloat("GroupSpaceY", 15.0);
}
int Preferences::lineGroup()
{
return getPreferenceGroup("Decorations")->GetInt("LineGroup", 3); // FC 0.70mm