CN114462111A - Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA - Google Patents

Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA Download PDF

Info

Publication number
CN114462111A
CN114462111A CN202210060825.7A CN202210060825A CN114462111A CN 114462111 A CN114462111 A CN 114462111A CN 202210060825 A CN202210060825 A CN 202210060825A CN 114462111 A CN114462111 A CN 114462111A
Authority
CN
China
Prior art keywords
engineering drawing
automatically
catia
box
dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210060825.7A
Other languages
Chinese (zh)
Inventor
吴东霞
李华
吴月仙
张敏
王剑波
杨旭
程丽娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongce Rubber Group Co Ltd
Hangzhou Haichao Rubber Co Ltd
Original Assignee
Zhongce Rubber Group Co Ltd
Hangzhou Haichao Rubber Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongce Rubber Group Co Ltd, Hangzhou Haichao Rubber Co Ltd filed Critical Zhongce Rubber Group Co Ltd
Priority to CN202210060825.7A priority Critical patent/CN114462111A/en
Publication of CN114462111A publication Critical patent/CN114462111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Architecture (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the field of tires, in particular to a method, equipment, a medium and a program for automatically labeling a tire engineering drawing based on CATIA. The method comprises the steps of establishing a tire outline, a pattern and a sidewall parameterization template through a CATIA software design platform, and deriving a CATDRAWING engineering drawing; then, automatic labeling of the engineering drawing is realized by creating an engineering drawing template file and CAA secondary development, and drawing elements of the engineering drawing are automatically subjected to layer division according to the colors of the digital-analog elements; the drawing marking efficiency of the engineering drawing is improved, and meanwhile, the drawing marking of the same pattern series can be standardized.

Description

Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA
Technical Field
The invention relates to the field of tires, in particular to a method, equipment, a medium and a program for automatically labeling a tire engineering drawing based on CATIA.
Background
The research of automatic labeling problem is always a hot spot in the field of mechanical manufacturing industry. The Sun Dong light and the like provide an integral frame model and a key algorithm of an intelligent size marking system through analysis and comparison of a demand model, a frame model and an object model of a size marking subsystem in a three-dimensional parametric feature modeling system; the automatic labeling of the entity model represented by the CSG tree structure and the B-Rep data structure is researched by K.Z, Chen and the like, and a method of combining an expert system and a taboo area is adopted in the aspect of automatic layout; the engineering drawing marking object in the mechanical industry is not complicated in tire pattern, the tire pattern drawing is designed in a parameterization mode, and the automatic marking method related to the mechanical industry cannot be directly used for marking different pitches. And can not simultaneously meet the automatic labeling of the contour, the sidewall and the pattern engineering drawing. The invention introduces an automatic labeling method and application (the same applies to other industries) when a series of engineering drawings are expanded after tire parametric design.
The Chinese invention patent application (publication number CN110148197A, published: 20190820) discloses a size label self-adaptive adjusting method in a two-dimensional engineering drawing, which comprises the following steps: 1) determining the size label needing to be adjusted; 2) determining the size of the dimension-adjusting marking distance; 3) and (5) marking the size to be adjusted in position. The method effectively solves the problem of size marking position interference in the two-dimensional engineering drawing which is quickly generated after the variant design, can effectively help the two-dimensional engineering drawing to be quickly and automatically generated, replaces designers to manually adjust the size marking position, shortens the product design period, improves the product design efficiency, and is beneficial to the standardization of the drawing. The method has universality, and the two-dimensional engineering drawing parameterization automatic rapid design based on the engineering drawing template can be used for automatically adjusting the size marking position in the drawing.
The prior art has the following defects: the tire engineering drawing mainly comprises a contour drawing, a pattern drawing and a sidewall drawing, when the same series of same design rules are adopted, the CATIA software parameterization design is automatically marked after the series is expanded, the relative position of the drawing size and a marked object can be changed, manual dragging or re-marking is needed, and the element drawing layer is manually selected and confirmed. The size labels of the contour drawing and the sidewall drawing are thirty-four; pattern drawings are dimensioned to be hundreds in number due to design complexity. Most of the size and the position need to be adjusted during expansion, the repeated work is more, and when tens of product specifications are expanded, the work load is increased by dozens of times. Therefore, the time required by labeling is increased, and the efficiency of labeling is reduced.
Disclosure of Invention
The purpose of the invention is: aiming at the problems, a tire outline, a pattern and a sidewall parameterization template are established through a CATIA software design platform, and a CATDRAWING engineering drawing is derived; then, automatic labeling of the engineering drawing is realized by creating an engineering drawing template file and CAA secondary development, and drawing elements of the engineering drawing are automatically subjected to layer division according to the colors of the digital-analog elements; the method, the device, the medium and the program can improve the efficiency of engineering drawing labeling and can standardize the labeling of the same pattern series drawing.
In order to achieve the purpose, the invention adopts the following technical scheme:
a method for automatically labeling a tire engineering drawing based on CATIA comprises the following steps:
1) adopting a CATIA software design platform to carry out parameterization design on an outline/pattern/sidewall model of the tire, and carrying out single element output on a characteristic object to be marked;
2) creating a projection view file associated with the digital analogy in the CATIA engineering drawing;
3) labeling the engineering drawing model, and classifying the labels;
4) renaming the labels according to the classification requirements to serve as engineering drawing template files;
5) extracting color information of a digifax corresponding to the engineering drawing template file and dimension marking position information of the engineering drawing template file through CAA secondary development, and outputting the dimension placing position information to an XML file for storage;
6) when the model is parameterized and updated, different types of labels are automatically read by CAA secondary development to carry out re-labeling on XML position information;
7) automatically creating a layer by a program, automatically dividing the layer according to the corresponding relation between colors and the layer according to the digital-analog colors read in the step 5), and automatically setting the line shape and the linearity according to the type of the layer;
8) and the program automatically stores the automatically labeled engineering drawing.
Preferably, in the step 3), when classifying the labels, the labels are marked in the horizontal direction by DL, in the vertical direction by DH, and in the parallel direction by DW.
Preferably, in the step 5), when extracting the dimension-marking position information of the engineering drawing template file, recording the dimension-marking position information through the geometric shape BOX by taking the marking template point line and the geometric shape BOX as references, and the method includes the following steps:
1) calculating a geometric shape Box in the drawing;
2) calculating the distance between the geometric object and the outline Box, and calculating the distance between the dimension line and the outline Box;
3) the positive and negative represent dimension lines are inside and outside the Box;
4) and (3) size marking: DH records the left-right distance of Box, DL records the up-down distance of Box, DW records the up-down distance of Box;
5) angle labeling and radius labeling: record the annotation quadrant, record the distance from the origin to Box (horizontal H direction), record the distance from the annotation line to Box (horizontal H direction).
Preferably, in the step 6), when the design size change digital-to-analog is updated to cause the mark size interference, the program automatically adjusts the size according to different types of marks, so that the mark size interference is automatically optimized within a certain range; if the XML position information cannot be adjusted within the range without interference, the XML position information is labeled, and adjustment is not performed.
Preferably, the size position of the lateral mark is adjusted only up and down within a certain range.
Preferably, the engineering drawing is in the picture frame, and when the drawing exceeds the picture frame, the program automatically adjusts the scaling to enable the whole drawing to be in the center of the picture frame.
Preferably, in step 8), the program automatically stores the automatically labeled engineering drawing in the same directory.
In addition, the invention also discloses computer equipment which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the automatic labeling method based on the CATIA tire engineering drawing.
In addition, the invention also discloses a computer readable storage medium, which stores a computer program or instructions, and the computer program or instructions are executed by a processor to realize the steps of the automatic labeling method based on the CATIA tire engineering drawing.
In addition, the invention also discloses a computer program product which comprises a computer program or instructions, and the computer program or instructions are executed by a processor to realize the steps of the automatic labeling method based on the CATIA tire engineering drawing.
The automatic labeling method, the equipment, the medium and the program based on the CATIA tire engineering drawing, which adopt the technical scheme, have the advantages that:
building a tire outline, a pattern and a sidewall parameterization template through a CATIA software design platform, and deriving a CATDRAWING engineering drawing; then, automatic labeling of the engineering drawing is realized by creating an engineering drawing template file and CAA secondary development, and drawing elements of the engineering drawing are automatically subjected to layer division according to the colors of the digital-analog elements; the software development can improve the efficiency of engineering drawing labeling, and can standardize the labeling of the drawing of the same pattern series. Therefore, the automatic labeling method improves the labeling efficiency, improves the standardization degree and reduces the manual drawing cost.
Drawings
Fig. 1 is a flow chart of an automatic labeling method for a tire engineering drawing based on CATIA.
FIG. 2 is a flow of automatic XML annotation for program reading.
Fig. 3 is a schematic diagram of the geometry BOX.
Detailed Description
The following describes in detail embodiments of the present invention with reference to the drawings.
Example 1
Fig. 1 shows an automatic labeling method for a tire engineering drawing based on CATIA, which includes the following steps:
1) adopting a CATIA software design platform to carry out parameterization design on an outline/pattern/sidewall model of the tire, and carrying out single element output on a characteristic object to be marked;
2) creating a projection view file associated with the digital analogy in the CATIA engineering drawing;
3) labeling the engineering drawing model, and classifying the labels; for example: using DL to represent transverse labels, using DH to represent longitudinal labels, and using DW to represent parallel direction labels;
4) renaming the labels according to the classification requirements to be used as engineering drawing template files;
5) extracting color information of a digifax corresponding to the engineering drawing template file and dimension marking position information of the engineering drawing template file through CAA secondary development, and outputting the dimension placing position information to an XML file for storage;
6) when the model is parameterized and updated, different types of labels are automatically read by CAA secondary development to carry out re-labeling on XML position information;
7) automatically creating a layer by a program, automatically dividing the layer according to the corresponding relation between colors and the layer according to the digital-analog colors read in the step 5), and automatically setting the line shape and the linearity according to the type of the layer;
8) and the program automatically stores the automatically marked engineering drawing.
In step 5), when extracting the dimension marking position information of the engineering drawing template file, recording the dimension marking position information through the geometric shape BOX by taking a marking template point line and the geometric shape BOX as references, and comprising the following steps:
1) calculating a geometric shape Box in the drawing;
2) calculating the distance between the geometric object and the outline Box, and calculating the distance between the dimension line and the outline Box;
3) the positive and negative represent dimension lines are inside and outside the Box;
4) and (3) size marking: DH records the left-right distance of Box, DL records the up-down distance of Box, DW records the up-down distance of Box;
5) angle labeling and radius labeling: record the annotation quadrant, record the distance from the origin to Box (horizontal H direction), record the distance from the annotation line to Box (horizontal H direction).
In step 6), when the design size change digital-analog is updated to cause the mark size interference, the program automatically adjusts the size according to different types of marks, so that the mark size interference is automatically optimized within a certain range; if the XML position information cannot be adjusted within the range without interference, the XML position information is labeled, and adjustment is not performed. If the size position of the transverse mark is adjusted up and down within a certain range.
The engineering drawing is in the picture frame, when the drawing exceeds the picture frame, the program automatically adjusts the scaling, so that the whole drawing is in the center of the picture frame to ensure the standardization of the engineering drawing.
And 8), automatically storing the automatically marked engineering drawing in the same directory by the program so as to facilitate searching.
In step 5), the procedure for extracting the color information of the digifax corresponding to the engineering drawing template file is as follows:
color and Layer correspondence- - (< color and Layer >) - < color and Layer > < dot object name = "Contour line" = "color =" white "R ="255 "G ="255 "B ="255 "Layer =" color line "=" 1"/> < dot object name =" autoiarline "ch name =" Auxiliary line "color =" blue "R ="0 "G =" B = "255" Layer = "color line" = "dot object" = "0" = "G ="0 "B ="255 "color =" line = "type ="1 "/" dot object name = "dot object" = "color line" = "color axis" = "dot object" = "1"/"dot object =" color "=" color = "0" B = "255" dot object "0" dot object = "dot object" = "7" color = "B =" color = "0" dot object = "0" B = "1" = "dot object" color = "0" dot object "color =" dot object "0" dot object "color ="0 "color =" dot object "color ="0 "color =" color: "color =" color: "0" dot object "color:" color = "color:" 0 "color:" color = "color:" color = "color:" color = "0" color: "color =" color = "color" 0 "color ="0 "10" color = "color" 10 "color =" color "10" color "0" color = "color =" magenta color "R ="255 "G ="0 "B ="255 "Layer =" Lasers "linear type ="1"/> < DObject name =" Sheet steel "chname =" steel "color =" green "R ="0 "G =" B = "0" Layer = "Sheet steel =" line type = "1"/> < DObject name = "Dimension" chname = "label" color = "R =" ">" G = "", "Layer" color "line type" = "64"/"color ="64 "color =" green = "color =" G = "B" = "Layer" color "64" color = "64" color = "B ="64 "color =" color
The method comprises the steps of establishing a tire outline, a pattern and a sidewall parameterization template through a CATIA software design platform, and deriving a CATDRAWING engineering drawing; then, automatic labeling of the engineering drawing is realized by creating an engineering drawing template file and CAA secondary development, and drawing elements of the engineering drawing are automatically subjected to layer division according to the colors of the digital-analog elements; the software development can improve the efficiency of engineering drawing labeling, and can standardize the labeling of the drawing of the same pattern series. Therefore, the automatic labeling method improves the labeling efficiency, improves the standardization degree and reduces the manual drawing cost.

