Skip to content

Slicing with 0% support density does not terminate if the cross pattern is used. #1412

@ThomasRahm

Description

@ThomasRahm

Application Version
4.7.1

Platform
Windows 10

Steps to Reproduce
Set Support Pattern to "cross" and Support Density to 0% with support enabled.

Actual Results
The slicing never finishes.

Expected results
The support should have no infill.

Additional Information
Issue is that support line distance is set to 0 when the support density is 0.
This causes the following loop of SierpinskiFillProvider.cpp (line 73) to never terminate:

coord_t aabb_size = min_line_distance;
while (aabb_size < max_side_length)
{
    aabb_size *= 2;
    depth += 2;
}

As aabb_size will be 0.

I am not sure how to fix this issue, without potentially adding a new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: DeferredNot for now, but we could find the time or need to do this later.Type: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions