Feature: Add experimental high precision G-code export (#16568)

This commit is contained in:
Valerii Bokhan authored and GitHub committed 2026-10-25 16:29:13 -03:00
1 parent 51dfa8fe7a
commit 887a8f1806
25 files changed
+620 -87

No files matched your search

+2
View File
@@ -3827,6 +3827,8 @@ DynamicConfig GCodeProcessor::export_config_for_render() const
config.set_key_value("filament_is_support", new ConfigOptionBools(m_parser.get_config().filament_is_support.values));
config.set_key_value("filament_type", new ConfigOptionStrings(m_parser.get_config().filament_type.values));
config.set_key_value("filament_map", new ConfigOptionInts(m_parser.get_config().filament_map.values));
// The tool position readout shows coordinates with the precision the file was exported with.
config.set_key_value("high_precision_gcode", new ConfigOptionBool(m_parser.get_config().high_precision_gcode.value));
// += clones the options; apply() would need a definition this config does not have.
config += m_belt_render_config;
return config;