Intelligent automatic drawing method for customizing two-dimensional part drawing of security door

By establishing a standard legend database and using intelligent inference modules and other technical means, detailed design drawings of security door components are automatically generated, which solves the problems of cumbersome design and high error rate in the existing technology, and an efficient and accurate design process is achieved.

CN120105504APending Publication Date: 2025-06-06SHANGHAI DONGLAN INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510013967.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In the prior art, the development of detailed design drawings of anti-theft door parts is cumbersome, time-consuming and prone to manual errors, resulting in slow design speed and low product quality.

Method used

By establishing a standard legend database, inputting the parameters of the security door automatically generates engineering drawings, and using the intelligent inference module and attribute configuration module to quickly draw part drawings to realize parameterized-driven graphic modification.

Benefits of technology

It improves design speed, reduces manual errors, improves work efficiency and product quality, and can adapt to the needs of different CAD drawing systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120105504A_ABST
    Figure CN120105504A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent automatic drawing method for customizing a two-dimensional part drawing of a security door, and belongs to the technical field of engineering drawing. Establishing a grid graph; establishing a basic design sub-graph database; setting customized parameters of the security door; reading customized parameters of the security door; extracting sub-graph structure data, and drawing a sub-graph layout sketch; establishing a preliminary part drawing database; calling an intelligent inference module, and updating the initial part drawing database; calling an attribute configuration module, and updating the initial part drawing database; calling a drawing module, and caching the drawn two-dimensional initial part drawing; establishing an initial part drawing database; calling a parameter driving configuration module, and establishing an attribute modification mark database; reading cached security door customization parameters, calling a coordinate modification module to modify structure coordinate data in the initial part drawing database, and caching a to-be-drawn target finished product part database; and updating the cached two-dimensional initial part drawing database, and calling a drawing module to generate a finished part drawing. The antitheft door engineering drawing can be rapidly drawn, the design speed is high, the working efficiency can be improved, the design precision is high, and the product quality can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of engineering drawing, and in particular relates to an automatic drawing method for detailed engineering drawings of parts of steel-wood doors such as anti-theft doors, fire doors, industrial doors, etc. Background Art

[0002] For modern product manufacturing, detailed parts design drawings are important document basis for the production process such as material preparation, manufacturing, inspection and assembly. For the production of anti-theft doors, the style is usually determined first, the dimensions are measured on site, and then the drawings are designed, reviewed, and finally manufactured.

[0003] Since there are many types of security doors, including double doors, single / double doors, high lintels, and added bright windows, and due to the diversity of preferences and decoration styles of different people, and the fact that the construction manufacturing industry cannot unify the construction dimensions of door openings, the design task of security doors before production is extremely heavy.

[0004] At present, for the design of anti-theft doors, designers generally use AutoCAD software to first design the general assembly drawing of the customized anti-theft doors on the computer, and then split the component drawings for modification. Designers need to manually draw basic drawing elements such as lines and arcs one by one according to the results of the part structure changes to develop the final product part drawings. Therefore, it takes a lot of time to draw a complete set of drawings for anti-theft doors that can be produced, and the manual drawing of two-dimensional design drawings sometimes produces errors, and modifications also take a lot of time.

[0005] Since the development of detailed design drawings of components of anti-theft door products is very tedious, frequent, repetitive and boring, and the details are relatively complex and numerous, too much content needs to be manually drawn, the workload is large, and the design speed is slow. Therefore, in order to address the design problems in the customized production and sales of the above-mentioned anti-theft doors, it is necessary to design a method that can automatically design detailed design drawings of components of anti-theft door products, so as to improve work efficiency and product quality. Summary of the invention

[0006] The purpose of the present invention is to overcome the technical problems in the prior art that engineers have to draw too much content, have a large workload and a slow design speed when designing detailed engineering drawings of components of anti-theft doors, and to provide an automatic drawing method for detailed engineering drawings of components of anti-theft doors, which can automatically generate anti-theft door engineering drawings by establishing a standard legend database and inputting the parameters of the anti-theft door.

