= 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 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 }}} === Running === This is a script in /opt/local/spc/bin that will dumb down a model, then build it back up using maplets. {{{ 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)''