You can try to use chunk() from PolyProperties. For a generic oriented line, you have to rotate the polygon using the line orientation, apply the chunk() function about an axis, and rotate back the polygon.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects