Skip to content

Display minimum Vertical and Horizontal angles #1

@DaveCoulthurst

Description

@DaveCoulthurst

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions