Creating a prism region

Dear all,

I am going to create to regions as shown here. To do so, I can use the prism style in region command. However, I need to tilt x in y direction to make the desired region and the prism style doesn’t have this argument. I can tilt y in x direction and then rotate my region, but it doesn’t work properly since the rotate keyword makes the region dynamic. I would appreciate if you could let me know if you have any suggestion.



you can construct the pictured regions, by first creating a block region that contains both parts and two plane regions and then define the regions 1 and 2 through the region intersect command between the block and one of the plane regions.