This disclosure relates to the field of industrial
automation technology, and provides a method and apparatus for calculating the
screen printing path of a convex irregular
bottle. The method includes: decomposing the convex contour
point set of the
bottle to be printed into several continuous straight line segments and / or curve segments according to a preset straightness tolerance parameter, generating a segment information set; for the curve segment, according to the target rotation angle, rotating the contour points in the current curve segment in the opposite direction of the origin by the target rotation angle, searching for the point with the largest ordinate value in the rotation
point set as a tangent candidate point, performing secondary interpolation within the interval formed by the tangent candidate point and its adjacent points to obtain the
brush point coordinates, and calculating the
halftone dot coordinates according to the segment starting length of the current curve segment and the cumulative length of the
brush point within the segment of the current curve segment; generating printing path data containing
brush point trajectory and
halftone dot trajectory, wherein the brush
point trajectory is composed of brush point coordinates and the
halftone dot trajectory is composed of halftone dot coordinates.