CN112883449A - Tire sidewall font graph generation method based on AutoCAD - Google Patents
Tire sidewall font graph generation method based on AutoCAD Download PDFInfo
- Publication number
- CN112883449A CN112883449A CN202110047839.0A CN202110047839A CN112883449A CN 112883449 A CN112883449 A CN 112883449A CN 202110047839 A CN202110047839 A CN 202110047839A CN 112883449 A CN112883449 A CN 112883449A
- Authority
- CN
- China
- Prior art keywords
- angle
- character
- base map
- font
- textspacing
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/12—Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/109—Font handling; Temporal or kinetic typography
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Geometry (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Architecture (AREA)
- Computational Mathematics (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Human Computer Interaction (AREA)
- General Health & Medical Sciences (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 a tire side font graph processing method, in particular to a tire side font graph generating method based on AutoCAD. The method carries out secondary development on the AutoCAD based on the related class library of the AutoCAD, acquires drawings in the database according to the sequence of the acquired drawings set in the program, carries out drawing according to the acquired contents, can realize the parameter return function after the drawing is finished, enriches the database, reduces manual operation and improves the working efficiency.
Description
Technical Field
The invention relates to a tire side font graph processing method, in particular to a tire side font graph generating method based on AutoCAD.
Background
The tire side font graph comprises various information such as specification, pattern name, brand, load index, speed level and the like, and is related to the appearance and the brand image of the tire. With the increase of the market demand for heavy duty tires, the new product development task of heavy duty tires is increased. In a general method, each designed font graph is independent and not coherent, and all parameters cannot be stored. The next time a similar font drawing is needed, the manual redesign is also needed. All designed font drawing parameters cannot be returned to the database for future extraction and use.
Disclosure of Invention
In order to solve the technical problems, the method carries out secondary development on the AutoCAD based on the related class library of the AutoCAD, obtains drawings in the database according to the sequence of the obtained blocks set in the program, draws according to the obtained contents, can realize the parameter return function after drawing is finished, enriches the database, reduces manual operation and improves the working efficiency.
In order to achieve the above object, the present application adopts the following technical solutions:
a tire side wall font graph generation method based on AutoCAD comprises the following steps:
step one, acquiring the base map drawing in a database according to the bound base map ID, and positioning the coordinate of the lower right corner of a base map drawing frame to 0, and drawing the base map drawing frame by 0;
step two, inquiring a signature file in a DWG format of a person in a database according to a login person account, acquiring the tire specification and patterns of a generated drawing for splicing, and extracting the drawing number generated when the tire is drawn; drawing the acquired content according to the position coordinates set in the program;
step three, obtaining drawings in a database according to the sequence of the obtained blocks set in the program and drawing according to the obtained contents;
1) obtaining a pattern character base map from a character library according to the selected pattern character base map information, and drawing the body angle and the radius input in the system according to the circle center position of the base map;
2) acquiring corresponding data in a database according to the font type and the font content input in the system, and drawing according to the input rotation angle and the input spacing angle in combination with the information of the pattern character base map;
3) obtaining a DOT authentication base map from a font library according to the selected DOT authentication base map information, and drawing the body angle and the radius input in the system at the corresponding position;
4) acquiring corresponding data in a database according to the font type and the text content input in the system, and drawing at a corresponding position according to the input rotation angle and the input spacing angle in combination with DOT authentication base map information;
5) acquiring corresponding data in a database according to the matched trademark block information in the system, putting the center of a trademark block picture to the center coordinate of a base picture, and drawing at a corresponding position according to a defined rotation angle, an X axis and a Y axis;
6) acquiring corresponding data in a database according to the matched 3C authentication block information in the system, putting the circle center of the 3C authentication block to the circle center coordinate of the base map, and drawing at the corresponding position according to the defined rotation angle, the X axis and the Y axis;
7) acquiring corresponding data in a database according to the matched coordinate system information in the system, putting the circle center of a coordinate system image block to the coordinates of the circle center of a base map, and drawing at a corresponding position according to a defined rotation angle, an X axis and a Y axis;
8) font graph standard library selection tile insertion:
selecting the type of the image block to be inserted in the standard library, double-clicking to open the folder, selecting a right button of a mouse of the image block to click to insert the image block, and then selecting a position to insert the font icon image block;
9) and dragging and adjusting the positions of the image blocks until the positions meet the requirements, and clicking the font graph uploading task to upload the drawing.
Preferably, the step 1) pattern character use algorithm is as follows:
judging whether textSpacing wordAmount is larger than self Angle, if textSpacing wordAmount > self Angle, then Angle = self Angle, textSpacing = self Angle/wordAmount, otherwise, Angle = textSpacing wordAmount;
②startAngle = rotationAngle - Angle/2;
filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index, the position of each character is I, 1, M and W, and the position of each character is enlarged by a certain error angle according to the required position and the adjacent position; wherein:
angle-sum of Angle occupied by character, startAngle-character start Angle, rotan-integral rotation Angle, textSpacing-character spacing, selfAngle-body Angle, wordAmount-character number and index-character ranking number.
Preferably, the step 3) and the step 4) of the DOT authentication use algorithm are as follows:
①startAngle = rotationAngle - Angle/2+5;
filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index; wherein: angle-sum of angles occupied by characters, startAngle-character start Angle, rotanAngle-integral rotation Angle textSpacing-character distance, index-character ranking number.
Preferably, the tile types of step 8) include a quotient tile and a load index tile.
The invention adopts the technical scheme, carries out secondary development on the AutoCAD based on the related class library of the AutoCAD, obtains drawings in the database according to the sequence of the obtained blocks set in the program, and carries out drawing according to the obtained contents, and after the drawing is finished, the parameter return function can be realized, the database is enriched, the manual operation is reduced, and the working efficiency is improved.
Drawings
FIGS. 1-15 are schematic diagrams of the operation of the interface of software including the steps of the present invention.
Detailed Description
The following describes a detailed embodiment of the present invention with reference to the accompanying drawings.
1-15, a method for generating a tire sidewall font based on AutoCAD, the method comprises the following steps:
step one, as shown in fig. 1, the base map drawing is obtained from the database according to the bound base map ID, and the coordinates of the lower right corner of the base map frame are positioned at 0,0 (origin) for drawing.
Step two, as shown in fig. 2, inquiring a signature file in a DWG format of a person in a database according to a login person account, acquiring the tire specification and patterns of a generated drawing for splicing, and extracting a drawing number generated when the tire is drawn; and drawing the acquired content according to the position coordinates set in the program.
And step three, obtaining drawings in a database according to the sequence of the obtained blocks set in the program and drawing according to the obtained contents.
(1) As shown in fig. 3, the pattern base map is obtained from the font library according to the selected pattern base map information, and the body angle and the radius input in the system are drawn according to the center position of the base map.
(2) Corresponding data are obtained in a database according to the font type and the font content input in the system, and drawing is performed according to the input rotation angle and the input spacing angle in combination with the information of the pattern font drawing, as shown in fig. 4.
The pattern word use algorithm:
1. judging whether textSpacing wordAmount is larger than self Angle, if textSpacing wordAmount > self Angle, then Angle = self Angle/wordAmount, otherwise, Angle = textSpacing wordAmount.
2、startAngle = rotationAngle - Angle/2。
3. Filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index, an error angle is reduced by 'I' and '1' according to the required position and the adjacent character, and an error angle is enlarged by 'M' and 'W' according to the required position and the adjacent character.
Angle is the sum of angles occupied by characters, startAngle is the character starting Angle, rotanAngle is the integral rotation Angle, textSpacing is the character distance, selfAngle is the body Angle, wordAmount is the number of characters, index is the number of ranks of characters.
(3) And acquiring the DOT authentication base map from the font library according to the selected DOT authentication base map information, and drawing the body angle and the radius input in the system at the corresponding position, as shown in FIG. 5.
(4) Corresponding data are obtained in a database according to the font type and the text content input in the system, and drawing is performed at the corresponding position according to the input rotation angle and the input space angle in combination with DOT authentication base map information, as shown in FIG. 6.
DOT uses the algorithm:
1、startAngle = rotationAngle - Angle/2+5。
2. and filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index.
(Angle-sum of angles occupied by characters, startAngle-character start Angle, rotanAngle-integral rotation Angle textSpacing-character spacing, index-number of ranks of characters)
(5) Corresponding data are obtained in a database according to the matched trademark block information in the system, the circle center of the image block is placed to the circle center coordinate of the base map, and drawing is carried out according to the defined rotation angle, the X axis and the Y axis at corresponding positions, as shown in fig. 7 and 8.
(6) Corresponding data is obtained in a database according to the matched 3C authentication block information in the system, the circle center of the image block is placed to the circle center coordinate of the base map, and drawing is carried out according to the defined rotation angle, the X axis and the Y axis at corresponding positions, as shown in fig. 9.
(7) Corresponding data is obtained in a database according to the coordinate system information matched in the system, the center of the graph block is placed to the center coordinates of the base graph, and the graph is drawn at the corresponding position according to the defined rotation angle, the X axis and the Y axis, as shown in fig. 10.
(8) Font graph standard library selection tile insertion:
selecting the type of the image block to be inserted in the standard library (such as trademark block, load index block, etc.), double-clicking to open the folder, selecting the right click to insert the image block, and then selecting the position to insert the image block, as shown in fig. 11-14.
(9) And dragging and adjusting the positions of the image blocks to meet the requirements, and clicking the font graph uploading task to upload the drawing, as shown in fig. 15.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention, including any reference to the above-mentioned embodiments. 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. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (4)
1. A tire side wall font graph generation method based on AutoCAD is characterized by comprising the following steps:
step one, acquiring the base map drawing in a database according to the bound base map ID, and positioning the coordinate of the lower right corner of a base map drawing frame to 0, and drawing the base map drawing frame by 0;
step two, inquiring a signature file in a DWG format of a person in a database according to a login person account, acquiring the tire specification and patterns of a generated drawing for splicing, and extracting the drawing number generated when the tire is drawn; drawing the acquired content according to the position coordinates set in the program;
step three, obtaining drawings in a database according to the sequence of the obtained blocks set in the program and drawing according to the obtained contents;
1) obtaining a pattern character base map from a character library according to the selected pattern character base map information, and drawing the body angle and the radius input in the system according to the circle center position of the base map;
2) acquiring corresponding data in a database according to the font type and the font content input in the system, and drawing according to the input rotation angle and the input spacing angle in combination with the information of the pattern character base map;
3) obtaining a DOT authentication base map from a font library according to the selected DOT authentication base map information, and drawing the body angle and the radius input in the system at the corresponding position;
4) acquiring corresponding data in a database according to the font type and the text content input in the system, and drawing at a corresponding position according to the input rotation angle and the input spacing angle in combination with DOT authentication base map information;
5) acquiring corresponding data in a database according to the matched trademark block information in the system, putting the center of a trademark block picture to the center coordinate of a base picture, and drawing at a corresponding position according to a defined rotation angle, an X axis and a Y axis;
6) acquiring corresponding data in a database according to the matched 3C authentication block information in the system, putting the circle center of the 3C authentication block to the circle center coordinate of the base map, and drawing at the corresponding position according to the defined rotation angle, the X axis and the Y axis;
7) acquiring corresponding data in a database according to the matched coordinate system information in the system, putting the circle center of a coordinate system image block to the coordinates of the circle center of a base map, and drawing at a corresponding position according to a defined rotation angle, an X axis and a Y axis;
8) font graph standard library selection tile insertion:
selecting the type of the image block to be inserted in the standard library, double-clicking to open the folder, selecting a right button of a mouse of the image block to click to insert the image block, and then selecting a position to insert the font icon image block;
9) and dragging and adjusting the positions of the image blocks until the positions meet the requirements, and clicking the font graph uploading task to upload the drawing.
2. The method for generating the tire side wall font graph based on AutoCAD according to claim 1, characterized in that the algorithm used by the pattern characters in step 1) is as follows:
judging whether textSpacing wordAmount is larger than self Angle, if textSpacing wordAmount > self Angle, then Angle = self Angle, textSpacing = self Angle/wordAmount, otherwise, Angle = textSpacing wordAmount;
②startAngle = rotationAngle - Angle/2;
filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index, the position of each character is I, 1, M and W, and the position of each character is enlarged by a certain error angle according to the required position and the adjacent position; wherein:
angle-sum of Angle occupied by character, startAngle-character start Angle, rotan-integral rotation Angle, textSpacing-character spacing, selfAngle-body Angle, wordAmount-character number and index-character ranking number.
3. The method for generating the tire side wall font drawing based on AutoCAD according to claim 1, characterized in that the DOT authentication in step 3) and step 4) uses the following algorithm:
①startAngle = rotationAngle - Angle/2+5;
filling each character in sequence according to the characters required to be filled, wherein the position of each character is startAngle + textSpacing index; wherein: angle-sum of angles occupied by characters, startAngle-character start Angle, rotanAngle-integral rotation Angle textSpacing-character distance, index-character ranking number.
4. The method for generating the tire side wall font graph based on the AutoCAD according to claim 1, wherein the segment types of step 8) comprise a quotient segment and a load index segment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110047839.0A CN112883449B (en) | 2021-01-14 | 2021-01-14 | Tire sidewall font graph generation method based on AutoCAD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110047839.0A CN112883449B (en) | 2021-01-14 | 2021-01-14 | Tire sidewall font graph generation method based on AutoCAD |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112883449A true CN112883449A (en) | 2021-06-01 |
CN112883449B CN112883449B (en) | 2023-09-26 |
Family
ID=76048056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110047839.0A Active CN112883449B (en) | 2021-01-14 | 2021-01-14 | Tire sidewall font graph generation method based on AutoCAD |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112883449B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113779657A (en) * | 2021-08-10 | 2021-12-10 | 中策橡胶集团有限公司 | Tire sidewall text content and position association design method, application and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003006236A (en) * | 2001-06-20 | 2003-01-10 | Ohtsu Tire & Rubber Co Ltd :The | System for drawing character string for tire |
CN106528946A (en) * | 2016-10-18 | 2017-03-22 | 天津理工大学 | Method for inserting AutoCAD graph blocks in batches |
CN110175363A (en) * | 2019-04-25 | 2019-08-27 | 西门子电站自动化有限公司 | The generation method of the production drawing of Distributed Control System |
CN111859490A (en) * | 2020-07-02 | 2020-10-30 | 中策橡胶集团有限公司 | Parameterization arrangement method for tire sidewall fonts |
-
2021
- 2021-01-14 CN CN202110047839.0A patent/CN112883449B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003006236A (en) * | 2001-06-20 | 2003-01-10 | Ohtsu Tire & Rubber Co Ltd :The | System for drawing character string for tire |
CN106528946A (en) * | 2016-10-18 | 2017-03-22 | 天津理工大学 | Method for inserting AutoCAD graph blocks in batches |
CN110175363A (en) * | 2019-04-25 | 2019-08-27 | 西门子电站自动化有限公司 | The generation method of the production drawing of Distributed Control System |
CN111859490A (en) * | 2020-07-02 | 2020-10-30 | 中策橡胶集团有限公司 | Parameterization arrangement method for tire sidewall fonts |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113779657A (en) * | 2021-08-10 | 2021-12-10 | 中策橡胶集团有限公司 | Tire sidewall text content and position association design method, application and equipment |
CN113779657B (en) * | 2021-08-10 | 2023-09-26 | 中策橡胶集团股份有限公司 | Tire sidewall text content and position association design method, application and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112883449B (en) | 2023-09-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11631050B2 (en) | Syncing physical and electronic document | |
CN112035667B (en) | Knowledge graph display method and device and terminal equipment | |
US9846536B2 (en) | Composition of handwritten messages on mobile computing devices | |
US7904810B2 (en) | System and method for editing a hand-drawn list in ink input | |
JP2008243204A (en) | Method and program for provide structure recognition to node-link diagram | |
WO1995034047A1 (en) | System and methods for spacing, storing and recognizing electronic representations of handwriting, printing and drawings | |
CN110705237B (en) | Automatic document generation method, data processing device and storage medium | |
EP2110758A1 (en) | Searching method based on layout information | |
US8564548B2 (en) | Systems and methods for using a digital palette to produce a digital document | |
CN112883449A (en) | Tire sidewall font graph generation method based on AutoCAD | |
CN116090392A (en) | gDS file-based pin physical attribute matching method and system | |
JP2020140450A (en) | Structured data generation method and structured data generation device | |
JP6603194B2 (en) | Screen recognition device, screen recognition method, and screen recognition program | |
JP5829330B2 (en) | Method and apparatus for identifying fonts | |
JP6377743B2 (en) | Method and apparatus for building an intermediate character library | |
CN116629201A (en) | Automatic label layout and typesetting method and device, electronic equipment and storage medium | |
CN115713572A (en) | Text image generation method and device, electronic equipment and readable storage medium | |
CN112395834B (en) | Brain graph generation method, device and equipment based on picture input and storage medium | |
CN110991050B (en) | CAD (computer-aided design) image stacking method and related product | |
CN113378526A (en) | PDF paragraph processing method, device, storage medium and equipment | |
WO2010102553A1 (en) | Method and apparatus for handwriting input | |
CN111580659A (en) | File processing method and device and electronic equipment | |
Shin et al. | Multi-level Correspondence via Graph Kernels for Editing Vector Graphics Designs | |
KR102466706B1 (en) | Electronic device that enables easy selection of dependent edit action in document editing programs and operating method thereof | |
CN111659121B (en) | Method and device for processing effect graph, electronic equipment and readable storage medium |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310008 No. 1, No. 1 Street, Qiantang District, Hangzhou, Zhejiang Applicant after: Zhongce Rubber Group Co.,Ltd. Address before: 310008 No.1 Baiyang street, Qiantang New District, Hangzhou City, Zhejiang Province Applicant before: ZHONGCE RUBBER GROUP Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |