✨ virtual printer: Support generating M115 area report (#4799)
* Handles M115 GEOMETRY capability report * No need to use a separate format string... * Origin has no effect on machine height... * ♻️ virtual: refactor area report Now depends on a single config setting `m115ReportArea`. If true, the virtual printer will generate an area report from the current printer profile and include it in the M115 reponse. Ships as false by default. --------- Co-authored-by: Gina Häußge <gina@octoprint.org>
This commit is contained in:
1 parent
ea28a4d902
commit
67719d98b3
3 files changed
+94
-3
No files matched your search
@@ -198,11 +198,20 @@ There many configuration options via ``config.yaml`` for the virtual printer tha
|
||||
m115FormatString: "FIRMWARE_NAME: {firmware_name} PROTOCOL_VERSION:1.0"
|
||||
|
||||
# Whether to include capability report in M115 output
|
||||
m115ReportCapabilites: false
|
||||
m115ReportCapabilities: true
|
||||
|
||||
# Capabilities to report if capability report is enabled
|
||||
capabilities:
|
||||
AUTOREPORT_TEMP: true
|
||||
AUTOREPORT_TEMP: true
|
||||
AUTOREPORT_SD_STATUS: true
|
||||
AUTOREPORT_POS: false
|
||||
EMERGENCY_PARSER: true
|
||||
EXTENDED_M20: false
|
||||
LFN_WRITE: false
|
||||
|
||||
# Whether to include area report in the M115 output (M115_GEOMETRY_REPORT in Marlin)
|
||||
m115ReportArea: false
|
||||
|
||||
# Simulated ambient temperature in °C
|
||||
ambientTemperature: 21.3
|
||||
|
||||
Reference in new issue
Block a user