This application discloses a method, apparatus, storage medium, and electronic device for determining the location of
rebar breakpoints. The method includes determining corresponding target segment intervals based on the distances between multiple adjacent supports with a connection relationship in an
engineering drawing; determining a current
breakpoint in the
engineering drawing that matches at least one target
rebar object based on a first reference length of a first reference
rebar object; repeating the following steps until the remaining length of the target rebar object is less than the first reference length: if the current
breakpoint is within the target segment interval, determining the next current
breakpoint based on the first reference length, using the current breakpoint position as the starting point; if the current breakpoint is outside the target segment interval, adjusting the current breakpoint position to within the target segment interval that meets the
segment length condition, and determining the next current breakpoint based on the first reference length. This application solves the technical problem of low efficiency in determining the location of rebar breakpoints in related technologies.