slic3r / Slic3r

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

Infill pattern conforming to the object's shape? #2617

Open whosawhatsis opened 9 years ago

whosawhatsis commented 9 years ago

I've just been thinking about how to optimize infill, conforming to the shape of the object. For thin features, where infill is less than double the normal extrusion width, the space should be filled entirely, and the best way to fill is to move the nozzle down the medial axis, adjusting the extrusion width with each segment in order to fill the space. For filling larger spaces, why not use a square wave pattern like rectilinear fill, but always crossing perpendicular to the medial axis. This would produce a pattern that would conform to the shape of the object. It would be better for supporting the outlines of sloped surfaces, and also would be ideal for being covered with a concentric fill pattern. Alternating this pattern with a concentric sparse fill would create a grid that conforms to the print's shape. This pattern would also be ideal in many cases for use as a support structure to break away. Would this type of pattern be difficult to implement, given that Slic3r already has code for identifying the medial axis?

alranel commented 9 years ago

Interesting idea… Very interesting… That would avoid the problem with clipped rectilinear being ugly at some angles.

Regarding the first case, Slic3r already fills gaps with medial axis and adjusted extrusion width (although some cases are still not handled, but that's fixable).

whosawhatsis commented 9 years ago

Yeah, I know that Slic3r already has code to do the medial axis gap fill for thin areas. I got the idea when thinking about how to extend this functionality to fill thicker areas.

lordofhyphens commented 8 years ago

Is this covered by the variable-width gap fill logic in 1.3.0-dev?