An on-site survey is the primary task of working live in distribution networks. However, the traditional manual on-site survey method is not only not very intuitive but also inefficient. The application of 3D point cloud technology has opened up new avenues for on-site surveys in life working in distribution networks. This paper focused on the application of the Point Transformer V2(PTV2) model in the segmentation of distribution network point clouds. Given its deficiencies in boundary discrimination ability and limited feature extraction ability when processing the point clouds of distribution networks, an improved Non-local Focal Loss-Point Transformer V2 (NF-PTV2) model was proposed. With PTV2 as its core, this model incorporated the Non-Local attention to capturing long-distance feature dependencies, thereby compensating for the PTV2 model’s shortcomings in extracting features of large-scale objects with complex features. Simultaneously, the Focal Loss function was introduced to address the issue of class imbalance and enhance the model’s learning ability for small complex samples. The experimental results demonstrated that the overall accuracy (OA) of this model on the distribution network dataset reached 93.28%, the mean intersection over union (mIoU) reached 81.58%, and the mean accuracy (mAcc) reached 87.21%. In summary, the NF-PTV2 model proposed in this article demonstrated good performance in the point cloud segmentation task of the distribution network and can accurately identify various objects, which, to some extent, overcomes the limitations of the PTV2 model.