Changeset View
Changeset View
Standalone View
Standalone View
src/core/atcore.h
Show First 20 Lines • Show All 376 Lines • ▼ Show 20 Line(s) | 306 | public slots: | |||
---|---|---|---|---|---|
377 | Q_INVOKABLE void setExtruderTemp(uint temp = 0, uint extruder = 0, bool andWait = false); | 377 | Q_INVOKABLE void setExtruderTemp(uint temp = 0, uint extruder = 0, bool andWait = false); | ||
378 | 378 | | |||
379 | /** | 379 | /** | ||
380 | * @brief move an axis of the printer | 380 | * @brief move an axis of the printer | ||
381 | * @param axis the axis to move AXES (X Y Z E ) | 381 | * @param axis the axis to move AXES (X Y Z E ) | ||
382 | * @param arg the distance to move the axis or the place to move to depending on printer mode | 382 | * @param arg the distance to move the axis or the place to move to depending on printer mode | ||
383 | * @sa home(), home(uchar axis), move(QLatin1Char axis, int arg) | 383 | * @sa home(), home(uchar axis), move(QLatin1Char axis, int arg) | ||
384 | */ | 384 | */ | ||
385 | Q_INVOKABLE void move(AtCore::AXES axis, int arg); | 385 | Q_INVOKABLE void move(AtCore::AXES axis, double arg); | ||
386 | 386 | | |||
387 | /** | 387 | /** | ||
388 | * @brief move an axis of the printer | 388 | * @brief move an axis of the printer | ||
389 | * @param axis the axis to move AXES (X Y Z E ) | 389 | * @param axis the axis to move AXES (X Y Z E ) | ||
390 | * @param arg the distance to move the axis or the place to move to depending on printer mode | 390 | * @param arg the distance to move the axis or the place to move to depending on printer mode | ||
391 | * @sa home(), home(uchar axis), move(AtCore::AXES, int arg) | 391 | * @sa home(), home(uchar axis), move(AtCore::AXES, int arg) | ||
392 | */ | 392 | */ | ||
393 | Q_INVOKABLE void move(QLatin1Char axis, int arg); | 393 | Q_INVOKABLE void move(QLatin1Char axis, double arg); | ||
394 | 394 | | |||
395 | /** | 395 | /** | ||
396 | * @brief Set the bed temperature | 396 | * @brief Set the bed temperature | ||
397 | * @param temp : new temperature | 397 | * @param temp : new temperature | ||
398 | * @param andWait: True for heat and ignore commands until temperature is reached | 398 | * @param andWait: True for heat and ignore commands until temperature is reached | ||
399 | * @sa setExtruderTemp() | 399 | * @sa setExtruderTemp() | ||
400 | */ | 400 | */ | ||
401 | Q_INVOKABLE void setBedTemp(uint temp = 0, bool andWait = false); | 401 | Q_INVOKABLE void setBedTemp(uint temp = 0, bool andWait = false); | ||
▲ Show 20 Lines • Show All 190 Lines • Show Last 20 Lines |