.XYZ editor issues

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years
Location: Indiana, United States

.XYZ editor issues

Post #1by Hungry4info » 14.06.2006, 05:48

I'm creating a fictional solar system for fun, and decided I wanted to make a spacecraft for it.

I downloaded a .xyz file editor, and I started to try to plot a small course for a lunar reconaissance spacecraft. I set the points from a planet past its moon, and I ensure that the time is different on each of the points. Now I write the .ssc file for the spacecraft, open Celestia 1.4.0 and check it out. The spacecraft is 2,349 light years away. It still follows the same course though, it's just bloated up to interstellar travel rather than solar travel.

So I looked that the spacecraft.ssc file for some inspiration. It all looked like what I had, so I just copied the whole thing and pasted it at the bottem of the file. I changed the "beginning" line to the first julian date on the new .xyz file I made, and where it had "sampleorbit" I put in the name of my .xyz file. Quite satisfied and hoping it would work, I opened Celestia again, and the spacecraft was, once again, 2,349 lght years away.

I'm rather confused, but I think that it might be kinda like when you tell a planet to orbit 400,000 AU from the star. I think that maybe the .xyz editor is accidentally telling my computer to write the distance in AU when it's actually killometers in Celestia. I tried to put it in orbit of the planet ("Kaladria/Skathi"), but then the spacecraft was no longer in Celestia.

"Explorer1" "Kaladria"
{
Class "spacecraft"
Mesh "new_horizons_jpg.cmod"
Radius 0.011

Beginning 2453898.56422620314

SampledOrbit "explorer1.xyz"

RotationPeriod 1e9
}

Not sure if it will help any, but I pasted the .ssc part of the spacecraft. Maybe somebody can spot something. The .xyz and the .ssc files are both in the "data" folder in Celestia.

Any suggestions would be greatly appreciated.

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Post #2by selden » 14.06.2006, 10:56

What xyz file editor are you talking about?
It's probably generating the wrong values.
Selden

Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years
Location: Indiana, United States

Post #3by Hungry4info » 15.06.2006, 23:16

The .xyz file editor/generator I am reffering to can be downloaded at the http://www.celestiamotherlode.net/catalog/scripts.php. It is the "XYZ Trajectory Builder" file.

jestr
Posts: 612
Joined: 14.09.2003
With us: 21 years
Location: Bridgwater,UK

Post #4by jestr » 16.06.2006, 07:57

OK Hungry,I think the answer lies in adapting the XYZ Builder.celx file (you can open it with notepad or wordpad) and change the line

Code: Select all


gHELIOFRAME  = celestia:newframe("Planetographic", celestia:find("Sol"), 2451545.0)



entering the name of your fictional star "Kaladria"? in place of Sol.
It's probably a good idea to plot the xyz file in Celestia 1.3.2 and then transfer it to 1.4.2 if you can as I seem to remember having problems with the positions when I used 1.4.0,but this was within our solar system.
Hope this helps,Jestr

Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years
Location: Indiana, United States

Post #5by Hungry4info » 19.06.2006, 03:08

This was indeed helpful! Thank you very much.

Don. Edwards
Posts: 1510
Joined: 07.09.2002
Age: 59
With us: 22 years
Location: Albany, Oregon

Post #6by Don. Edwards » 19.06.2006, 10:44

Whats this got to do with textures?

Shouldn't this be in the add-ons section?

?
?

Don. Edwards
I am officially a retired member.
I might answer a PM or a post if its relevant to something.

Ah, never say never!!
Past texture releases, Hmm let me think about it

Thanks for your understanding.

Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years
Location: Indiana, United States

Post #7by Hungry4info » 22.06.2006, 21:27

Don. Edwards wrote:Whats this got to do with textures?
Absolutely nothing.

Don. Edwards wrote:Shouldn't this be in the add-ons section?
Don. Edwards

Nope, this is/was a bug.

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Post #8by selden » 22.06.2006, 21:37

I've moved this thread to the Bugs forum.
Selden

Avatar
Topic author
Hungry4info
Posts: 1133
Joined: 11.09.2005
With us: 19 years
Location: Indiana, United States

Post #9by Hungry4info » 28.06.2006, 08:20

Sorry if I did not post it into the appropriate forum.


Return to “Bugs”