shift

Compiled by EP

Description

Shift will adjust a entire shape file into by a deltaX, deltaY and deltaZ. It is typically used to adjust the center of figure to center of mass.

It can also deal with the fact that sometimes a shape model's center of figure can drift off of the 0,0,0 coordinate center, i.e. the middle of the asteroid is no longer at the origin of the system. The typical way to do this is to run shape_info and use its Center of Figure offsets as the input for shift.

Requires -- Adjusting shape file

Requires -- Adjusting landmarks

Output

When shifting a shape file, only give it the root name. You do not put in the fullpath or .TXT

Example input/output

 Enter C0(i), i=1,3
 0.66624D-03   -0.24253D-03   -0.13943D-02
 Shape shift? (y/n)
TESTSHAPE
 Shift maplets? (y/n)
y

 GEOMETRY
20
1
n
n

The last 5 lines are designed to copy and paste to update the rest of the system (updated the SCOBJ and C_vector. You need to do this if you update the MAPLET positions.

 GEOMETRY
20
1
n
n