[0007] In order to solve the above technical problems, the present invention provides a method for automatically drawing an engineering drawing of a burglary-proof door, the method comprising the following steps: Step 1, establishing a basic design sub-graph database: for each part drawing, divide the grid according to the basic function or structure in the preferred virtual coordinate system, generate a grid sub-graph and establish the coordinate data of each control point. The sub-graph has the function of fully expressing the geometric structure topological information of each control point of the relevant graphic unit contained in the sub-graph. The sub-graph division processing includes the sub-graphs of each projection view of the complete industrial standard parts and the sub-graphs of the projection view of all non-standard parts structure design, and generates the basic design sub-graph database of each anti-theft door part drawing; Step 2, establish a preliminary parts drawing database: read the specifications and styles of customized anti-theft doors in the order system, extract all sub-drawing structure data of each part drawing of the target anti-theft door to be developed from the basic design sub-drawing database according to the customized style category, and generate a structural twin mapping for the specific part drawing to be drawn in the target AutoCAD drawing frame according to the virtual coordinates and array data in the AutoCAD software environment, establish a sub-drawing layout sketch, and generate a preliminary part drawing database containing the coordinate attributes of each control point corresponding to each part drawing file of the target anti-theft door; Step 3, calling the intelligent inference module to update the preliminary part drawing database: Based on the preliminary part drawing database and all sub-graph structure information of a part drawing to be drawn of the target anti-theft door, calling the intelligent inference module to infer the connection attributes between each coordinate point in each sub-graph and between sub-graphs of the target part drawing to be drawn, traversing each coordinate point to perform intelligent inference and marking of the connection attributes, and updating the results to the preliminary part drawing database; Step 4: Call the attribute configuration module to generate an initial part drawing database: Call the interactive attribute configuration module to traverse all coordinate points in and between each sub-graph again, confirm or modify the connection attributes between each coordinate point obtained by intelligent inference, and update the preliminary part drawing database to generate an initial part drawing database; call the drawing module to produce a two-dimensional initial part drawing based on the layout sketch and the structural data of the preliminary part drawing database; Step 5: Read the customized security door attribute requirements and cache the specific attribute values ​​of each customized parameter: Read the specifications, styles and types of the security door customized by the customer in the order system, and cache the specific values ​​of the customized security door attribute parameters set in code according to the customized requirements such as the width and height of the customized security door opening, the frame type, the size of the hanging feet and other styles and patterns; Step 6, calling the parameter-driven configuration module to generate an attribute modification mark database: for the coordinate parameters and attributes that express the topological relationship of the geometric structure of the part drawing stored in the initial part drawing database, according to the range of each customized parameter that may affect the drive and the sub-graph topological structure changes involved, for the coordinate parameters and attribute changes caused by the geometric structure change or related association changes, attribute change marks such as change direction, positive and negative changes, magnification, rotation angle, etc. and associated configuration change marks are made for different projection views, and an attribute modification mark database associated with each customized parameter of the anti-theft door of the order system is generated, and stored in the automatic drawing database corresponding to the initial part drawing database; Step 7, read the cached custom parameter values ​​of the anti-theft door and generate an initial finished product part drawing database: read the cached specific attribute parameter values ​​of the anti-theft door of the order system, modify the modification mark of the attribute modification mark database driven by each custom parameter, call the coordinate modification module, traverse and modify each coordinate data and attribute in the initial part drawing database corresponding to the target two-dimensional initial part drawing according to each custom parameter, and cache the result in each coordinate data and attribute of the two-dimensional target finished product part drawing database corresponding to the part drawing to be modified, generate an initial finished product part drawing database, and store it in the automatic drawing database; Step 8. Read the initial finished product parts drawing database to generate the final two-dimensional engineering detailed drawings of each part of the target anti-theft door: read the coordinate data and related attributes in the initial finished product parts drawing database, and update the coordinate values ​​in the initial parts drawing database corresponding to the cached two-dimensional initial parts drawing AutoCAD graphic file one by one, call the drawing module to redraw the two-dimensional initial parts drawing of the target anti-theft door, and finally generate the two-dimensional engineering detailed drawings of all parts of the target anti-theft door to be drawn.

[0008] As a further improvement measure of the present invention, in the above-mentioned method for automatically drawing engineering drawings of anti-theft doors, in step 1, the sub-graphs of each projection view of the complete industrial standard parts include national standard parts and factory standard parts, and the sub-graphs of the projection view of non-standard parts include non-standard design structures, expandable and modifiable sub-graphs, or sub-graphs for new product development and update. Adjacent sub-graphs that do not include any geometric structure or control point can be merged with adjacent sub-graphs into one sub-graph; several sub-graphs including local structures of the same function are merged into the same sub-graph.

[0009] As a further improvement measure of the present invention, in the above-mentioned method for automatically drawing anti-theft door engineering drawings, the sub-graph can be further divided into secondary sub-graphs or more detailed secondary sub-graphs, and the secondary sub-graphs or secondary sub-graphs are used to further express the local detailed structural relationships within the sub-graphs with complex structures, including areas where customized parameters affect changes in geometric structures or areas that may be expanded and modified.

[0010] As a further improvement measure of the present invention, the connection attributes described in step three of the above-mentioned method for automatically drawing anti-theft door engineering drawings include attribute features such as position coding marks, projection view direction attribute marks, and control point coordinate attributes of sub-graphs; the position coding marks of sub-graphs are used to mark the relative positional relationships between sub-graphs; the projection view direction attribute marks are used to distinguish view categories such as the front view, top view or right view of the sub-graphs; the control point coordinate attributes of the sub-graphs are the relative coordinate structure data attributes of each graphic control point in the sub-graph and the coordinate values ​​of different coordinate axes.

[0011] As a further improvement measure of the present invention, in the above-mentioned method for automatically drawing anti-theft door engineering drawings, in step 2, the preliminary part drawing database includes the structural data required to establish a sub-drawing layout sketch file generated in the AutoCAD drawing frame by calling all sub-drawings of the target part drawing to be drawn in the basic design sub-drawing database.

[0012] As a further improvement measure of the present invention, in the above-mentioned method for automatic drawing of anti-theft door engineering drawings, in step six, the automatic drawing database includes a basic design sub-drawing database, a preliminary part drawing database, an initial part drawing database, a property modification mark database and a cached finished part drawing database; the automatic drawing database is the total database of the automatic drawing method, and the preliminary part drawing database, the initial part drawing database and the property modification mark database can be dedicated storage devices or apparatuses, which are data structure terminal systems that can realize similar functions.

