Our G2S Delta printing wavy cube test (50 second mpeg4/divx .avi, wait 15 seconds for focus)

Original test cube #2 with no postprocessing. It is, well, a cube. Square and flat.

Original test cube #2 with post-processed waved top
from http://hackaday.com/2016/07/27/3d-printering-non-planar-layer-fdm/

Modified script makes wavy test cube #2 with properly auto-detected flat top

But internal waves are haphazard and not properly defined.

Things are improving now. With the viewer also; note infill is coloured light blue. Second example with more aggressive waves.

Here's a same-sized test cube with three holes drilled in it, seen in Slic3r

Here is a close-up of roughly the same orientation after being processed with 'wave_infill_only' setting. Note the flat surface in the middle, from left-to-right, where the wavy infill has been dampened. This is near the left-to-right central hole several layers above, which was auto-detected by the script.

A block with a 45° edge, six views 10 layers apart, showing ramping up (and down) of wavy infill:

git repo if you really want it... WARNING: untested hack, much uglier and 2x slower than Makertum's original... at your own risk, etc. Add " ; wave_infill_only = 1" to your Custom Start g-code to activate auto-infill waving (plus read the docs).