CAD graphics generation method and device, storage medium and electronic equipment

By displaying the modification instruction dialog box and updating the associated identifier of the graphic object during the CAD graphics generation process, the problem of low efficiency in CAD graphics generation is solved, and more efficient and accurate graphics generation is achieved.

CN119047009BActive Publication Date: 2025-02-07BEIJING EXPLORER SOFTWARE CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411454961.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-17
Publication Date
2025-02-07
Estimated Expiration
2044-10-17

AI Technical Summary

Technical Problem

In the prior art, the generation efficiency of CAD graphics is low, especially when the drawing information is large and the modification is frequent, information omissions and errors are prone to occur, resulting in low efficiency in the generation process.

Method used

In the process of generating CAD graphics using the target drawing model, the modification instruction dialog box is displayed, and the target CAD graphics is updated and generated through simple triggering operations, including multiple graphic objects to be processed and multiple sets of association identifiers are used for description The association between graphical objects.

Benefits of technology

It has achieved the improvement of CAD image generation efficiency, reduced the workload of subsequent modification, simplified user operation process, improved the accuracy of graphics, and avoided information omissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047009B_ABST
    Figure CN119047009B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for generating CAD graphics, a storage medium and an electronic device, the method for generating CAD graphics comprising: in the process of generating CAD graphics using a target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box; in response to a second trigger operation of a target modification instruction in the modification instruction dialog box, displaying a target graphics screen; in response to a third trigger operation performed on a first graphic object among a plurality of graphic objects, updating and displaying the first graphic object in the target graphics screen as a second graphic object, and based on the attribute information of each sub-graphic object in the second graphic object, updating and displaying the first group of association identifiers as a second group of association identifiers; generating a target CAD graphic based on the second graphic object and the second group of association identifiers. The present application solves the technical problem of low efficiency in the process of generating CAD graphics in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method and device for generating CAD graphics, a storage medium, and an electronic device. Background Art

[0002] In the prior art, the modification of engineering drawings is mainly done by manual alteration and addition and deletion, so that the modified drawings can accurately express the data information of the building model. However, when the amount of information in the drawings is large and the modifications are frequent, the modification of the drawings may cause problems such as information omission and errors, which requires manual repeated modifications, consuming a lot of time and energy, resulting in low efficiency technical problems in the process of CAD drawing generation.

[0003] Therefore, there is a problem in the related art that the generation efficiency of CAD graphics is low. Summary of the invention

[0004] The embodiments of the present application provide a method and device for generating a CAD graphic, a storage medium, and an electronic device, so as to at least solve the technical problem of low efficiency in the generation process of the CAD graphic in the related art.

[0005] According to one aspect of an embodiment of the present application, a method for generating a CAD graphic is provided, comprising: in a process of generating a CAD graphic using a target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box; in response to a second trigger operation on a target modification instruction in the modification instruction dialog box, displaying a target graphic screen, wherein the target graphic screen includes multiple graphic objects to be processed and multiple groups of association identifiers, one group of association identifiers in the multiple groups of association identifiers is used to describe the association relationship between multiple sub-graphic objects contained in a graphic object among the multiple graphic objects; in response to a third trigger operation performed on a first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and based on the attribute information of each sub-graphic object in the second graphic object, updating and displaying the first group of association identifiers as a second group of association identifiers; and generating a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0006] According to another aspect of an embodiment of the present application, a CAD graphics generation device is also provided, including: a first display unit, used to display a modification instruction dialog box in response to a first trigger operation during the process of generating a CAD graphic using a target drawing model; a second display unit, used to display a target graphic screen in response to a second trigger operation on a target modification instruction in the modification instruction dialog box, wherein the target graphic screen includes multiple graphic objects to be processed and multiple groups of association identifiers, and one group of association identifiers in the multiple groups of association identifiers is used to describe the association relationship between multiple sub-graphic objects contained in a graphic object among the multiple graphic objects; a first processing unit, used to update and display the first graphic object in the target graphic screen as a second graphic object in response to a third trigger operation performed on a first graphic object among the multiple graphic objects, and update and display the first group of association identifiers as a second group of association identifiers based on the attribute information of each sub-graphic object in the second graphic object; and a second processing unit, used to generate a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0007] According to another aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above CAD graphics generation method.

[0008] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the method for generating CAD graphics through the computer program.

[0009] In an embodiment of the present application, by calling a drawing modification program and displaying a modification instruction dialog box during the process of generating CAD graphics using a target drawing model, and through a simple trigger operation, the image object in the target graphics screen can be modified with the assistance of the associated identifier of the image object, thereby correcting the construction drawings at the source, reducing the workload of subsequent construction drawing modifications, simplifying the user operation process, and achieving the technical effect of improving the efficiency of CAD image generation.

[0010] In addition, by utilizing the above-mentioned CAD graphics generation method, the attribute information and object identification of the graphic objects can be automatically and interactively displayed according to user operations, thereby avoiding the modification and omission of graphic objects, thereby improving the accuracy of the CAD graphics as a whole. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0012] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0013] Figure 1 is a flow chart of a method for generating a CAD graphic according to an embodiment of the present application;

[0014] Figure 2 is a schematic diagram of an optional highlighted graphic object according to an embodiment of the present application;

[0015] Figure 3 is a schematic diagram of an optional modification instruction dialog box according to an embodiment of the present application;

[0016] Figure 4 It is a graphic picture in an optional merging processing scenario according to an embodiment of the present application;

[0017] Figure 5 is an overall flow chart of an optional method for generating CAD graphics according to an embodiment of the present application;

[0018] Figure 6 is a schematic diagram of an optional CAD graphics generating device according to an embodiment of the present invention;

[0019] Figure 7 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] For ease of understanding, before explaining the technical solution of this application, a brief introduction to the professional terms involved is given first.

[0023] Single-span beam: a beam structural member with no other supports except at the two ends (the connection with other beams in the middle does not serve as its support). In the construction drawing design, the whole length is the smallest unit of expression. The corresponding model may have multiple calculation beam units;

[0024] Single beam: a continuous beam consisting of multiple single-span beams with the same number and the same group of markings;

[0025] Split span: The process of combining multiple (including one) connected calculation beam units into a single-span beam structure;

[0026] Splitting: the process of combining multiple (including one) connected single-span beams into a single-span beam structure;

[0027] Split span and split frame: the overall process of split span and split frame, that is, the process of expressing the beam unit of calculation concept into beam structure for construction concept through certain rules.

[0028] Optionally, as an optional implementation, as Figure 1 As shown, the method for generating CAD graphics includes:

[0029] S202, in the process of generating a CAD graphic using a target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box;

[0030] S204, in response to a second trigger operation on the target modification instruction in the modification instruction dialog box, displaying a target graphic screen, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects;

[0031] S206, in response to a third triggering operation performed on a first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and updating and displaying the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object;

[0032] S208: Generate a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0033] Optionally, in this embodiment, the above-mentioned CAD graphics generation method can be applied, but not limited to, to the scenario of using a CAD client for engineering drawing (e.g., beam construction drawings of buildings). For example, in traditional design, the spans and beams in the beam construction drawings are defined according to the physical related characteristic relationships, but in the actual algorithm, the specific attributes of each building model are not fully considered, which will cause a large deviation between the spans and beams automatically generated by the drawing model and the actual building model data. Therefore, it is necessary to modify the drawings generated by the drawing model.

[0034] It should be noted that the purpose of dividing the beam into spans and beams in the construction drawing is to express the structural details and reinforcement information of the beam more clearly and accurately. This process helps to ensure accuracy and safety during the construction process, and also makes it easier for construction personnel to understand and implement the design intent.

[0035] Specifically, the reasons for performing span and frame processing in the process of generating beam construction drawings include but are not limited to the following:

[0036] (1) Detailed expression of beam structure: By dividing the structure into spans and beams, the size, reinforcement and connection method of each beam can be expressed in detail. This is especially important for complex structures and can reduce misunderstandings and errors during construction.

[0037] (2) Differentiate beams of different spans: Different spans may have different design requirements, such as span, load, support conditions, etc. Differentiating the spans and beams can ensure that the specific requirements of each span are met;

[0038] (3) Convenient for construction and inspection: Clear division of spans and beams helps construction workers identify and place the exact location of beams, and also facilitates quality inspection and acceptance;

[0039] (4) Adapting to structural changes: In structural design, there may be special structural changes, such as cantilevers, added axils, etc. The separate spans and frames can clearly express these changes and ensure that they can be correctly implemented during construction.

[0040] (5) Meeting design specifications: Building structural design needs to comply with relevant design specifications and standards. Separating spans and bays helps ensure that the design meets the requirements of these specifications.

[0041] (6) Optimizing material usage: Through detailed span and frame design, materials can be used more rationally to avoid waste, while also ensuring the economy and rationality of the structure;

[0042] (7) Improving structural performance: Detailed design can ensure that the reinforcement and structure of the beams meet the requirements of structural performance, such as earthquake resistance and wind resistance, thereby improving the safety and reliability of the overall structure.

[0043] In summary, dividing the spans and frames into sections is an important way of expression in beam construction drawings, which helps to improve the accuracy, safety and efficiency of construction.

[0044] In the beam construction drawing, each beam is composed of a substructure, a parent structure and a grandparent structure, where the substructure corresponds to the beam unit, the parent structure corresponds to the beam span, and the grandparent structure corresponds to the beam frame. Among them, the beam unit is the abbreviation of the calculation beam unit, which refers to the smallest subdivision unit of the beam in the calculation process; the beam span is composed of one or more beam units in the flat design process; the beam frame is a span or multiple span beams with the same centralized marking in the flat construction drawing, that is, a beam frame includes but is not limited to one or more beam spans; beam frame (hereinafter referred to as frame) is the process of combining multiple connected single-span beams into a single number, and the single number feature is the use of the same centralized marking; beam span (hereinafter referred to as span) is the combination of multiple connected calculation beam units, called a single beam segment, the feature of this beam segment is that there is no support in the middle, and this beam segment is the minimum length expressed in the structural design drawing.

[0045] like Figure 2 As shown, a beam frame in the beam construction drawing includes two beam spans, that is, a grandfather structure includes two parent structures.

[0046] In the process of generating CAD graphics using the target drawing model, if the beam structure parameters in the process graphics generated by the target drawing model need to be adjusted by manual inspection, the main program of the target drawing model will call the program module corresponding to the span and frame correction tool, and in response to the user's first trigger operation, a pop-up window will appear in the graphics screen. Figure 3 The Modify Instructions dialog box is shown.

[0047] Among them, the program module corresponding to the span and frame correction tool can be but is not limited to a program module built into the target mapping model, or a program module independent of the target mapping model, and this embodiment of the application does not limit this.

[0048] By selecting Figure 3 One of the modification instructions in the modification instruction dialog box shown, and the modification instruction is used as the target modification instruction, and in response to the triggering operation of the target modification instruction, the display Figure 2The target graphic screen shown in the figure, and when a third trigger operation is performed on the first graphic object in the target graphic screen, the first graphic screen is updated and displayed as the second graphic screen.

[0049] For example, assuming that the first graphics object is Figure 2 In the case of a beam shown in FIG. 1 and the target modification instruction is a split instruction, when the mouse is placed on the position of the beam, the line of the beam will be highlighted and the line will be thickened, for example, the line color will be switched from orange to green and the line color will be thickened. When the user clicks the target split point of a beam, the beam can be split into at least 2 spans, and the associated identifier on the area where the beam object is located can be adjusted synchronously, for example, from 1 / 4 and 2 / 4 before the modification to 1 / 4, 2 / 4, 3 / 4, 4 / 4, etc.

[0050] By adopting the above-mentioned interactive method, the relationship between the child structure, the parent structure and the grandparent structure can be displayed through color, line type and text logo, so as to facilitate intuitive operation by designers.

[0051] After modifying the first graphic object, the span and frame division results are optimized based on the modified second graphic object and the second group of associated identifiers, so that the finally generated CAD drawing can reflect the optimized drawing information according to the optimized span and frame division results, thereby improving the accuracy of the CAD drawing.

[0052] In other words, by calling the drawing modification program and displaying the modification instruction dialog box during the process of generating CAD graphics using the target drawing model, and through simple trigger operations, the image objects in the target graphics screen can be modified with the assistance of the associated identifiers of the image objects, thereby correcting the construction drawings at the source, reducing the workload of subsequent construction drawing modifications, simplifying the user operation process, and achieving the technical effect of improving the efficiency of CAD image generation.

[0053] As an optional example, in response to the third trigger operation performed on the first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as the second graphic object, and updating and displaying the first group of association identifiers as the second group of association identifiers based on the attribute information of each sub-graphic object in the second graphic object, includes:

[0054] In the case where the target modification instruction indicates splitting the first graphic object, in response to a third trigger operation performed on the first graphic object, highlighting the line color in the first graphic object as the target color;

[0055] In response to a fourth trigger operation performed on a target split point in the first graphic object, the first graphic object is split into a first group of sub-graphic objects, and the first group of sub-graphic objects and a second group of associated identifiers are displayed in the target graphic screen.

[0056] When the selected target modification instruction is a split instruction, the splitting of the first graphic object can be achieved by simply performing the following operations:

[0057] (1) performing an activation operation on the first graphics object to be modified;

[0058] For example, after generating the initial span and frame results, the designer determines the special requirements that the final generated CAD drawing needs to meet based on the specific parameters of the target data model corresponding to the target building, and manually inputs the special requirements into the target drawing model, thereby triggering the start of the span and frame modification tool and displaying the following: Figure 3 The Target Modification Instructions dialog box is shown.

[0059] (2) Selecting the first graphic object to be modified;

[0060] For example, placing the mouse on the first graphic object means selecting the first graphic object.

[0061] At this time, the line color and line type of the first graphic object will change. For example, before being selected, the line color of the first graphic object is orange and thin. After being selected, the line color of the first graphic object changes from orange to highlighted green and the line becomes thicker. The purpose is to remind the designer of the first graphic object currently being processed.

[0062] (3) Selecting a target split point and performing a fourth trigger operation on the target split point to split the first graphic object into a first group of sub-graphic objects, and simultaneously adjusting the association identifier of the first graphic object.

[0063] It should be noted that a grandparent structure can be, but is not limited to, split into two or more grandparent structures, and a parent structure can be, but is not limited to, split into two or more parent structures.

[0064] While the first graphic object is split into multiple sub-graphic objects, the association identifiers used to describe the relationship between the child structure, parent structure and grandparent structure are also adjusted synchronously. Based on the first group of sub-graphic objects after splitting and the adjusted association identifiers, the initial span and frame results are optimized to ensure that the final drawing can accurately reflect the real information of the target data model.

[0065] That is to say, by calling the span and frame modification tool to modify the intermediate variables in the process graphics generated directly using the target mapping model, not only the subsequent manual modification workload caused by the deviation of the span and frame results obtained by using physical property simulation analysis in the existing technology is reduced, but also the initial span and frame results generated by using the target mapping model can be optimized from the root.

[0066] As an optional example, in response to the third trigger operation performed on the first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as the second graphic object, and updating and displaying the first group of association identifiers as the second group of association identifiers based on the attribute information of each sub-graphic object in the second graphic object, includes:

[0067] In the case where the target modification instruction indicates that the first graphic object is to be merged, in response to a third trigger operation performed on the first graphic object, a line color in the first graphic object is highlighted as a target color;

[0068] In response to a fourth trigger operation performed on the third graphic object, highlighting a line color in the third graphic object as a target color;

[0069] After a preset time interval, the first graphic object and the third graphic object are merged into a second graphic object, and the first group of association identifiers and the third group of association identifiers are automatically adjusted to the second group of association identifiers, wherein the third group of association identifiers is used to indicate the association relationship between the multiple sub-graphic objects included in the third graphic object;

[0070] The second graphic object and the second group of associated identifiers are displayed in the target image screen.

[0071] like Figure 3 As shown, in addition to the modification instruction of splitting continuous beams, there are also modification instructions such as merging continuous beams, two-point continuous beams, splitting single-span beams, and merging single-span beams. The following takes the target modification instruction as merging the first graphic object as an example to further describe the specific implementation process of the above modification operations.

[0072] It should be noted that in the embodiment of the present application, the object on which the modification operation is performed may be but is not limited to each beam, or the parent structure, child structure, etc. in each beam.

[0073] Among them, in this embodiment, taking the merging of two beams as an example, the specific implementation process of optimizing the span and frame division results according to the target modification instructions is explained.

[0074] like Figure 2As shown, assuming that the beam 1 shown by the first graphic object and the beam 2 shown by the third graphic object are merged, it can be achieved by but not limited to the following steps:

[0075] (1) Select the first graphic object to be merged;

[0076] For example, placing the mouse on the first graphic object means selecting the first graphic object.

[0077] At this time, the line color and line type of the first graphic object will change. For example, before being selected, the line color of the first graphic object is orange and thin. After being selected, the line color of the first graphic object changes from orange to highlighted green and the line becomes thicker. The purpose is to remind the designer of the first graphic object currently being processed.

[0078] (2) Select the third graphic object to be merged;

[0079] Similarly, placing the mouse on the third graphic object will select the first graphic object.

[0080] At this time, the line color and line type of the third graphic object will change. For example, before being selected, the line color of the third graphic object is orange and the line is thinner. When selected, the line color of the third graphic object switches from orange to highlighted green, and the line becomes thicker.

[0081] (3) After a preset time interval, the first graphic object and the second graphic object are merged into a second graphic object, that is, beam frame 1 and beam frame 2 are merged into a new beam frame, recorded as the second graphic object, and the first group of association identifiers of the first graphic object and the third group of association identifiers of the third graphic object are synchronously adjusted to obtain the adjusted second group of association identifiers.

[0082] It should be noted that the adjusted second group of association identifiers is used to represent the association relationship between the child structure, parent structure and grandparent structure in the merged second graphic object. By interactively displaying the merging process and association identifiers of the above-mentioned graphic objects in the same operation plane, designers can quickly obtain modification process information.

[0083] It should be noted that the features of the above interactive display method include but are not limited to the following points:

[0084] 1) Use light lines and corresponding light text, as well as font thickness, to identify substructures;

[0085] 2) The parent structure covers the lines of the child structure with thicker lines and higher contrast, and the end parts are not covered;

[0086] 3) A frame with the same color as the thick line is placed above the thick line of the parent structure to indicate its position in the grandparent structure;

[0087] 4) The grandparent structure is highlighted as a whole after the mouse moves.

[0088] By adopting the above method, the intermediate variables of the CAD drawing model can be modified through simple click operations, thereby improving the intelligence level of generating beam construction drawings. At the same time, relying on the above interactive display method, it can also reduce the probability of user operation errors and improve the design efficiency and accuracy of beam construction drawings.

[0089] In addition, by using light-colored lines and corresponding light-colored text or word groups to identify the sub-modules of the sub-structure to provide clear visual distinction, designers can more clearly identify different levels of structures when making modifications, especially in projects that require detailed design, which can significantly improve the accuracy and efficiency of the design.

[0090] In addition to the above-mentioned merging process of at least two beams, the above-mentioned merging process can also be performed inside each beam, specifically including:

[0091] In the case where the target modification instruction indicates that the first graphic object is to be merged, in response to a third trigger operation performed on a first sub-graphic object in the first graphic object, a line color in the first graphic object is highlighted as a target color;

[0092] In response to a fifth trigger operation performed on a second sub-graphic object in the first graphic object, the first sub-graphic object and the second sub-graphic object are merged into a target sub-graphic object, and the first group of association identifiers is automatically adjusted to a second group of association identifiers, wherein the second graphic object includes the target sub-graphic object;

[0093] The second graphic object and the second group of association identifiers are displayed in the target graphic picture.

[0094] like Figure 4 As shown in the figure, assuming that the first image object includes parent structure 1 (the first child graphic object) and parent structure 2 (the second child graphic object), and the two parent structures are continuous and adjacent structures, then by selecting the Merge Continuous Beam command in the Modify Command dialog box, jump to the following Figure 4 The graphic screen shown.

[0095] Click parent structure 1 and parent structure 2 in sequence to highlight the lines of parent structure 1 and parent structure 2, and after a preset time interval, connect the first part of the beam corresponding to parent structure 1 and the second part of the beam corresponding to parent structure 2 to obtain the merged target sub-graphic object. At the same time, the association identifiers corresponding to parent structure 1 and parent structure 2 will also be adjusted synchronously to obtain the adjusted second set of association identifiers.

[0096] It should be noted that the splitting process and merging process described in the above embodiment are only examples of modification operations and are not limited thereto. For example, Figure 3 Perform corresponding operations as shown in the figure, such as creating a new single-span beam, deleting a single-span beam, etc.

[0097] Through the above-mentioned highlighting processing and user click processing, designers can more intuitively understand the relationship between structures when performing modification operations. Especially in projects that require multi-level structural modifications, it can significantly improve the designer's interactive experience and reduce operation time.

[0098] As an optional example, in the process of generating a CAD graphic using the target drawing model, in response to the first trigger operation, displaying a modification instruction dialog box includes:

[0099] Acquire original data of a target data model, wherein the target data model is a physical data model that matches a target CAD drawing;

[0100] In the case where the process graphics generated by using the target mapping model do not meet the preset graphics configuration requirements, determining to call a graphics object modification module, wherein the graphics configuration requirements are the structural relationships of the graphics objects determined based on the original data of the target data model;

[0101] During the execution of the graphic object modification program, in response to a first trigger operation, a modification instruction dialog box is displayed, wherein the graphic object modification program is a program stored in the graphic modification module.

[0102] First, the original data of the target data model is obtained, for example, the original data is obtained from the data model of an office building, wherein the original data includes parameter information such as the relationship between beam structures and bearing capacity during the actual construction process.

