Merge branch 'master' into lm_sla_supports_auto
This commit is contained in:
commit
6cc8ae3729
@ -1876,7 +1876,7 @@ namespace Slic3r {
|
||||
vertices_count += stl.stats.shared_vertices;
|
||||
|
||||
#if ENABLE_MODELVOLUME_TRANSFORM
|
||||
Transform3d matrix = volume->get_matrix();
|
||||
const Transform3d& matrix = volume->get_matrix();
|
||||
#endif // ENABLE_MODELVOLUME_TRANSFORM
|
||||
|
||||
for (int i = 0; i < stl.stats.shared_vertices; ++i)
|
||||
|
@ -512,7 +512,7 @@ void Model::adjust_min_z()
|
||||
{
|
||||
coordf_t obj_min_z = obj->bounding_box().min(2);
|
||||
if (obj_min_z < 0.0)
|
||||
obj->translate(0.0, 0.0, -obj_min_z);
|
||||
obj->translate_instances(Vec3d(0.0, 0.0, -obj_min_z));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,11 +7,12 @@
|
||||
namespace Slic3r {
|
||||
|
||||
class ExPolygon;
|
||||
using ExPolygons = std::vector<ExPolygon>;
|
||||
|
||||
class TriangleMesh;
|
||||
|
||||
namespace sla {
|
||||
|
||||
using ExPolygons = std::vector<ExPolygon>;
|
||||
using ThrowOnCancel = std::function<void(void)>;
|
||||
|
||||
/// Calculate the polygon representing the silhouette from the specified height
|
||||
|
@ -564,7 +564,7 @@ void SLAPrint::process()
|
||||
if(!po.m_config.supports_enable.getBool()) elevation = 0;
|
||||
sla::PoolConfig pcfg(wt, h, md, er);
|
||||
|
||||
sla::ExPolygons bp;
|
||||
ExPolygons bp;
|
||||
double pad_h = sla::get_pad_elevation(pcfg);
|
||||
auto&& trmesh = po.transformed_mesh();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user