mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 06:51:48 +08:00
Apply print bounding box for SLAPrint infill
This commit is contained in:
parent
3f3f696502
commit
6cdff99df3
@ -58,7 +58,8 @@ SLAPrint::slice()
|
||||
if (this->config.fill_density < 100) {
|
||||
const float shell_thickness = this->config.get_abs_value("perimeter_extrusion_width", this->config.layer_height.value);
|
||||
std::auto_ptr<Fill> fill = std::auto_ptr<Fill>(Fill::new_from_type(this->config.fill_pattern.value));
|
||||
//fill->bounding_box = this->bb;
|
||||
fill->bounding_box.merge(Point::new_scale(bb.min.x, bb.min.y));
|
||||
fill->bounding_box.merge(Point::new_scale(bb.max.x, bb.max.y));
|
||||
fill->spacing = this->config.get_abs_value("infill_extrusion_width", this->config.layer_height.value);
|
||||
fill->angle = Geometry::deg2rad(this->config.fill_angle.value);
|
||||
FillParams fill_params;
|
||||
|
Loading…
x
Reference in New Issue
Block a user