Merge branch 'master' of https://github.com/prusa3d/Slic3r into opengl_to_cpp
This commit is contained in:
commit
4e29147756
File diff suppressed because it is too large
Load Diff
@ -68,7 +68,6 @@ infill_first = 0
|
|||||||
infill_only_where_needed = 0
|
infill_only_where_needed = 0
|
||||||
infill_overlap = 25%
|
infill_overlap = 25%
|
||||||
interface_shells = 0
|
interface_shells = 0
|
||||||
max_print_height = 200
|
|
||||||
max_print_speed = 100
|
max_print_speed = 100
|
||||||
max_volumetric_extrusion_rate_slope_negative = 0
|
max_volumetric_extrusion_rate_slope_negative = 0
|
||||||
max_volumetric_extrusion_rate_slope_positive = 0
|
max_volumetric_extrusion_rate_slope_positive = 0
|
||||||
@ -888,6 +887,7 @@ gcode_flavor = marlin
|
|||||||
layer_gcode = ;AFTER_LAYER_CHANGE\n;[layer_z]
|
layer_gcode = ;AFTER_LAYER_CHANGE\n;[layer_z]
|
||||||
max_layer_height = 0.25
|
max_layer_height = 0.25
|
||||||
min_layer_height = 0.07
|
min_layer_height = 0.07
|
||||||
|
max_print_height = 200
|
||||||
nozzle_diameter = 0.4
|
nozzle_diameter = 0.4
|
||||||
octoprint_apikey =
|
octoprint_apikey =
|
||||||
octoprint_host =
|
octoprint_host =
|
||||||
|
@ -923,7 +923,9 @@ void Print::_make_skirt()
|
|||||||
|
|
||||||
// Initial offset of the brim inner edge from the object (possible with a support & raft).
|
// Initial offset of the brim inner edge from the object (possible with a support & raft).
|
||||||
// The skirt will touch the brim if the brim is extruded.
|
// The skirt will touch the brim if the brim is extruded.
|
||||||
coord_t distance = scale_(std::max(this->config.skirt_distance.value, this->config.brim_width.value));
|
Flow brim_flow = this->brim_flow();
|
||||||
|
double actual_brim_width = brim_flow.spacing() * floor(this->config.brim_width.value / brim_flow.spacing());
|
||||||
|
coord_t distance = scale_(std::max(this->config.skirt_distance.value, actual_brim_width) - spacing/2.);
|
||||||
// Draw outlines from outside to inside.
|
// Draw outlines from outside to inside.
|
||||||
// Loop while we have less skirts than required or any extruder hasn't reached the min length if any.
|
// Loop while we have less skirts than required or any extruder hasn't reached the min length if any.
|
||||||
std::vector<coordf_t> extruded_length(extruders.size(), 0.);
|
std::vector<coordf_t> extruded_length(extruders.size(), 0.);
|
||||||
@ -989,7 +991,7 @@ void Print::_make_brim()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Polygons loops;
|
Polygons loops;
|
||||||
size_t num_loops = size_t(floor(this->config.brim_width.value / flow.width));
|
size_t num_loops = size_t(floor(this->config.brim_width.value / flow.spacing()));
|
||||||
for (size_t i = 0; i < num_loops; ++ i) {
|
for (size_t i = 0; i < num_loops; ++ i) {
|
||||||
islands = offset(islands, float(flow.scaled_spacing()), jtSquare);
|
islands = offset(islands, float(flow.scaled_spacing()), jtSquare);
|
||||||
for (Polygon &poly : islands) {
|
for (Polygon &poly : islands) {
|
||||||
|
Loading…
Reference in New Issue
Block a user