//-------------

            #region "Locations:"
            //------------------

            //public Double Calc_Screw_Loc_Center()
            ////=====================================
            //{
            //    //....Commmon for RScrew & LScrew.
            //    //
            //    Double pDFit = mCurrent_Bearing_Radial_FP.OD();
            //    Double pD_CBore = mScrew.Hole.CBore.D;
            //    Double pLoc = 0.5F * (pDFit - pD_CBore) - 0.1;

            //    return modMain.MRound(pLoc, 0.05);
            //}

            // PB 22OCT18. BG, write a new method: Screw_Loc_Center_ULimit (see scanned docu for formula)

            public Double Screw_Loc_Center_ULimit()
            //=====================================
            {
                Double pResult            = 0;
                Double pBearing_DFit      = mCurrent_Bearing_Radial_FP.OD();
                Double pScrew_CBore_D     = mScrew.Hole.CBore.D;
                Double pScrew_CBore_Depth = mScrew.Hole.CBore.Depth;
                Double pScrew_D           = mScrew.D();

                Double pX1 = Math.Pow((pScrew_CBore_Depth + pScrew_CBore_D + 0.030), 2);
                Double pX2 = Math.Pow((0.5 * pBearing_DFit), 2);
                Double pX3 = Math.Sqrt(1 - (pX1 / pX2));

                pResult = 0.5 * (pBearing_DFit * pX3 - pScrew_CBore_D);
                return(pResult);
            }
Exemplo n.º 2
0
 public Double DBC_LLimit(clsJBearing Bearing_In)
 //=============================================
 {
     mCurrentBearing = Bearing_In;
     return(((clsJBearing)mCurrentBearing).RadB.PadRelief_D() + 2 * modMain.gcSep_Min + mScrew.D());
 }