Size: 667
Comment:
|
Size: 1279
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
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. | Shift will adjust an entire shape file by a deltaX, deltaY and deltaZ. It is typically used to adjust the center of figure to center of mass. |
Line 15: | Line 15: |
== Input Files == * shapefile |
== Requires -- Adjusting shape file == * <shapefile>.TXT |
Line 18: | Line 18: |
== Output Files == * <newfile> |
== Requires -- Adjusting landmarks == * [[MAPFILES]] * [[LMRKLIST.TXT]] * [[LMKFILES]] |
Line 22: | Line 24: |
== Exported File Information == | == Output == * standard out * <shapefile>.TXT * [[LMKFILES]] * [[MAPFILES]] When shifting a shape file, only give it the root name. You do not put in the fullpath or .TXT == Example input/output == |
Line 24: | Line 35: |
END FILE | 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 |
Line 26: | Line 48: |
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 }}} |
shift
Compiled by EP
Description
Shift will adjust an entire shape file 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
<shapefile>.TXT
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