[0013] As a further improvement measure of the present invention, in the above-mentioned method for automatically drawing engineering drawings of anti-theft doors, in step six, the attribute modification mark database includes, based on the initial parts drawing database, according to each customized parameter of the anti-theft door, the different impact contents of different graphic control points in different projection views of each parts drawing of each anti-theft door, and the change marks of the geometric topological relationships that need to be modified, including translation, rotation, enlargement in the sense of computer graphics, and deletion and addition of local line segments, arcs, etc.

[0014] As a further improvement measure of the present invention, the above-mentioned method for automatically drawing engineering drawings of anti-theft doors, in step 4, the two-dimensional initial part drawing includes drawing a sub-drawing layout sketch in the target AutoCAD drawing frame, calling the drawing module to use the secondary development function of AutoCAD, and after intelligent inference and attribute configuration, traversing the attribute marking features of each coordinate control point in the initial part drawing database to complete the automatic drawing content of the two-dimensional initial part drawing associated with the part drawing file to be drawn, including the drawing content involving basic drawing units in various line segments and arcs in each layer of the layout sketch. The two-dimensional initial part drawing is a basic graphic that is driven by parameterized transformation of various door styles and contains the drawing elements of each complete part drawing.

[0015] As a further improvement measure of the present invention, in the above-mentioned method for automatic drawing of anti-theft door engineering drawings, in steps three, four or six, seven, and eight, the intelligent inference module, attribute configuration module, parameter-driven configuration module, coordinate modification module, drawing module, etc. can be different functional program modules, and also include programs or preprocessing equipment and devices for processing and transforming the coordinates of control points of each basic graphic unit that can realize the above-mentioned automatic drawing related functions.

[0016] As a further improvement measure of the present invention, in the above-mentioned method for automatically drawing engineering drawings of anti-theft doors, in step seven, the finished parts database includes an initial part drawing database determined by the AutoCAD graphic file of the two-dimensional initial part drawing and modified by the coordinate modification module according to the content of the attribute modification mark database mark, and caches the geometric structure coordinate data and related attribute information used to generate the final target part drawing graphic file.

[0017] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention can be applied to the design of various anti-theft doors by establishing a basic design sub-graph database.

[0018] 2. The present invention sets coded anti-theft door attribute parameters, reads anti-theft door customization parameters, and uses an intelligent inference module and an attribute configuration module to quickly programmatically draw a two-dimensional initial part drawing of the anti-theft door that can be used for transformation. The design modification speed is fast, which can improve work efficiency.

[0019] 3. The present invention realizes parameter-driven drawing modification from the bottom-level coordinate modification drive by setting a parameter-driven configuration module. It has great flexibility in modifying the details of the part drawing, can adapt to the needs of different CAD drawing system operating environments, and improves drawing efficiency and wide adaptability.

[0020] 4. The present invention sets a coordinate modification module, reads the specific customized parameter values ​​of the anti-theft door in the preset order system, and modifies the two-dimensional initial part drawing database according to the attribute mark in the attribute modification mark database, thereby automatically generating the final target part drawing engineering details, eliminating human errors, improving the design accuracy of the anti-theft door engineering drawing, and improving product quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of the automatic mapping method of the present invention.

[0022] Figure 2 It is a grid subgraph architecture diagram of the present invention.

[0023] Figure 3 It is a database function relationship diagram of the present invention. DETAILED DESCRIPTION

[0024] 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 in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0025] The invention discloses an automatic drawing method for anti-theft door engineering drawings, which can be applied to the automatic drawing method for customized steel-wood door parts drawings such as anti-theft doors, fire doors, industrial doors, etc., so as to realize the automatic drawing of customized door parts drawings and improve the product design speed. Different demanders only need to input the door opening installation size of the anti-theft door site and the selection of the customized anti-theft door into the order system, and the invention can automatically complete the drawing of the parts drawings of the anti-theft door according to the order customization requirements, such as frame category, thickening size of the flap frame, customized size of the back frame, lower sill height, whether there are hanging feet and height, handle type, hinge type and quantity, lintel size, secondary lock and door mirror, etc., as well as customized anti-theft door styles such as single door, mother-and-child door, double door, whether there are bright windows and size, door panel pattern, etc., and door opening methods such as outer right, outer left, inner right and inner left, etc., and after design review and confirmation, it can be delivered to the manufacturing workshop for production and manufacturing, realizing the automatic design of anti-theft door engineering drawings, which can improve production speed and product quality.

[0026] like Figures 1 to 3 The method for automatically drawing engineering drawings of anti-theft doors shown first requires classifying anti-theft doors of different styles and types to establish the preferred virtual coordinate system of each part drawing, and at the same time establish a twin mapping drawing template corresponding to each part drawing.

[0027] The second step is to establish a basic design sub-graph database: for each part drawing, grid sub-graphs are divided according to basic functions or structures. The sub-graphs can fully express the geometric structure topology information of each control point of each basic graphic unit contained in the sub-graph. The sub-graph division process includes sub-graphs of each view of complete industrial standard parts and sub-graphs of projection views of non-standard parts, and a basic design sub-graph database of anti-theft door part drawings is established; sub-graphs of each view of complete industrial standard parts include national standard parts and factory standard parts; sub-graphs of projection views of non-standard parts include non-standard design structures, expandable and modifiable sub-graphs, or sub-graphs for new product development and update. Sub-graphs can be further divided into secondary sub-graphs or lower-level sub-graphs. Secondary sub-graphs or lower-level sub-graphs are used to express the local detailed structural design content in complex sub-graphs, including customized areas where geometric structures are changed due to parameter influences and areas that may be expanded and modified.

[0028] The division of grid subgraphs for the parts drawings of anti-theft doors, such as the sheet metal unfolding drawing of the inner wall of the door panel or the top view of the sheet metal bending, is the basis for establishing the basic design subgraph database of the inner wall part drawing. Before the subgraph division, after determining the preferred virtual coordinate system of the target part drawing, the coordinate control parameter values ​​of the structural control points of each basic drawing unit in the virtual coordinate system must be calculated. Different views of the same part drawing are first classified and marked, such as the main view, top view, right view, etc. are divided into different types, and then each view is divided into different grid subgraphs according to the topological structure. The grid subgraph is the basic structural unit of the part drawing design database. Different subgraphs are coded by position and used for the auxiliary determination of the area of ​​automatic drawing. The subgraph division depends on the functional structure of the part that generates the projection view. The part design drawings in different projection views are divided into different grid subgraphs according to the basic functional structure. If the subgraph does not contain the control point information that determines the topological structure relationship but only part of the local transition graphics, such as the middle part of the straight line segment between two points of the several-meter-long border contour line, because it does not include the control point information, it should form an empty subgraph and merge into the adjacent entity subgraph. A valid sub-drawing may not contain entity graphic units such as line segments and arcs or combinations of basic drawing units, but it must express the coordinate point information of the geometric structure topological relationship of all control points that define relevant graphic units related to the part drawing in the grid.

[0029] When dividing subgraphs, for grids with complex local structures, or for local details that need to be modified or redeveloped in the future, the subgraphs can be divided into the next level of secondary subgraphs until the most basic drawing units such as points, line segments and arcs are obtained. For example, in the processing of the corner structure of the sheet metal expansion diagram of the inner and outer walls of the anti-theft door frame and the door panel, the combined effect of the changes in the customized parameters of the anti-theft door frame type or door type often leads to local interference of the corner structure, causing changes in the local shearing shape and structural dimensions and geometric topological relationships. At this time, the commonly used block pasting and copying or the constraint function function of AutoCAD cannot realize automatic drawing and modification of local detail changes. The present invention adopts a method of further dividing secondary subgraphs, and can achieve automatic drawing of line segments or arcs by controlling the attribute connection configuration relationship between points in the secondary subgraph. In the present invention, the complete circle is treated as a special case of an arc, that is, any complete circle is just a special case of a 360-degree arc figure, and its control attribute parameters all contain attribute data such as the center of the circle, radius and starting point coordinates or angles. Each secondary sub-graph has a subordinate attribute relationship with the parent sub-graph. The parent sub-graph and the secondary sub-graph determine the overall grid position of the automatic drawing. The secondary sub-graph determines the local graphic drawing details and graphic geometric structure within the parent sub-graph. It is not a local enlargement of the parent sub-graph.

[0030] According to the structural attribute relationship between sub-graphs, or the structural relationship and attributes between each sub-graph and the basic mapping unit within a sub-graph, the present invention adopts a virtual mapping coordinate system to define the coordinate data of each sub-graph and each control point of each sub-graph within a sub-graph and its basic mapping unit, or calculates the relative structural data of each graphic control point within a sub-graph, and saves the structural data of all sub-graphs in the attribute value of each sub-graph in the basic design sub-graph database for use in subsequent data extraction and graphic drawing.

[0031] Different projection views of each sub-drawing or basic drawing unit are also stored in the basic design sub-drawing database in a structured manner according to their drawing properties, such as whether they belong to the projection of the same structure in different projection directions or views. Sub-drawings belonging to different parts such as the inner wall, outer wall, lock frame, hinge frame, upper frame and lower sill of the door panel should be marked with classification attributes to facilitate their distinguishing use.

[0032] For a certain level of sub-graph, if it is only various projection views of industrial standard parts, there is no need to re-divide the secondary sub-graph. When meshing, the graphics containing the complete projection view of the same standard part entity are treated as a sub-graph, such as the geometric figure guarded by the door lock on the outer wall of the door panel. This sub-graph only contains the graphics of a certain projection view of a certain standard part entity, and its coordinate structure data and projection attributes are saved together with the structure data in the basic design sub-graph database for automatic drawing sharing.

[0033] For the sub-drawings of the projection views of non-standard structural parts, several grid graphics containing local structural graphics with the same function are merged into the same sub-drawing according to the functional structure, such as the notch geometry of the hinge installation on the outer wall of the door panel, and its coordinate structure data and attributes are saved together with the graphic data in the basic design sub-drawing database for automatic drawing or modification and calling.

