A data-driven based two-dimensional tire pattern diagram full-automatic generation method and system
Patent Information
- Application Number
- CN202611185718.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-06
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2046-08-06
AI Technical Summary
[0011]本发明的目的在于针对现有二维半钢子午线轮胎花纹图生成过程中存在的数据驱动能力弱、图形更新后标注需人工调整、多个节距图纸难以自动拼合以及批量出图可靠性不足等问题,提供一种基于数据驱动的二维半钢子午线轮胎花纹图全自动生成方法及系统,通过建立结构化参数数据源与参数化模板之间的直接映射关系,实现单节距图形与关联标注的同步更新、驱动过程的闭环校验以及多节距图纸的智能拼合,从而提高轮胎花纹图的批量生成效率、尺寸一致性和出图自动化水平
[0054] Compared with existing technologies, this invention establishes an integrated technical chain by coordinating and integrating structured parameter data sources, Python control programs, and AutoCAD parametric templates. This chain enables external data to directly drive 2D templates, synchronously update graphic changes and associated annotations, ensure successful drive through closed-loop log verification, and automatically assemble multi-pitch drawings to output assembly drawings. This significantly reduces the workload associated with manual dimensioning, repetitive annotations, and manual drawing assembly. Furthermore, it maintains the stability, consistency, and traceability of drawing generation results in batch drawing scenarios with multiple specifications and pitches. Specifically, by mapping the consistent names of dimension constraint variables to the field names in the parameter table, parameter values can directly drive the pattern contour, avoiding the problems caused by traditional manual data entry. By addressing the accumulation of errors through the combination of geometric constraints and associated annotations, the system can automatically maintain the synchronous linkage of graphic topology relationships and annotation values and positions when the contour changes, fundamentally solving the inefficiency problem of needing to reorganize annotations after modifying existing 2D drawings. Furthermore, through a detection and retry mechanism based on log success marking, the system has the ability to identify and self-recover from anomalies in the parameter-driven process, effectively improving the reliability of batch operation. At the same time, by performing intelligent arrangement of each single-pitch drawing based on height recursion and adaptive scaling of the drawing frame, this invention can also automatically generate assembly drawings with unified layout and standardized display, thereby comprehensively improving the design response speed, batch expansion capability, and engineering application value of 2D semi-steel radial tire tread patterns.
Smart Images

Figure CN122693306B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automated tire structure design technology, and in particular to a data-driven, fully automated method and system for generating two-dimensional tire tread patterns. Background Technology
[0002] With the accelerating pace of semi-steel radial tire product development, the serialization of tire tread pattern designs, the expansion of specifications, and the efficiency of engineering drawing output have become crucial factors affecting product development cycles and design quality. In the development process of semi-steel radial tires, two-dimensional tread pattern drawings not only serve as design representations but also directly relate to subsequent process verification, manufacturing release, version archiving, and cross-departmental technical communication. Therefore, the efficiency of generating two-dimensional tread pattern drawings, dimensional consistency, annotation accuracy, and the level of standardization between different specifications all directly impact a company's R&D efficiency. Especially when the same tread pattern series needs to be rapidly expanded to multiple specifications, relying on traditional manual drawing, manual modification, and manual piecing together methods is not only inefficient but also highly prone to rework due to issues such as missing dimensions, asynchronous annotations, and inconsistent layouts.
[0003] In current tire design work, a common approach is to create a parametric model of the tire profile, tread pattern, or related parameters using a general-purpose 3D CAD platform, and then export the 3D model as a 2D engineering drawing. Taking patent document CN114462111B as an example, this document discloses an automatic annotation method for tire engineering drawings based on CATIA. Its core technology lies in: first, creating a parametric template of the tire profile, tread pattern, and sidewall using the CATIA platform; then exporting the CATDrawing engineering drawing; and finally, achieving automatic annotation of the engineering drawing through the engineering drawing template file and secondary development methods. After the model is updated, previously recorded annotation position information can be read to re-annotate and layer the engineering drawing, thereby improving the annotation efficiency and standardization of drawings within the same series. This document demonstrates that in the field of automatic tire engineering drawing generation, improving drawing annotation efficiency using parametric templates and secondary development tools has attracted attention.
[0004] However, further analysis reveals that the core technology of CN114462111B remains built upon a 3D design platform and its engineering drawing export system. It primarily addresses the automatic annotation and position restoration of engineering drawings after model updates, and its basic logic still leans towards annotation after model updates or rearranging annotations based on recorded information. While this approach can alleviate some of the burden of manual annotation, it still presupposes completing 3D modeling first, followed by 2D engineering drawing export and annotation processing. For applications in semi-steel radial tire tread design that require rapid transformation, drawing generation, and batch expansion of 2D drawings, this type of solution has significant limitations: First, designers often need to return to the 3D environment to modify parameters or models to achieve 2D dimension adjustments, resulting in an excessively long response chain; Second, since engineering drawing annotations still rely on templates, location information extraction, or rearrangement, there is no naturally integrated synchronous relationship between graphic changes and annotation changes, thus manual intervention is still easily required in scenarios with frequent specification switching and pitch changes; Third, this type of solution is more geared towards automatic annotation of overall engineering drawings and does not provide a complete solution for the special scenario where tire treads consist of multiple different pitch units that need to be further assembled into a final assembly 2D tread pattern drawing.
[0005] Another type of existing technology focuses on the parametric modeling and standardization of the design process for tire tread patterns. Patent document CN106021669B discloses a parametric design system and method for tire tread patterns. This document proposes constructing a parametric design system for tire tread patterns through modules such as tread groove design, tread groove intersection design, decorative element design, and auxiliary modeling. This allows for iterative modification of tread parameters, standardizes the tire tread pattern design process, and improves design efficiency and quality. The document also explicitly points out that existing tire companies often manually draw two-dimensional and three-dimensional tire tread patterns using general-purpose CAD software such as CAXA, AutoCAD, CATIA, and UG. However, traditional methods suffer from repetitive operations, difficulty in standardizing the design process, difficulty in expressing design intent, and hindrance to subsequent extended designs. Therefore, it is necessary to improve tread pattern design efficiency through a parametric design system. Thus, CN106021669B has already recognized the need for standardization of the tire tread pattern design process and iterative parameter modification.
[0006] However, CN106021669B focuses primarily on parametric design organization and design unit encapsulation at the pattern design system level. Its advantage lies in improving modeling efficiency and semantic clarity during the pattern design phase, rather than specifically optimizing the final 2D engineering drawing output. In other words, this paper is closer to solving the problem of how to more efficiently construct and manage pattern design models, rather than deeply addressing the following key pain points that are closer to the actual engineering drawing process: First, how to directly apply parameter values from external structured data sources to the dimensional variables in the 2D pattern template and achieve synchronous linkage between changes in graphic contours and changes in dimension annotations; Second, how to establish a highly reliable driving process with automatic verification, failure retry, and state closure capabilities when batch processing multiple specifications and multiple pitches; Third, how to further automatically complete the intelligent arrangement, unified stitching, and adaptive frame adaptation of multiple pitch drawings in the 2D plane after the single pitch drawing is generated, so as to directly output the annotated assembly drawing. The above-mentioned problems are unique and critical technical issues in the batch generation of two-dimensional semi-steel radial tire tread patterns, but CN106021669B does not provide specific technical solutions.
[0007] From the current practical application, the generation of 2D patterns for semi-steel radial tires still suffers from the following shortcomings. First, there is a lack of a stable, direct, and low-threshold parameter mapping mechanism between the data source and the CAD template. In existing practices, designers usually need to manually read the specification data from Excel or other spreadsheets and input them into the CAD file item by item, or rely on complex internal parameter models for intermediate conversion. This method not only involves many processing steps, but also easily leads to problems such as inconsistent variable names, missing or incorrect parameter input when processing multiple specifications in batches. Second, after the 2D graphic is updated, the dimensions and the graphic often cannot maintain natural synchronization. The common approach is still to delete the original dimensions, re-drag the dimensions, or drag the dimensions locally. Especially when the pattern outline has multiple curves, oblique grooves, local fillets, and multiple key dimensions changing simultaneously, manually reorganizing the dimensions is extremely time-consuming. Furthermore, in tire tread pattern design, different specifications usually correspond to multiple pitch types. Although individual pitch diagrams can be generated separately, the existing technology still relies on manual dragging, manual measurement of spacing, manual placement of drawing frames, and manual adjustment of scaling ratios to combine them into a complete two-dimensional assembly drawing according to rules. This makes it difficult to meet the needs of batch and standardized output.
[0008] Furthermore, existing technologies focus more on single-point optimization in design modeling or automatic annotation, while neglecting the overall design of the entire chain from structured data input—2D template driving—synchronous annotation update—reliability verification—single-pitch output—multi-pitch assembly—final assembly drawing generation. Especially in batch processing scenarios, without a completion determination mechanism for each parameter-driven action, COM communication delays, incomplete command execution, or software anomalies can cause the final drawing to fail to update certain parameters, leading to dimensional errors. Such errors are difficult to detect manually in batch processing. Existing publicly available solutions rarely include a parameter-level closed-loop verification mechanism for the automatic generation of 2D tire tread patterns, such as a success flag, log detection, and failure retry mechanism.
[0009] Furthermore, the tread pattern of semi-steel radial tires has distinct industry-specific characteristics. Its two-dimensional drawing is not a simple engineering drawing of a single part, but rather consists of multiple pitch units with different pitch lengths, local structures, and size combinations. These pitch units need to be combined according to a predetermined arrangement logic to form the final assembly drawing that expresses the overall tread pattern development relationship. Without a specialized assembly algorithm, relying solely on the copy, move, and manual alignment functions of ordinary CAD is insufficient to guarantee consistent output across different specifications, and it is also difficult to maintain efficiency and accuracy when dealing with a large number of specifications. Therefore, from an engineering application perspective, there is an urgent need in this field for a dedicated automated solution for two-dimensional semi-steel radial tire tread patterns. This solution should not only be able to directly read structured parameter data and drive two-dimensional parametric templates to complete graphic changes, but also ensure that associated annotations are updated synchronously with the graphics. Furthermore, it should achieve clean output of single-pitch drawings, automatic assembly of multi-pitch drawings, and adaptive generation of assembly drawings, thereby solving the problems of low efficiency, poor synchronization, insufficient reliability, and weak automatic assembly capabilities in the batch generation of two-dimensional tire tread patterns in existing technologies.
[0010] In summary, while existing technologies have explored automatic annotation of tire engineering drawings and parametric design of tire tread patterns, they have yet to develop a complete technical solution for the batch automatic generation of 2D semi-steel radial tire tread patterns. This solution integrates direct generation of structured data, synchronous updates of 2D geometry and annotations, closed-loop process verification, and intelligent multi-pitch assembly. Therefore, developing a data-driven, fully automated method and system for generating 2D semi-steel radial tire tread patterns remains a significant practical necessity. Summary of the Invention
[0011] The purpose of this invention is to address the problems existing in the generation of two-dimensional semi-steel radial tire tread patterns, such as weak data-driven capabilities, the need for manual adjustment of annotations after graphic updates, difficulty in automatically merging multiple pitch drawings, and insufficient reliability of batch drawing. This invention provides a data-driven, fully automated method and system for generating two-dimensional semi-steel radial tire tread patterns. By establishing a direct mapping relationship between structured parameter data sources and parameterized templates, it achieves synchronous updates of single-pitch graphics and associated annotations, closed-loop verification of the driving process, and intelligent merging of multiple pitch drawings, thereby improving the batch generation efficiency, dimensional consistency, and automation level of tire tread pattern generation.
[0012] Firstly, in order to achieve the above-mentioned objectives, the present invention adopts the following technical solution:
[0013] A data-driven, fully automated method for generating two-dimensional semi-steel radial tire tread patterns includes the following steps:
[0014] S1. Create a structured parameter master table in a spreadsheet. The structured parameter master table contains parameter records for multiple tire specifications and multiple pitches under each specification. Each parameter record includes at least a pitch identifier and several structural dimension parameters. Create a single-pitch two-dimensional parameterized template.
[0015] S2. The control program reads the structured parameter master table, extracts parameter records according to specifications and generates a specification-specific parameter table, opens the single-pitch two-dimensional parameterized template for each pitch under the current specification, and writes the parameter value corresponding to each parameter field into the template with the same name size constraint variable to drive the change of the pattern outline geometry.
[0016] Before each parameter item is driven, the log file path corresponding to the current template is set. After the parameter item is driven and the model is updated, a preset success flag is written to the log file. The control program determines whether the current parameter item is driven successfully by detecting the success flag. If no success flag is detected, the current parameter item will automatically retry until it succeeds or the preset retry limit is reached.
[0017] During the update of size constraint variables, the geometric constraints maintain the topological relationship of the graphics, and the values and positions of the associated annotations are updated synchronously.
[0018] S3. After all parameters of the current pitch are successfully driven, delete the dimension constraints, geometric constraints and reference auxiliary elements in the template, retain only the updated pattern outline geometry and associated annotations, and output the single pitch drawing.
[0019] S4. After all single-pitch drawings of the same specification are generated, the first pitch drawing is positioned at the preset reference point. The target ordinate of the i-th subsequent pitch drawing is calculated recursively according to the height of the previous pitch drawing and then arranged and assembled. The total height of the assembled drawing is calculated and the drawing frame is uniformly scaled according to its ratio with the preset drawing frame height to generate the final assembly drawing of the current specification.
[0020] Preferably, in step S1, each row of the structured parameter table corresponds to a unique pitch record, and each unique pitch record includes at least one or more of the following: pitch identifier, specification identifier, pitch length parameter, groove width parameter, pattern block position parameter, and fillet radius parameter.
[0021] Preferably, in step S1, the single-pitch two-dimensional parameterized template pre-includes tire tread profile geometry, geometric constraints that maintain the topological relationship of the profile, dimensional constraints that drive the changes in the tire tread profile geometry, and annotations associated with the dimensional constraints; wherein, the constraint variable names of the dimensional constraints correspond one-to-one with and are completely consistent with the parameter name fields in the structured parameter table, so that the parameter values in the structured parameter table can be directly mapped to the dimensional constraint variables in the single-pitch two-dimensional parameterized template;
[0022] The geometric constraints include at least one or more of the following: parallel constraints, perpendicular constraints, tangent constraints, collinear constraints, symmetry constraints, and fixed constraints; the dimensional constraints include at least one or more of the following: linear dimensional constraints, aligned dimensional constraints, angular constraints, radius constraints, and diameter constraints.
[0023] Preferably, in step S1, a single-pitch two-dimensional parametric template is created in AutoCAD; in step S2, a Python control program reads the structured parameter master table, extracts parameter records according to tire specifications, and generates a corresponding specification-specific parameter table; for any pitch to be processed under the current specification, the single-pitch two-dimensional parametric template is opened, and for each parameter item in the pitch-specific parameter table, according to the parameter name-parameter value pairing relationship, a dimension constraint variable update command is sent to AutoCAD via the COM interface, so that the dimension constraint variable corresponding to the parameter name is updated to the parameter value; before driving each parameter item, the log file path corresponding to the current template file is set; in AutoCAD... After AutoCAD completes the update of the dimension constraint variables corresponding to the parameter item and finishes updating the model, AutoCAD writes a preset success flag string to the log file. The Python control program determines whether the current parameter item has been successfully driven based on whether the preset success flag string appears in the log file. If the determination fails, the dimension constraint variable update command is resent for the parameter item until the determination is successful or the preset retry limit is reached. Through the dimension constraint variable update, the dimensions of the tire tread outline geometry change while maintaining the topological relationship of the geometric constraints, and the annotation values and positions of the associated annotations are updated synchronously with the update of the dimension constraint variables.
[0024] Preferably, in step S2, before establishing a connection with AutoCAD, the Python control program automatically identifies the locally installed AutoCAD version number by reading the Windows registry and creates a corresponding COM scheduling object based on the identified version number.
[0025] Preferably, in step S2, sending the dimension constraint variable update command to AutoCAD via the COM interface means sending a parameter editing command to the currently active AutoCAD document using the SendCommand command, wherein the parameter editing command includes at least the name of the constraint variable to be updated and the target parameter value.
[0026] Preferably, in step S2, the preset success marker string is a unique text identifier used to identify the completion of the current parameter item's execution. The Python control program determines whether the current parameter item has been successfully executed by detecting whether the unique text identifier appears at the end of the log file or in a predetermined area.
[0027] Preferably, in step S2, the preset retry limit is 1 to 50 times, preferably 5 to 20 times; a waiting time is set between two adjacent retries. ,in, The time interval is from 0.1s to 2s.
[0028] In step S1 and step S2, the single-pitch drawing file is a DXF format file; after saving the single-pitch drawing, the current single-pitch two-dimensional parametric template is closed, and the log file corresponding to the template is deleted.
[0029] Preferably, in step S4, all single-pitch drawings corresponding to the current specification are read, and the lower left corner of the first single-pitch drawing is positioned at a preset reference point. For the first For a single-pitch drawing, determine the coordinates of its bottom left corner target using the following formula:
[0030] ;
[0031] ;
[0032] in, For the first The target horizontal coordinate of a single-pitch drawing. For the first The target vertical coordinate of a single-pitch drawing. For the first The height of a single-pitch drawing is obtained by the difference between the ordinates of the highest and lowest points. This is the vertical spacing coefficient between adjacent single-section drawings. This represents the total number of single-pitch drawings corresponding to the current specification; after arranging all single-pitch drawings, calculate the total height of the assembled pitch drawing. :
[0033] ;
[0034] in, For the first The height of each single-pitch drawing; then, based on the total height of the assembled drawing with the aforementioned pitches. With preset frame height Calculate the scaling factor of the drawing frame :
[0035] ;
[0036] in, This is the scaling factor for the drawing frame. The preset frame height is used; the frame scaling factor is used as the standard. The preset drawing frame is scaled uniformly, and the scaled drawing frame is merged with the pitch splicing drawing to generate the final assembly drawing corresponding to the current specification.
[0037] Preferably, in step S4, the vertical spacing coefficient The value range is from 0.3 to 0.5; the preset reference point This refers to the fixed starting point for layout in the coordinate system of the assembly drawing, where... As the baseline x-axis, Used as the baseline ordinate.
[0038] Preferably, in step S4, the height of the single-pitch drawing is... By extracting the first The ordinate of the highest point of all elements in a single-pitch drawing y-coordinate of the lowest point The calculation yielded:
[0039] ;
[0040] in, For the first The height of a single-pitch drawing. For the first The vertical coordinate of the highest point of all elements in a single-pitch drawing. For the first The ordinate of the lowest point of all elements in a single-pitch drawing.
[0041] Preferably, in step S4, after uniformly scaling the preset frame, the coordinates of the scaled preset frame and the pitch stitched image are aligned so that the pitch stitched image is located within the effective display area of the preset frame.
[0042] Preferably, in step S4, the assembly drawing is a DWG format file, and the assembly drawing contains multiple pitch drawings, dimension annotations, and drawing frame information.
[0043] Secondly, the present invention also provides a fully automated two-dimensional tire tread pattern generation system for implementing the method, comprising:
[0044] The data management module is used to create, store, and retrieve structured parameter master tables and specification-specific parameter tables;
[0045] The template management module is used to create and manage single-pitch two-dimensional parametric templates, which contain tire tread pattern geometry, geometric constraints, dimensional constraints and associated annotations.
[0046] The drive control module is used to send dimensional constraint variable update commands to AutoCAD through the COM interface via the Python control program, and execute parameter item drive success judgment and failure retry according to the preset success mark string in the log file;
[0047] The drawing cleanup output module is used to delete dimensional constraints, geometric constraints, and reference auxiliary elements after all parameter items of the current pitch have been successfully driven, and to output a single-pitch drawing file.
[0048] The assembly processing module is used to arrange all single-pitch drawing files of the same specification according to preset reference points and recursive positioning rules, calculate the total height of the pitch assembly drawing, scale the preset drawing frame, and generate the final assembly drawing;
[0049] The batch scheduling module is used to perform driving, output, and assembly processing on multiple tire specifications in a loop.
[0050] Preferably, the drive control module further includes a version identification unit, which is used to identify the AutoCAD version number through the Windows registry.
[0051] Preferably, the merging processing module uses the ezdxf library to read the single-pitch drawing file and performs element translation, merging, and frame overlay.
[0052] Thirdly, the present invention also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the method.
[0053] Fourthly, the present invention also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the method.
[0054] Compared with existing technologies, this invention establishes an integrated technical chain by coordinating and integrating structured parameter data sources, Python control programs, and AutoCAD parametric templates. This chain enables external data to directly drive 2D templates, synchronously update graphic changes and associated annotations, ensure successful drive through closed-loop log verification, and automatically assemble multi-pitch drawings to output assembly drawings. This significantly reduces the workload associated with manual dimensioning, repetitive annotations, and manual drawing assembly. Furthermore, it maintains the stability, consistency, and traceability of drawing generation results in batch drawing scenarios with multiple specifications and pitches. Specifically, by mapping the consistent names of dimension constraint variables to the field names in the parameter table, parameter values can directly drive the pattern contour, avoiding the problems caused by traditional manual data entry. By addressing the accumulation of errors through the combination of geometric constraints and associated annotations, the system can automatically maintain the synchronous linkage of graphic topology relationships and annotation values and positions when the contour changes, fundamentally solving the inefficiency problem of needing to reorganize annotations after modifying existing 2D drawings. Furthermore, through a detection and retry mechanism based on log success marking, the system has the ability to identify and self-recover from anomalies in the parameter-driven process, effectively improving the reliability of batch operation. At the same time, by performing intelligent arrangement of each single-pitch drawing based on height recursion and adaptive scaling of the drawing frame, this invention can also automatically generate assembly drawings with unified layout and standardized display, thereby comprehensively improving the design response speed, batch expansion capability, and engineering application value of 2D semi-steel radial tire tread patterns. Attached Figure Description
[0055] Figure 1 This invention presents the overall system architecture and batch processing flowchart of the data-driven, fully automated method and system for generating two-dimensional semi-steel radial tire tread patterns.
[0056] Figure 2 This is a flowchart of the parameter-driven and closed-loop verification sub-process of the present invention.
[0057] Figure 3 This is a flowchart of the multi-pitch intelligent splicing unit of the present invention.
[0058] Figure 4 This is a schematic diagram of the pattern outline of the present invention.
[0059] Figure 5 This is a schematic diagram of the pattern outline structure constraint of the present invention.
[0060] Figure 6 This is a schematic diagram illustrating the pattern outline size constraint of the present invention.
[0061] Figure 7 This is a schematic diagram illustrating the pattern outline association annotation of the present invention.
[0062] Figure 8 This is an extended pitch diagram for the 155_65R14 specification of the present invention.
[0063] Figure 9 This is an extended diagram of the pattern of the present invention.
[0064] Figure 10 This is a comparison chart of the average generation time of single-pitch drawings in this invention.
[0065] Figure 11 This is a comparison chart of the dimensional accuracy rate and the synchronous labeling accuracy rate of this invention.
[0066] Figure 12 This is a comparison diagram of the multi-pitch splicing positioning error of the present invention. Detailed Implementation
[0067] The present invention will be further described in detail below with reference to the accompanying drawings. It should be understood that the following embodiments are used to illustrate the technical solution of the present invention and are not intended to limit the scope of protection of the present invention. Equivalent substitutions or conventional adjustments made by those skilled in the art based on the disclosure of this specification regarding parameter field names, software versions, drawing formats, log marker content, number of retries, drawing frame dimensions, number of pitches, output paths, and drawing splicing directions should all fall within the scope of protection of the present invention.
[0068] I. Terminology Explanation
[0069] To facilitate understanding of this invention, the main terms used in this specification will be explained as follows.
[0070] A structured parameter master table is a parameter data file created in spreadsheet format. It is used to centrally store the structural parameters corresponding to multiple tire specifications and multiple pitch types under each specification. The first row of the table is the parameter field name, and each subsequent row is a pitch instance record.
[0071] A pitch identifier is a data field used to uniquely identify a specific pitch type within a particular tire specification. For example, 155_65R14_A represents pitch A within the 155_65R14 specification, and 165_70R14_B represents pitch B within the 165_70R14 specification.
[0072] A single-pitch 2D parametric template is a pre-created 2D drawing template in AutoCAD that includes the tire tread pattern geometry, geometric constraints, dimensional constraints, and associated annotations. This template can accept external parameters and generate 2D tread pattern diagrams with corresponding specifications and pitches.
[0073] Geometric constraints refer to the geometric relationship constraints applied between pattern outline primitives, including parallel constraints, perpendicular constraints, tangent constraints, collinear constraints, fixed constraints, and symmetry constraints, which are used to ensure that the pattern outline maintains the predetermined topological relationship when the size changes.
[0074] Size constraint variables are variables that are bound to size constraint objects and can be updated through external parameter values. Their variable names are consistent with the parameter field names in the structured parameter master table.
[0075] Associated annotations are engineering annotation objects that maintain a relationship with graphic objects or dimensional constraint objects. When dimensional constraint variables are updated, the values and positions of associated annotations can be updated synchronously with the changes in the graphics.
[0076] Closed-loop verification refers to a control mechanism that, after each parameter item is driven, checks the preset success flag in the log file to confirm whether the parameter item has actually been updated, and automatically re-executes the parameter item drive if the confirmation is unsuccessful.
[0077] A single-pitch drawing refers to a drawing file output after parameter-driven, associated annotation synchronous update, and drawing cleanup for a specific specification and pitch type.
[0078] A pitch composite drawing refers to an intermediate drawing formed by arranging and merging multiple single-pitch drawings of the same specification according to a predetermined coordinate rule.
[0079] The final assembly drawing refers to the final two-dimensional semi-steel radial tire tread pattern formed after further adaptive adaptation of the drawing frame based on the pitch assembly drawing.
[0080] II. System Structure
[0081] Combination Figure 1 The system of the present invention includes a data management module, a template management module, a drive control module, a closed-loop verification module, a drawing purification output module, a multi-pitch splicing module, and a batch scheduling module.
[0082] The data management module is used to create, read, and maintain a structured parameter master table. This structured parameter master table is preferably in spreadsheet format, with the first row set as the parameter field name, and each subsequent row corresponding to a pitch instance record. Parameter fields include pitch identifier, specification model, pitch length, tread width, tread groove width, local line segment length, local arc radius, and local offset distance. The data management module is also used to filter parameter records from the structured parameter master table according to specifications and generate specification-specific parameter tables, ensuring that each specification is independent in subsequent processing and reducing confusion during parameter reading and file output.
[0083] The template management module is used to create and maintain AutoCAD single-pitch 2D parametric templates. This template must include at least... Figure 4 The single-pitch pattern outline shown Figure 5 The geometric constraints shown Figure 6 The dimensional constraints shown and Figure 7 The associated annotations are shown. The template management module is used to open, copy, save, close, and manage versions of template files, and provides a unified template basis for the drive control module during each pitch processing.
[0084] The drive control module is used to write the target parameter values from the structured parameter master table or specification-specific parameter table into the corresponding dimensional constraint variables in the AutoCAD single-pitch 2D parametric template. During execution, the drive control module first identifies the local AutoCAD version and establishes an application connection. Then, it reads the parameter names and values item by item according to the pitch record and generates parameter-driven instructions. These instructions are not limited to a specific program statement; essentially, they involve entering the AutoCAD parameter editing function, selecting the name of the dimensional constraint variable to be updated, and assigning that variable the target parameter value.
[0085] The closed-loop verification module is used to check whether each parameter item has actually been updated. Before each parameter item is updated, the system sets the log file path corresponding to the current template. After AutoCAD completes the update of the current parameter item and refreshes the model, it writes a preset success flag to the log file. The closed-loop verification module reads the log file and checks whether the success flag exists. If it exists, the current parameter item is considered to have been successfully updated; if it does not exist, the drive control module is notified to re-execute the parameter item update until it succeeds or the maximum number of retries is reached.
[0086] The drawing cleanup output module is used to delete dimensional constraints, geometric constraints, reference lines, construction lines, and temporary auxiliary objects from the template after all parameters for the current pitch have been successfully driven, retaining only the updated pattern outline geometry and associated annotations, and outputting it as a single-pitch drawing file. Preferably, the single-pitch drawing is saved in DXF format for subsequent element reading and assembly.
[0087] The multi-pitch assembly module is used to read all single-pitch drawings of the same specification, extract the boundary dimensions of each single-pitch drawing, calculate the target coordinates of each pitch drawing according to the preset reference point and recursive positioning rules, translate and merge multiple single-pitch drawings into the same drawing to form a pitch assembly drawing; then calculate the drawing frame scaling factor according to the total height of the assembly drawing and the preset drawing frame height, and merge the scaled drawing frame with the pitch assembly drawing to form the final assembly drawing.
[0088] The batch scheduling module is used to control specification-level and pitch-level loops. For each specification, the batch scheduling module sequentially calls the data management module, drive control module, closed-loop verification module, drawing purification and output module, and multi-pitch assembly module to generate all pitch drawings and assembly drawings for that specification. After the current specification is processed, it automatically determines whether there are any unprocessed specifications. If so, it continues to process the next specification; otherwise, it terminates the entire batch drawing process.
[0089] III. Overall Technical Route
[0090] The overall technical approach of this invention is as follows: First, a structured parameter master table is established, and the parameter field names are kept consistent with the dimensional constraint variable names in the AutoCAD single-pitch two-dimensional parametric template; then, a single-pitch two-dimensional parametric template containing geometric constraints, dimensional constraints, and associated annotations is established; subsequently, the control program reads the parameter table and executes the drive step by step according to specifications, pitch, and parameter items; after each parameter item is driven, a closed-loop verification is performed by logging a successful mark; after all parameter items for the current pitch are successfully driven, drawing purification is performed and single-pitch drawings are output; after all single-pitch drawings under the same specification are generated, the boundaries of each single-pitch drawing are read and automatically stitched together according to the height recursion method; finally, the drawing frame is adaptively scaled according to the total height of the stitched drawing and the final assembly drawing is output.
[0091] In this technical approach, the parameter-level closed-loop drive and multi-pitch intelligent assembly are the steps that contribute significantly to the invention's inventiveness. The former ensures that external parameters can be reliably written into the two-dimensional template and achieves synchronous updates of graphics and annotations; the latter solves the problems of automatic multi-pitch arrangement of tire tread patterns and final assembly output. Although the steps of structured parameter preparation, template prefabrication, specification looping, and document output contribute relatively less inventiveness, they provide the necessary data, graphics, and process foundation for the aforementioned core steps.
[0092] IV. Structured Parameter Data Source and Single-Pitch Parameterized Template Pre-fabrication
[0093] Create a structured parameter master table in spreadsheet software. The first row of the structured parameter master table contains parameter field names, and the second and subsequent rows contain pitch instance records. Each pitch instance record includes at least the pitch identifier, specification model, pitch length, tread groove width, tread width, local line segment length, local fillet radius, and local offset parameter. Specific fields may include Pitch_Code, PitchLength, TPW, DTCW, L1 to L11, DD1, DD2, and DD4, etc. The unit for each field is preferably millimeters.
[0094] The key to the structured parameter master table lies in the field naming rules. Parameter field names should be completely consistent with the dimensional constraint variable names in the AutoCAD single-pitch 2D parametric template. For example, if the structured parameter master table contains a `PitchLength` field, the template should contain a dimensional constraint variable named `PitchLength`; if the structured parameter master table contains an `L1` field, the template should contain a dimensional constraint variable named `L1`. Through this consistent naming rule, the control program can directly locate the corresponding dimensional constraint variable in the template based on the parameter field name, without requiring manual establishment of additional mapping relationships.
[0095] Combination Figures 4 to 7 Create a single-pitch 2D parametric template in AutoCAD. First, draw... Figure 4 The single-pitch pattern profile shown includes the pattern groove boundary line, pattern block boundary line, local oblique groove, circular arc transition section, positioning reference line, and profile boundary line. This profile serves as the geometric basis for subsequent parameter-driven operations.
[0096] Secondly, such as Figure 5 As shown, geometric constraints are applied to key primitives in the pattern profile. Parallel constraints are applied to groove boundary lines that need to maintain parallelism; perpendicular constraints are applied to boundary lines and baselines that need to maintain orthogonality; tangent constraints are applied to arc transition segments and adjacent straight line segments; collinear constraints are applied to segment lines located on the same extension line; and fixed constraints are applied to baselines or center lines that should not drift as a whole with parameter changes. Through these geometric constraints, the topological structure of the pattern profile can be kept stable when dimensional parameters change.
[0097] Again, such as Figure 6 As shown, dimensional constraints are set for key dimensions in the single-pitch pattern profile. Dimensional constraints are used to limit parameters such as pitch length, groove width, local line segment length, local offset distance, and arc radius. Each dimensional constraint has a corresponding variable name, which is consistent with the field name in the structured parameter master table.
[0098] Finally, as Figure 7 As shown, associated annotations are set up in the template. These associated annotations are placed where dimensions need to be displayed on the final drawing and are linked to the corresponding graphic object or dimension constraint variable. When the dimension constraint variable changes, the annotation value and position are updated synchronously. Therefore, the template not only enables automatic changes to the drawing but also automatic updates to the annotations.
[0099] The single-pitch two-dimensional parametric template formed through the above prefabrication steps is no longer an ordinary static two-dimensional drawing, but a dynamic graphic template that can be directly driven by a structured parameter table. This template provides a unified graphic and annotation basis for subsequent batch drawing output.
[0100] V. Automated Batch Driving and Closed-Loop Verification
[0101] Combination Figure 1 and Figure 2 Automated batch driving and closed-loop verification are among the core steps of this invention. The purpose of this step is to reliably write the parameter values from the structured parameter table into the corresponding size constraint variables in the two-dimensional template, and to confirm that each parameter item has actually completed the driving process.
[0102] After the control program starts, it first reads information related to the AutoCAD installation from the local operating system, identifies the current AutoCAD version, and establishes an application connection between the control program and AutoCAD. This process improves compatibility across different design workstation environments and avoids connection failures due to different AutoCAD versions.
[0103] Subsequently, the control program reads the structured parameter master table and parses the list of specifications to be processed based on the pitch identifier. Taking an example where the structured parameter master table includes specifications 155_65R14_A to 155_65R14_E and 165_70R14_A to 165_70R14_E, the system can identify two specifications: 155_65R14 and 165_70R14. The control program creates a dedicated output directory for each specification and filters all pitch records corresponding to that specification from the structured parameter master table to generate a specification-specific parameter table.
[0104] For the current specification, the control program reads each pitch record from the specification-specific parameter table. Taking the 155_65R14 specification as an example, its specific parameter table includes five pitch records: A, B, C, D, and E. The system sequentially performs template opening, parameter item driving, closed-loop verification, drawing cleanup, and single pitch output for each pitch. This process forms a three-level processing structure: specification, pitch, and parameter item. The outer layer is based on specifications, the middle layer on pitch, and the inner layer on parameter items.
[0105] For a certain pitch, the first There are several parameter items, let the field name of each parameter item be... The target parameter value is The control program is based on the field name. Locate the same dimension constraint variable in the template and set the target parameter value. Write this dimension constraint variable. This assignment relationship can be expressed as:
[0106] ;
[0107] In the formula, For the first One size constraint variable; For the structured parameter table and Corresponding target parameter value; symbol This indicates that the target parameter value will be written into the corresponding size constraint variable.
[0108] When size constraint variables After being updated, the geometric dimensions corresponding to this variable change. Let the updated geometric dimensions be... Then it satisfies:
[0109] ;
[0110] In the formula, For the template and the first The updated geometric dimensions corresponding to each size constraint variable; For the first The target parameter value for each parameter item.
[0111] Because the control program communicates with AutoCAD via an external interface, sending a parameter-driven command does not necessarily mean that AutoCAD has completed the model update. To avoid false successes where "commands have been sent but the model has not been updated," this invention sets up a parameter-level closed-loop verification mechanism. In the driving... Before each parameter item, the system sets the log file path corresponding to the current template file; after AutoCAD completes the update of the dimension constraint variables corresponding to the parameter item and completes the model refresh, it writes a preset success mark to the log file; after sending the parameter-driven command, the control program checks whether the success mark appears in the log file.
[0112] No. The driving result of each parameter item It can be represented as:
[0113] ;
[0114] In the formula, For the first The driving result of each parameter item; This indicates that the parameter item has been confirmed as successfully driven within the predetermined time. This indicates that the parameter item was not confirmed as successfully driven within the scheduled time.
[0115] when When this happens, the control program re-executes the drive for that parameter item. Let the maximum allowed number of retries be... The actual number of attempts for the current parameter item is: Then the following condition is met:
[0116] ;
[0117] In the formula, For the first The actual number of attempts for each parameter item; This represents the maximum allowed number of retries. Preferably, Set to 20 attempts. Set a waiting time between two consecutive retries. Preferred The time is 0.3 seconds, so that AutoCAD can complete command processing and model refresh.
[0118] After parameter-driven operation is successful, the graphics in the template undergo dimensional changes under geometric constraints. For example, when the pitch length variable is updated, the single-pitch profile adjusts along its length; when the groove width variable is updated, the distance between the groove boundaries is adjusted; and when the local offset distance variable is updated, the position of the oblique groove or local profile is adjusted. Because... Figure 5 The geometric constraints shown are pre-set, and the graphic transformation is completed while maintaining geometric relationships such as parallelism, perpendicularity, tangency, and collinearity, without any unexpected contour deformation.
[0119] At the same time, due to Figure 7 The associated annotations shown have been established with graphic objects or dimensional constraint variables, and the annotation values and positions of the annotation objects are updated synchronously as the graphics change. Let the first... The annotation display value corresponding to each dimension constraint variable is: Then, after the size constraint variables are successfully updated, the following conditions are met:
[0120] ;
[0121] In the formula, For the first The annotation values displayed for each annotation object; For the first The updated geometric dimensions corresponding to each size constraint variable.
[0122] Therefore, this invention achieves integrated processing of parameter updates, graphic updates, and annotation updates. This processing method differs from the traditional method of manually re-annotating modified 2D drawings, and also from the method of simply recording the annotation positions and then regenerating the annotations. It can significantly reduce annotation errors and the workload of manual editing.
[0123] Once all parameters for a given pitch have been successfully driven, the drawing cleanup output module removes dimensional constraints, geometric constraints, reference lines, construction lines, and temporary control objects from the template, retaining only the updated pattern outline geometry and associated annotations. Subsequently, the system saves the current drawing as a single-pitch drawing file, preferably in DXF format. Taking 155_65R14_A as an example, the output result is as follows: Figure 8 As shown. Figure 8 The pattern outline has been updated based on the structured parameters, and the annotations have also been updated accordingly. Furthermore, it no longer contains constraint symbols and reference auxiliary lines used for parameter-driven operations.
[0124] VI. Multi-pitch intelligent assembly
[0125] Combination Figure 3 Multi-pitch intelligent assembly is another core step of this invention. This step is used to automatically arrange multiple single-pitch drawings of the same specification to form an assembly drawing, solving the problem that traditional tire tread pattern expansion drawings rely on manual copying, moving, alignment, and frame adjustment.
[0126] Once all single-pitch drawings for the same specification have been output, the multi-pitch assembly module reads all single-pitch drawings from the folder containing that specification. For the first... For a single-section drawing, the system extracts the ordinate of the highest point of all its elements. and the ordinate of the lowest point Calculate the height of the single-pitch drawing. :
[0127] ;
[0128] In the formula, For the first The height of a single-pitch drawing; For the first The vertical coordinate of the highest point of all elements in a single-pitch drawing; For the first The ordinate of the lowest point of all elements in a single-pitch drawing.
[0129] Subsequently, the system positions the bottom left corner of the first single-pitch drawing to the preset reference point. In a preferred embodiment, Let it be (50, 50). Wherein, As the baseline x-axis, Used as the baseline ordinate.
[0130] For the For a single-pitch drawing, the coordinates of the bottom left corner target are determined according to the following formula:
[0131] , ;
[0132] In the formula, For the first The target horizontal coordinate of a single-pitch drawing; For the first The target vertical coordinate of a single-pitch drawing; For the first The height of a single-pitch drawing; This is the vertical spacing coefficient between adjacent single-pitch drawings; This represents the total number of single-pitch drawings corresponding to the current specification. Preferably, Take 0.3 to 0.5; in this embodiment, Take 0.3.
[0133] Using the coordinate calculation method described above, subsequent pitch drawings are automatically shifted upwards relative to the previous pitch drawing by the height and spacing allowance, thus avoiding overlap between adjacent drawings and maintaining consistent pitch spacing. All single-pitch drawings are then translated according to the target coordinates and merged into the same drawing to form a pitch composite drawing.
[0134] After all pitches are arranged, the system calculates the total height of the pitch-assembled diagram. :
[0135] ;
[0136] In the formula, This represents the total height of the pitch-assembly diagram; For the first The target vertical coordinate of a single-pitch drawing; For the first The height of a single-pitch drawing; This is the target vertical coordinate of the first single-pitch drawing.
[0137] Let the preset frame height be Then the frame scaling factor Calculate using the following formula:
[0138] ;
[0139] In the formula, This is the scaling factor for the drawing frame; This represents the total height of the pitch assembly diagram; This is the preset frame height.
[0140] The system uses the frame scaling factor. The preset drawing frame is scaled uniformly, and the scaled drawing frame is merged with the pitch splicing drawing to output the final assembly drawing corresponding to the current specification. Figure 9 In the middle, 'a' represents the final assembly drawing for the 155_65R14 specification. Figure 9 The image in section b is the assembly drawing for the 165_70R14 specification. (From...) Figure 9 a and Figure 9 As can be seen from b, although different specifications have different parameter values, they can all form a consistent assembly drawing through the same assembly rules.
[0141] VII. Batch Cyclic Control
[0142] After the assembly drawing of the current specification is output, the batch scheduling module checks whether there are any unprocessed specifications in the specification list. If there are unprocessed specifications, it reads the dedicated parameter table of the next specification and repeats the automated batch drive, closed-loop verification, single-pitch drawing output, and multi-pitch intelligent assembly; if there are no unprocessed specifications, the entire batch generation process terminates.
[0143] This step itself is a process scheduling step, but it plays a necessary role in realizing batch generation of drawings of multiple specifications. Through this step, the present invention can expand from generating drawings of a single specification to automatically generating drawings of multiple specifications and multiple pitches in batches.
[0144] VIII. Examples and Comparative Examples
[0145] Example 1: Generation of pattern diagram for 155_65R14 specification
[0146] In this embodiment, the 155_65R14 specification is selected as the test object. The structured parameter master table includes five pitch records: 155_65R14_A, 155_65R14_B, 155_65R14_C, 155_65R14_D, and 155_65R14_E. The system extracts these five pitch records from the structured parameter master table to generate a parameter table specific to the 155_65R14 specification.
[0147] For pitch A, the system opens the single-pitch 2D parametric template, reads parameters such as PitchLength, TPW, DTCW, L1 to L11, DD1, DD2, and DD4 item by item according to their field names, and writes the target parameter values into the corresponding size constraint variables in the template. After each parameter item is driven, the system checks the log for a success mark; if no success mark is detected, the current parameter item is re-executed; if a success mark is detected, the system proceeds to the next parameter item. After all parameter items for pitch A are successfully driven, the system deletes constraints and reference auxiliary elements, and outputs... Figure 8 The drawing shown is a single-pitch drawing.
[0148] The system sequentially performs the same processing on pitches B, C, D, and E, resulting in five single-pitch drawings. Subsequently, the system reads the five single-pitch drawings, extracts the height of each drawing, and then... Figure 3 The recursive rule shown calculates the target coordinates, completes the pitch stitching, and scales the drawing frame according to the total height of the stitched image to generate... Figure 9 The assembly drawing of the 155_65R14 specification is shown in Figure a.
[0149] Example 2: Generation of pattern diagram for 165_70R14 specification
[0150] This embodiment selects the 165_70R14 specification as the test object. The structured parameter summary table includes five pitch records from 165_70R14_A to 165_70R14_E. The system adopts the same process as in Embodiment 1 for parameter reading, template driving, closed-loop verification, drawing cleanup output, and multi-pitch assembly.
[0151] Because the parameter values for the 165_70R14 specification differ from those for the 155_65R14 specification, the dimensional constraint variables in the template are updated to different target values, resulting in different pattern outlines and single-pitch drawing heights. The final system output... Figure 9 Figure b shows the assembly drawing of the 165_70R14 specification. This embodiment illustrates that the present invention can automatically generate two-dimensional semi-steel radial tire tread patterns of different specifications by changing the parameter records in the structured parameter table without redrawing the template.
[0152] Comparative Example 1: Manual 2D Modification and Manual Annotation
[0153] Comparative Example 1 uses a traditional manual method to generate a two-dimensional semi-steel radial tire tread pattern. Designers open existing two-dimensional drawings, manually modify the tread pattern dimensions according to the parameter table, manually check and adjust the annotations after modification, and then combine multiple pitch drawings into the final assembly drawing by copying, moving, and aligning. Finally, they manually adjust the position and size of the drawing frame. This method does not use automatic dimensional constraint variables, does not employ log-based closed-loop verification, and does not use a multi-pitch combination method based on drawing height recursion.
[0154] Comparative Example 2: Automatic Parameter-Driven Approach Without Loop Closure Verification
[0155] Comparative Example 2 uses a structured parameter table and an AutoCAD parametric template, but after parameter-driven operation, it does not check the log success flag or perform a failure retrieval. The control program directly proceeds to the next parameter item after sending the parameter-driven command. This method is used to verify the effectiveness of the closed-loop verification mechanism in ensuring the reliability of batch drawing output.
[0156] Comparative Example 3: Synchronization Method for Unrelated Annotations
[0157] Comparative Example 3 uses dimensional constraint variables to drive the pattern outline, but the template does not have pre-established associated annotations, or the annotation objects are not associated with the dimensional constraint variables. After the drawing is updated, the annotations need to be manually rearranged or corrected. This method is used to verify the effect of the associated annotation synchronization mechanism on annotation accuracy and drawing efficiency.
[0158] IX. Experimental Conditions and Evaluation Indicators
[0159] The experiment used two specifications, 155_65R14 and 165_70R14, under the same pattern series. Each specification included five pitches: A, B, C, D, and E, totaling 10 single-pitch drawings and 2 assembly drawings. Twenty key dimensions were selected for each pitch to statistically analyze dimensional accuracy, resulting in a total of 200 key dimensions. Sixteen associated annotations were analyzed on each single-pitch drawing, resulting in a total of 160 annotations.
[0160] Dimensional accuracy is determined according to the following conditions:
[0161] ;
[0162] In the formula, For the first One output drawing size; For the first One target parameter value; This is the allowable error threshold. In this experiment, Take 0.01mm.
[0163] Size accuracy Calculate using the following formula:
[0164] ;
[0165] In the formula, For dimensional accuracy; To determine the correct size and quantity; This represents the total number of dimensions included in the statistics.
[0166] Annotation synchronization accuracy Calculate using the following formula:
[0167] ;
[0168] In the formula, To measure the accuracy of synchronization; To ensure the correct number of annotations is synchronized; This represents the total number of annotations included in the statistics.
[0169] No. Longitudinal splicing error of individual pitch drawings Calculate using the following formula:
[0170] ;
[0171] In the formula, For the first Longitudinal splicing error of individual pitch drawings; For the first The actual vertical coordinate of each pitch drawing; For the first The theoretical target ordinate of each pitch drawing.
[0172] Batch processing success rate Calculate using the following formula:
[0173] ;
[0174] In the formula, To improve batch processing success rate; This represents the number of batch processes that have successfully completed. This represents the total number of batch processes.
[0175] 10. Experimental Data
[0176] Table 1 compares the average generation time of single-pitch drawings. Figure 10 .
[0177] Table 1 Comparison of average generation time for single-pitch drawings
[0178]
[0179] From Table 1 and Figure 10 As can be seen, the average generation time for single-pitch drawings in this invention is 2.9 minutes, which is significantly shorter than that of manual methods. Although Comparative Example 2 is slightly shorter, it lacks closed-loop verification, posing a risk that parameters may not be actually updated before outputting. Comparative Example 3 requires manual annotation, resulting in a significant increase in time consumption.
[0180] Table 2 compares the completion time of single-specification assembly drawings.
[0181] Table 2 Comparison of Completion Time for Single-Specification Assembly Drawings
[0182]
[0183] As can be seen from Table 2, the present invention can complete five pitch drawings and one assembly drawing for one specification in only about 17 to 18 minutes, while the manual method requires more than 100 minutes.
[0184] Table 3 shows the comparison of dimensional accuracy rates, corresponding to... Figure 11 .
[0185] Table 3 Comparison of Size Accuracy
[0186]
[0187] As shown in Table 3, the dimensional accuracy of this invention reaches 100%. The main errors in Comparative Example 1 stemmed from manual input and omissions in local dimensional modifications; in Comparative Example 2, some dimensions were not updated correctly because some parameter-driven instructions were not confirmed to have been executed successfully.
[0188] Table 4 shows a comparison of the accuracy of annotation synchronization. Figure 11 .
[0189] Table 4 Comparison of Synchronization Accuracy Rate
[0190]
[0191] As shown in Table 4, the accuracy rate of annotation synchronization in this invention reaches 99.4%. One annotation, located in a densely populated area, was slightly too close to the object; no annotation values were incorrect or the annotation was detached from the object. Comparative Example 3, lacking associated annotations, required manual addition or adjustment, resulting in the lowest annotation synchronization accuracy rate.
[0192] Table 5 shows the statistics of multi-pitch assembly positioning errors, corresponding to... Figure 12 .
[0193] Table 5. Statistics on positioning errors of multi-segment assembly.
[0194]
[0195] As shown in Table 5, the maximum longitudinal error of the multi-pitch splicing of the present invention does not exceed 0.09 mm, and the average error does not exceed 0.05 mm, which is significantly lower than that of the manual splicing method.
[0196] Table 6 shows the batch processing success rate statistics.
[0197] Table 6 Batch Processing Success Rate Statistics
[0198]
[0199] As shown in Table 6, the present invention completed all 30 batch processing tests without manual intervention; while Comparative Example 2, due to the lack of log loop closure verification, experienced 4 instances of parameter failure or abnormal drawing output. This result demonstrates that loop closure verification and automatic retry mechanisms can improve the stability of the batch drawing process.
[0200] XI. Analysis of Experimental Results
[0201] Combination Figures 10 to 12As shown in Tables 1 to 6, this invention can significantly improve the batch generation efficiency of two-dimensional semi-steel radial tire tread patterns. Manual methods require designers to modify graphic dimensions, check annotations, copy and assemble drawings, and adjust the drawing frame one by one, with a single-specification assembly drawing taking over 100 minutes. This invention directly drives the two-dimensional template through a structured parameter table and automatically completes single-pitch output and multi-pitch assembly, reducing the single-specification drawing generation time to approximately 17 to 18 minutes.
[0202] This invention also improves dimensional accuracy. Because the parameter field names are consistent with the template dimension constraint variable names, the system can directly write the target parameter values into the corresponding variables, avoiding errors from manual reading and input. In experiments, this invention achieved perfect accuracy in all 200 key dimension statistics.
[0203] This invention improves the accuracy of synchronized annotation. Associated annotations automatically update as the drawing changes, eliminating the need for manual re-annotation of 2D drawings after dimensional changes. Compared to Comparative Example 3, the accuracy of synchronized annotation in this invention is increased from 73.8% to 99.4%.
[0204] This invention also improves the accuracy of multi-pitch assembly. By adopting a recursive arrangement formula based on the height of single-pitch drawings, the drawings of each pitch can be automatically arranged according to a unified rule, with a maximum longitudinal assembly error of no more than 0.09mm, meeting the requirements for two-dimensional engineering drawing representation.
[0205] Furthermore, this invention improves the reliability of batch processing. Parameter-level log closed-loop verification avoids the problem of false successes where commands are sent but do not actually take effect, achieving a 100% batch processing success rate. Comparative Example 2 illustrates that if closed-loop verification is canceled, even if the overall process can execute automatically, issues such as parameters not being updated or abnormal output will occur during continuous batch processing.
[0206] In summary, this invention achieves full automation of the two-dimensional semi-steel radial tire tread pattern from parameter input to final assembly drawing output through structured parameter direct drive, two-dimensional template constraint update, associated annotation synchronization, parameter item-level closed-loop verification, and multi-pitch intelligent assembly. This can improve drawing efficiency, dimensional consistency, annotation synchronization reliability, and multi-specification batch expansion capability.
[0207] The foregoing description of embodiments of the present invention, through which those skilled in the art are able to implement or use the present invention, will be readily apparent to those skilled in the art. Various modifications to these embodiments will be readily apparent to those skilled in the art. The general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novelty disclosed herein.
[0208] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0209] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0210] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0211] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0212] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0213] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0214] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
Claims
1. A data-driven, fully automated method for generating two-dimensional tire tread patterns, characterized in that, The method includes the following steps: S1. Create a structured parameter master table in a spreadsheet. The structured parameter master table contains parameter records corresponding to multiple tire specifications and multiple pitches under each specification. Create a single pitch two-dimensional parameterized template. S2. Read the structured parameter master table, extract parameter records according to specifications and generate a specification-specific parameter table. For each pitch under the current specification, open the single pitch two-dimensional parameterized template one by one, and write the parameter value corresponding to each parameter field into the template with the same name dimension constraint variable. Before each parameter item is driven, the log file path corresponding to the current template is set. After the parameter item is driven and the model is updated, a preset success flag is written to the log file. The success flag is checked to determine whether the current parameter item has been driven successfully, until it is successful or the preset retry limit is reached. During the update of size constraint variables, geometric constraints maintain the topological relationship of the graphics, and the values and positions of associated annotations are updated synchronously. S3. After all parameters of the current pitch are successfully driven, delete the dimension constraints, geometric constraints and reference auxiliary elements in the template, and output the single pitch drawing. S4. After all single-pitch drawings of the same specification are generated, the first pitch drawing is positioned at the preset reference point. The target vertical coordinate of the i-th subsequent pitch drawing is calculated recursively according to the height of the previous pitch drawing and then arranged and assembled. The total height of the assembled drawing is calculated and the drawing frame is uniformly scaled according to its ratio with the preset drawing frame height to generate the final assembly drawing of the current specification. In step S1, a single-pitch two-dimensional parametric template is created in AutoCAD; in step S2, the Python control program reads the structured parameter master table, extracts parameter records according to tire specifications, and generates a corresponding specification-specific parameter table; for any pitch to be processed under the current specification, the single-pitch two-dimensional parametric template is opened, and for each parameter item in the pitch-specific parameter table, according to the "parameter name - parameter value" pairing relationship, a dimension constraint variable update command is sent to AutoCAD via the COM interface, so that the dimension constraint variable corresponding to the parameter name is updated to the parameter value; before each parameter item is driven, the log file path corresponding to the current template file is set; After AutoCAD completes the update of the dimension constraint variables corresponding to the parameter item and completes the model update, AutoCAD writes a preset success flag string to the log file; The Python control program determines whether the current parameter item has been successfully driven based on whether the preset success flag string appears in the log file. If the determination fails, the size constraint variable update command is resent for the parameter item until the determination is successful or the preset retry limit is reached. By updating the size constraint variables, the tire tread pattern geometry changes in size while maintaining the topological relationship of the geometric constraints, and the annotation values and positions of the associated annotations are updated synchronously with the update of the size constraint variables.
2. The method according to claim 1, characterized in that, In step S1, each row of the structured parameter table corresponds to a unique pitch record. Each unique pitch record includes at least one or more of the following: pitch identifier, specification identifier, pitch length parameter, groove width parameter, pattern block position parameter, and fillet radius parameter. And / or, in step S1, the single-pitch two-dimensional parameterized template pre-includes tire tread profile geometry, geometric constraints that maintain the topological relationship of the profile, dimensional constraints that drive the changes of the tire tread profile geometry, and annotations associated with the dimensional constraints; wherein, the constraint variable names of the dimensional constraints correspond one-to-one with and are completely consistent with the parameter name fields in the structured parameter table, so that the parameter values in the structured parameter table can be directly mapped to the dimensional constraint variables in the single-pitch two-dimensional parameterized template; The geometric constraints include at least one or more of the following: parallel constraints, perpendicular constraints, tangent constraints, collinear constraints, symmetry constraints, and fixed constraints; the dimensional constraints include at least one or more of the following: linear dimensional constraints, aligned dimensional constraints, angular constraints, radius constraints, and diameter constraints.
3. The method according to claim 1, characterized in that, In step S2, before establishing a connection with AutoCAD, the Python control program automatically identifies the locally installed AutoCAD version number by reading the Windows registry and creates a corresponding COM scheduling object based on the identified version number. And / or, in step S2, sending the dimension constraint variable update command to AutoCAD via the COM interface means sending a parameter editing command to the currently active AutoCAD document using the SendCommand command, wherein the parameter editing command at least includes the name of the constraint variable to be updated and the target parameter value; And / or, in step S2, the preset success flag string is a unique text identifier used to identify the completion of the current parameter item's execution. The Python control program determines whether the current parameter item has been successfully driven by detecting whether the unique text identifier appears at the end of the log file or in a predetermined area. And / or, in step S2, the preset retry limit is 1 to 50 times, and a waiting time is set between two adjacent retries. ,in, The time interval is from 0.1s to 2s; And / or, in step S2, the single-pitch drawing file is a DXF format file; after saving the single-pitch drawing, the current single-pitch two-dimensional parametric template is closed, and the log file corresponding to the template is deleted.
4. The method according to claim 1, characterized in that, In step S4, all single-pitch drawings corresponding to the current specification are read, and the lower left corner of the first single-pitch drawing is positioned to the preset reference point. For the i-th single-pitch drawing, the coordinates of its bottom left corner are determined according to the following formula: ; ; in, Let x be the target x-coordinate of the i-th single-pitch drawing. Let be the target ordinate of the i-th single-pitch drawing. Let f be the height of the (i-1)th single-pitch drawing, calculated as the difference between the ordinates of its highest and lowest points; let f be the vertical spacing coefficient between adjacent single-pitch drawings; and let n be the total number of single-pitch drawings corresponding to the current specification. After arranging all single-pitch drawings, calculate the total height of the assembled drawing. : ; in, The height of the nth single-pitch drawing; then, based on the total height of the assembled drawing with the aforementioned pitches. With preset frame height Calculate the frame scaling factor s: ; in, The preset drawing frame height is set; the preset drawing frame is uniformly scaled according to the drawing frame scaling factor s, and the scaled drawing frame is merged with the pitch splicing drawing to generate the final assembly drawing corresponding to the current specification.
5. The method according to claim 4, characterized in that, In step S4, the vertical spacing coefficient The value range is from 0.3 to 0.5; the preset reference point This refers to the fixed starting point for layout in the coordinate system of the assembly drawing, where... As the baseline x-axis, Use the baseline ordinate; And / or, in step S4, the height of the single-pitch drawing paper. By extracting the ordinate of the highest point of all graphic elements in the i-th single-pitch drawing. y-coordinate of the lowest point The calculation yielded: ; in, Let be the height of the i-th single-pitch drawing. Let be the ordinate of the highest point of all elements in the i-th single-pitch drawing. Let be the ordinate of the lowest point of all elements in the i-th single-pitch drawing; And / or, in step S4, after uniformly scaling the preset frame, the coordinates of the scaled preset frame and the pitch stitching image are aligned so that the pitch stitching image is located within the effective display area of the preset frame. And / or, in step S4, the assembly drawing is a DWG format file, and the assembly drawing contains multiple pitch drawings, dimension annotations, and drawing frame information.
6. A fully automated two-dimensional tire tread pattern generation system for implementing the method of any one of claims 1 to 5, characterized in that, include: The data management module is used to create, store, and retrieve structured parameter master tables and specification-specific parameter tables; The template management module is used to create and manage single-pitch two-dimensional parametric templates, which include tire tread outline geometry, geometric constraints, dimensional constraints, and associated annotations. The drive control module is used to send dimensional constraint variable update commands to AutoCAD via a COM interface through a Python control program, and to perform parameter item drive success judgment and failure retry according to the preset success flag string in the log file. The drawing cleanup and output module is used to delete dimensional constraints, geometric constraints, and reference auxiliary elements after all parameter items for the current pitch have been successfully driven, and to output a single-pitch drawing file. The assembly processing module is used to arrange all single-pitch drawing files of the same specification according to preset reference points and recursive positioning rules, calculate the total height of the pitch assembly drawing, scale the preset drawing frame, and generate the final assembly drawing; The batch scheduling module is used to perform driving, output, and assembly processing on multiple tire specifications in a loop.
7. The system according to claim 6, characterized in that, The drive control module also includes a version identification unit, which is used to identify the AutoCAD version number through the Windows registry. And / or, the merging processing module uses the ezdxf library to read the single-pitch drawing file and perform element translation, merging, and frame overlay.
8. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the method described in any one of claims 1-5.
9. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the method described in any one of claims 1-5.
Citation Information
Patent Citations
A parametric design system and method for tire tread patterns
CN106021669B
A method, device, medium and program for automatic annotation of tire engineering drawings based on CATIA
CN114462111B
Development method of tire 3D pattern cross-pitch design template, application and equipment
CN113742856A