Repository navigation
Block 14 Shift v2
Eric E Palmer edited this page Oct 23, 2026
·
1 revision
If the model has more than of deviation from the center of figure, then shift it to be centered
Set the ID. This should be the current ID, not the new one (which will really just be moved)
ID=farV03
echo "Shifting the model, $ID = shapeVar" | tee -a notes
Record the current offset and make a new model that will be adjusted
cd SHAPEFILES
echo shape-$ID-512 | shape_info | tee -a ../notes
cp shape-$ID-512 shift-$ID.txt
cd ..
}}}
Run the [[shift]] command.
(Comment -- Unsure if the shape needs to be installed before geometry is run)
Notice, the shape model cannot have the .TXT at the end with the [[shift]] program. FDS sends the offset with the sign flipped from what the [[shift]] program will use. FDS should have a note about this along with their delivery.
{{{
murphy
/usr/local/bin/shift
OffsetX OffsetY OffsetZ
y
shift-<whatever>
n
y
geometry
20
1
n
n
}}}
=== Install Shape ===
Install the shape and review the fit to our main images
{{{
cd SHAPEFILES
echo shift-$ID.txt | shape_info | tee -a ../notes
relink.sh shift-$ID.txt SHAPE.TXT | tee -a ../notes
cd ..
evalReg.sh lsupport/theEight
echo 11 | blockFinish far\
While this completes the block, you still need to do the following procedures to make the shape model solid
(Compiled by EEP)