Engineering design drawing directory automatic design method and system
By automating the design of drawing catalogs in CAD model space and utilizing Excel spreadsheet data, the creation and editing of engineering design drawing catalogs were made rapid, solving the problem of wasted productivity caused by manual operation and improving production efficiency.
Patent Information
- Application Number
- CN202411243350.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The process of manually creating an engineering design drawing catalog in existing engineering designs is time-consuming, resulting in wasted productivity and low production efficiency.
By using automated design methods, drawing catalog information can be input using Excel spreadsheets, automatically arranging drawing frames and catalog tables, and enabling rapid creation, editing, and layout in the CAD model space.
It significantly improves the production efficiency of engineering design drawing catalogs, reduces manual operation steps, and completes in just 0.5 hours the work that would normally take 0.5 working days.
Smart Images

Figure CN119294371A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of engineering automation design, and in particular to an engineering design drawing catalog automation design method and system. Background Art
[0002] At present, when engineering designers are producing engineering design drawing catalogs, they first need to manually draw the catalog table in the CAD model space, then create single-line text in the corresponding rows and columns of the table one by one, edit the text content, and manually adjust the font style, text height, and color. Finally, manually create and arrange the design drawing catalog frame. The above working method includes a large number of manual operation steps such as text creation, editing, typesetting, table drawing, and frame drawing, all of which need to be manually completed by designers in the CAD model space, which takes a long time. Designers need to do a lot of repetitive work, which wastes productivity and reduces production efficiency. Summary of the invention
[0003] The purpose of the present invention is to solve the problems of wasting productivity and reducing production efficiency caused by manual work in existing engineering design. To solve the above problems, the present invention provides the following technical solutions:
[0004] An automated design method for an engineering design drawing catalogue comprises the following steps:
[0005] S1. Input the catalog information of engineering design drawings;
[0006] S2, read the engineering design drawing catalog data;
[0007] S3, select the insertion point of the engineering design drawing catalog frame, and automatically arrange the engineering design drawing catalog frame and catalog table;
[0008] The S3 step specifically includes:
[0009] S31, the engineering design drawing catalog frame insertion point is obtained by inputting coordinates or manually selecting in the model space, and the engineering design drawing catalog frame insertion point is defined as P M ;
[0010] S32. Select the insertion point P of the engineering design drawing catalog frame M Then, insert the engineering design drawing catalog frame and catalog table into the model space in the form of a block, and the insertion base point is the lower left corner point of the engineering design drawing catalog library; the engineering design drawing catalog frame and catalog table are stored in dwg file format, and the design drawing catalog frame and catalog table dwg format file corresponding to the engineering project is obtained by selecting a file or entering a file path;
[0011] S4, obtaining the plane position of the catalog table in the catalog frame of the engineering design drawing; the plane position is represented by the relative plane relationship between the center point of the first row and first column of the cell in the catalog table and the insertion point in step S3;
[0012] In the step S4:
[0013] Define the center point of the first row and first column of the directory table Definition The same as in step S3 M The distance in the X-axis direction is X M ,definition With P M The Y-axis distance is Y M ;
[0014] S5. Set the row and column spacing of the directory table;
[0015] S6. Automatically fill in the contents of the engineering design drawing catalog in the catalog form to complete the design of the engineering design drawing catalog;
[0016] The S6 step specifically includes:
[0017] S61, the directory content in the i-th row and j-th column of the directory table is read from the i-th row and j-th column of the two-dimensional text array in step S2;
[0018] S62. Define the single-line text insertion point as The middle point of a single-line text is used as the insertion base point;
[0019] S63. Set the font style of single-line text, including font, size and color.
[0020] Further preferably, in step S1, inputting the engineering design drawing catalog information refers to filling in the catalog information of the specified engineering project in the engineering design drawing catalog template file; the engineering design drawing catalog template file is an excel document in xlsx format or xls format.
[0021] Further preferably, in step S2, the engineering design drawing catalog data is read from the specified row and specified column in the engineering design drawing catalog template file in step S1 and stored in the form of a two-dimensional text array.
[0022] Further preferably, in step S5, the row spacing is the vertical distance between the center points of two adjacent rows in the directory table, and the column spacing is the horizontal distance between the center points of two adjacent columns in the directory table.
[0023] Further preferably, the line spacing from the i-th row to the i+1-th row of the directory table is defined as The distance between column j and column j+1 in the table of contents is Wj M , i and j are both positive integers.
[0024] Further preferably, the single-line text insertion point coordinate Calculated as follows:
[0025]
[0026]
[0027] In the above formula, are the engineering design drawing catalog frame insertion points P in step S3 respectively. M The X-axis and Y-axis coordinates, k is the mathematical summation symbol variable, X M , Y M The steps S4 are respectively With P M The distance in the X-axis direction and the distance in the Y-axis direction.
[0028] Further preferably, the X-axis, Y-axis and corresponding coordinate calculations are all calculated using a Cartesian plane rectangular coordinate system.
[0029] The present invention also provides an engineering design drawing catalog automatic design system, using an engineering design drawing catalog automatic design method, the system comprising:
[0030] The engineering design drawing catalog data input module is used to input the engineering design drawing catalog information and read the engineering design drawing catalog data;
[0031] The automatic layout module of the engineering design drawing catalog frame and catalog table obtains the engineering design drawing catalog frame insertion point by inputting coordinates or manually selecting in the CAD model space, and automatically arranges the engineering design drawing catalog frame and catalog table;
[0032] The automatic generation module of engineering design drawing catalog content automatically calculates the insertion point and fills in and formats the engineering design drawing catalog content in the catalog table according to the plane position, row spacing and column spacing parameters of the catalog table.
[0033] The invention discloses an automated design method for an engineering design drawing catalog, which realizes automated design and drawing of an engineering design drawing catalog, and greatly improves production efficiency. The invention discloses an automated design method and system for an engineering design drawing catalog, which can realize automatic and rapid creation, editing, typesetting, and automatic continuous arrangement of drawing frames of an engineering design drawing catalog in a CAD model space based on the drawing catalog Excel table data. Designers only need to fill in the corresponding drawing catalog information in the Excel table to realize the automated design and drawing of the engineering design drawing catalog. There is no need to perform a large amount of manual operations in the CAD model space.
[0034] By writing the method of the present invention into an AutoCAD secondary development program, a large number of steps that require manual operation can be converted into computer automatic calculation operations, thereby improving production efficiency. If the existing production method is used, it takes about 0.5 working days to manually create text, edit text, draw catalog tables and drawing frames in the CAD model space to produce a design drawing catalog of any professional in the engineering project. However, by using the method and embodiment of the present invention, it only takes 0.5 hours to complete automatic drawing, and production efficiency is greatly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of the method of the present invention;
[0036] Figure 2 The present invention is a schematic diagram of the principle of generating an engineering design drawing catalogue according to an embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] The preferred embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
[0039] Embodiment 1:
[0040] The present invention provides an automated design method for an engineering design drawing catalog, the flow chart of which is shown in Figure 1 ,The automated design method for the engineering design drawing catalog includes the following steps:
[0041] S1. Input engineering design drawing catalog information. In step S1, inputting engineering design drawing catalog information refers to filling in the catalog information of the specified engineering project in the engineering design drawing catalog template file; the engineering design drawing catalog template file is an excel document in xlsx format or xls format.
[0042] S2, reading engineering design drawing catalog data. In step S2, the engineering design drawing catalog data is read from the engineering design drawing catalog template file in step S1 in the specified row and column, and stored in the form of a two-dimensional text array.
[0043] Combination Figure 2 A schematic diagram of the principle of generating a catalog of engineering design drawings of an embodiment of the present invention, in which the catalog is in a table format, and the header content and specific content in the table can be ignored. S3, selecting the insertion point of the catalog frame of the engineering design drawings, and automatically arranging the catalog frame of the engineering design drawings and the catalog table. The S3 step specifically includes: the insertion point of the catalog frame of the engineering design drawings is obtained by inputting coordinates or manually selecting in the model space, and defining the insertion point of the catalog frame of the engineering design drawings as P M The engineering design drawing catalog frame and catalog table are stored in dwg file format. You can obtain the design drawing catalog frame and catalog table dwg format file corresponding to the engineering project by selecting the file or entering the file path. M Then, insert the engineering design drawing catalog frame and catalog table into the model space in the form of blocks, with the insertion point being P M ,like Figure 2 Insertion point in the label.
[0044] S4, obtain the plane position of the catalog table in the engineering design drawing catalog frame; the plane position is represented by the relative plane relationship between the center point of the first row and first column cell in the catalog table and the insertion point in step S3. In step S4: define the center point of the first row and first column cell in the catalog table definition With step S3 P M The distance in the X-axis direction is X M ,definition With P M The Y-axis distance is Y M ,like Figure 2 The X-axis, Y-axis and corresponding coordinate calculations mentioned in the present invention all adopt the Cartesian plane rectangular coordinate system.
[0045] S5, set the row spacing and column spacing of the catalog table; in step S5, the row spacing is the vertical distance between the center points of two adjacent rows in the catalog table, and the column spacing is the horizontal distance between the center points of two adjacent columns in the catalog table. Define the row spacing from row i to row i+1 of the catalog table as like Figure 2 The row spacing of the serial number column in the principle diagram is shown in the figure. The column spacing from column j to column j+1 in the catalog table is W. j M ,like Figure 2 The column spacing in the serial number column is indicated by the markings, i and j are both positive integers.
[0046] S6. Automatically fill in the contents of the engineering design drawing catalog in the catalog table to complete the design of the engineering design drawing catalog. The contents of the catalog are all single-line text, and the text rotation angle is 0°. Step S6 specifically includes:
[0047] The content of the directory in the i-th row and j-th column of the directory table is read from the i-th row and j-th column of the two-dimensional text array in step S2; the single-line text insertion point is defined as Figure 2 Take the first row and first column as an example, and use the middle point of the single-line text as the insertion base point. i and j are both positive integers. Finally, set the single-line text font style, including font, size, and color. coordinate Calculated as follows:
[0048]
[0049]
[0050] In the above formula, are the engineering design drawing catalog frame insertion points P in step S3 respectively. M The X-axis and Y-axis coordinates, k is the mathematical summation symbol variable, X M , Y M The steps S4 are respectively With P M The distance in the X-axis direction and the distance in the Y-axis direction.
[0051] The present invention also provides an engineering design drawing catalog automatic design system, which uses an engineering design drawing catalog automatic design method, and the system includes:
[0052] The engineering design drawing catalog data input module is used to input the engineering design drawing catalog information and read the engineering design drawing catalog data;
[0053] The automatic layout module of the engineering design drawing catalog frame and catalog table obtains the engineering design drawing catalog frame insertion point by inputting coordinates or manually selecting in the CAD model space, and automatically arranges the engineering design drawing catalog frame and catalog table;
[0054] The automatic generation module of engineering design drawing catalog content automatically calculates the insertion point and fills in and formats the engineering design drawing catalog content in the catalog table according to the plane position, row spacing and column spacing parameters of the catalog table.
[0055] The present invention also provides an automated design device for an engineering design drawing catalog, the device comprising a processor, a memory and a computer storage medium.
[0056] The processor is used to run one or more program instructions to execute any method step in an automated design method for an engineering design drawing catalog of the present invention.
[0057] The memory is used to store one or more program instructions.
[0058] The computer storage medium includes one or more program instructions, and the one or more program instructions are used to execute any method step in a method for automated design of an engineering design drawing catalog.
[0059] The invention discloses an automated design method for an engineering design drawing catalog, which realizes automated design and drawing of an engineering design drawing catalog, and greatly improves production efficiency. The invention discloses an automated design method and system for an engineering design drawing catalog, which can realize automatic and rapid creation, editing, typesetting, and automatic continuous arrangement of drawing frames of an engineering design drawing catalog in a CAD model space based on the drawing catalog Excel table data. Designers only need to fill in the corresponding drawing catalog information in the Excel table to realize the automated design and drawing of the engineering design drawing catalog. There is no need to perform a large amount of manual operations in the CAD model space.
[0060] By writing the method of the present invention into an AutoCAD secondary development program, a large number of steps that require manual operation can be converted into computer automatic calculation operations, thereby improving production efficiency. If the existing production method is used, it takes about 0.5 working days to manually create text, edit text, draw catalog tables and drawing frames in the CAD model space to produce a design drawing catalog of any professional in the engineering project. However, by using the method and embodiment of the present invention, it only takes 0.5 hours to complete automatic drawing, and production efficiency is greatly improved.
[0061] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A method for automated design of an engineering design drawing catalog, characterized in that: The steps include: S1. Input the catalog information of engineering design drawings; S2, read the engineering design drawing catalog data; S3, select the insertion point of the engineering design drawing catalog frame, and automatically arrange the engineering design drawing catalog frame and catalog table; The S3 step specifically includes: S31, the engineering design drawing catalog frame insertion point is obtained by inputting coordinates or manually selecting in the model space, and the engineering design drawing catalog frame insertion point is defined as P M ; S32. Select the insertion point P of the engineering design drawing catalog frame M Then, insert the engineering design drawing catalog frame and catalog table into the model space in the form of a block, and the insertion base point is the lower left corner point of the engineering design drawing catalog library; the engineering design drawing catalog frame and catalog table are stored in dwg file format, and the design drawing catalog frame and catalog table dwg format file corresponding to the engineering project is obtained by selecting a file or entering a file path; S4, obtaining the plane position of the catalog table in the catalog frame of the engineering design drawing; the plane position is represented by the relative plane relationship between the center point of the first row and first column of the cell in the catalog table and the insertion point in step S3; In the step S4: Define the center point of the first row and first column of the directory table Definition The same as in step S3 M The distance in the X-axis direction is X M ,definition With P M The Y-axis distance is Y M ; S5. Set the row and column spacing of the directory table; S6. Automatically fill in the contents of the engineering design drawing catalog in the catalog form to complete the design of the engineering design drawing catalog; The S6 step specifically includes: S61, the directory content in the i-th row and j-th column of the directory table is read from the i-th row and j-th column of the two-dimensional text array in step S2; S62. Define the single-line text insertion point as The middle point of a single-line text is used as the insertion base point; S63. Set the font style of single-line text, including font, size and color.
2. The method for automated design of an engineering design drawing catalogue according to claim 1, characterized in that: In step S1, the inputting of engineering design drawing catalog information refers to filling in the catalog information of the specified engineering project in the engineering design drawing catalog template file; the engineering design drawing catalog template file is an excel document in xlsx format or xls format.
3. The method for automated design of an engineering design drawing catalogue according to claim 1, characterized in that: In step S2, the engineering design drawing catalog data is read from the specified row and specified column in the engineering design drawing catalog template file in step S1 and stored in the form of a two-dimensional text array.
4. The method for automated design of an engineering design drawing catalogue according to claim 1, characterized in that: In step S5, the row spacing is the vertical distance between the center points of two adjacent rows in the directory table, and the column spacing is the horizontal distance between the center points of two adjacent columns in the directory table.
5. The method for automated design of an engineering design drawing catalogue according to claim 4, characterized in that: Define the line spacing from row i to row i+1 of the directory table as The column distance from column j to column j+1 in the catalog table is i and j are both positive integers.
6. The method for automated design of an engineering design drawing catalogue according to claim 5, characterized in that: The single-line text insertion point coordinate Calculated as follows: In the above formula, are the engineering design drawing catalog frame insertion points P in step S3 respectively. M The X-axis and Y-axis coordinates, k is the mathematical summation symbol variable, X M , Y M The steps S4 are respectively With P M The distance in the X-axis direction and the distance in the Y-axis direction.
7. The method for automated design of an engineering design drawing catalogue according to claim 1, characterized in that: The X-axis, Y-axis and corresponding coordinate calculations are all calculated using the Cartesian plane rectangular coordinate system.
8. An automated design system for an engineering design drawing catalogue, applying an automated design method for an engineering design drawing catalogue as claimed in any one of claims 1 to 6, characterized in that: The system comprises: The engineering design drawing catalog data input module is used to input the engineering design drawing catalog information and read the engineering design drawing catalog data; The automatic layout module of the engineering design drawing catalog frame and catalog table obtains the engineering design drawing catalog frame insertion point by inputting coordinates or manually selecting in the CAD model space, and automatically arranges the engineering design drawing catalog frame and catalog table; The automatic generation module of engineering design drawing catalog content automatically calculates the insertion point and fills in and formats the engineering design drawing catalog content in the catalog table according to the plane position, row spacing and column spacing parameters of the catalog table.
Citation Information
Patent Citations
Automated generation system of communication engineering design budgets and explaining text and method
CN108549624A
Directory typesetting method and device based on table and storage medium
CN111144069A
Design drawing rapid typesetting method based on AutoCAD
CN113051885A
Method for self-generating construction drawing plane directory based on BIM drawing tree
CN116778026A