slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.32k stars 1.29k forks source link

Invalid mid-air supports! #4407

Open Coder-256 opened 6 years ago

Coder-256 commented 6 years ago

Version

Slic3r 1.3.0 (finally! 3ba8e0f)

Operating system type + version

macOS High Sierra 10.13.4

Behavior

STL/Config (.ZIP) where problem occurs

Slic3rBugReport.zip (mind my lunatic design)

lordofhyphens commented 6 years ago

It's specifically the pillars support method.

lordofhyphens commented 6 years ago

One thing you can do to avoid the problem is edit lib/Slic3r/Print/SupportMaterial.pm and tweak PILLAR_SIZE and PILLAR_SPACING (lines 26 and 27).

It looks like the defaults don't play nice on this model.

You don't need to recompile to see the changes, just close and reopen Slic3r.

Coder-256 commented 6 years ago

Thank you! What exactly do those options do, and what should I set them to? Why is there no config setting for this?

lordofhyphens commented 6 years ago

@Coder-256 It's really easy to get weird results.

"PILLAR_SIZE" is the X/Y dimensions of the support pillars generated, PILLAR_SPACING is how close those pillars are allowed to be to each other.

With your config, 5/15 seems to avoid the problem (which is probably from the pillars because the sloping area makes them too thin).

Coder-256 commented 6 years ago

You're right, that works. Thanks! I guess one possible way to fix this bug is to add those options to the config?

lordofhyphens commented 6 years ago

I'd probably accept a pull request to add them, but the UI would need to hide the options when it's not pillars type.

I am a bit busy to go in and add it myself (working on an UI overhaul).

Coder-256 commented 6 years ago

This is mostly fixed by #4410, so I'll leave it up to @lordofhyphens whether this issue should be closed, or if further steps should be taken (maybe implementing some kind of detection/warning for invalid pillar supports).