OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
anonymous_namespace{DeviceManager.cpp} Namespace Reference

Functions

const std::unordered_set< std::string > * pick_stringing_set (float nozzle_diameter)

Variables

const std::unordered_set< std::string > g_stringing_prone_for_0_4
const std::unordered_set< std::string > g_stringing_prone_for_0_6_0_8

Function Documentation

◆ pick_stringing_set()

const std::unordered_set< std::string > * anonymous_namespace{DeviceManager.cpp}::pick_stringing_set ( float nozzle_diameter)
159{
160 if (!(nozzle_diameter > 0.f)) return nullptr;
161 if (nozzle_diameter < 0.3f) return nullptr; // 0.2 nozzle: empty
162 if (nozzle_diameter < 0.5f) return &g_stringing_prone_for_0_4;
163 return &g_stringing_prone_for_0_6_0_8; // 0.6 / 0.8 nozzles
164}
const std::unordered_set< std::string > g_stringing_prone_for_0_4
Definition DeviceManager.cpp:143
const std::unordered_set< std::string > g_stringing_prone_for_0_6_0_8
Definition DeviceManager.cpp:151

References g_stringing_prone_for_0_4, g_stringing_prone_for_0_6_0_8, and pick_stringing_set().

Referenced by Slic3r::is_stringing_prone_filament(), and pick_stringing_set().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_stringing_prone_for_0_4

const std::unordered_set<std::string> anonymous_namespace{DeviceManager.cpp}::g_stringing_prone_for_0_4
Initial value:
= {
"GFA11",
"GFU90",
"GFU00",
"GFU02",
"GFU98",
}
143 {
144 "GFA11", // PLA Aero
145 "GFU90", // TPU 90A
146 "GFU00", // TPU 95A HF
147 "GFU02", // Generic TPU for AMS
148 "GFU98", // TPU for AMS
149};

Referenced by pick_stringing_set().

◆ g_stringing_prone_for_0_6_0_8

const std::unordered_set<std::string> anonymous_namespace{DeviceManager.cpp}::g_stringing_prone_for_0_6_0_8
Initial value:
= {
"GFA11",
"GFU00",
}
151 {
152 "GFA11", // PLA Aero
153 "GFU00", // TPU 95A HF
154};

Referenced by pick_stringing_set().