[0034] All sub-drawings or basic drawing units at different levels of the anti-theft door parts drawing, as well as the relative position geometric relationship and positioning configuration relationship between the attributes of each sub-drawing or basic drawing unit in the sub-drawing and the coordinate points, are stored in the basic design sub-drawing database in a structured manner. For the sub-drawings of the finalized views formed by the expansion of existing products or the development of new products, the expansion area or the projection views of the new product parts drawing can be divided into sub-drawings and then updated and saved in the basic design sub-drawing database. The basic design sub-drawing database established in the above manner is the sub-drawing structure data basis for drawing the sub-drawing layout sketch.

[0035] The third step is to customize the style and type of the security door according to the order system, and pre-set the coded security door attribute parameters in the automatic mapping system, such as the width, height, frame and door type of the door opening, the thickness of the flutter frame, the back frame size, the height of the lower sill, the presence or absence of hanging feet and the height value, the type of handles, the type and quantity of hinges, the size of the lintel, the presence or absence of bright windows and customized size, the presence or absence of secondary locks, etc. The corresponding parameter values ​​or attribute codes of all data.

[0036] Then, the automatic drawing system reads the parameter attributes of the security door according to the specifications, styles and door types of the security doors that need to be customized by the order system; then, all the sub-drawing structure data of the parts drawings of the target security door to be developed are extracted from the basic design sub-drawing database, and in the AutoCAD software environment, the structure of the specific parts drawing to be drawn is mapped in the target AutoCAD drawing frame according to the structural data coordinates in the virtual template, and the topological structure twin layout sketch of each sub-drawing is generated according to the geometric structure of the specific parts drawing to be drawn, and a preliminary parts drawing database corresponding to the parts drawing files of the target security door is established.

[0037] The fourth step is to first call the intelligent inference module to update the preliminary part drawing database: based on a preliminary part drawing database and according to the similarity of the coordinate attributes between adjacent sub-drawings, call the intelligent inference module to intelligently infer the connection attributes between each coordinate point in each sub-drawing and between sub-drawings; the attribute content mainly includes position coding marks, projection view direction attribute marks, sub-drawing control point coordinate attributes, etc.; the sub-drawing position coding marks are used to mark the mutual position relationship between sub-drawings; the projection view direction attribute marks are used to distinguish the view categories such as the front view, top view or right view of the sub-drawing; the control point coordinate attributes of the sub-drawing are the relative coordinate categories and structural data attributes of each graphic control point in the sub-drawing; the connection attributes between coordinate points express the connection feature relationship between the basic graphic units such as line segments and arcs that need to be established between the coordinate points when drawing. After using the intelligent inference module to intelligently infer and mark the connection attributes between coordinate points, update the preliminary part drawing database to generate the initial part drawing database; Then, the attribute configuration module is called to traverse all the coordinate points in and between each sub-graph again in a manual interactive manner, confirm or modify the connection attributes between the coordinate points obtained by intelligent inference, and update the initial part drawing database according to the result of the attribute configuration module to generate a two-dimensional initial part drawing database with complete CAD drawing data information; Finally, if necessary, the connection attribute relationship between each coordinate point defined by the intelligent inference module and the attribute configuration module and stored in the initial part drawing database can be read, and the drawing module can be called to use the drawing functions of basic graphic units such as drawing points, lines, and arcs in the CAD environment to traverse the connection requirements between each coordinate point to complete the drawing of the two-dimensional initial part drawing that shares the initial part drawing database with the part drawing file to be drawn.

[0038] The initial part drawing database calls the relevant sub-drawings of the target part drawing to be drawn in the basic design sub-drawing database, and is used to generate the sketch file in the target AutoCAD template drawing frame. The drawing module draws the two-dimensional initial part drawing file according to the connection attribute marks between the coordinate points established by the intelligent inference and attribute configuration module. The AutoCAD environment drawing structure data includes the coordinate data and attribute relationships that can draw a complete CAD graphic file.

[0039] The two-dimensional initial part drawing is based on the updated initial part drawing database, calling the drawing module to utilize the secondary development function of AutoCAD, traversing the attribute configuration features between the coordinate control points in the initial part drawing database, and completing the automatic drawing of the two-dimensional initial part drawing with the same data structure as the finished part drawing database to be drawn, including all line segments, arcs and other drawing contents involving basic drawing units in each layer of the two-dimensional initial part drawing.

[0040] The fifth step is to call the parameter-driven configuration module to generate a property modification mark database: for the coordinate parameters expressing the topological relationship of the geometric structure of the part drawing stored in the initial part drawing database, according to the scope of influence of each customized parameter and the changes in the sub-drawing topological structure involved, for each sub-drawing according to the change in the geometric structure or related changes in the coordinate data caused by the change, respectively, for different projection views, make the change direction, positive and negative changes, magnification, etc. property change marks and related configuration change marks, generate a property modification mark database that associates each customized parameter of the anti-theft door in the order system with the customization requirements such as specific door types and styles, and store it in an automatic drawing database that is associated one-to-one with the initial part drawing database. The automatic drawing database includes the basic design sub-drawing database, the preliminary parts drawing database, the initial parts drawing database, the property modification mark database and the cached target finished parts drawing database to be drawn; the property modification mark database includes the geometric topological relationship change marks generated based on the initial parts drawing database and according to each customized parameter of the anti-theft door, the different influence contents of different graphic control points in different projection views of each parts drawing of each anti-theft door, including translation, rotation, enlargement and deletion and addition of local line segments and arcs in the sense of computer graphics. Regardless of how the customized parameters change, this mark database is consistent for a specific door type.

