Elliptical HSI

Help and techniques for creating Air Manager Instrument Graphics

Moderators: russ, Ralph

Message
Author
flyallthings
Posts: 14
Joined: Tue Feb 02, 2016 9:36 pm

Elliptical HSI

#1 Post by flyallthings »

I'm looking starting to build a Helionix FND. How would I make an HSI that appears tilted away from the pilot?

Image

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Elliptical HSI

#2 Post by Ralph »

You'll need to use this function with a different x and y.
http://siminnovations.com/wiki/index.ph ... oordinates
But tilting the digits isn't possible in Air Manager.

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Elliptical HSI

#3 Post by Ralph »

But as you can see in the real unit, the text isn't tilted. They probably tilted the whole thing in the simulator version because it was easier for them.
Image

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: Elliptical HSI

#4 Post by JackZ »

You can create an elliptical arc using canvas, then generate the tick marks using trigonometry over the ellipse.
I am away from my PC until next Monday, if you don’t have a solution by that time, il will try a proof of concept for you
Last edited by JackZ on Fri Aug 20, 2021 5:58 am, edited 1 time in total.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
Keith Baxter
Posts: 4674
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: Elliptical HSI

#5 Post by Keith Baxter »

JackZ wrote: Thu Aug 19, 2021 9:23 pm You can create an elliptical arc using canvas, then generate the tick marks using trigonometry over the ellipse.
I am away from my PC until next Monday, if you don’t have a solution at that time, il will try a proof of concept for you
You are getting the power of canvas_draw(), Jacques. :D

Correct, even text can be manipulated if each "character set" is set inside a canvas

Considering the power of lua...It should be possible to have a feature to specify the parameters of a node. xy1...xy2/.../xy3...xy4 and then manipulate using tables or .json files.



@Corjan

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Elliptical HSI

#6 Post by Ralph »

Just use the geo_rotate function with a different width and height, much easier.

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: Elliptical HSI

#7 Post by JackZ »

You’re right Ralph, the second parameter of Geo rotate accounts for the second point of the ellipse, perfect!
And from a vid of the real Helionix in action, the text appears to be not slanted, so I think that the text can be positioned around the fixed ellipse by using geo_rotate as well.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Elliptical HSI

#8 Post by Ralph »

Correct. The text can be done with running text, again by specifying a different width/height (or radius as you will).
http://siminnovations.com/wiki/index.ph ... xt_add_cir

User avatar
jph
Posts: 2846
Joined: Fri Apr 10, 2020 12:50 pm
Location: Somewhere over the rainbow..

Re: Elliptical HSI

#9 Post by jph »

@Ralph

Nice one Ralph,
Just a minor point though. On the example you show the text for the 7th item becomes 'this is item -1' as opposed to 'this is item 6
Joe
Joe. CISSP, MSc.

User avatar
Ralph
Posts: 7878
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Elliptical HSI

#10 Post by Ralph »

It was still using Java text formatting and the comment wasn't correct. I've changed it into a more usable example of a compass rose driven by a timer.

Post Reply