planet trails code

Asked by Steve Raymond

Alexander

My question applies to:

trail Lines:
SolarSystem.setFlagTrails(true);

I would like to:

Set Trail colors independently for sun and moon

Set Trail linewidth independently for sun and moon or trail line width at all

Programmatically……

Can’t seem to do that as far as I can see…

Can you list the lines of code to do jus that.

Thank You very much

Steve

Question information

Language:
English Edit question
Status:
Answered
For:
Stellarium Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Alexander Wolf (alexwolf) said :
#1

It's not possible at the moment. In any way why you want to see adjustable color and thickness properties for lines?

Revision history for this message
Steve Raymond (steven-raymond) said :
#2

i want to draw interaction of the sun and moon for ancient calendar purposes, seeing which one is which easily.

.

I also forgot to ask how to stop the fading of the older lines as new ones are printing. That would be a big help... to stop or change the degree of fading...

dont know how to do that either...

Revision history for this message
Alexander Wolf (alexwolf) said :
#3

setNumberIsolatedTrails() and setFlagIsolatedTrails() maybe helpful for your task.

Fading is hard coded (value is 365 days) and can not be changed through scripts.

Revision history for this message
Steve Raymond (steven-raymond) said :
#4

that would be awesome if the hard codes for these or capabilities for these

trail attributes and behavior could be set by variables

Thank you!

Can you help with this problem?

Provide an answer of your own, or ask Steve Raymond for more information if necessary.

To post a message you must log in.