OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::anonymous_namespace{SLAPrintSteps.cpp} Namespace Reference

Functions

std::string OBJ_STEP_LABELS (size_t idx)
std::string PRINT_STEP_LABELS (size_t idx)

Variables

const std::array< unsigned, slaposCount > OBJ_STEP_LEVELS
const std::array< unsigned, slapsCount > PRINT_STEP_LEVELS

Function Documentation

◆ OBJ_STEP_LABELS()

std::string Slic3r::anonymous_namespace{SLAPrintSteps.cpp}::OBJ_STEP_LABELS ( size_t idx)
72{
73 switch (idx) {
74 case slaposHollowing: return L("Hollowing model");
75 case slaposDrillHoles: return L("Drilling holes into model.");
76 case slaposObjectSlice: return L("Slicing model");
77 case slaposSupportPoints: return L("Generating support points");
78 case slaposSupportTree: return L("Generating support tree");
79 case slaposPad: return L("Generating pad");
80 case slaposSliceSupports: return L("Slicing supports");
81 default:;
82 }
83 assert(false);
84 return "Out of bounds!";
85}
#define L(s)
Definition ExtrusionEntity.cpp:25
@ slaposPad
Definition SLAPrint.hpp:48
@ slaposObjectSlice
Definition SLAPrint.hpp:45
@ slaposHollowing
Definition SLAPrint.hpp:43
@ slaposSupportPoints
Definition SLAPrint.hpp:46
@ slaposDrillHoles
Definition SLAPrint.hpp:44
@ slaposSupportTree
Definition SLAPrint.hpp:47
@ slaposSliceSupports
Definition SLAPrint.hpp:49

References L, OBJ_STEP_LABELS(), Slic3r::slaposDrillHoles, Slic3r::slaposHollowing, Slic3r::slaposObjectSlice, Slic3r::slaposPad, Slic3r::slaposSliceSupports, Slic3r::slaposSupportPoints, and Slic3r::slaposSupportTree.

Referenced by OBJ_STEP_LABELS().

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

◆ PRINT_STEP_LABELS()

std::string Slic3r::anonymous_namespace{SLAPrintSteps.cpp}::PRINT_STEP_LABELS ( size_t idx)
93{
94 switch (idx) {
95 case slapsMergeSlicesAndEval: return L("Merging slices and calculating statistics");
96 case slapsRasterize: return L("Rasterizing layers");
97 default:;
98 }
99 assert(false); return "Out of bounds!";
100}
@ slapsRasterize
Definition SLAPrint.hpp:38
@ slapsMergeSlicesAndEval
Definition SLAPrint.hpp:37

References L, PRINT_STEP_LABELS(), Slic3r::slapsMergeSlicesAndEval, and Slic3r::slapsRasterize.

Referenced by PRINT_STEP_LABELS().

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

Variable Documentation

◆ OBJ_STEP_LEVELS

const std::array<unsigned, slaposCount> Slic3r::anonymous_namespace{SLAPrintSteps.cpp}::OBJ_STEP_LEVELS
Initial value:
= {
10,
10,
10,
20,
10,
10,
30,
}
61 {
62 10, // slaposHollowing,
63 10, // slaposDrillHoles
64 10, // slaposObjectSlice,
65 20, // slaposSupportPoints,
66 10, // slaposSupportTree,
67 10, // slaposPad,
68 30, // slaposSliceSupports,
69};

◆ PRINT_STEP_LEVELS

const std::array<unsigned, slapsCount> Slic3r::anonymous_namespace{SLAPrintSteps.cpp}::PRINT_STEP_LEVELS
Initial value:
= {
10,
90,
}
87 {
88 10, // slapsMergeSlicesAndEval
89 90, // slapsRasterize
90};