This invention provides a method, apparatus, electronic device, and storage medium for automatically arranging standard punch markings, relating to the field of mold design and
manufacturing technology. The method includes the following steps: on a target 3D drawing, with a first arrangement position as the center, determining whether vertical and horizontal line segments exist within a preset
radius. Specifically, if only vertical line segments exist, determining the target
direction vector for arranging the punch based on the vertical line segments; if both vertical and horizontal line segments exist, determining the target
direction vector for arranging the punch based on the vertical and horizontal line segments; and arranging standard punch markings on the corresponding punch holes in the target 3D drawing according to the target
direction vector. This invention aims to solve the problem of manually arranging standard punch markings, featuring high intuitiveness, low repetition rate, and accurate placement, significantly improving the efficiency of standard punch arrangement.