[0041] Step 6: Call the coordinate modification module to generate a finished parts drawing database: First, read the specifications and styles of the anti-theft door customized by the customer in the order system, and cache the specific values ​​of the customized anti-theft door attribute parameters set in code according to the customization requirements. At the same time, read the finished parts drawing database corresponding to the target anti-theft door parts drawing to be drawn, which has the same data structure as the initial parts drawing database generated in step 4, and cache it.

[0042] Then read the cached attribute values ​​of the custom parameters of the security door in the order system one by one, and call the coordinate modification module to traverse and modify the relevant coordinate structure data in the initial part drawing database generated in the fourth step according to the attribute mark in the attribute modification mark database, and cache all the modified data of the initial part drawing database and all the unmodified data in the finished part drawing database corresponding to the target security door part drawing to be drawn, so as to preliminarily generate the structural coordinate data required for drawing the final part drawing graphic file. The finished part drawing database includes the initial part drawing database determined by the AutoCAD graphic file of the two-dimensional initial part drawing and modified by the coordinate modification module according to the mark content of the attribute modification mark database.

[0043] Step 7, finally, read the finished product parts drawing database, and draw the two-dimensional engineering details of the target anti-theft door parts: read the structural data in the cached finished product parts drawing database, and update the coordinate values ​​in the two-dimensional initial parts drawing database corresponding to the CAD graphic file of the two-dimensional initial parts drawing cached in the fourth step one by one, call the drawing module to redraw the two-dimensional initial parts drawing in the CAD environment, and generate the required two-dimensional engineering details of the parts of the target anti-theft door to be drawn. Before the final drawing, the coordinate data in the finished product parts drawing database can also be subjected to various coordinate transformations of computer graphics according to the customization needs, so as to realize the modification of the finished product parts drawing database of different door opening modes such as outer right opening, outer left opening, inner right opening, inner left opening, and finally draw various required two-dimensional engineering details. In this way, the present invention can automatically complete the drawing design process of all the two-dimensional parts drawings of the customized anti-theft door according to the above method by the program after confirming the input of all customized parameters with one key, and generate the final anti-theft door engineering drawing for production and manufacturing. 。

[0044] In the drawing process of the fourth step mentioned above, a further implementation method is to first extract all sub-graphs contained in each projection view of a part drawing from the basic design sub-graph database, draw the part drawing layout sketch according to the coordinate data of the virtual template coordinate system, and then call the intelligent inference module to infer the connection relationship attributes between the graphic elements. In order to achieve maximum flexibility, the sub-graph data structure generally only contains the geometric topological relationship structure data of each control point, and generally does not contain the connecting line segments or arcs between different coordinate points in the sub-graph, and the connecting graphics of different coordinate points between sub-graphs, that is, the connection attributes between the coordinate points inside and outside the sub-graph need to be inferred and marked before they can be drawn according to the specific attribute requirements. Intelligent inference between sub-graphs includes intelligent inference between sub-graphs of the same level and between sub-graphs of different levels, which establishes the drawing requirements of graphics across sub-graphs; the other is intelligent inference within a sub-graph, which realizes the drawing requirements of graphic connections within a single sub-graph. For example, for the connection requirements of the inner wall contour line and crease line of the door panel, whether there is a graphic connection requirement can be determined based on whether the inference probability reaches the threshold value of the set confidence level, thus defining the relationship attributes of the connection between line segments or arcs between points in different sub-graphs or the same sub-graph. Sort the connection inference probabilities between different points of the same point, take the point with the largest probability value as the preliminary result, and finally save the connection inference with a greater probability between the same two points as the preferred result in the attribute relationship structure of the basic design sub-graph database associated with the relevant part drawing file.

[0045] In the aforementioned fourth step, the attribute configuration module is used to manually establish the graphic connection relationship between the elements before drawing the graphics in the process of traversing all coordinate points. For the connection relationship between the coordinate points in the local area with a more complex part structure, the attribute configuration module is used to dynamically and interactively configure the attributes such as the name, point type, coordinate value, coordinate value magnification, rotation angle, coordinate association attribute and subordinate follow-up relationship of each point inside and outside the sub-graph, and the result is preliminarily saved in the basic design sub-graph database attribute relationship structure associated with the relevant part drawing file.

[0046] In the aforementioned fourth step, another function of the attribute configuration module is to check and confirm the results of the intelligent inference module. If the initial optimization result of the intelligent inference module is incorrect, the connection possibilities with lower probability rankings are checked in turn and the connection attribute relationships required for actual drawing are selected from them, and the results are updated and saved in the basic design sub-drawing database attribute relationship structure associated with the relevant part drawing file.

[0047] In the aforementioned fourth step, the intelligent inference module can automatically perform statistics on the configuration results of the interactive attribute configuration module, and compare the statistical results with the probability conclusion results of the intelligent inference of the attributes of the same point on different points pre-saved by the intelligent inference module, and correct the inference probability calculation weights for incorrect conclusions in the pre-inference, so as to achieve the purpose of correcting the correctness of the intelligent inference based on the manual attribute configuration results, and improve the accuracy of the intelligent inference trend and tendency selection, so as to achieve the improvement of the reliability of the intelligent automatic inference of similar products according to the improved probability inference confidence algorithm after several manual attribute configurations in the product, and reduce the configuration work of the attribute configuration module in order to ultimately achieve a nearly complete intelligent inference effect when developing new products.

[0048] The invention can be applied to the design of various types of anti-theft doors or products similar to anti-theft doors, and the automatic drawing of detailed drawings of parts engineering of similar series of customized engineering products without restriction in the product industry, including the development and design of various types of family and series products with multiple varieties and specifications in small batches, such as fireproof and anti-theft doors and windows, automobile parts, factory automation non-standard design standard parts, furniture, etc. The invention can improve the development efficiency of small batch customized products due to the development and design process of multiple varieties and small batch products in related engineering fields.

[0049] The above describes the embodiments of the present invention in detail in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. For ordinary technicians in this field, several modifications and improvements can be made without departing from the present invention, and these should also be regarded as belonging to the protection scope of the present invention.

Claims

1. A method for automatically drawing an engineering drawing of a burglary-proof door, characterized in that: The method comprises the following steps: Step 1, establishing a basic design sub-graph database: for each part drawing, divide the grid according to the basic function or structure in the preferred virtual coordinate system, generate a grid sub-graph and establish the coordinate data of each control point. The sub-graph has the function of fully expressing the geometric structure topological information of each control point of the graphic unit contained in the sub-graph. The sub-graph division processing includes the sub-graphs of each projection view of the complete industrial standard parts and the sub-graphs of the projection view of all non-standard parts, and generates the basic design sub-graph database of each anti-theft door part drawing; Step 2, read the style and door type information of the customized anti-theft door in the order system, extract the relevant sub-graph structure data, draw the sub-graph layout sketch, and establish a preliminary part drawing database: read the specifications and styles of the customized anti-theft door in the order system, extract all the sub-graph structure data of each part drawing of the target anti-theft door to be developed from the basic design sub-graph database according to the customized style, and in the AutoCAD software environment, generate a structural twin mapping for the specific part drawing to be drawn in the target AutoCAD drawing frame according to the virtual coordinates and array data, and generate a preliminary part drawing database containing the coordinate attributes of each control point corresponding to each part drawing file of the target anti-theft door; Step 3, calling the intelligent inference module to update the preliminary part drawing database: Based on the preliminary part drawing database and all sub-graph structure information of a part drawing to be drawn of the target anti-theft door, calling the intelligent inference module to infer the connection attributes between each coordinate point in each sub-graph and between sub-graphs of the target part drawing to be drawn, traversing each coordinate point to perform intelligent inference and marking of the connection attributes, and updating the results to the preliminary part drawing database; Step 4: Call the attribute configuration module to generate an initial part drawing database: Call the interactive attribute configuration module to traverse all coordinate points in and between each sub-graph again, confirm or modify the connection attributes between each coordinate point obtained by intelligent inference, and update the preliminary part drawing database to generate an initial part drawing database; call the drawing module to produce a two-dimensional initial part drawing based on the layout sketch and the initial part drawing database structure data; Step 5: Read the customized security door attribute requirements and cache the specific attribute values ​​of each customized parameter: Read the specifications, styles and types of the security door customized by the customer in the order system, and cache the specific values ​​of the customized security door attribute parameters set in code according to the customized requirements such as the width and height of the customized security door opening, the frame type, the size of the hanging feet and other styles and patterns; Step 6, calling the parameter-driven configuration module to generate an attribute modification mark database: for the coordinate parameters and attributes that express the topological relationship of the geometric structure of the part drawing stored in the initial part drawing database, according to the range of each customized parameter that may affect the drive and the sub-graph topological structure changes involved, for the coordinate parameters and attribute changes caused by the geometric structure change or related association changes, attribute change marks such as change direction, positive and negative changes, magnification, rotation angle, etc. and associated configuration change marks are made for different projection views, and an attribute modification mark database associated with each customized parameter of the anti-theft door of the order system is generated, and stored in the automatic drawing database corresponding to the initial part drawing database; Step 7, read the cached custom parameter values ​​of the anti-theft door and generate an initial finished product part drawing database: read the cached specific attribute parameter values ​​of the anti-theft door of the order system, modify the modification mark of the attribute modification mark database driven by each custom parameter, call the coordinate modification module, traverse and modify each coordinate data and attribute in the initial part drawing database corresponding to the target two-dimensional initial part drawing according to each custom parameter, and cache the result in each coordinate data and attribute of the two-dimensional target finished product part drawing database corresponding to the part drawing to be modified, generate an initial finished product part drawing database, and store it in the automatic drawing database; Step 8. Read the initial finished product parts drawing database to generate the final two-dimensional engineering detailed drawings of each part of the target anti-theft door: read the coordinate data and related attributes in the initial finished product parts drawing database, and update the coordinate values ​​in the initial parts drawing database corresponding to the cached two-dimensional initial parts drawing AutoCAD graphic file one by one, call the drawing module to redraw the two-dimensional initial parts drawing of the target anti-theft door, and finally generate the two-dimensional engineering detailed drawings of all parts of the target anti-theft door to be drawn.

2. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 1, characterized in that: In step one, the sub-graphs of each view of the industrial standard parts include national standard parts and factory standard parts sub-graphs, and the sub-graphs of the projection views of non-standard parts include non-standard design structures, expandable and modifiable sub-graphs, or sub-graphs for new product development and updates.

3. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 2, characterized in that: The subgraph can be further refined into a secondary subgraph or a lower-level subgraph as needed. The secondary subgraph or the secondary subgraph is used to refine the detailed structural relationship of local details within a subgraph with complex structure, including areas where customized requirements lead to changes in geometric structure and areas that may be expanded and modified.

4. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 1, characterized in that: The connection attributes described in step three, in addition to the connection attributes of basic drawing units such as line segments, arcs or circles, also include position coding marks, projection view direction attribute marks, and control point coordinate attributes of sub-graphs; the position coding marks of sub-graphs are used to mark the relative positional relationship between sub-graphs; the projection view direction attribute marks are used to distinguish the view categories such as the front view, top view or right view of the sub-graph; the control point coordinate attributes of the sub-graph are the relative coordinate structure data attributes of each graphic control point in the sub-graph, which express the characteristics of the drawing unit associated with the coordinate points.

5. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 4, characterized in that: In step 2, the preliminary part drawing database includes the structural data of the sketch file generated in the final AutoCAD drawing frame by calling all sub-drawings of the target part drawing to be drawn in the basic design sub-drawing database, which is the drawing structural data of the incomplete two-dimensional preliminary part drawing before the initial part drawing database is formed, including the data structure of each control point, but excluding the line attributes of all non-standard drawing units, such as connecting lines of line segments, arcs, etc. The initial part drawing database is a data structure including complete basic design parameters, that is, all graphic drawing information of the two-dimensional initial part drawing, and is a basic part drawing for subsequent graphic transformation with customized parameters.

6. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 1, characterized in that: In step six, the automatic drawing database includes a basic design sub-drawing database, a preliminary part drawing database, an initial part drawing database, a property modification mark database, and a cached finished part drawing database.

7. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 6, characterized in that: In step six, the attribute modification mark database includes the geometric topological relationship change marks generated based on the initial part drawing database, according to each customized parameter of the anti-theft door, and the different impact contents of different graphic control points in different projection views of each part drawing of each anti-theft door, including the translation, rotation, enlargement required in the sense of computer graphics, and the deletion and addition of pending marks of attributes such as local line segments and arcs.

8. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 1, characterized in that: In step 4, the two-dimensional initial part drawing includes drawing the sub-drawing layout sketch in the target AutoCAD drawing frame, calling the drawing module to use the secondary development function of AutoCAD, traversing the attribute marking features of each coordinate control point in the preliminary part drawing database, and completing the automatic drawing content of each part drawing of the anti-theft door associated with the part drawing file to be drawn, including the drawing content of the basic drawing units involved in each type of line segment and arc in each layer of the layout sketch. The two-dimensional initial part drawing is a basic graphic that drives the transformation of various door types and contains the drawing elements of each complete part drawing.

9. The method for automatically drawing an engineering drawing of a burglary-proof door according to claim 1, characterized in that: In step seven, the finished part drawing database includes a transformation database of the initial part drawing determined by the AutoCAD graphic file of the two-dimensional initial part drawing and modified by the coordinate modification module according to the mark content of the attribute modification mark database, and caches the geometric structure coordinate data and related attribute information used to generate the final target part drawing graphic file.

10. The program function module according to claim 1 comprises an intelligent inference module, an attribute configuration module, a parameter drive configuration module, a coordinate modification module, a drawing module, etc., characterized in that: include: The intelligent inference module is used to traverse and judge the line connection category attributes between control points according to the similarity of the attribute characteristics of each control point between adjacent sub-graphs and the weight setting rules of different possibilities before automatically drawing the two-dimensional initial part drawing; The attribute configuration module is used to check and confirm the results of intelligent inference, and to manually interactively check or correct the line connection attributes that are incorrectly inferred by intelligent inference; The parameter-driven configuration module is used to mark the content, scope and attribute change characteristics affected by different customized parameters in the initial part drawing database, and configure the quantitative change content of all attributes affected by each customized parameter, without changing the attribute value of the initial part drawing database, but only marking whether it needs to be changed; A coordinate modification module, used to modify the relevant coordinate attribute values ​​in the initial part drawing database according to the influence rules of each customized parameter based on the content of the attribute modification mark database; The drawing module is used to utilize the secondary development function of AutoCAD to complete the automatic drawing of basic graphic units in the part drawing during the automatic drawing process, including the layout sketch, the two-dimensional initial part drawing, and the final transformation of the target finished part drawing, including the drawing of different line segments, arcs, and other basic drawing units in each layer.