Adding pellet printer suppor to OrcaSlicer (#4836)

* creating settings for printer and some UI changes work

* related filament diameter and pellet flow changes to each other

* UI name change to turn Filament to Material

* updated the flow coefficient to filament diameter formula

* updated the preset for the configuration wizard

* configuration changes for the final release

* config changes and preset bundle sync removed

* start gcode change for ginger machines

* added explanation of relationship between pellet_flow_coefficient and filament_diameter

* Added tooltip. Fixed Ginger machine configuration, Added docs
This commit is contained in:
analysis230 2024-06-29 20:15:06 +05:30 committed by GitHub
parent 409004d471
commit 8ccf0edbc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 1506 additions and 3 deletions

View file

@ -320,6 +320,15 @@ public:
bool has_cali_lines(PresetBundle* preset_bundle);
static double convert_pellet_flow_to_filament_diameter(double pellet_flow_coefficient)
{
return sqrt(4 / (PI * pellet_flow_coefficient));
}
static double convert_filament_diameter_to_pellet_flow(double filament_diameter)
{
return 4 / (pow(filament_diameter, 2) * PI);
}
static const std::vector<std::string>& print_options();
static const std::vector<std::string>& filament_options();