[0103] Since the target data model stores general data of architectural data models but does not take into account the actual characteristics of each building, there is a deviation between the initial span and frame results automatically generated by using the target drawing model and combining the physical characteristics of the beam and the specific parameter information in the data model, and the deviation in the subsequent automatic generation of other process graphics will be further amplified.

[0104] In order to reduce the deviation of the automatically generated span and frame results, it is usually possible to pre-determine the parameter information in the span and frame results that can meet the actual construction requirements based on the original data in the target data model, and manually input the parameter information and the above-mentioned graphic structure relationship into the target drawing model.

[0105] In response to manual input instructions, the main program of the target mapping model calls the image object modification program and displays the above modification instruction dialog box. By selecting different modification instructions, the correction operation in the above embodiment is executed.

[0106] As an optional example, the above-mentioned generating a target CAD graphic based on the second graphic object and the second group of association identifiers includes:

[0107] By means of the graphic object modification module, the graphic object data corresponding to the second graphic object and the association identifier data corresponding to the second group of association identifiers are transmitted back to the main program of the target mapping model;

[0108] Based on the graphic object data and the associated identification data, the main program is run to obtain the target CAD graphic.

[0109] Combine the following Figure 5 , the overall process of the CAD graphics generation method is further described.

[0110] S502, input standard beam element components;

[0111] The relationship between the beam calculation unit, beam span and beam frame is simplified to a one-dimensional component display, that is, simplified to Figure 2 The graphic screen shown.

[0112] S504, generating beam spans and beam frames;

[0113] Here, it is possible but not limited to generate preliminary span and frame results based on the physical characteristics of the beam through the target mapping model.

[0114] However, since some characteristics of the target data model are not taken into consideration, there is a deviation between the automatically generated preliminary span and frame division results and the pre-set span and frame division requirements. Therefore, the preliminary span and frame division results need to be corrected (or rectified).

[0115] S506, obtaining the corrected beam span and beam frame data;

[0116] The method of obtaining the corrected beam span and beam frame data is as follows:

[0117] S506-1, displaying the acquired beam spans and beam frames in a relational manner;

[0118] The characteristics of the above interactive display method include but are not limited to the following:

[0119] 1) Use light lines and corresponding light text, as well as font thickness, to identify substructures;

[0120] 2) The parent structure covers the lines of the child structure with thicker lines and higher contrast, and the end parts are not covered;

[0121] 3) A frame with the same color as the thick line is placed above the thick line of the parent structure to indicate its position in the grandparent structure;

[0122] 4) The grandparent structure is highlighted as a whole after the mouse moves.

[0123] By adopting the above method, the intermediate variables of the CAD drawing model can be modified through simple click operations, thereby improving the intelligence level of generating beam construction drawings. At the same time, relying on the above interactive display method, it can also reduce the probability of user operation errors and improve the design efficiency and accuracy of beam construction drawings.

[0124] S506-2, modifying the beam and the beam span according to the logical relationship between the modification instruction and the operation selected by the user;

[0125] For example, when the modification instruction selected by the user is split processing, the corresponding operation is configured to select the target graphic object, and through a single click operation, the target graphic object can be split into two or more sub-graphic objects. Wherein, a single click operation includes but is not limited to clicking on a split point in the target graphic object.

[0126] When the modification instruction selected by the user is a merge process, the corresponding operation is configured to select the first target graphic object and the second target graphic object, click the first target graphic object and the second target graphic object respectively, highlight the lines of the two target graphic objects, and make the lines of the two target graphic objects bold. After a preset time interval, the two target graphic objects can be merged into one graphic object, and the association identifier of the first target graphic object and the association identifier of the second target graphic object are adjusted synchronously. The adjusted association identifier can reflect the relationship between the child structure, parent structure and grandparent structure of a graphic object after the merge process.

[0127] The first target graphic object may be a beam, or a parent structure or a child structure of a beam, and similarly, the second graphic object may be a beam, or a parent structure or a child structure of a beam, etc. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0128] S506-3, integrating and calculating the digital data of the operation process with the original design;

[0129] Specifically, the designer's modifications are digitally encoded, and through logical operations, the digital encoding results are merged and operated with the modification program before the modification instructions are executed, so as to obtain optimized span and frame division results.

[0130] The digital coding results include but are not limited to the categories of manual operations, logical rules and mapping relationships between target modification instructions and modification operations (for example, one click of the mouse, or two clicks, etc., based on splitting or merging processing).

[0131] S506-4, update the span and beam results, and determine the updated span and beam results as the revised beam span and beam beam data.

[0132] S508, obtaining a corrected beam construction drawing.

[0133] Based on the updated span and frame results and using the target drawing model, the revised beam construction drawing is automatically generated.

[0134] It should be noted that the above-mentioned correction operation on the span and frame results is essentially a correction of the intermediate variables in the process of generating the final CAD graphics using the target mapping model, wherein the intermediate variables can be but are not limited to being understood as partial characteristics of the target data model (certain attributes unique to the data model). By inputting these partial characteristics into the target mapping model, the accuracy of the finally generated CAD graphics can be higher.

[0135] In the above correction operation process, the use of digital interactive operation can simplify user operations, improve the efficiency of obtaining process information, and improve the drawing efficiency and accuracy of CAD graphics.

[0136] In addition to the above-mentioned operations of selecting a modification instruction and clicking on a graphic object in a graphic screen, the embodiment of the present application also proposes an implementation method of directly modifying the value of a parameter on a parameter modification page. The details are as follows:

