-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The Layout-Simulator should display two new text outputs, the Vertical Minimum Angle and Horizontal Minimum Angle.
Two intermediate values are needed:
Horizontal Gap = (Width - Work Area Width) / 2
Vertical Gap = (Height - Work Area Height) / 2
From those, the Vertical Minimum Angle and Horizontal Minimum Angle can be calculated using the right angled triangle formula.
The Vertical Minimum Angle should be calculated with the Adjacent side = Horizontal Gap + Work Area Width, and the Opposite side = Vertical Gap.
The Horizontal Minimum Angle should be calculated with the Adjacent side = Vertical Gap + Work Area Height, and the Opposite side = Horizontal Gap.
An additional feature could also be to add the sin of each of Vertical Minimum Angle and Horizontal Minimum Angle as additional outputs.