add top one wall

This commit is contained in:
Wang YB
2024-01-17 10:59:37 +08:00
parent abbe9d06df
commit eba6ab9ac1
9 changed files with 566 additions and 9 deletions

View File

@@ -144,6 +144,9 @@ enum class PerimeterGeneratorType
//B3
enum class GCodeThumbnailsFormat { QIDI,PNG, JPG, QOI };
//w16
enum class TopOneWallType { None, Alltop, Onlytopmost };
#define CONFIG_OPTION_ENUM_DECLARE_STATIC_MAPS(NAME) \
template<> const t_config_enum_names& ConfigOptionEnum<NAME>::get_enum_names(); \
template<> const t_config_enum_values& ConfigOptionEnum<NAME>::get_enum_values();
@@ -587,6 +590,8 @@ PRINT_CONFIG_CLASS_DEFINE(
((ConfigOptionBool, wipe_into_objects))
//w11
((ConfigOptionBool, detect_narrow_internal_solid_infill))
//w16
((ConfigOptionEnum<TopOneWallType>, top_one_wall_type))
)
PRINT_CONFIG_CLASS_DEFINE(