Method for automatically synchronizing and optimizing CAD drawing and application

Through the method of automatic synchronization and optimization of communication line construction drawings, the problems that drawing drawings cannot be automatically synchronized and optimized in existing technologies, realized data automatic synchronization and the optimal output of drawings, improved construction efficiency and saved manpower and material resources.

CN119378072APending Publication Date: 2025-01-28GUANGXI HUITIANCHENG NETWORK TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411469863.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The existing communication line construction drawings cannot be automatically synchronized and optimized, resulting in low construction efficiency and waste of manpower and material resources.

Method used

Automatically synchronize the text instructions, pictures, and forms through link data, and automatically optimize the drawing layout according to the requirements of the project to realize the automatic fast synchronization of the data and the optimal result output of the drawing.

Benefits of technology

The automatic synchronization of the data is realized, saving a lot of manpower, improving construction efficiency, and calculating the workload through automatic screenshots and illustrations to further save manpower and material resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119378072A_ABST
    Figure CN119378072A_ABST
Patent Text Reader

Abstract

The invention provides a method and application for automatically synchronizing and optimizing CAD drawings, and belongs to the technical field of automatic optimization of the CAD drawings, and the method comprises the following steps: automatically synchronizing CAD text description, pictures and tables according to link data, automatically optimizing the layout of the drawings according to project requirements, and obtaining the CAD drawings after screenshot according to data and pixelation of a screenshot frame. By automatically synchronizing link data to text description, pictures and tables of CAD, automatic fast synchronization of data is achieved, a large amount of manpower is saved, meanwhile, layout of drawings is optimized, optimal result output of the drawings is achieved, later workload calculation is simpler and more convenient, then the workload is calculated through automatic screenshot and illustration, the construction efficiency is improved, and the construction cost is reduced. And more manpower and material resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic optimization of CAD drawings, and in particular to a method and application of automatic synchronization and optimization of CAD drawings. Background Art

[0002] As the requirements for communication line construction become higher and higher and the construction period is required to be short, it is necessary to unify the requirements during the drawing of construction drawings to make the later construction more efficient. At the same time, the drawing of construction drawings and devices should not take too much manpower, material resources and time.

[0003] A Chinese patent with announcement number CN115423900A discloses a method, device, electronic circuit and storage medium for automatic generation of graphics, the method comprising: obtaining a display request for first data to be displayed, the display request is obtained based on an interface generated by a cloud service, and the first data to be displayed is data stored in Excel format; in response to the display request, a first CAD drawing corresponding to the first data to be displayed is determined and displayed through a pre-established display method, and the display method includes a conversion relationship between data in Excel format and CAD drawings. This solution solves the problem that in the field of survey and design, a large amount of statistics, calculations and drawing in engineering design are very cumbersome, and manual drawing is prone to errors. This solution directly derives from the conversion relationship between data in Excel format and CAD drawings, but this method does not provide relevant inspiration for automatic drawing of drawings in the field of communication line construction.

[0004] A Chinese patent with announcement number CN117475027A discloses a method for automatically drawing construction drawings of intersections of underground mine tunnels. Steps: S1, import the original intersection construction drawing into the CAD system, add annotation constraints to the graphics corresponding to the basic parameters required for drawing the graphics; according to the graphic features, identify the constraint relationship between the geometric bodies in the graphics, and add geometric constraints and annotation constraints between the primitive objects in the graphics; S2, activate the parameter input window, enter the basic parameters required for drawing the graphics in the parameter input window, generate the graphics, and solve and redraw the parametric model through the secondary development program; S3, obtain the graphic data required for engineering quantity calculation and fill the graphic data into the engineering quantity statistical table of the solved and redrawn parametric model; S4, delete the constraints and auxiliary lines. This method is mainly used in the construction of mine tunnel intersections and cannot provide technical inspiration for the construction of communication lines. Therefore, it is necessary to design a method and application for automatically synchronizing and optimizing CAD drawings. Summary of the invention

[0005] The purpose of the present invention is to provide a method and application for automatically synchronizing and optimizing CAD drawings, so as to solve the technical problem that existing communication line construction drawings cannot be automatically synchronized and optimized.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0007] A method for automatically synchronizing and optimizing CAD drawings, the method comprising the following steps:

[0008] Step 1: Automatically synchronize CAD text descriptions, pictures and tables based on linked data;

