The invention discloses a modeling method, device and equipment for parts. The method comprises the following steps: acquiring attributes of the parts; determining a graphical module according to the attribute; establishing a graphical constraint function of the part based on the graphical module; analyzing the graphical constraint function to obtain a DSL (
Digital Subscriber Line) text; analyzing the DSL text to obtain an attribute parameter; according to the attribute parameters, modeling is conducted on the part, and a three-dimensional model of the part is obtained. According to the method, the graphical constraint function is established through the graphical module, check and
verification can be visually carried out, check and
verification do not need to be carried out on a large number of codes, the check and
verification accuracy is improved, meanwhile, the attribute
constraint relation can be analyzed in a special scene through the DSL, the attribute parameters used for modeling are obtained, and the modeling flexibility is improved.