Designed a tool to cut the foam at a 90° or 45° angle. As a blade, it uses some trapezoidal blades with a bigger center hole.
To connect the parts together, 1 m3 and 1 m4 screws are needed. For easy switching between 90° and 45° and adjusting the blade, I used wing nuts.