mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
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:
parent
409004d471
commit
8ccf0edbc2
35 changed files with 1506 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue