To simplify my iss ssc file i want to include the "timeline" command for my next release "iss-construction",
i had a look to the cassini example on the wiki an tried to ajust it to my zvezda solar panels.
here is the ssc file:
#Timeline test
"Zvezda-panneaux" "Sol/Earth/Zarya/Zvezda"
{
Class "spacecraft"
Mesh "zvezdapan.3ds"
Radius 0.0151695135
Timeline [
# Phase 1: no rotation on solar panels
{
Beginning "2000 07 26 12:00:00"
Ending "2000 07 26 13:15:00"
OrbitFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedPosition [-0.001656 -0.001110 0.000023]
BodyFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedRotation { }
}
# Phase 2: solar pannel folow the sun
{
Beginning "2000 07 26 13:15:00"
OrbitFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedPosition [-0.001656 -0.001110 0.000023]
BodyFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
RotationOffset 130
RotationPeriod -1.540233408
}
}
] # End Timeline
}
#End Timeline test
Then using this ssc file i can't see any solar panel, and others meshes following this part of my iss ssc file have disapears.
Thank you
Linuxman
help for timeline command on the ISS
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
-
Topic authorlinuxm@n
- Posts: 139
- Joined: 14.02.2006
- With us: 18 years 9 months
- Location: Montpellier France
help for timeline command on the ISS
StarWarSaga 2001 odyssey Back in USSR by linuxman
http://celestiasws.free.fr
AMD-64x2-6000 4 gb DDR2-800 geforce GTX460 1gb Asus M2N-sli-d Apple cinema display 23" Linux Gentoo 64 bits Vista pro 64 bits celestia 1.60 official
http://celestiasws.free.fr
AMD-64x2-6000 4 gb DDR2-800 geforce GTX460 1gb Asus M2N-sli-d Apple cinema display 23" Linux Gentoo 64 bits Vista pro 64 bits celestia 1.60 official
- Chuft-Captain
- Posts: 1779
- Joined: 18.12.2005
- With us: 18 years 11 months
Re: help for timeline command on the ISS
Linuxman,
It looks like you've messed up your closing braces ... (there's one too many close braces ("}"), and you've terminated the Timeline too late (outside the object block). See: http://en.wikibooks.org/wiki/Celestia/1 ... _Timelines
#Timeline test
"Zvezda-panneaux" "Sol/Earth/Zarya/Zvezda"
{
...
Timeline [
# Phase 1: no rotation on solar panels
{
....
}
# Phase 2: solar pannel folow the sun
{
....
}
} <--- This is actually the end of Zvezda-panneaux
] # End Timeline <--- move this up one line.
} <--- delete this
Try this:
CC
It looks like you've messed up your closing braces ... (there's one too many close braces ("}"), and you've terminated the Timeline too late (outside the object block). See: http://en.wikibooks.org/wiki/Celestia/1 ... _Timelines
#Timeline test
"Zvezda-panneaux" "Sol/Earth/Zarya/Zvezda"
{
...
Timeline [
# Phase 1: no rotation on solar panels
{
....
}
# Phase 2: solar pannel folow the sun
{
....
}
} <--- This is actually the end of Zvezda-panneaux
] # End Timeline <--- move this up one line.
} <--- delete this
Try this:
Code: Select all
#Timeline test
"Zvezda-panneaux" "Sol/Earth/Zarya/Zvezda"
{
Class "spacecraft"
Mesh "zvezdapan.3ds"
Radius 0.0151695135
Timeline
[
# Phase 1: no rotation on solar panels
{
Beginning "2000 07 26 12:00:00"
Ending "2000 07 26 13:15:00"
OrbitFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedPosition [-0.001656 -0.001110 0.000023]
BodyFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedRotation { }
} # End Phase 1
# Phase 2: solar pannel folow the sun
{
Beginning "2000 07 26 13:15:00"
OrbitFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
FixedPosition [-0.001656 -0.001110 0.000023]
BodyFrame { BodyFixed { Center "Sol/Earth/Zarya/Zvezda" }}
RotationOffset 130
RotationPeriod -1.540233408
} # End Phase 2
] # End Timeline
} # End Zvezda-panneaux
#End Timeline test
CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)
CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS
-- Gerard K. O'Neill (1969)
CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS
-
Topic authorlinuxm@n
- Posts: 139
- Joined: 14.02.2006
- With us: 18 years 9 months
- Location: Montpellier France
Re: help for timeline command on the ISS
Chuft-Captain wrote:Linuxman,
It looks like you've messed up your closing braces ... (there's one too many close braces ("}"), and you've terminated the Timeline too late (outside the object block). See: http://en.wikibooks.org/wiki/Celestia/1 ... _Timelines
Thank you, with your ssc file i can see the others meshes, i have just delete some dates in the ssc file (now just the ending date on the first phase)
I do the same timeline to zvezda and others meshes.
Linuxman
StarWarSaga 2001 odyssey Back in USSR by linuxman
http://celestiasws.free.fr
AMD-64x2-6000 4 gb DDR2-800 geforce GTX460 1gb Asus M2N-sli-d Apple cinema display 23" Linux Gentoo 64 bits Vista pro 64 bits celestia 1.60 official
http://celestiasws.free.fr
AMD-64x2-6000 4 gb DDR2-800 geforce GTX460 1gb Asus M2N-sli-d Apple cinema display 23" Linux Gentoo 64 bits Vista pro 64 bits celestia 1.60 official