Claims (10)

1. A method for automatically labeling a tire engineering drawing based on CATIA is characterized by comprising the following steps:
1) adopting a CATIA software design platform to carry out parameterization design on an outline/pattern/sidewall model of the tire, and carrying out single element output on a characteristic object to be marked;
2) creating a projection view file associated with the digital analogy in the CATIA engineering drawing;
3) labeling the engineering drawing model, and classifying the labels;
4) renaming the labels according to the classification requirements to serve as engineering drawing template files;
5) extracting color information of a digifax corresponding to the engineering drawing template file and dimension marking position information of the engineering drawing template file through CAA secondary development, and outputting the dimension placing position information to an XML file for storage;
6) when the model is updated in a parameterization mode, different types of labels are automatically read by CAA secondary development to carry out re-labeling on XML position information;
7) automatically creating a layer by a program, automatically dividing the layer according to the corresponding relation between colors and the layer according to the digital-analog colors read in the step 5), and automatically setting the line shape and the linearity according to the type of the layer;
8) and the program automatically stores the automatically labeled engineering drawing.
2. The automatic labeling method for the CATIA-based tire engineering drawing as claimed in claim 1, wherein in the step 3), when classifying the labels, the labels are represented by DL, DH and parallel direction, respectively.
3. The automatic labeling method for the tire engineering drawing based on the CATIA of claim 1, wherein in the step 5), when extracting the labeled dimension position information of the engineering drawing template file, the labeled dimension position information is recorded through the geometric shape BOX by taking a labeled template point line and the geometric shape BOX as references, and the method comprises the following steps:
1) calculating a geometric shape Box in the drawing;
2) calculating the distance between the geometric object and the outline Box, and calculating the distance between the dimension line and the outline Box;
3) the positive and negative represent dimension lines are inside and outside the Box;
4) and (3) size marking: DH records the left-right distance of Box, DL records the up-down distance of Box, DW records the up-down distance of Box;
5) angle labeling and radius labeling: record the annotation quadrant, record the distance from the origin to Box (horizontal H direction), record the distance from the annotation line to Box (horizontal H direction).
4. The automatic labeling method for the tire engineering drawing based on the CATIA of claim 1, wherein in the step 6), when the design dimension change digital-to-analog is updated to cause the interference of the labeled dimension, the program automatically adjusts the dimension according to different types of labels to ensure that the labeled dimension is automatically optimized within a certain range during the interference; if the XML position information cannot be adjusted within the range without interference, the XML position information is labeled, and adjustment is not performed.
5. The automatic labeling method for the CATIA-based tire engineering drawing as claimed in claim 4, wherein the size position of the transverse label is adjusted up and down only within a certain range.
6. The method as claimed in claim 1, wherein the engineering drawing is inside the frame, and when the drawing exceeds the frame, the process automatically adjusts the scaling to make the drawing in the center of the frame.
7. The automatic labeling method for the engineering drawing of the tire based on the CATIA of claim 1, wherein in the step 8), the program automatically stores the automatically labeled engineering drawing in the same directory.
8. A computer device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method of any of claims 1-7.
9. A computer-readable storage medium, on which a computer program or instructions are stored, which, when executed by a processor, carry out the steps of the method of any one of claims 1 to 7.
10. A computer program product comprising a computer program or instructions for implementing the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202210060825.7A 2022-01-19 2022-01-19 Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA Pending CN114462111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210060825.7A CN114462111A (en) 2022-01-19 2022-01-19 Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210060825.7A CN114462111A (en) 2022-01-19 2022-01-19 Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA

Publications (1)

Publication Number Publication Date
CN114462111A true CN114462111A (en) 2022-05-10

Family

ID=81409807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210060825.7A Pending CN114462111A (en) 2022-01-19 2022-01-19 Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA

Country Status (1)

Country Link
CN (1) CN114462111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114905895A (en) * 2022-06-28 2022-08-16 赛轮集团股份有限公司 Method for automatically arranging studs in tire tread patterns

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114905895A (en) * 2022-06-28 2022-08-16 赛轮集团股份有限公司 Method for automatically arranging studs in tire tread patterns
CN114905895B (en) * 2022-06-28 2023-12-26 赛轮集团股份有限公司 Method for automatically arranging embedded nails in tire tread pattern

Similar Documents

Publication Publication Date Title
US8086019B2 (en) Method of creating master data used for inspecting concave-convex figure
US10346971B2 (en) Optimized method for analyzing the conformity of the surface of a tire
US8086041B2 (en) Pattern evaluation method, pattern matching method and computer readable medium
CN106528937B (en) System and method for avoiding label information overlapping based on PDMS (polydimethylsiloxane) map
CN113094784B (en) Adjacent complex underground engineering parametric modeling method based on building information model
CN114462111A (en) Automatic labeling method, device, medium and program for tire engineering drawing based on CATIA
CN108932495B (en) Full-automatic generation method of automobile front face parameterized model
CN111145136B (en) Synthesis method, system and storage medium for transformer substation meter image data set
CN105528485A (en) Method for automatic contour extraction and path generation of bitmap
CN111027248A (en) Automatic creation method and system for injection mold local structure analysis model
US20220391553A1 (en) Building information modeling systems and methods
CN113096147A (en) MATLAB-based automatic laser marking shadow generation method
CN111414907A (en) Data set labeling method, data set labeling device and computer-readable storage medium
CN112100706A (en) CATIA software-based method and system for quickly modeling simply supported beam steel bar
CN107526859A (en) Design the outer surface of composite part
CN116541912A (en) Method and device for generating wiring diagram based on CAD image recognition
CN113779657B (en) Tire sidewall text content and position association design method, application and equipment
CN115600570A (en) Power grid equipment early warning limit value table reconstruction method, entry method and device
CN114694159A (en) Engineering drawing BOM identification method and device, electronic equipment and storage medium
CN113742856A (en) Development method, application and equipment of tire 3D pattern cross-pitch design template
CN113223098A (en) Preprocessing optimization method for image color classification
CN115830600B (en) Image-text design page recognition and arrangement method
CN111414655A (en) Method for splicing plate splicing drawings
CN115310237B (en) Automatic profile steel hole type parameterization method based on graphic file
CN117611710B (en) Terminal strip drawing vectorization method and system based on deep learning and image processing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination