Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slice error with multi-filament interlocking, with boundary avoidence = 0 #2101

Open
Noisyfox opened this issue Jun 21, 2024 · 2 comments
Open

Comments

@Noisyfox
Copy link

Application Version
5.7.2

Platform
N/A

Qt
N/A

PyQt
N/A

Display Driver
N/A

Steps to Reproduce

  1. Add two objects that overlaps each other
  2. Apply different extruders
  3. Enable interlocking, with boundary avoidence = 0
  4. Make sure the bottom surface has two adjacent colors
  5. Slice

Actual Results
Slice failed

Expected results
Slice properly

Additional Information
image

@Noisyfox Noisyfox changed the title Slice error Slice error with multi-filament interlocking, with boundary avoidence = 0 Jun 21, 2024
@Noisyfox
Copy link
Author

When boundary avoidence set to 0, voxels below z=0 won't be removed, which caused this error.

@Noisyfox
Copy link
Author

One quick solution is to change

auto voxel_emplacer = [&cells](GridPoint3 p)
{
cells.emplace(p);
return true;
};

to

    auto voxel_emplacer = [&cells](GridPoint3 p)
    {
        if (p.z_< 0) return true;

        cells.emplace(p);
        return true;
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant