What is the unit of measurement in cmod models

Have a question about using Celestia? Check here first for FAQs and helpful advice.
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.
Avatar
Topic author
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

What is the unit of measurement in cmod models

Post #1by Joe » 22.10.2012, 13:28

Hi

What is the unit of measurement of a coordinate value (e.g the values of the x y z of a vertex) in cmod models? Is it kilometer or just meter? or else?
Joe
8O

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: What is the unit of measurement in cmod models

Post #2by Chuft-Captain » 22.10.2012, 16:26

Joe,

A CMOD doesn't have any units of scale AFAIK. ie. it has a scale of 1.
The scale of the object is finally determined by the values you attribute to the mesh in the SSC file.
(Using the directives NormalizeMesh and MeshScale, or Radius. see: http://en.wikibooks.org/wiki/Celestia/SSC_File#MeshScale_scaleFactor)

Generally, for simple models, just specifying a Radius is sufficient, and the Mesh is scaled automatically.

CC
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Topic author
Joe
Posts: 162
Joined: 29.02.2004
With us: 20 years 8 months
Location: United Kingdom

Re: What is the unit of measurement in cmod models

Post #3by Joe » 23.10.2012, 06:44

CC

Umm, you're right and Celestia agrees with what you said. But my engineering inertia :wink: makes me think distance be gauged in light-year, astromomy-unit, kilometer, or metter--especially when I display a cmod model's size in a celx script, it is helpful to show the measurement unit.
Joe

8O

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 7 months
Location: Thyrrenian sea

Re: What is the unit of measurement in cmod models

Post #4by Fenerit » 23.10.2012, 09:38

Do you mean the "internal" coordinates of the CMOD? They are degrees (spherical projection) around a center which is the unity (1). Thus the distances of such coordinates to the center (radius) can be whatelse unity of measure every positive real number different from zero carry on (meter, inch and they multiples). Of course inches must be convert to meters for the use within SSC/CELX.
Never at rest.
Massimo


Return to “Help Central”