[0137] In the process of generating a CAD graphic using the target drawing model, in response to a fifth trigger operation, a parameter modification window is displayed, wherein the parameter modification window contains parameters to be processed whose values ​​do not meet specific requirements;

[0138] In response to the sixth trigger operation, the value of the parameter to be processed is modified.

[0139] For example, according to the target data model, it can be known that large equipment is installed on the target graphic object (a beam). Therefore, after automatically generating the span and beam results using the target drawing model, it is manually determined whether the value of the bearing capacity parameter of the target graphic object needs to be modified.

[0140] Then, through manual operation, the above-mentioned span and frame correction tool is called, and the parameter modification window is displayed. Through manual triggering operation, the target modification option is selected, and the target value is entered to obtain the modified parameter value.

[0141] In addition to being applied to the scenarios described in the above embodiments, the above-mentioned span and frame correction tool can also be applied to the initial CAD graphics generated by using the target mapping model, as described in detail as follows.

[0142] (1) Generate initial CAD graphics using the target drawing model;

[0143] (2) Using the artificial intelligence image recognition function, perform pixel recognition on the initial CAD image to generate a first graphic object (or generate a second graphic object), and display the initial beam span information (which can also be understood as the initial span and span information) in the first graphic object (or the second graphic object);

[0144] The initial span and frame information may be, but is not limited to, Figure 2 The highlight shown shows the current beam selected by the triggered operation.

[0145] (3) In response to the seventh trigger operation of the user, the span and frame modification tool is called and a modification instruction dialog box is displayed;

[0146] (4) in response to an eighth trigger operation executed on the target modification instruction in the modification instruction dialog box, a set of operations corresponding to the target modification instruction is executed in the generated first graphic object (or second graphic object) to obtain updated span and frame information;

[0147] For example, when the target modification instruction is a split operation, click to select the split point in the first graphic object (or the second graphic object) to split it into multiple sub-graphic objects; when the target modification instruction is a merge operation, click the first graphic object and the third graphic object in turn to merge them into the second graphic object. For details, please refer to the description in the above embodiment and will not be described here.

[0148] (5) Based on the updated span and frame information, the initial CAD drawing is updated to obtain an updated CAD drawing.

[0149] By adopting the technical solution in this embodiment, it is possible to solve the problem of incomplete correction when calling the span and frame correction tool for correction during the process of generating CAD drawings using the target mapping model. By re-identifying and calling the span and frame correction tool again on the basis of the CAD drawing generated after the first correction, the incomplete correction problems can be found and further corrected, thereby ensuring the accuracy of the finally generated CAD drawing.

[0150] By adopting the above method, the parameters can be modified directly on the parametric modification interface, which further simplifies the manual operation process, reduces the amount of subsequent manual modification, and improves the efficiency of generating CAD graphics.

[0151] It can be seen from the description of the above embodiments that the technical solution of the present application has at least the following beneficial effects:

[0152] 1. After generating preliminary span and frame results through the target drawing model according to the physical characteristics of the beam, the preliminary span and frame results can be corrected according to the experience of the designers, which can deal with the deviation at the root and reduce the workload of subsequent construction drawing modification;

[0153] 2. By using colors, breakpoints and text labels in the same operation plane to interactively display the substructure, parent structure and grandparent structure relationship of the shifted structure, users can intuitively understand and operate the span and frame results;

[0154] 3. By digitally encoding the results and operations of the split span and split frame, manual operations can be simplified and the amount of calculation can be reduced;

[0155] 4. Through the above interactive display method, different levels of beam structures can be visually distinguished, especially in construction projects with complex structures, which can effectively avoid confusion and improve the accuracy of modification.

[0156] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0157] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0158] According to another aspect of the embodiment of the present application, a CAD graphics generation device for implementing the above-mentioned CAD graphics generation method is also provided. Figure 6 As shown, the device comprises:

[0159] The first display unit 602 is used to display a modification instruction dialog box in response to a first trigger operation during the process of generating a CAD graphic using a target drawing model;

[0160] A second display unit 604 is used to display a target graphic screen in response to a second trigger operation on a target modification instruction in the modification instruction dialog box, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects;

[0161] A first processing unit 606 is configured to, in response to a third triggering operation performed on a first graphic object among the multiple graphic objects, update and display the first graphic object in the target graphic screen as a second graphic object, and update and display the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object;

[0162] The second processing unit 608 is used to generate a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0163] As an optional solution, the first processing unit 606 includes:

[0164] A first display module is used for highlighting the line color in the first graphic object as the target color in response to a third trigger operation performed on the first graphic object when the target modification instruction indicates splitting the first graphic object;

[0165] The second display module is used to split the first graphic object into a first group of sub-graphic objects in response to a fourth trigger operation performed on a target split point in the first graphic object, and display the first group of sub-graphic objects and a second group of associated identifiers in a target graphic screen.

[0166] As an optional solution, the first processing unit 606 includes:

[0167] A third display module is used for highlighting the line color in the first graphic object as the target color in response to a third trigger operation performed on the first graphic object when the target modification instruction indicates that the first graphic object is to be merged;

[0168] a fourth display module, configured to highlight a line color in the third graphic object as a target color in response to a fourth trigger operation performed on the third graphic object;

[0169] a first processing module, configured to merge the first graphic object and the third graphic object into a second graphic object after a preset time interval, and automatically adjust the first group of association identifiers and the third group of association identifiers into a second group of association identifiers, wherein the third group of association identifiers is used to indicate an association relationship between a plurality of sub-graphic objects included in the third graphic object;

[0170] The fifth display module is used to display the second graphic object and the second group of associated identifiers in the target image screen.

[0171] As an optional solution, the above device also includes:

[0172] a third display unit, configured to highlight a line color in the first graphic object as a target color in response to a third trigger operation performed on a first sub-graphic object in the first graphic object when the target modification instruction indicates that a merge process is to be performed on the first graphic object;

[0173] a third processing unit, configured to, in response to a fifth triggering operation performed on a second sub-graphic object in the first graphic object, merge the first sub-graphic object and the second sub-graphic object into a target sub-graphic object, and automatically adjust the first group of association identifiers to a second group of association identifiers, wherein the second graphic object includes the target sub-graphic object;

[0174] The fourth display unit is used to display the second graphic object and the second group of association identifiers in the target graphic picture.

[0175] As an optional solution, the first display unit 602 includes:

[0176] An acquisition module is used to acquire original data of a target data model, wherein the target data model is a physical data model that matches a target CAD drawing;

[0177] A second processing module is used to determine to call a graphic object modification module when the process graphic generated by using the target mapping model does not meet the preset graphic configuration requirements, wherein the graphic configuration requirements are graphic object structural relationships determined based on the original data of the target data model;

[0178] The sixth display module is used to display a modification instruction dialog box in response to a first trigger operation during the execution of a graphic object modification program, wherein the graphic object modification program is a program stored in the graphic modification module.

[0179] As an optional solution, the second processing unit includes:

[0180] A third processing module is used to return the graphic object data corresponding to the second graphic object and the association identifier data corresponding to the second group of association identifiers to the main program of the target mapping model through the graphic object modification module;

[0181] The fourth processing module is used to run the main program based on the graphic object data and the associated identification data to obtain the target CAD graphic.

[0182] As an optional solution, the device also includes:

[0183] a fifth display unit, for displaying a parameter modification window in response to a fifth trigger operation during the process of generating a CAD graphic using the target drawing model, wherein the parameter modification window contains parameters to be processed whose values ​​do not meet specific requirements;

[0184] The modification unit is used to modify the value of the parameter to be processed in response to the sixth trigger operation.

[0185] The specific implementation example can refer to the example shown in the above-mentioned method for generating CAD graphics, which will not be described in detail in this example.

[0186] According to another aspect of the embodiment of the present application, an electronic device for implementing the above-mentioned CAD graphics generation method is also provided, such as Figure 7 As shown, the electronic device includes a memory 702 and a processor 704. The memory 702 stores a computer program, and the processor 704 is configured to execute the steps in any of the above method embodiments through the computer program.

[0187] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0188] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0189] S1, in the process of generating a CAD graphic using a target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box;

[0190] S2, in response to a second triggering operation on a target modification instruction in the modification instruction dialog box, displaying a target graphic screen, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects;

[0191] S3, in response to a third triggering operation performed on a first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and updating and displaying the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object;

[0192] S4, generating a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0193] Alternatively, a person skilled in the art may understand that: Figure 7The structure shown is for illustration only, and the electronic device may also be a terminal device such as a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), a PAD, etc. Figure 7 The structure of the electronic device is not limited. Figure 7 More or fewer components (such as network interfaces, etc.) as shown in, or with Figure 7 Different configurations are shown.

[0194] Among them, the memory 702 can be used to store software programs and modules, such as the program instructions / modules corresponding to the method and device for generating CAD graphics in the embodiments of the present application. The processor 704 executes various functional applications and data processing by running the software programs and modules stored in the memory 702, that is, realizing the above-mentioned method for generating CAD graphics. The memory 702 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 702 may further include a memory remotely located relative to the processor 704, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Among them, the memory 702 may specifically be used, but is not limited to, to store information such as target modification instructions and associated identifiers. As an example, such as Figure 7 As shown, the memory 702 may include, but is not limited to, the first display unit 602, the second display unit 604, the first processing unit 606, and the second processing unit 608 in the data transmission device of the CAD client. In addition, other module units in the data transmission device of the CAD client may also be included but are not limited to, which will not be repeated in this example.

[0195] Optionally, the transmission device 706 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 706 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 706 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0196] In addition, the electronic device further comprises: a display 708 for displaying the modification instruction dialog box and target CAD graphics and other information; and a connection bus 710 for connecting various module components in the electronic device.

[0197] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. Among them, the nodes may form a peer-to-peer (P2P) network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0198] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program / instruction, the computer program / instruction comprising a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions provided by the embodiments of the present application are executed.

[0199] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0200] It should be noted that the computer system of the electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0201] The computer system includes a central processing unit (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part to the random access memory (RAM). In the random access memory, various programs and data required for system operation are also stored. The central processing unit, the read-only memory and the random access memory are connected to each other through a bus. The input / output interface (I / O interface) is also connected to the bus.

[0202] The following components are connected to the input / output interface: an input section including a keyboard, a mouse, etc.; an output section including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section including a hard disk, etc.; and a communication section including a network interface card such as a local area network card, a modem, etc. The communication section performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. Removable media, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage section as needed.

[0203] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions defined in the system of the present application are executed.

[0204] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above-mentioned various optional implementations.

[0205] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0206] S1, in the process of generating a CAD graphic using a target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box;

[0207] S2, in response to a second triggering operation on a target modification instruction in the modification instruction dialog box, displaying a target graphic screen, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects;

[0208] S3, in response to a third triggering operation performed on a first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and updating and displaying the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object;

[0209] S4, generating a target CAD graphic based on the second graphic object and the second group of association identifiers.

[0210] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0211] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0212] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods of each embodiment of the present application.

