In the developing of 2D non-contact anthropometry and application system, automatic pattern generation of men’s pants system is important component. Styles of men’s pants are single, and can be devised simply. In this paper, 6 kinds of devised styles are summarized by observing styles of men’s pants, which divide into landscape orientation, lengthways orientation and slant segmentation all included straight line and curve. After the users enter into automatic pattern generation of men’s pants system, they can choose devised style in the interface of design, and then related pattern can be automatically generated in the interface of pattern. In this paper, VS software is used to make programming, ganged style of pants in human body is realized by MATLAB, so the pattern can be automatically generated according to the rules of pattern and devised styles. This study provides the basis for automatic pattern generation of men’s pants system.