Combining prisms
Step 1: Transform \(P_1\) to match the rotated base of \(P_2\)
Let
Define the first prism as
Here \(P_2\) is the prism currently produced by the geometry pipeline, measured from the actual assembled oblate-prism vertices, up to axis order.
Write
So initially,
For Step 2, rotate \(P_2\) so that its base is
and its stacking height is
So we want to convert \(P_1\) into
The height \(h\) is determined by volume preservation:
while the new base area is
Hence
So the Step 1 target becomes
Step 1A: Reshape the \(xy\)-face so the first dimension becomes \(\frac{5\sqrt3}{\phi^2}\)
Keep the \(z\)-depth fixed at \(c\), and replace the base rectangle
with an equal-area rectangle
where
Compute \(ab\):
So
After Step 1A, the target block is
Geometrically:
- Take the face rectangle
\[R_{xy}=[0,a]\times[0,b].\]
- Dissect it into finitely many polygons.
- Rearrange those polygons into
\[R'_{xy}= \left[0,\frac{5\sqrt3}{\phi^2}\right]\times[0,4].\]
- Extrude each polygon through the full interval \(z\in[0,c]\).
This gives a 3D dissection of \(P_1\) into prisms that reassemble into \(B_1\).
Step 1B: Reshape the \(yz\)-face to get the final desired dimensions
Now start from
Keep the \(x\)-length fixed at \(\frac{5\sqrt3}{\phi^2}\), and reshape the \(yz\)-face.
Current \(yz\)-face:
Target \(yz\)-face:
These have the same area, because
and
Because this is the special case
Step 1B can be done with a single straight cut.
After this step, we obtain
Geometrically:
- Take the \(yz\)-rectangle
\[R_{yz}= [0,4] \times [0,\sqrt3\phi].\]
- Cut it by the single line
\[y=2.\]This splits the face into two congruent rectangles\[[0,2]\times[0,\sqrt3\phi] \qquad\text{and}\qquad [2,4]\times[0,\sqrt3\phi].\]
- Keep the lower rectangle fixed.
- Translate the upper rectangle by
\[(0,-2,\sqrt3\phi)\]in \((y,z)\)-coordinates, so it lands on\[[0,2]\times[\sqrt3\phi,2\sqrt3\phi].\]
- Extrude both rectangles through the full \(x\)-interval
\[\left[0,\frac{5\sqrt3}{\phi^2}\right].\]
At the end of Step 1, the first prism has been converted into
Step 2: Stack \(P_1'\) with \(P_2\)
Now we have
and
These already share the same first two dimensions, so Step 2 is just stacking along the third axis.
Place \(P_1'\) at
and place \(P_2\) at
Together they form the rectangular block
No additional cuts are needed in Step 2; it is just a placement of the two rectangular prisms along the third axis.