mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: Flow Rate Calibration Pattern too crowded with 0.8mm nozzle
github issue 2296 Change-Id: Iee766680c26ab5ca826961f53f8963d802a25397
This commit is contained in:
parent
6a86c9f2a3
commit
d3785577ef
1 changed files with 6 additions and 5 deletions
|
@ -378,12 +378,13 @@ void CalibUtils::calib_flowrate(int pass, const CalibInfo& calib_info, std::stri
|
|||
first_layer_height = std::max(first_layer_height, layer_height);
|
||||
|
||||
float zscale = (first_layer_height + 6 * layer_height) / 1.4;
|
||||
for (auto _obj : model.objects) _obj->scale(1, 1, zscale);
|
||||
// only enlarge
|
||||
if (xyScale > 1.2) {
|
||||
for (auto _obj : model.objects) _obj->scale(xyScale, xyScale, zscale);
|
||||
} else {
|
||||
for (auto _obj : model.objects) _obj->scale(1, 1, zscale);
|
||||
}
|
||||
//if (xyScale > 1.2) {
|
||||
// for (auto _obj : model.objects) _obj->scale(xyScale, xyScale, zscale);
|
||||
//} else {
|
||||
// for (auto _obj : model.objects) _obj->scale(1, 1, zscale);
|
||||
//}
|
||||
|
||||
Flow infill_flow = Flow(nozzle_diameter * 1.2f, layer_height, nozzle_diameter);
|
||||
double filament_max_volumetric_speed = filament_config.option<ConfigOptionFloats>("filament_max_volumetric_speed")->get_at(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue