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.
![2023-05-26 13_34_42-SMath Solver - [PolyProperties.sm_].png](/en-US/files/Download/eGunHg/2023-05-26-13_34_42-SMath-Solver---[PolyProperties.sm_].png)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects