CN112883449B - Tire sidewall font graph generation method based on AutoCAD - Google Patents
Tire sidewall font graph generation method based on AutoCAD Download PDFInfo
- Publication number
- CN112883449B CN112883449B CN202110047839.0A CN202110047839A CN112883449B CN 112883449 B CN112883449 B CN 112883449B CN 202110047839 A CN202110047839 A CN 202110047839A CN 112883449 B CN112883449 B CN 112883449B
- Authority
- CN
- China
- Prior art keywords
- angle
- base
- block
- font
- characters
- 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.)
- Active
Links
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 application relates to a tire sidewall font graph processing method, in particular to a tire sidewall font graph generating method based on AutoCAD. According to the application, the AutoCAD is subjected to secondary development based on the AutoCAD related class library, the drawing is acquired in the database according to the sequence of acquiring the image blocks set in the program, and the drawing is carried out according to the acquired content, so that the parameter feedback function can be realized after the drawing is completed, the database is enriched, the manual operation is reduced, and the working efficiency is improved.
Description
Technical Field
The application relates to a tire sidewall font graph processing method, in particular to a tire sidewall font graph generating method based on AutoCAD.
Background
The tire sidewall font map contains various information such as specification, pattern name, brand, load index, speed level and the like, and relates to the appearance and brand image of the tire. With the increasing market demand for heavy duty tires, the development of new products for heavy duty tires has increased. In a general practice, the font graphs of each design are independent and irrelevant, and all parameters cannot be saved. Next, a similar font is required, and the design is also manually re-performed. All the designed font parameters cannot be transmitted back to the database for future extraction and use.
Disclosure of Invention
In order to solve the technical problems, the application carries out secondary development on the AutoCAD based on the AutoCAD related class library, acquires drawings in the database according to the sequence of acquiring the image blocks set in the program, and carries out drawing according to the acquired contents, after the drawing is completed, the parameter return function can be realized, the database is enriched, the manual operation is reduced, and the working efficiency is improved.
In order to achieve the above purpose, the present application adopts the following technical scheme:
an AutoCAD-based tire sidewall font graph generating method comprises the following steps:
step one, acquiring a base drawing in a database according to the bound base drawing ID, and locating the lower right corner coordinates of a base drawing frame by 0,0 for drawing;
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 pattern of a generated drawing, 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, acquiring drawings in a database according to the sequence of acquiring the image blocks set in the program and drawing according to the acquired contents;
1) Acquiring a pattern base diagram in a font library according to the selected pattern base diagram information, and drawing according to the circle center position of the base diagram by using the angle and the radius of the body input in the system;
2) Corresponding data are obtained in a database according to the type and the content of the fonts input in the system, and drawing is carried out according to the input rotation angle and the interval angle and the information of the pattern character base map;
3) Acquiring DOT authentication base graphs from a font library according to the selected DOT authentication base graph information, and drawing corresponding positions of body angles and radiuses input in the system;
4) Acquiring corresponding data in a database according to the font type and the text content input in the system, and drawing a picture at a corresponding position according to the input rotation angle and the interval angle and DOT authentication base picture information;
5) Obtaining corresponding data in a database according to the matched trademark block information in the system, placing the circle center of the trademark block diagram block to the circle center coordinate of the base diagram, and drawing a diagram at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
6) Acquiring corresponding data in a database according to the 3C authentication block information matched in the system, placing the circle center of the 3C authentication block to the circle center coordinates of the base map, and drawing a map at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
7) Obtaining corresponding data in a database according to the coordinate system information matched in the system, placing the circle center of the coordinate system block to the circle center coordinate of the base map, and drawing a map at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
8) Font map 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, and selecting the right click of the mouse of the image block to insert the font icon image block at the selected position;
9) And dragging and adjusting the positions of all the image blocks until the positions meet the requirements, and clicking a font graph uploading task to upload the drawing.
Preferably, the pattern word usage algorithm in the step 1) is as follows:
(1) judging whether textspace is larger than selfAngle or not, if textspace is larger than selfAngle, then angle= selfAngle, textSpacing =selfAngle/wordAmount, otherwise, angle=textspace is larger than wordAmount;
②startAngle = rotationAngle - Angle/2;
(3) filling each character in turn according to the characters to be filled, wherein the positions of the characters are startangle+textspace, I and 1 are reduced by a certain error angle between the adjacent characters as required, and M and W are amplified by a certain error angle between the adjacent characters as required; wherein:
angle-word total, startAngle-word start Angle, rotation Angle, textspace-word space, selfAngle-body Angle, wordacount-word number, index-word number of bits.
Preferably, the step 3) and the step 4) DOT authentication use algorithms are as follows:
①startAngle = rotationAngle - Angle/2+5;
(2) filling each character in turn according to the characters to be filled, wherein the position of the character is startangle+textspace; wherein: angle-the sum of angles occupied by characters, startAngle-the start Angle of characters, rotation Angle textspace-the distance between characters, index-the number of bits arranged by characters.
Preferably, the block type of step 8) includes a trademark block and a load index block.
By adopting the technical scheme, the application carries out secondary development on the AutoCAD based on the AutoCAD related class library, acquires drawings in the database according to the sequence of acquiring the image blocks set in the program, and draws the drawings according to the acquired content, and can realize the parameter feedback function after the drawing is completed, enriches the database, reduces manual operation and improves the working efficiency.
Drawings
FIGS. 1-15 are schematic interface operations of software incorporating the steps of the present application.
Detailed Description
The following describes the embodiments of the present application in detail with reference to the drawings.
1-15, a tire sidewall font graph generating method based on AutoCAD, comprising the following steps:
step one, as shown in fig. 1, obtaining a base drawing in a database according to the bound base drawing ID, and locating the lower right corner coordinates of a base drawing frame by 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 pattern of a generated drawing, splicing, and extracting the drawing number generated when the tire is drawn; and drawing the acquired content according to the position coordinates set in the program.
Step three, acquiring drawings in a database according to the sequence of acquiring the image blocks set in the program, and drawing according to the acquired contents.
(1) As shown in fig. 3, a pattern base diagram is obtained from a font library according to the selected pattern base diagram information, and the angles and the radii of the body input in the system are drawn according to the center position of the base diagram.
(2) Corresponding data are obtained in a database according to the type and the content of the fonts input in the system, and drawing is carried out according to the input rotation angle and the interval angle and the information of the pattern and word base diagram, as shown in fig. 4.
Pattern word usage algorithm:
1. judging whether textspace is larger than selfAngle or not, if textspace is wordAmount > selfAngle, then angle= selfAngle, textSpacing =selfAngle/wordAmount, otherwise, angle=textspace is wordAmount.
2、startAngle = rotationAngle - Angle/2。
3. Each character is sequentially filled according to the characters to be filled, the positions of the characters are startangle+textspace, I and I are reduced by a certain error angle between the adjacent characters according to the requirement, and M and W are enlarged by a certain error angle between the adjacent characters according to the requirement.
Angle-the sum of angles occupied by characters, startAngle-the character start Angle, rotation Angle-the whole rotation Angle, textspace-the character space, selfAngle-the body Angle, wordAmount-the number of characters and index-the number of bits 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 positions, 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 carried out at the corresponding position according to the input rotation angle and the interval angle and the DOT authentication base map information, as shown in fig. 6.
DOT use algorithm:
1、startAngle = rotationAngle - Angle/2+5。
2. each character is sequentially filled according to the characters to be filled, and the positions of the characters are startangle+textspace index.
(Angle-the sum of the angles occupied by the characters, startAngle-the character start Angle, rotation Angle-the overall rotation Angle textspace-the character spacing, index-the number of bits occupied by the characters)
(5) And obtaining corresponding data in a database according to the matched trademark block information in the system, placing the circle center of the block to the circle center coordinates of the base map, and drawing a map at a corresponding position according to the defined rotation angle and the X axis and the Y axis, as shown in fig. 7 and 8.
(6) Corresponding data are obtained in a database according to the 3C authentication block information matched in the system, the circle center of the block is placed to the circle center coordinates of the base map, and the map is drawn at the corresponding position of the Y axis according to the defined rotation angle and the X axis, as shown in fig. 9.
(7) Corresponding data are obtained in a database according to the coordinate system information matched in the system, the circle center of the block is placed to the circle center coordinates of the base map, and the map is drawn at the corresponding position of the Y axis according to the defined rotation angle and the X axis, as shown in fig. 10.
(8) Font map standard library selection tile insertion:
the file folder is opened by double clicking the type of the block (such as trademark block, load index block and the like) to be inserted in the selection standard library, and the block is inserted in the selection position after the right click insertion of the mouse of the selection block, as shown in fig. 11-14.
(9) And dragging and adjusting the positions of all the tiles to meet the requirements, and clicking a 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 application. Various modifications to these embodiments will be readily apparent to those skilled in the art. The generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application 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. The tire sidewall font graph generating method based on AutoCAD is characterized by comprising the following steps:
step one, acquiring a base drawing in a database according to the bound base drawing ID, and locating the lower right corner coordinates of a base drawing frame by 0,0 for drawing;
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 pattern of a generated drawing, 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, acquiring drawings in a database according to the sequence of acquiring the image blocks set in the program and drawing according to the acquired contents;
1) Acquiring a pattern base diagram in a font library according to the selected pattern base diagram information, and drawing according to the circle center position of the base diagram by using the angle and the radius of the body input in the system;
2) Corresponding data are obtained in a database according to the type and the content of the fonts input in the system, and drawing is carried out according to the input rotation angle and the interval angle and the information of the pattern character base map;
3) Acquiring DOT authentication base graphs from a font library according to the selected DOT authentication base graph information, and drawing corresponding positions of body angles and radiuses input in the system;
4) Acquiring corresponding data in a database according to the font type and the text content input in the system, and drawing a picture at a corresponding position according to the input rotation angle and the interval angle and DOT authentication base picture information;
5) Obtaining corresponding data in a database according to the matched trademark block information in the system, placing the circle center of the trademark block diagram block to the circle center coordinate of the base diagram, and drawing a diagram at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
6) Acquiring corresponding data in a database according to the 3C authentication block information matched in the system, placing the circle center of the 3C authentication block to the circle center coordinates of the base map, and drawing a map at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
7) Obtaining corresponding data in a database according to the coordinate system information matched in the system, placing the circle center of the coordinate system block to the circle center coordinate of the base map, and drawing a map at a corresponding position by a Y axis according to the defined rotation angle and the X axis;
8) Font map 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, and selecting the right click of the mouse of the image block to insert the font icon image block at the selected position;
9) And dragging and adjusting the positions of all the image blocks until the positions meet the requirements, and clicking a font graph uploading task to upload the drawing.
2. The method for generating a tire sidewall font map based on AutoCAD as claimed in claim 1, wherein the pattern word use algorithm in step 1) is as follows:
(1) judging whether textspace is larger than selfAngle or not, if textspace is larger than selfAngle, then angle= selfAngle, textSpacing =selfAngle/wordAmount, otherwise, angle=textspace is larger than wordAmount;
startAngle = rotationAngle - Angle/2;
filling each character in turn according to the characters to be filled, wherein the position of the character is startangle+textspace, I and 1 in the characters are reduced by a certain error angle according to the requirement and between adjacent characters, and M and W are amplified by a certain error angle according to the requirement and between adjacent characters; wherein:
angle-word total, startAngle-word start Angle, rotation Angle, textspace-word space, selfAngle-body Angle, wordacount-word number, index-word number of bits.
3. The method for generating a tire sidewall font map based on AutoCAD according to claim 1, wherein the DOT authentication using algorithm of step 3) and step 4) is as follows:
①startAngle = rotationAngle - Angle/2+5;
(2) filling each character in turn according to the characters to be filled, wherein the position of the character is startangle+textspace; wherein: angle-the sum of angles occupied by characters, startAngle-the start Angle of characters, rotation Angle textspace-the distance between characters, index-the number of bits arranged by characters.
4. The method for generating a tire sidewall font map based on AutoCAD as claimed in claim 1, wherein the pattern block type of step 8) includes a trademark block and a load index block.
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 CN112883449A (en) | 2021-06-01 |
CN112883449B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113779657B (en) * | 2021-08-10 | 2023-09-26 | 中策橡胶集团股份有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN112883449A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11631050B2 (en) | Syncing physical and electronic document | |
US7904810B2 (en) | System and method for editing a hand-drawn list in ink input | |
US7412094B2 (en) | System and method for editing a hand-drawn table in ink input | |
CN100339801C (en) | Ink marks interface | |
EP2488930B1 (en) | Method and apparatus for drawing and erasing calligraphic ink objects on a display surface | |
TWI627540B (en) | A font cloud service system | |
CN110705237B (en) | Automatic document generation method, data processing device and storage medium | |
CN103078745A (en) | Logon authentication code based on picture | |
CN109460794A (en) | A kind of data characteristics extracting method, system and electronic equipment and storage medium | |
CN104966311A (en) | Vector graph storage method used for handwriting signing system | |
CN112883449B (en) | Tire sidewall font graph generation method based on AutoCAD | |
KR101158679B1 (en) | Method for directly inputting figure on electronic document, and computer-readable recording medium storing program of directly inputting figure on electronic document | |
US20210390299A1 (en) | Techniques to determine document recognition errors | |
US8564548B2 (en) | Systems and methods for using a digital palette to produce a digital document | |
US20060061779A1 (en) | System and method for editing ink objects | |
US9323726B1 (en) | Optimizing a glyph-based file | |
JPS62137684A (en) | Graphic recognition | |
CN106126098A (en) | A kind of can the writing signing method and system of Information locating | |
JP5526991B2 (en) | Information processing apparatus, information processing method, program, information processing system | |
TWM491194U (en) | Data checking platform server | |
CN107169517A (en) | Method for judging repeated strokes, terminal equipment and computer readable storage medium | |
CN101833411B (en) | For the method and apparatus of person's handwriting input | |
CN106598315B (en) | Touch display device and background image replacement method thereof | |
CN105718673A (en) | Spacing adjustment method for words on straight line of CAD | |
CN112395834A (en) | Brain graph generation method, device and equipment based on picture input and 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 |
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. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |