diff options
Diffstat (limited to 'src/Movement/Kinematics/Kinematics.cpp')
-rw-r--r-- | src/Movement/Kinematics/Kinematics.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Movement/Kinematics/Kinematics.cpp b/src/Movement/Kinematics/Kinematics.cpp index e2ebdc71..6ccc5f9d 100644 --- a/src/Movement/Kinematics/Kinematics.cpp +++ b/src/Movement/Kinematics/Kinematics.cpp @@ -238,18 +238,35 @@ void Kinematics::LimitSpeedAndAcceleration(DDA& dda, const float *normalisedDire case KinematicsType::markForged: return new CoreKinematics(k); +#if SUPPORT_LINEAR_DELTA case KinematicsType::linearDelta: return new LinearDeltaKinematics(); +#endif + +#if SUPPORT_SCARA case KinematicsType::scara: return new ScaraKinematics(); +#endif + +#if SUPPORT_HANGPRINTER case KinematicsType::hangprinter: return new HangprinterKinematics(); +#endif + +#if SUPPORT_POLAR case KinematicsType::polar: return new PolarKinematics(); +#endif + +#if SUPPORT_ROTARY_DELTA case KinematicsType::rotaryDelta: return new RotaryDeltaKinematics(); +#endif + +#if SUPPORT_FIVEBARSCARA case KinematicsType::fiveBarScara: return new FiveBarScaraKinematics(); +#endif } } |