mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 20:25:54 +08:00
Move Extruder decimals from extruder to printer
supermerill/SuperSlicer#1596
This commit is contained in:
parent
64937e2380
commit
344c821382
@ -39,5 +39,3 @@ group:Retraction when tool is disabled (advanced settings for multi-extruder set
|
|||||||
setting:idx:retract_restart_extra_toolchange
|
setting:idx:retract_restart_extra_toolchange
|
||||||
group:Preview
|
group:Preview
|
||||||
reset_to_filament_color
|
reset_to_filament_color
|
||||||
group:Gcode
|
|
||||||
setting:gcode_precision_e
|
|
@ -13,7 +13,7 @@
|
|||||||
#define XYZ_NUM(val) PRECISION(val, this->config.gcode_precision_xyz.value)
|
#define XYZ_NUM(val) PRECISION(val, this->config.gcode_precision_xyz.value)
|
||||||
#define FLOAT_PRECISION(val, precision) std::defaultfloat << std::setprecision(precision) << (val)
|
#define FLOAT_PRECISION(val, precision) std::defaultfloat << std::setprecision(precision) << (val)
|
||||||
#define F_NUM(val) FLOAT_PRECISION(val, 8)
|
#define F_NUM(val) FLOAT_PRECISION(val, 8)
|
||||||
#define E_NUM(val) PRECISION(val, this->config.gcode_precision_e.get_at(m_tool->id()))
|
#define E_NUM(val) PRECISION(val, this->config.gcode_precision_e.value)
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
|
@ -4685,7 +4685,6 @@ void PrintConfigDef::init_extruder_option_keys()
|
|||||||
"extruder_offset",
|
"extruder_offset",
|
||||||
"extruder_fan_offset",
|
"extruder_fan_offset",
|
||||||
"extruder_temperature_offset",
|
"extruder_temperature_offset",
|
||||||
"gcode_precision_e",
|
|
||||||
"tool_name",
|
"tool_name",
|
||||||
"retract_length",
|
"retract_length",
|
||||||
"retract_lift",
|
"retract_lift",
|
||||||
|
@ -1097,7 +1097,7 @@ public:
|
|||||||
ConfigOptionEnum<GCodeFlavor> gcode_flavor;
|
ConfigOptionEnum<GCodeFlavor> gcode_flavor;
|
||||||
ConfigOptionBool gcode_label_objects;
|
ConfigOptionBool gcode_label_objects;
|
||||||
ConfigOptionInt gcode_precision_xyz;
|
ConfigOptionInt gcode_precision_xyz;
|
||||||
ConfigOptionInts gcode_precision_e;
|
ConfigOptionInt gcode_precision_e;
|
||||||
ConfigOptionString layer_gcode;
|
ConfigOptionString layer_gcode;
|
||||||
ConfigOptionString feature_gcode;
|
ConfigOptionString feature_gcode;
|
||||||
ConfigOptionFloat max_gcode_per_second;
|
ConfigOptionFloat max_gcode_per_second;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user