Add filament property

This commit is contained in:
QIDI TECH
2023-06-23 20:16:22 +08:00
parent 3b05bd17f2
commit 33af4b520d
9 changed files with 398 additions and 9 deletions

View File

@@ -135,7 +135,11 @@ enum class PerimeterGeneratorType
};
//B3
enum class GCodeThumbnailsFormat {
QIDI,PNG, JPG, QOI
QIDI, PNG, JPG, QOI
};
//Y7
enum class WaterResistance {
None, Weak, Fine, Strong
};
#define CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(NAME) \
@@ -163,6 +167,8 @@ CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(DraftShield)
CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(GCodeThumbnailsFormat)
CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(ForwardCompatibilitySubstitutionRule)
CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(PerimeterGeneratorType)
//Y7
CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(WaterResistance)
#undef CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS
@@ -789,6 +795,21 @@ PRINT_CONFIG_CLASS_DERIVED_DEFINE(
((ConfigOptionFloatOrPercent, first_layer_height))
((ConfigOptionFloatOrPercent, first_layer_speed))
((ConfigOptionInts, first_layer_temperature))
//Y7
((ConfigOptionIntsNullable, filament_property_drying_box))
((ConfigOptionIntsNullable, filament_property_anneal_temperature))
((ConfigOptionEnum<WaterResistance>, filament_property_water_resistance))
((ConfigOptionEnum<WaterResistance>, filament_property_corrosion_resistance))
((ConfigOptionEnum<WaterResistance>, filament_property_creep_resistance))
((ConfigOptionFloats, filament_property_hdt_045))
((ConfigOptionFloats, filament_property_hdt_180))
((ConfigOptionStrings, filament_property_tensile_strength))
((ConfigOptionStrings, filament_property_tensile_modulus))
((ConfigOptionStrings, filament_property_elongation_at_break))
((ConfigOptionStrings, filament_property_flexural_strength))
((ConfigOptionStrings, filament_property_flexural_modulus))
((ConfigOptionStrings, filament_property_notch_impact_strength))
((ConfigOptionIntsNullable, idle_temperature))
//B26
((ConfigOptionBools, enable_advance_pressure))