
The volume of an oblique prism is just the base times the height too. The top
polygon of an oblique polygon is not directly above the base. However, the top
and the base, as well as every horizontal cross-section in between, still have
the same area. The vertical distance between the top and the base is still the
same, therefore the volume remains the same.
Figure 8-2 shows a right triangular prism and an oblique triangular prism.
These were both made with the model prism.scad. This model by default
prints hollow shapes whose inner volume is the specified one. If you set the
wall thickness (wall variable) to zero, it will instead create a solid ...