| | |
| | | /// <param name="v3"></param> |
| | | public void ResetAllParas(HdrBaseInfo hdr_info, GeomBaseInfo geom_info ) |
| | | { |
| | | this.R_out = 1500.0; |
| | | if (geom_info.D3 > 1000) |
| | | this.R_out = 6000.0; |
| | | else if (geom_info.D3 > 500) |
| | | this.R_out = 3000.0; |
| | | else if (geom_info.D3 > 300) |
| | | this.R_out = 2000.0; |
| | | else |
| | | this.R_out = 1500.0; |
| | | |
| | | InitialK3(hdr_info, geom_info); |
| | | |
| | | this.BaseWidth = geom_info.B3; |
| | |
| | | // |
| | | CheckChamferR(); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// V3æ¹äº, éæ°è®¡ç®é¢ç§¯åé«åº¦ |
| | | /// </summary> |
| | |
| | | /// <param name="geom_info"></param> |
| | | /// <param name="v3"></param> |
| | | public void CalcParaV3(HdrBaseInfo hdr_info, GeomBaseInfo geom_info ) |
| | | { |
| | | |
| | | { |
| | | this.BaseWidth = geom_info.B3; |
| | | this.BaseCircleRadius = geom_info.D3 / 2; |
| | | |
| | |
| | | //} |
| | | |
| | | this.R_Right[8] = this.R_Left[8]; |
| | | this.R_out = 1000.0; |
| | | |
| | | |
| | | //æªé¢R1 å R4çåå°è§åº¦ DecreaseR |
| | | double DecreaseR = 0.5; |
| | |
| | | for (int index = 7; index >= 1; index--) |
| | | { |
| | | this.R_Left[index] = this.R_Left[index + 1] - DecreaseR; |
| | | if (this.R_Left[index] < 1) |
| | | this.R_Left[index] = 1; |
| | | this.R_Right[index] = this.R_Right[index + 1] - DecreaseR; |
| | | if (this.R_Right[index] < 1) |
| | | this.R_Right[index] = 1; |
| | | } |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | private void CheckChamferR() |
| | | { |
| | | for (int index = 7; index >= 1; index--) |
| | | for (int index = 8; index >= 1; index--) |
| | | { |
| | | if (this.R_Left[index] > (this.H[index] + 1)) |
| | | this.R_Left[index] = Math.Round(this.H[index] * 0.85 - 1, 0); |