Edge alignment problem

Screenshot 2024-12-12 at 12.02.42 AM

Hi, I have a simple yet challenging problem that’s taken so much math knowledge just for me to not be able to accomplish.

basically it’s this:
how do I align the bottom right of the tilted part to the bottom edge of the face on the right of it, while aligning the top left of the tilted part to the top edge of the face on the left of it?

this would be an easy question if it was bottom to bottom alignment our top to top alignment only.

Another way to phrase the question:
how do I align opposite vertexes/edges of two opposite faces of a rectangle? on one end it’s the bottom edge aligning, on the other it’s the top.

1 Like

there is literaly a math formula for finding this its θ=arcsin( H/D)
so h is distance from top to botom of the long brick and the d is the distance from left to right of the two outer faces of the two bricks so
local H = 10
local D = 20
local tilt = math.asin(H / D)
i hope this helps

4 Likes