# BIM-Based Optimization of Drilling Angle and Hole Position of Outside Corner Anchor Rods
## 4 Case Study
### Program Scripts
#### 4.4.3 Borehole Location Optimization
The difference between the maximum value of all specific numerical intervals and the original design values of the \"First-Side Anchor Rod Inclination Angle of Outside Corner (\({}^{\circ}\))\" column remains at 3\({}^{\circ}\). Furthermore, the optimization of the fifth-row anchor's inclination indicates a difference of 0\({}^{\circ}\) before and after optimization. Both satisfy  
Figure 13: Schematic Diagram of Anchor Collision Optimization Before and After Comparison. the standard of \"drilling angle \(\leq\) 3\" specified in the \"Code for Acceptance of Construction Quality of Building Foundation\" (GB 50202-2018). The results obtained for the \"Specific Range of Allowed Inclination Angle of the Optimized Second-Side Anchor Rod of Outside Corner (\")\" are similar to those of the \"Specific Range of Allowed Inclination Angle of the Optimized First-Side Anchor Rod of Outside Corner (\")\". The difference lies in the upward adjustment of the second-side anchor's angle, resulting in specific numerical intervals smaller than the original angles. The difference between the minimum value of all specific numerical intervals and the original design values of the \"First-Side Anchor Rod Inclination Angle of Outside Corner (\")\" column remains 3\", thereby meeting the drilling angle standard of \"\(\leq\)3\" specified in the \"Code for Acceptance of Construction Quality of Building Foundation\" (GB 50202-2018). Moreover, the results for the \"Specific Range of Allowed Hole Movement of the Optimized First-Side Anchor Rod of Outside Corner (mm)\" include specific numerical intervals [35; 100] and textual output denoting \"Not Calculated.\" These numerical intervals demonstrate the permissible range of downward displacement for the first-side anchor of the third row, with the drill hole position taken as the origin (0-point) for displacement measurement. The reason for obtaining textual output for all anchors except the third row is the absence of collisions after the optimization of drilling angles, rendering any further displacement unnecessary. Additionally, the optimization of drilling angles results in a displacement difference of 0\", indicating no change in hole displacement. The specific numerical values represent the downward displacement of the first-side drill hole after optimization. Specifically, [35; 100] indicate that the first-side anchor of the third row can be displaced downward by a distance \(\geq\)35 mm and \(\leq\)100 mm. The value \(\geq\) 35 mm ensures that collisions between both side anchors are avoided after optimization, while the value \(\leq\) 100 mm, along with the textual result, conforms to the standard of \"drill hole displacement \(\leq\) 100 mm\" specified in the \"Code for Acceptance of Construction Quality of Building Foundation\" (GB 50202-2018). The physical model intuitively reflects the collision situation, and the table intuitively reflects the optimization results. The entire process is transparent and visible, and the results fully comply with the national standard, accuracy, and authenticity.