[0009] Step 2: Get the CAD drawing after the screenshot according to the data of the screenshot frame and pixelation;

[0010] Step 3: Based on project requirements, synchronize data and screenshot CAD drawings as data input to automatically optimize drawing layout.

[0011] Furthermore, the specific process of step 1 is:

[0012] Step 1.1: Match data tables for text descriptions, pictures and tables according to the data matching mechanism;

[0013] Step 1.2: Generate a table cache database based on the table information;

[0014] Step 1.3: Generate an image cache database based on the image information;

[0015] Step 1.4: Generate a text description cache database according to the text description information;

[0016] Step 1.5: Aggregate all databases and CAD writes the data in the cache database.

[0017] Furthermore, the specific process of step 1.1 is: determine whether a new matching mechanism needs to be added based on the link data, and if necessary, establish a new matching mechanism, then match the table, text and pictures respectively, and then summarize them together to build a matching data table.

[0018] Furthermore, the specific process of step 1.2 is: determine the unique name of the table synchronization, create the table to be synchronized in EXCEL, manually enter fixed data and workload data of the pixel combination cached by the input software in the table, or customize the table data, insert the table name at the specified location of CAD, set the row height, column width and text style of the table in CAD, and save the EXCEL table data in the cache database through the program.

[0019] Furthermore, the specific process of step 1.3 is: determine the unique name of the image synchronization, confirm the image naming rules, input the image, and name it according to the rules, insert the unique image name at the specified location in CAD, set the height and width parameters of the image in CAD, and save the program format image data in the cache database.

[0020] Furthermore, the specific process of step 1.4 is: determine the unique name of the text synchronization, manually enter the fixed data and the workload data of the pixel combination cached by the input software in the table, insert the unique name at the specified position in the CAD, set the style parameters of the text, and save the text data in the cache database through the program.

[0021] Furthermore, the specific process of step 3 is:

[0022] Step 3.1: Analyze project requirements, divide CAD drawing frames into three types, namely fixed drawing frames, increasing drawing frames and decreasing drawing frames, determine the content of each type of drawing frame, and create a new CAD drawing template;

[0023] Step 3.2: Customize the layout of the frame type in the CAD template as required, set the content module in the fixed frame, set the content module in the reduced frame, set the rules for reducing the corresponding type of frame, set the content module in the increased frame, and set the rules for increasing the corresponding type of frame;

[0024] Step 3.3: Input data, update the content in the drawing frame based on the input data, and increase or decrease various types of drawing frames, output the CAD project results file, and manually determine whether it meets the project requirements. If not, return to step 3.3. If it does, generate the CAD drawing workload table, material table, and latitude and longitude table.

[0025] Furthermore, the specific process of step 2 is:

[0026] Step 2.1: Determine the height and width of the CAD frame, pixelate the CAD graphics, combine the pixelated graphics, ensure the integrity of the smallest block in the CAD, and obtain several pixel combinations;

[0027] Step 2.2: Merge the pixel combinations of the CAD graphics from the starting point, end point, and corner point to form a combination set, and determine whether there are pixels outside the frame in the merged graphics. If yes, deselect the pixel combinations involved. If not, proceed to the next step.

[0028] Step 2.3: The pixel combination set in the frame is copied from the entire graphic and saved in the cache database, named combination set 1-n, and then it is determined whether there are remaining pixel groups. If so, return to step 2.2, if not, go to the next step;

[0029] Step 2.4: Enter the sorting rules and screenshot symbols, re-sort the combination set according to the rules, paste the sorted item set in the cache database into the sequential frame, add a screenshot symbol for each item set, and cache the workload library based on pixel combination calculation for each frame.

[0030] The invention discloses an application of a method for automatically synchronizing and optimizing CAD drawings, wherein the method is applied to automatic drawing and optimization of construction drawings of communication lines.

[0031] The present invention has the following beneficial effects due to the adoption of the above technical solution:

[0032] The present invention realizes automatic and fast synchronization of data by automatically synchronizing the linked data to the text descriptions, pictures and tables of the CAD, thereby saving a lot of manpower. At the same time, the layout of the drawings is optimized to achieve the optimal output of the drawings, making the subsequent workload calculation easier. Then, the workload is calculated through automatic screenshots and illustrations, thereby improving construction efficiency and saving more manpower and material resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The invention links data to automatically synchronize CAD text descriptions, pictures, and tables to draw a flow chart;

[0034] Figure 2 It is a flow chart of automatically optimizing drawing layout of the present invention;

[0035] Figure 3 The invention discloses a CAD automatic screenshot, automatic workload calculation and screenshot insertion flow chart. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are only for the purpose of enabling the reader to have a thorough understanding of one or more aspects of the present invention, and these aspects of the present invention can be implemented even without these specific details.

[0037] A method for automatically synchronizing and optimizing CAD drawings, the method comprising the following steps:

[0038] Step 1: Automatically synchronize CAD text descriptions, pictures and tables based on linked data. Figure 1 As shown, step 1.1: match the data table for the text description, picture and table according to the data matching mechanism. Determine whether a new matching mechanism needs to be added according to the link data. If necessary, establish a new matching mechanism, then match the table, text and picture respectively, and then summarize them together to build a matching data table.

[0039] Step 1.2: Generate a table cache database based on table information. Determine the unique name of the table synchronization, create the table to be synchronized in EXCEL, manually enter fixed data in the table and input the workload data of the pixel combination cached by the software, or customize the table data, insert the table name at the specified location of CAD, set the row height, column width and text style of the table in CAD, and save the EXCEL table data in the cache database through the program.

[0040] Step 1.3: Generate an image cache database based on the image information. Determine the unique name of the image synchronization, confirm the image naming rules, enter the image, and name it according to the rules, insert the unique image name at the specified location in CAD, set the height and width parameters of the image in CAD, and save the program format image data in the cache database.

[0041] Step 1.4: Generate a text description cache database based on the text description information. Determine the unique name of the text synchronization, manually enter the fixed data and the workload data of the pixel combination cached by the input software in the table, insert the unique name at the specified position in the CAD, set the style parameters of the text, and save the text data in the cache database through the program.

[0042] Step 1.5: Aggregate all databases and CAD writes the data in the cache database.

[0043] Step 2: If Figure 3 As shown, the CAD drawing after the screenshot is obtained based on the data of the screenshot frame and pixelation.

[0044] Step 2.1: Determine the height and width of the CAD frame, pixelate the CAD graphics, combine the pixelated graphics, ensure the integrity of the smallest block in the CAD, and obtain several pixel combinations.

[0045] Step 2.2: Merge the pixels of the CAD graphics from the starting point, end point, and corner point to form a combination set, and determine whether there are pixels outside the frame in the merged graphics. If so, deselect the pixel combination involved. If not, proceed to the next step.

[0046] Step 2.3: The pixel combination set in the frame is copied from the entire graphic and saved in the cache database, named combination set 1-n, and then it is determined whether there are any remaining pixel groups. If so, return to step 2.2, if not, go to the next step.

[0047] Step 2.4: Enter the sorting rules and screenshot symbols, re-sort the combination set according to the rules, paste the sorted item set in the cache database into the sequential frame, add a screenshot symbol for each item set, and cache the workload library based on pixel combination calculation for each frame.

[0048] Step 3: Automatically optimize the drawing layout according to project requirements. Figure 2 As shown, step 2.1: Analyze project requirements, divide CAD drawing frames into three types, namely fixed drawing frames, increasing drawing frames and decreasing drawing frames, determine the content of each type of drawing frame, and create a new CAD drawing template;

[0049] Step 3.2: Customize the layout of the frame type in the CAD template as required, set the content module in the fixed frame, set the content module in the reduced frame, set the rules for reducing the corresponding type of frame, set the content module in the increased frame, and set the rules for increasing the corresponding type of frame;

[0050] Step 3.3: Input data, update the content in the drawing frame based on the input data, and increase or decrease various types of drawing frames, output the CAD project results file, and manually determine whether it meets the project requirements. If not, return to step 3.3. If it does, generate the CAD drawing workload table, material table, and latitude and longitude table.

[0051] An application of a method for automatically synchronizing and optimizing CAD drawings, the method is applied to the automatic drawing optimization of communication line construction drawings. By automatically synchronizing the link data to the text description, pictures and tables of the CAD, the automatic and fast synchronization of data is realized, saving a lot of manpower. At the same time, the layout of the drawings is optimized to achieve the optimal output of the drawings, making the later workload calculation easier. Then, the workload is calculated through automatic screenshots and illustrations, improving construction efficiency and saving more manpower and material resources.

[0052] Specific application example 1:

[0053] Text drawing:

