mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-07 04:11:50 +03:00
update libslic3r
This commit is contained in:
@@ -693,7 +693,7 @@ private:
|
||||
// item won't overlap with virtual objects if it's inside or touches NFP
|
||||
// @return 1 if current item overlaps with virtual objects, 0 otherwise
|
||||
bool overlapWithVirtObject(const Item& item, const Box& binbb){
|
||||
if (items_.empty()) return 0;
|
||||
if (items_.empty()) return false;
|
||||
Shapes nfps = calcnfp(item, binbb, Lvl<MaxNfpLevel::value>());
|
||||
auto v = item.referenceVertex();
|
||||
for (const RawShape &nfp : nfps) {
|
||||
@@ -1263,9 +1263,9 @@ private:
|
||||
|
||||
Vertex ci, cb;
|
||||
Box bbin = sl::boundingBox(bin_);
|
||||
Vertex shrink(10, 10);
|
||||
bbin.maxCorner() -= shrink;
|
||||
bbin.minCorner() += shrink;
|
||||
//Vertex shrink(10, 10);
|
||||
//bbin.maxCorner() -= shrink;
|
||||
//bbin.minCorner() += shrink;
|
||||
|
||||
switch(config_.starting_point) {
|
||||
case Config::Alignment::CENTER: {
|
||||
|
||||
Reference in New Issue
Block a user