Assembly: replace properties float by propertylength & propertyangle (#24403)

* Assembly: replace properties float by propertylength & propertyangle

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
PaddleStroke
2025-10-06 18:18:22 +02:00
committed by GitHub
parent 6817ec7a78
commit cb38761213
5 changed files with 245 additions and 89 deletions

View File

@@ -433,6 +433,11 @@ double getJointDistance(const App::DocumentObject* joint, const char* propertyNa
return prop->getValue();
}
double getJointAngle(const App::DocumentObject* joint)
{
return getJointDistance(joint, "Angle");
}
double getJointDistance(const App::DocumentObject* joint)
{
return getJointDistance(joint, "Distance");