[0054] Text characteristics: The specific parameters of the text including style, height, width, color, etc. are set in the template settings. The default font is Songti, font height 2.5, width 0.7, font (Songti), and alignment (centered).

[0055] Classify text into standard text, other text, text description text, and table text, and set text styles separately in the template settings. Text styles include: style, character height, and character width.

[0056] Numerical marking of route length:

[0057] The size of the number = the length of the routing segment * the marking coefficient. The adjustment coefficient is a number greater than 1 and can be selected or adjusted in the template settings.

[0058] Marking base points: Base points of overhead routes: starting point of routes, end point of routes, center point of poles. Base points of pipeline routes: center point of pipe wells. Base points of direct buried routes: starting point of routes, base points of direct buried markers. Base points of wall routes: starting point, turning point, end point of routes. Base points of trough and in-bureau routes: starting point, turning point, end point of routes. Selection of routing segments: Line segments between two adjacent base points in the route need to be marked. Marking method: Displayed directly above or below the midpoint of the routing segment (can be selected in the template settings), numbers vertical to the routing segment. Standard style: Prefix text + number or number + postfix text; Prefix text, postfix text (set in "Marking text settings" in the template settings).

[0059] No text description entered.

[0060] Text description of the connector box icon:

[0061] Input content: specification + name / number. Input location and method: Use single-line text drawing method and place it just above the legend, parallel to the routing direction;

[0062] Text description of the up and down icons:

[0063] Input content: The content near the original up-and-down legend is (first line: the route is led up to 1 place;); the content near the newly created up-and-down legend is (first line: the route is led up to 1 place + new additions + legend specifications + steel pipes; second line: pass through 1 28 / 32 plastic sub-pipe).

[0064] Input location and method: Use the arrow to pull out from the icon to display it near the legend. It should not overlap with other text or non-topographic legends. The text direction should be due east-west.

[0065] Text description of the power protection icon:

[0066] Input content: Install the power protection panel, unit is meter, the numbers in brackets are set in the template workload rule settings.

[0067] Input location and method: Use the arrow to pull out from the icon to display it near the legend. It should not overlap with other text or non-topographic legends. The text direction should be due east-west.

[0068] Text description of the intersection of roads, overhead routes and wall routes:

[0069] Input content: Install 1 overhead warning pipe, the text content can be modified in the settings. Input location and method: From the intersection of the road centerline and the route, use an arrow to pull out from the icon to display near the legend, without overlapping with other text and non-topographic legends, the text direction is positive east-west.

[0070] 4.3 Text description of label name: Input content: Input the content in the text description column corresponding to the name column "Text Description" in the Aowei input table. Input location and method: Draw directly as a single line of text at the track point. If there are other text or non-topographic legends at the track point, use an arrow to pull it out to a position that does not overlap with other text and non-topographic legends. The text direction is the positive east-west direction.

[0071] Application Example 5: Drawing of Routing Table

[0072] Input: The content in the "connection point" column in the Aowei input table. If the content is the origin, it means that this label point is the starting point of the route. If it is other content + XX core, it means which label point this label route is connected from. The direct path between the two points and the core number specification of the optical cable used on the path can be determined.

[0073] Principle: Know the starting point and end point of each point, as well as the length, specification, and type of the connecting lines in the middle, and output a table.

[0074] Output a table: list the number of cores of all optical cable segments, the starting and ending points of the routes involved, the types of routes involved, the length of each type of route, and the total route length.

[0075] The types of routes involved include: newly built overhead routes, reused overhead routes, newly added suspended wire overhead routes, nailed wall routes, new suspended wire wall routes, reused existing suspended wire wall routes, management routes, direct buried routes, trough routes, and intra-office routes.

[0076] Workload calculation:

[0077] Workload calculation is to count the number of corresponding legends in the statistical chart, the cable length, and perform data operations based on the previous two according to a certain calculation method.

[0078] The workload sheet consists of serial number, item, unit, quantity and notes; see the table for specific items, units and calculation methods.

[0079] Workload classification:

[0080] 1. The number of block type legends used, according to the legend number or name + legend parameters (type, specification, terrain) 1 or more, after determining the conditions, the corresponding legends used in the statistical chart are sorted; 2. The length of the line type legend used, the lines are divided into 2 categories: measured length and laid length. The measured length of the workload refers to the sum of the marked lengths of all actual lines of the corresponding name, type, specification, terrain. The laid length of the workload refers to the total measured length from the starting point of the corresponding name, type, specification, terrain to the connection point * laying coefficient.

[0081] 3. The text with prefix text + numbers that appear in the figure describes the number of related times and the sum of the numbers.

[0082] Commonly used text descriptions include: Excavation of concrete pavement XXm; you can count the number of excavations, or the total number of meters excavated. Excavation of concrete pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of asphalt pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of asphalt pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of gravel pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of gravel pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of concrete block pavement XXm can count the number of excavations, or the total number of meters excavated. Excavation of cement tile pavement XXm can count the number of excavations, or the total number of meters excavated. Laying steel pipe protection XXm can count the number of pipe protection locations, or the total number of meters of steel pipe protection. Laying plastic pipe protection XXm can count the number of pipe protection locations, or the total number of meters of plastic pipe protection. Warning signs XX pieces can count the number of warning signs, or the total number of warning signs. Route reservation XXm can count the number of route reservations, or the number of meters of route reservations. Manhole (hand) hole wall holes XX pieces can count the number of manhole (hand) hole wall holes, or the total number of manhole (hand) hole wall holes. Floor holes XX pieces can count the number of floor holes, or the total number of floor holes. New ODF racks XX pieces can count the number of new ODF racks, or the total number of new ODF racks. New ODF sub-racks XX pieces can count the number of new ODF sub-racks, or the total number of new ODF sub-racks.

[0083] Requirements: 1. All workloads can be exported to EXCEL version. 2. The project can be checked whether to be presented in CAD.

[0084] Screenshot and frame placement:

[0085] Compass (K-TY-030): placed in the upper right corner of the drawing frame, in principle, in the true north direction, and can also be adjusted according to the direction of the drawing;

[0086] Screenshot steps:

[0087] 1. According to the settings, the general map takes the route as the center line to form a primary screenshot area;

[0088] 2. Remove the blank area from the primary screenshot area according to the concave-convex method to form a more detailed screenshot area;

[0089] 3. Cut the screenshot area into small areas according to important nodes and sort them by number;

[0090] 4. Set the drawing area in the frame: the drawing area is a rectangle with a length of XX and a width of XX;

[0091] 5. Turn the small areas and place them in the frame in turn to meet the principle of maximizing area and routing continuity;

[0092] 6. Sort and number the frames;

[0093] 7. Mark the borrowed image with a screenshot symbol + number to facilitate the restoration of the overall route map;

[0094] 8. Draw text and other content in the frame.

[0095] Drawing placement and output:

[0096] (01) Template setting form - field input form - fill in the corresponding field name and fill in the field content corresponding to the corresponding field name.

[0097] (02) The corresponding content in the ABC frame is set in the block definition. The content is divided into fixed content and variable content. The variable content corresponds to the content in the field input table in the template setting.

[0098] A-type drawing frames refer to the frames before the routing diagram, which usually contain legends, safety instructions, or panel diagrams, etc., which are customized by the customer. For variable content, fill in the content of the field name column in the field input table in the corresponding position of the corresponding drawing frame. B-type drawing frames refer to the frames where the routing diagram is located. Please note that you need to fill in the date, number, drawing name and other field names, and the software will automatically fill in the corresponding content and automatically sort it. C-type drawing frames refer to the frames after the routing diagram, which usually contain workload tables, wiring diagrams, general diagrams and other content.

[0099] Determination of risk sources, and drawing of panel diagrams and wiring diagrams:

[0100] 1. According to the name, type, specification, number / name, and address of the input content, the legend of the risk source is automatically matched according to the combined fields.

[0101] 2. Insert a risk source legend or a text description of the risk source at a certain position in the frame.

[0102] 3. Drawing of panel diagram: According to the input panel diagram content, select the corresponding panel diagram legend, insert the corresponding legend into the frame, and automatically modify the text that needs to be replaced in the legend.

[0103] Drawing of wiring diagram: Draw the tree-type wiring diagram according to the contents of the connection table, and automatically replace the fields that need to be replaced with the contents in the connection table. The contents that need to be replaced include the connection point name, the number of terminated cores, the number of optical cable cores, the optical cable model, etc.

[0104] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for automatically synchronizing and optimizing CAD drawings, characterized in that: The method comprises the following steps: Step 1: Automatically synchronize CAD text descriptions, pictures and tables based on linked data; Step 2: Get the CAD drawing after the screenshot according to the data of the screenshot frame and pixelation; Step 3: Based on project requirements, synchronize data and screenshot CAD drawings as data input to automatically optimize drawing layout.

2. The method and application of automatically synchronizing and optimizing CAD drawings according to claim 1, characterized in that: The specific process of step 1 is: Step 1.1: Match data tables for text descriptions, pictures and tables according to the data matching mechanism; Step 1.2: Generate a table cache database based on the table information; Step 1.3: Generate an image cache database based on the image information; Step 1.4: Generate a text description cache database according to the text description information; Step 1.5: Aggregate all databases and CAD writes the data in the cache database.

3. The method for automatically synchronizing and optimizing CAD drawings according to claim 2, characterized in that: The specific process of step 1.1 is: determine whether a new matching mechanism needs to be added based on the link data. If necessary, establish a new matching mechanism, then match the tables, texts and pictures separately, and then summarize them together to build a matching data table.

4. The method for automatically synchronizing and optimizing CAD drawings according to claim 2, characterized in that: The specific process of step 1.2 is as follows: determine the unique name of the table synchronization, create the table to be synchronized in EXCEL, manually enter fixed data and workload data of pixel combinations cached by the input software in the table, or customize the table data, insert the table name at the specified location of CAD, set the row height, column width and text style of the table in CAD, and save the EXCEL table data in the cache database through the program.

5. The method for automatically synchronizing and optimizing CAD drawings according to claim 2, characterized in that: The specific process of step 1.3 is: determine the unique name of the image synchronization, confirm the image naming rules, enter the image and name it according to the rules, insert the unique image name at the specified location in CAD, set the height and width parameters of the image in CAD, and save the program format image data in the cache database.

6. The method for automatically synchronizing and optimizing CAD drawings according to claim 2, characterized in that: The specific process of step 1.4 is: determine the unique name for text synchronization, manually enter fixed data in the table and the workload data of the pixel combination cached by the input software, insert the unique name at the specified position in CAD, set the style parameters of the text, and save the text data in the cache database through the program.

7. The method for automatically synchronizing and optimizing CAD drawings according to claim 1, characterized in that: The specific process of step 3 is: Step 3.1: Analyze project requirements, divide CAD drawing frames into three types, namely fixed drawing frames, increasing drawing frames and decreasing drawing frames, determine the content of each type of drawing frame, and create a new CAD drawing template; Step 3.2: Customize the layout of the frame type in the CAD template as required, set the content module in the fixed frame, set the content module in the reduced frame, set the rules for reducing the corresponding type of frame, set the content module in the increased frame, and set the rules for increasing the corresponding type of frame; Step 3.3: Input data, update the content in the drawing frame based on the input data, and increase or decrease various types of drawing frames, output the CAD project results file, and manually determine whether it meets the project requirements. If not, return to step 3.

3. If it does, generate the CAD drawing workload table, material table, and latitude and longitude table.

8. The method for automatically synchronizing and optimizing CAD drawings according to claim 1, characterized in that: The specific process of step 2 is: Step 2.1: Determine the height and width of the CAD frame, pixelate the CAD graphics, combine the pixelated graphics, ensure the integrity of the smallest block in the CAD, and obtain several pixel combinations; Step 2.2: Merge the pixel combinations of the CAD graphics from the starting point, end point, and corner point to form a combination set, and determine whether there are pixels outside the frame in the merged graphics. If yes, deselect the pixel combinations involved. If not, proceed to the next step. Step 2.3: The pixel combination set in the frame is copied from the entire graphic and saved in the cache database, named combination set 1-n, and then it is determined whether there are remaining pixel groups. If so, return to step 2.2, if not, go to the next step; Step 2.4: Enter the sorting rules and screenshot symbols, re-sort the combination set according to the rules, paste the sorted item set in the cache database into the sequential frame, add a screenshot symbol for each item set, and cache the workload library based on pixel combination calculation for each frame.

9. Application of the method for automatically synchronizing and optimizing CAD drawings according to any one of claims 1 to 8, characterized in that: The method is applied to automatic drawing and optimization of communication line construction drawings.

Citation Information

Patent Citations

  • Automatic graph generation method and device, electronic equipment and storage medium

    CN115423900A

  • Automatic drawing method for underground mine roadway intersection point construction drawing

    CN117475027A