[0213] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0214] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0215] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0216] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0217] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for generating a CAD graphic, characterized in that: include: In the process of generating a CAD graphic using the target drawing model, in response to a first trigger operation, displaying a modification instruction dialog box; In response to a second trigger operation on a target modification instruction in the modification instruction dialog box, a target graphic screen is displayed, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects; In response to a third trigger operation performed on a first graphic object among the multiple graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and updating and displaying the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object; generating a target CAD graphic based on the second graphic object and the second group of association identifiers; Wherein, in response to the third trigger operation performed on the first graphic object among the multiple graphic objects, the first graphic object in the target graphic screen is updated and displayed as the second graphic object, and based on the attribute information of each sub-graphic object in the second graphic object, the first group of association identifiers is updated and displayed as the second group of association identifiers, including: when the target modification instruction indicates that the first graphic object is to be merged, in response to the third trigger operation performed on the first graphic object, the line color in the first graphic object is highlighted as the target color; in response to the fourth trigger operation performed on the third graphic object, the line color in the third graphic object is highlighted as the target color; after a preset time interval, the first graphic object and the third graphic object are merged into the second graphic object, and the first group of association identifiers and the third group of association identifiers are automatically adjusted to the second group of association identifiers, wherein the third group of association identifiers is used to indicate the association relationship between multiple sub-graphic objects included in the third graphic object; and the second graphic object and the second group of association identifiers are displayed in the target graphic screen.

2. The method according to claim 1, characterized in that: In response to a third trigger operation performed on a first graphic object among the plurality of graphic objects, updating and displaying the first graphic object in the target graphic screen as a second graphic object, and updating and displaying the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object, comprises: In a case where the target modification instruction indicates splitting the first graphic object, in response to the third trigger operation performed on the first graphic object, highlighting the line color in the first graphic object as a target color; In response to a fourth trigger operation performed on a target split point in the first graphic object, the first graphic object is split into a first group of sub-graphic objects, and the first group of sub-graphic objects and the second group of association identifiers are displayed in the target graphic screen.

3. The method according to claim 1, characterized in that The method further comprises: In a case where the target modification instruction indicates merging the first graphic object, in response to the third trigger operation performed on the first sub-graphic object in the first graphic object, highlighting the line color in the first graphic object as the target color; In response to a fifth trigger operation performed on a second sub-graphic object in the first graphic object, the first sub-graphic object and the second sub-graphic object are merged into a target sub-graphic object, and the first group of association identifiers is automatically adjusted to the second group of association identifiers, wherein the second graphic object includes the target sub-graphic object; The second graphic object and the second group of association identifiers are displayed in the target graphic picture.

4. The method according to claim 1, characterized in that: In the process of generating a CAD graphic using the target drawing model, in response to the first trigger operation, displaying a modification instruction dialog box includes: Acquire original data of a target data model, wherein the target data model is a physical data model that matches the target CAD drawing; In the case where the process graphics generated by using the target mapping model do not meet the preset graphics configuration requirements, determining to call a graphics object modification module, wherein the graphics configuration requirements are the structural relationships of graphics objects determined based on the original data of the target data model; During the execution of a graphic object modification program, in response to the first trigger operation, the modification instruction dialog box is displayed, wherein the graphic object modification program is a program stored in the graphic object modification module.

5. The method according to claim 1, characterized in that The step of generating a target CAD graphic based on the second graphic object and the second group of association identifiers includes: By means of a graphic object modification module, the graphic object data corresponding to the second graphic object and the association identifier data corresponding to the second group of association identifiers are transmitted back to the main program of the target mapping model; Based on the graphic object data and the associated identification data, the main program is run to obtain the target CAD graphic.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: In the process of generating a CAD graphic using the target drawing model, in response to a fifth trigger operation, a parameter modification window is displayed, wherein the parameter modification window contains parameters to be processed whose values ​​do not meet specific requirements; In response to the sixth trigger operation, the value of the parameter to be processed is modified.

7. A CAD graphics generating device, characterized in that: include: A first display unit is used to display a modification instruction dialog box in response to a first trigger operation during the process of generating a CAD graphic using a target drawing model; a second display unit, configured to display a target graphic screen in response to a second triggering operation on the target modification instruction in the modification instruction dialog box, wherein the target graphic screen includes a plurality of graphic objects to be processed and a plurality of groups of association identifiers, wherein a group of association identifiers in the plurality of groups of association identifiers is used to describe an association relationship between a plurality of sub-graphic objects included in a graphic object among the plurality of graphic objects; a first processing unit, configured to, in response to a third triggering operation performed on a first graphic object among the plurality of graphic objects, update and display the first graphic object in the target graphic screen as a second graphic object, and update and display the first group of association identifiers as a second group of association identifiers based on attribute information of each sub-graphic object in the second graphic object; A second processing unit for generating a target CAD graphic based on the second graphic object and the second group of association identifiers; The device is also used for, when the target modification instruction indicates that the first graphic object is to be merged, in response to the third trigger operation performed on the first graphic object, highlighting the line color in the first graphic object as the target color; in response to the fourth trigger operation performed on the third graphic object, highlighting the line color in the third graphic object as the target color; merging the first graphic object and the third graphic object into the second graphic object after a preset time interval, and automatically adjusting the first group of association identifiers and the third group of association identifiers to the second group of association identifiers, wherein the third group of association identifiers is used to indicate the association relationship between multiple sub-graphic objects contained in the third graphic object; and displaying the second graphic object and the second group of association identifiers in the target graphic screen.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.

9. An electronic device, comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • Component operation method and device, storage medium and electronic device

    CN118229843A

  • Cad system

    JP2003132100A