= 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 {{{ ID=farV03 echo "Building the shape with suffix $ID" | tee -a 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 $ID }}} 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 ----- === Albedo === If you want albedo, you run [[densifyA]]. If you just want to add albedo only for the most recent model, then you can use the existing previously generated script from buildShape.sh {{{ densifyA < tmpRun.txt | tee -a shape.log }}} ----- === 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). {{{ echo SHAPEFILES/shape-$ID-512 | shape_info | tee -a notes }}} === 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. {{{ cd SHAPEFILES relink.sh shape-$ID-512 SHAPE.TXT | tee -a ../notes cd .. 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)''