Size: 1779
Comment:
|
Size: 1678
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
To make the script easier, set this variable | |
Line 16: | Line 17: |
buildShape.sh farV01 | shapeVar=farV03 echo "Building the shape with suffix shapeVar = $shapeVar" >> notes |
Line 18: | Line 20: |
{{{ buildShape.sh $shapeVar }}} |
|
Line 28: | Line 36: |
Line 37: | Line 40: |
{{{ ch SHAPEFILES echo shape-far320v1-128 | shape_info | tee -a ../notes cp shape-far320v1-128 shift-far320v1.txt cd .. }}} If you need to shift it, run the [[shift]] command. If you do this, you should close out this blockFinish because you will redo the build routine fully. (Comment -- Unsure if the shape needs to be installed before geometry is run) {{{ murphy shift OffsetX OffsetY OffsetZ y shift-far320v1 n y geometry 20 1 n n }}} |
{{{ cd SHAPEFILES echo shape-$shapeVar-512 | shape_info | tee -a ../notes cd .. }}} |
Line 69: | Line 49: |
If you like the results, you can instal the model. Review the red/blue or side-by-side images to ensure the model is good. If it isn't then uninstall the model. {{{ relink shape-$shapeVar.txt SHAPE.TXT | tee -a notes evalReg.sh lsupport/theEight }}} |
|
Line 70: | Line 55: |
{{{ relink shift-far320v1.txt SHAPE.TXT evalReg.sh lsupport/theEight }}} |
=== Finish the Block === Once that is done, you should iterate on it at least once and rebuild the shape (go back to the top of this procedure until the shift is less than the criteria. |
Line 75: | Line 58: |
Once that is done, you should iterate on it at least once and rebuild the shape (go back to the top of this procedure until the shift is less than the criteria. | {{{ echo 9 | blockFinish far\ }}} |
Line 82: | Line 67: |
=== Finish the Block === {{{ echo 9 | blockFinish far\ }}} |
Block 13 - BuildShape V2
Description
Steps to build, review and install a shape model
Procedure
Set-up
Bob uses a copy/paste technique that is normally held in a support file densify-cut paste. I've created a script in /opt/local/spc/bin called buildShape.sh <version> that will do the same thing in batch. It also runs view_shape to make the 8 views of the object for easy evaluation.
To make the script easier, set this variable
shapeVar=farV03 echo "Building the shape with suffix shapeVar = $shapeVar" >> notes
buildShape.sh $shapeVar
When this is done, you will have
- dum-far320v1
- shape-far320v1-64
- shape-far320v1-128
- shape-far320v1-256
- shape-far320v1-512
- shape.log. A log file that saves the commands and output
Evaluate Final Results
Check to see if the offset of the centroid from the center of the system is less than the required criteria (suggest 1/2 image pixel).
cd SHAPEFILES echo shape-$shapeVar-512 | shape_info | tee -a ../notes cd ..
Install Shape
If you like the results, you can instal the model. Review the red/blue or side-by-side images to ensure the model is good. If it isn't then uninstall the model.
relink shape-$shapeVar.txt SHAPE.TXT | tee -a notes evalReg.sh lsupport/theEight
Finish the Block
Once that is done, you should iterate on it at least once and rebuild the shape (go back to the top of this procedure until the shift is less than the criteria.
echo 9 | blockFinish far\
(Compiled by EEP)