Can you use the octigon to make a template. Use a regular ruler and measure out the triangle and mark the octagon with a marker or tape where your material needs to stop. cut a strip or strips the depth of the triangle and cut your triangles that way.
I'm sure it would work!