I am designing a waveguide which needs to have some holes (or rectangles) defined close to the waveguide. The holes need a period and also needs to go along the waveguide around the bends. I have an image attached below.
It seems to me that the center path of the waveguide has to be defined like a polyline and a function is needed similar to the nazca internal function ‘polyline2polygon’ to add a width to the line. A width for the edge of the waveguide and a width for the path on which the circles/squares are to be placed. In curves some care needs to be taken for the distance of the circles on their path on the in and outside, I guess. No magic bullet, but no show-stoppers either.