I can't think of any automatic method.
You can achieve desired results with some work- create a splines for every plank row, define where Your thinner parts should be by assigning spline material ID = 2.
And create a style for different material ids: