mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: remove nozzle_hrc in params page and profiles
use std::map to map nozzle_type to nozzle_hrc Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ie9d1db486808bd5164c7952caecaf4ac279f43d8
This commit is contained in:
parent
0c45cac1a8
commit
793c657b46
18 changed files with 19 additions and 33 deletions
|
@ -192,7 +192,7 @@ namespace Slic3r {
|
|||
std::vector<std::pair<float, std::pair<size_t, size_t>>> spiral_vase_layers;
|
||||
//BBS
|
||||
std::vector<SliceWarning> warnings;
|
||||
int nozzle_hrc;
|
||||
NozzleType nozzle_type;
|
||||
BedType bed_type = BedType::btCount;
|
||||
#if ENABLE_GCODE_VIEWER_STATISTICS
|
||||
int64_t time{ 0 };
|
||||
|
@ -237,7 +237,7 @@ namespace Slic3r {
|
|||
static const std::vector<std::string> Reserved_Tags;
|
||||
static const std::string Flush_Start_Tag;
|
||||
static const std::string Flush_End_Tag;
|
||||
|
||||
static const std::map<NozzleType, int>Nozzle_Type_To_HRC;
|
||||
public:
|
||||
enum class ETags : unsigned char
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue