ENH: add setting of extruder type

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic126466f6b579dd6a55a1ba16a63c015d538c750
This commit is contained in:
salt.wei 2023-06-25 16:19:22 +08:00 committed by Lane.Wei
parent 66bb5bc4b6
commit c5d70a846e
16 changed files with 64 additions and 3 deletions

View file

@ -212,6 +212,12 @@ enum ZHopType {
zhtCount
};
// BBS
enum ExtruderType {
etDirectDrive = 0,
etBowden
};
static std::string bed_type_to_gcode_string(const BedType type)
{
std::string type_str;
@ -864,6 +870,7 @@ PRINT_CONFIG_CLASS_DEFINE(
((ConfigOptionBool, auxiliary_fan))
((ConfigOptionBool, accel_to_decel_enable))
((ConfigOptionPercent, accel_to_decel_factor))
((ConfigOptionEnumsGeneric, extruder_type))
)
// This object is mapped to Perl as Slic3r::Config::Print.