mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: refine ams mapping for U0 firmware
display index of filament Change-Id: I8a97a71cd334a1536ae7bfd4a5673e9757b2e662 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
2a84e68852
commit
2eb9aea56a
6 changed files with 93 additions and 11 deletions
|
@ -27,6 +27,12 @@ enum MachineBedType {
|
|||
BED_TYPE_COUNT,
|
||||
};
|
||||
|
||||
enum MappingResult {
|
||||
MAPPING_RESULT_DEFAULT = 0,
|
||||
MAPPING_RESULT_TYPE_MISMATCH = 1,
|
||||
MAPPING_RESULT_EXCEED = 2
|
||||
};
|
||||
|
||||
struct FilamentInfo
|
||||
{
|
||||
int id; // filament id = extruder id, start with 0.
|
||||
|
@ -36,6 +42,7 @@ struct FilamentInfo
|
|||
float used_g;
|
||||
int tray_id; // start with 0
|
||||
float distance;
|
||||
int mapping_result = 0;
|
||||
};
|
||||
|
||||
class BBLSliceInfo {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue