Engineering drawing change intelligent synchronization method and device
By constructing a dynamic semantic topology graph and a multi-view projection constraint network, the new topology state after the 3D model changes is automatically identified and derived, solving the problems of drastic topological changes and multi-view consistency in the synchronization of 3D models and 2D engineering drawings, and realizing automated synchronization and efficient design.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHAOGUAN XINGCHENG NETWORK TECH CO LTD
- Filing Date
- 2026-03-12
- Publication Date
- 2026-05-29
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN122113193A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of computer-aided design, knowledge graphs, and modeling technology, and in particular to a method and apparatus for intelligent synchronization of engineering drawing changes. Background Technology
[0002] In the field of architectural engineering design, two-dimensional engineering drawings serve as the basis for guiding construction on-site. With the popularization of BIM (Building Information Modeling) technology, designers generally use three-dimensional building models for scheme design and optimization. Therefore, how to achieve accurate and efficient synchronization between changes to the three-dimensional model and two-dimensional engineering drawings has become a key point in improving the efficiency of architectural design.
[0003] In existing technologies, such as the drawing generation method, apparatus, equipment, and storage medium disclosed in CN118114332 B, the modification of 3D models and 2D engineering drawings mainly rely on the association of unique identifiers (IDs). Specifically, this technology obtains the adjusted 3D scene model, extracts the 2D description information of the target object, and achieves synchronous updating of the 2D engineering drawings based on the one-to-one mapping relationship between spatial reference points and planar reference points. However, this technology has significant drawbacks when dealing with complex engineering scenarios:
[0004] (1) Synchronization failure during drastic changes in topology: Existing solutions rely heavily on the initially established ID mapping relationship. When design changes cause fundamental changes in the component topology, such as wall demolition and reorganization, component splitting or merging, the original ID mapping is often broken, and the system cannot automatically establish logical associations between the old and new components, resulting in synchronization interruption and requiring manual re-association.
[0005] (2) Poor consistency of multi-view linkage: In a set of drawings, a change to a three-dimensional object may simultaneously affect the plan view, elevation view, section view and detail view. Existing technology often updates a single view independently, which can easily lead to problems such as projection logic contradictions or data inconsistencies between different views. Summary of the Invention
[0006] In view of the above-mentioned technical problems, the purpose of this application is to provide an intelligent synchronization method and apparatus for engineering drawing changes, which aims to solve at least one of the above-mentioned technical problems.
[0007] In a first aspect, embodiments of this application provide an intelligent synchronization method for engineering drawing changes, the method comprising:
[0008] A dynamic semantic topology graph is constructed, which maps the components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes;
[0009] The system receives change instructions for the 3D model and parses the change instructions to determine the change type; wherein the change type includes geometric fine-tuning changes and topology reconstruction changes.
[0010] When the change type is determined to be a geometric fine-tuning change, the associated two-dimensional engineering drawing elements are driven to perform geometric updates based on the preset one-to-one mapping relationship between spatial reference points and planar reference points, and the geometric update results are obtained.
[0011] When the change type is determined to be a topology reconstruction change, the graph reorganization logic is executed based on the dynamic semantic topology graph to identify the affected associated nodes and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, thereby generating an updated dynamic semantic topology graph.
[0012] Based on the updated dynamic semantic topology or geometric update results, combined with the multi-view projection constraint network, the target state of the two-dimensional primitives under each view is calculated, and the synchronized two-dimensional engineering drawing is generated.
[0013] In one embodiment, the step of constructing a dynamic semantic topology graph and mapping components in the 3D model to graph nodes includes:
[0014] The 3D model is analyzed to extract the geometric and semantic attributes of each component;
[0015] Based on the geometric and semantic attributes, corresponding graph nodes are created, and a mapping index between the graph nodes and the solid components in the three-dimensional model is established.
[0016] Identify the spatial adjacency relationships and coordination types between each component, establish topological connection edges between the corresponding graph nodes, and associate the topological constraints describing the ideal connection state and the allowable deviation range with the topological connection edges to generate the dynamic semantic topological graph.
[0017] In one embodiment, the step of executing graph reorganization logic based on the dynamic semantic topology graph, identifying affected associated nodes, and automatically deriving the new topological state of the affected nodes according to a preset engineering rule base to generate an updated dynamic semantic topology graph includes:
[0018] Identify dangling nodes in the dynamic semantic topology graph;
[0019] The dynamic semantic topology graph is traversed with the dangling node as the root node, and all directly or indirectly related nodes are extracted to construct an influence propagation subgraph.
[0020] Calculate the similarity between the geometric feature fingerprint of the newly generated component and the geometric feature fingerprint of the dangling node in the influence propagation subgraph. If the similarity exceeds a preset threshold, establish an identity inheritance mapping and update the node state; otherwise, mark the dangling node as deleted.
[0021] Based on a pre-set engineering rule base, nodes whose status is updated are automatically searched for legitimate host objects in the modified 3D model; if a legitimate host object is found, a new topological connection relationship is established; if no legitimate host object is found, it is marked as a topological anomaly.
[0022] Integrate nodes and edges that have been mapped and newly connected, remove deleted nodes, and generate an updated dynamic semantic topology graph containing the latest topology state.
[0023] In one embodiment, the step of determining dangling nodes in the dynamic semantic topology graph includes:
[0024] Obtain the set of identifiers for the modified 3D model components, and traverse all nodes in the dynamic semantic topology graph to extract the unique identifier of the 3D component currently bound to each node.
[0025] Match the unique identifier of the 3D component currently bound to each node with the changed set of 3D model component identifiers;
[0026] If the unique identifier of the 3D component to which the node is bound does not exist in the modified set of 3D model component identifiers, then the unique identifier of the node is determined to be invalid, and the node is marked as a first type of fracture node;
[0027] The first type of fracture node is included as a suspended node.
[0028] In one embodiment, after the step of incorporating the first type of fracture node as a suspended node, the method further includes:
[0029] For the remaining nodes that are not marked as first-type broken nodes, traverse each of their adjacent edges recorded in the dynamic semantic topology graph to obtain the target adjacent node associated with the adjacent edge and its topological constraints.
[0030] In the modified 3D model, locate the 3D components corresponding to the remaining nodes and the target adjacent nodes respectively;
[0031] Real-time calculation of the actual spatial geometric parameters between two three-dimensional components;
[0032] The actual spatial geometric parameters are compared with the topological constraints. If the actual spatial geometric parameters exceed the preset geometric tolerance threshold, the remaining nodes are determined to have broken topological connections and are marked as second-type broken nodes.
[0033] The second type of fracture node is included as the suspended node.
[0034] In one embodiment, the step of calculating the target state of two-dimensional primitives in each view based on the updated dynamic semantic topology map or geometric update results, combined with a multi-view projection constraint network, and rendering and generating a synchronized two-dimensional engineering drawing includes:
[0035] The updated dynamic semantic topology map is mapped to a multi-view projection constraint network to construct a set of constraint equations that include projection contours, occlusion relationships and topological connectivity.
[0036] Solve the constraint equations and determine the coordinates, line continuity, and visibility of the two-dimensional primitives based on the node topology state to obtain the target state of each two-dimensional primitive.
[0037] Based on the target state, the two-dimensional engineering drawing is incrementally updated, and the dimension annotations and section lines are adaptively adjusted according to the engineering drawing standards to generate the synchronized two-dimensional engineering drawing.
[0038] Secondly, embodiments of this application provide an intelligent synchronization device for engineering drawing changes, the device comprising:
[0039] A construction module is used to construct a dynamic semantic topology graph, mapping components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes;
[0040] The receiving module is configured to receive change instructions for the 3D model, parse the change instructions to determine the change type; wherein, the change type includes geometric fine-tuning changes and topology reconstruction changes;
[0041] The driving module is used to drive the associated two-dimensional engineering drawing primitives to perform geometric updates based on the preset one-to-one mapping relationship between spatial reference points and planar reference points when the change type is obtained through parsing.
[0042] The identification module is used to perform graph reorganization logic based on the dynamic semantic topology graph when the parsed change type is topology reconstruction type change, identify the affected associated nodes, and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, and generate an updated dynamic semantic topology graph.
[0043] The 2D engineering drawing synchronization module is used to calculate the target state of 2D primitives in each view based on the updated dynamic semantic topology map or geometric update results, combined with the multi-view projection constraint network, and to render and generate the synchronized 2D engineering drawing.
[0044] This invention upgrades the representation of 3D components from "static ID binding" to "dynamic relationship-driven" by constructing a dynamic semantic topology graph that integrates geometric, semantic, and topological relationships. This effectively solves the problem of synchronization failure caused by ID mapping breakage due to component disassembly and reorganization in existing technologies. By distinguishing between geometric fine-tuning and topological reconstruction change types, it uses an engineering rule base to dynamically reorganize and deduce the state of the graph, directly generating the target state of the component under the new topology (such as connection to break, solid line to dashed line), without the need for manual reconstruction of associations. At the same time, it introduces a multi-view projection constraint network for global simultaneous solution, forcing plan, elevation, and section views to evolve synchronously under the same constraint system, eliminating projection contradictions and data inconsistencies caused by independent updates between multiple views. Finally, this invention achieves an automated closed loop from 3D semantic changes to 2D standardized expression, improving the robustness, standardization, and overall design efficiency of engineering drawing synchronization in complex design change scenarios. Attached Figure Description
[0045] To more clearly illustrate the technical solution of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0046] Figure 1 This is a flowchart illustrating the intelligent synchronization method for engineering drawing changes provided in an embodiment of this application;
[0047] Figure 2 This is a schematic diagram of the structure of the intelligent synchronization system for engineering drawing changes provided in the embodiments of this application. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0049] Those skilled in the art will understand that, unless explicitly stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in the specification of this application means the presence of features, integers, steps, operations, elements, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any modules and all combinations of one or more associated listed items.
[0050] Those skilled in the art will understand that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0051] Please see Figure 1 A method for intelligent synchronization of engineering drawing changes, the method comprising:
[0052] S1. Construct a dynamic semantic topology graph, mapping the components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes;
[0053] S2. Receive change instructions for the 3D model, parse the change instructions to determine the change type; wherein, the change type includes geometric fine-tuning changes and topology reconstruction changes;
[0054] S3. When the change type is determined to be geometric fine-tuning change, based on the preset one-to-one mapping relationship between spatial reference points and planar reference points, the associated two-dimensional engineering drawing elements are driven to perform geometric updates to obtain geometric update results.
[0055] S4. When the change type is determined to be a topology reconstruction change, the graph reorganization logic is executed based on the dynamic semantic topology graph to identify the affected associated nodes and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, thereby generating an updated dynamic semantic topology graph.
[0056] S5. Based on the updated dynamic semantic topology map or geometric update results, combined with the multi-view projection constraint network, calculate the target state of the two-dimensional primitives under each view, and render and generate the synchronized two-dimensional engineering drawing.
[0057] This invention upgrades the representation of 3D components from "static ID binding" to "dynamic relationship-driven" by constructing a dynamic semantic topology graph that integrates geometric, semantic, and topological relationships. This effectively solves the problem of synchronization failure caused by ID mapping breakage due to component disassembly and reorganization in existing technologies. By distinguishing between geometric fine-tuning and topological reconstruction change types, it uses an engineering rule base to dynamically reorganize and deduce the state of the graph, directly generating the target state of the component under the new topology (such as connection to breakage, solid line to dashed line), without the need for manual reconstruction of associations. At the same time, it introduces a multi-view projection constraint network for global simultaneous solution, forcing plan, elevation, and section views to evolve synchronously under the same constraint system, eliminating projection contradictions and data inconsistencies caused by independent updates between multiple views. Finally, this invention achieves an automated closed loop from 3D semantic changes to 2D standardized expression, improving the robustness, standardization, and overall design efficiency of engineering drawing synchronization in complex design change scenarios.
[0058] In one embodiment, the step of constructing a dynamic semantic topology graph and mapping components in the 3D model to graph nodes includes:
[0059] The 3D model is analyzed to extract the geometric and semantic attributes of each component;
[0060] Based on the geometric and semantic attributes, corresponding graph nodes are created, and a mapping index between the graph nodes and the solid components in the three-dimensional model is established.
[0061] Identify the spatial adjacency relationships and coordination types between each component, establish topological connection edges between the corresponding graph nodes, and associate the topological constraints describing the ideal connection state and the allowable deviation range with the topological connection edges to generate the dynamic semantic topological graph.
[0062] In this embodiment, specifically, the parsing of the 3D model refers to calling the CAD kernel interface to traverse the model's feature tree or boundary representation data, identifying each independent component, and extracting the geometric and semantic attributes of each component. When extracting geometric attributes, the bounding box, centroid coordinates, key datum plane normal vectors, and feature parameters of the component are calculated and stored to support subsequent spatial positioning and geometric deviation calculations. When extracting semantic attributes, the model metadata is read or the component's name, material, functional classification, and standard part code are obtained through geometric feature rule matching to clarify the component's design intent and engineering role. It should be understood that a bounding box is the smallest cuboid that can completely enclose a 3D component. Its function is to determine whether their bounding boxes intersect before calculating whether two components are in contact. If the bounding boxes do not intersect, the entities also do not intersect, improving computational efficiency. The centroid coordinates represent the position of the entire complex component with a single point, facilitating distance calculations and spatial sorting of atlas nodes. A datum plane is an ideal plane used for positioning, measurement, or assembly reference in engineering design. Normal Vector: A unit vector perpendicular to the plane. The normal vector of the key reference plane is used to determine whether two faces are parallel, perpendicular, or mating, and whether they are tilted. Feature parameters describe the key dimensions or attribute values of specific geometric features of a component. When creating graph nodes, a unique node ID is assigned to each component. The aforementioned geometric and semantic attributes are encapsulated into node feature vectors, and a bidirectional mapping index from node ID to 3D model entity components is established to ensure that the graph can be back-located to specific entity components in real time. When identifying spatial adjacency relationships, potential connection pairs are determined by detecting surface contact, edge overlap, or spatial inclusion relationships between components. Based on the mating type (e.g., mating, coaxial, symmetrical), topological connection edges are generated between corresponding nodes. Simultaneously, theoretical values describing the ideal connection state (e.g., zero gap, zero angular deviation) and engineering-allowed tolerance thresholds are written as topological constraints into the attribute fields of the edges, thus completing the initial construction of a dynamic semantic topological graph that combines geometric accuracy and semantic logic.
[0063] In one embodiment, the step of executing graph reorganization logic based on the dynamic semantic topology graph, identifying affected associated nodes, and automatically deriving the new topological state of the affected nodes according to a preset engineering rule base to generate an updated dynamic semantic topology graph includes:
[0064] Identify dangling nodes in the dynamic semantic topology graph;
[0065] The dynamic semantic topology graph is traversed with the dangling node as the root node, and all directly or indirectly related nodes are extracted to construct an influence propagation subgraph.
[0066] Calculate the similarity between the geometric feature fingerprint of the newly generated component and the geometric feature fingerprint of the dangling node in the influence propagation subgraph. If the similarity exceeds a preset threshold, establish an identity inheritance mapping and update the node state; otherwise, mark the dangling node as deleted.
[0067] Based on a pre-set engineering rule base, nodes whose status is updated are automatically searched for legitimate host objects in the modified 3D model; if a legitimate host object is found, a new topological connection relationship is established; if no legitimate host object is found, it is marked as a topological anomaly.
[0068] Integrate nodes and edges that have been mapped and newly connected, remove deleted nodes, and generate an updated dynamic semantic topology graph containing the latest topology state.
[0069] In this embodiment, specifically, firstly, suspended nodes in the dynamic semantic topology graph are identified. These suspended nodes represent component objects that have lost entity mappings but retained historical semantics and annotation data during 3D model changes. Then, using these suspended nodes as reference points, the system performs a breadth-first traversal along the directed edges in the graph, extracting all child nodes logically directly attached to the suspended node (such as windows attached to walls) and related nodes affected by its geometric constraints, thereby constructing a local influence propagation subgraph. It should be understood that the dynamic semantic topology graph is not a fully connected graph, but a sparse graph constructed based on logical relationships. This step limits the reorganization scope to the smallest logical unit affected by the change, avoiding computational redundancy caused by full graph traversal.
[0070] Secondly, the system activates the feature matching engine, traversing all newly generated components in the modified 3D model. For each newly generated component, the system extracts its real-time geometric feature fingerprint, which includes spatial location, geometric shape, curvature, and adjacency vectors. This fingerprint is then compared one by one with the geometric feature fingerprints stored in each suspended node in the influence propagation subgraph, calculating the similarity. If the similarity between a newly generated component and a suspended node exceeds a preset matching threshold, they are determined to be evolution instances of the same construction. An identity inheritance mapping is immediately established, binding the unique identifier of the newly generated component to the suspended node, updating the node's state from "suspended" to "reconstructed," and fully preserving all 2D annotation constraints and semantic attributes under that node. If no new component with sufficient similarity is found for a suspended node after the traversal, the system marks it as "deleted" (corresponding to a physical removal operation) based on the change type.
[0071] Subsequently, for nodes whose status has been updated to "reconstructed," the system invokes the preset engineering rule base to perform new topology state derivation. Since the component is reconstructed, its original topological connection edges may be invalid. Based on the component attachment rules (e.g., doors and windows must be attached to walls), connection tolerance rules (e.g., contact distance thresholds), and conflict resolution strategies (e.g., nearest neighbor priority) defined in the preset engineering rule base, the system automatically searches for potential legitimate host objects in the modified 3D model space. It should be understood that the connection tolerance rules define the maximum allowable geometric error threshold (e.g., contact distance, angular deviation) for establishing connections between components, ensuring the system can tolerate minor drawing deviations. The conflict resolution strategy specifies the priority selection algorithm (e.g., nearest neighbor, semantic matching) when multiple legitimate candidate hosts exist, ensuring the system can intelligently determine a unique host object. If a legitimate host object is found, for example, if the reconstructed window node finds a new wall host within the tolerance range, the system automatically creates a new directed topological edge between them and writes the current spatial constraint parameters (e.g., new offset, normal angle), completing the topological relationship repair. If no legitimate host object can be found, for example, if no ceiling or wall object around the reconstructed light fixture node meets the dependency conditions, the system cannot establish a legitimate connection. In this case, the node is marked as "topology anomaly" and the specific reason for the anomaly (such as "no legitimate host") is recorded in the graph so that the user can be prompted to intervene manually by highlighting the color on the 2D drawing.
[0072] Finally, the system performs graph reconstruction and integration. All nodes with completed identity inheritance mappings and newly established topological connections are incorporated into the graph data structure; all nodes marked "deleted" and their associated edges are physically removed; nodes marked "topological anomaly" are retained but with an anomaly flag added. After the above cleaning and updating, the system outputs an updated dynamic semantic topological graph that is structurally complete, logically consistent, and synchronized with the current 3D model in real time.
[0073] This application's embodiments achieve automatic synchronous updates of 2D engineering icon annotations and intelligent reorganization of topological relationships when a topological reconstruction-type change occurs in the 3D model by constructing a sparse topological graph, using geometric feature fingerprint matching to realize intelligent identification and inheritance of node identities, and automatically repairing topological connections based on an engineering rule base. This effectively solves the problem of synchronization interruption caused by ID failure in traditional methods.
[0074] In one embodiment, the step of determining dangling nodes in the dynamic semantic topology graph includes:
[0075] Obtain the set of identifiers for the modified 3D model components, and traverse all nodes in the dynamic semantic topology graph to extract the unique identifier of the 3D component currently bound to each node.
[0076] Match the unique identifier of the 3D component currently bound to each node with the changed set of 3D model component identifiers;
[0077] If the unique identifier of the 3D component to which the node is bound does not exist in the modified set of 3D model component identifiers, then the unique identifier of the node is determined to be invalid, and the node is marked as a first type of fracture node;
[0078] The first type of fracture node is included as a suspended node.
[0079] This application embodiment automatically identifies and marks nodes whose unique identifiers become invalid due to the physical deletion of components by comparing the set of component identifiers in the 3D model before and after the change, and includes them in the set of dangling nodes, laying the foundation for subsequent intelligent identity recognition and topology update based on geometric feature fingerprints.
[0080] In one embodiment, after the step of incorporating the first type of fracture node as a suspended node, the method further includes:
[0081] For the remaining nodes that are not marked as first-type broken nodes, traverse each of their adjacent edges recorded in the dynamic semantic topology graph to obtain the target adjacent node associated with the adjacent edge and its topological constraints.
[0082] In the modified 3D model, locate the 3D components corresponding to the remaining nodes and the target adjacent nodes respectively;
[0083] Real-time calculation of the actual spatial geometric parameters between two three-dimensional components;
[0084] The actual spatial geometric parameters are compared with the topological constraints. If the actual spatial geometric parameters exceed the preset geometric tolerance threshold, the remaining nodes are determined to have broken topological connections and are marked as second-type broken nodes.
[0085] The second type of fracture node is included as the suspended node.
[0086] In this embodiment, the topological constraints are metadata describing the ideal connection state between the two elements, defined during graph construction or the initial design phase. These topological constraints include, but are not limited to:
[0087] Contact type constraints: such as "surface-to-surface contact", "line-to-line tangency", "point-to-surface overlap", etc.
[0088] Geometric constraints: such as the theoretical contact distance should be 0, the angle between normal vectors should be 0 degrees or 180 degrees, and the inclusion relationship should be 100%, etc.
[0089] Tolerance tolerance range: The permissible deviation threshold bound to this constraint (e.g., the maximum permissible gap of the mat is 0.05 mm).
[0090] After acquiring a pair of corresponding 3D components, the system invokes the geometry kernel engine to calculate the actual spatial geometric parameters between them in real time. Based on the preset topological constraint types, the calculations include at least one or more of the following combinations:
[0091] Contact distance: Calculates the minimum Euclidean distance between two solid surfaces. If the theoretical constraint is "fit," the ideal value is 0; if a gap exists, this value is positive.
[0092] Normal vector deviation: Extract the unit normal vectors of the two contact areas and calculate the cosine of their included angle or directly calculate the angle difference. Used to determine whether two surfaces that should be coplanar or parallel have tilted or misaligned.
[0093] Spatial containment: Calculates the volume percentage or area overlap of one entity (such as a bolt) projected into another entity (such as a hole), used to determine whether there is a situation of "disengagement" or "incomplete insertion".
[0094] This application's embodiments effectively solve the problem that traditional engineering drawing synchronization methods, which rely solely on topological changes, cannot detect the failure of implicit connections caused by set fine-tuning. By introducing a second type of fracture node identification mechanism based on "semantic constraint backtracking - geometric measurement verification," this mechanism addresses the issue of traditional methods failing to detect implicit connection failures due to set fine-tuning, as they rely solely on topological changes. It dynamically compares the design intent (topological constraints) with physical reality (the actual spatial geometric parameters between two 3D components), accurately capturing and marking those "nominal connections but actual fractures" that still show connections in the graph logic but exceed tolerances in the set space (e.g., unexpected gaps, angular misalignments, or invalid inclusion relationships). This allows for the timely inclusion of such implicit fracture nodes into the suspended node set for reorganization, improving the accuracy of engineering drawing change synchronization.
[0095] In one embodiment, when the parsed change type is a geometric fine-tuning change, the step of driving the associated two-dimensional engineering drawing elements to perform geometric updates based on a preset one-to-one mapping relationship between spatial reference points and planar reference points, and obtaining the geometric update result, includes: establishing a one-to-one mapping relationship between spatial reference points and planar reference points; when the parsed change type is a geometric fine-tuning change, driving the associated two-dimensional engineering drawing elements to perform geometric updates based on the one-to-one mapping relationship between spatial reference points and planar reference points, and obtaining the geometric update result. This is prior art, and the embodiments of the present invention will not be described in detail here.
[0096] In one embodiment, the step of calculating the target state of two-dimensional primitives in each view based on the updated dynamic semantic topology map or geometric update results, combined with a multi-view projection constraint network, and rendering and generating a synchronized two-dimensional engineering drawing includes:
[0097] The updated dynamic semantic topology map is mapped to a multi-view projection constraint network to construct a set of constraint equations that include projection contours, occlusion relationships and topological connectivity.
[0098] Solve the constraint equations and determine the coordinates, line continuity, and visibility of the two-dimensional primitives based on the node topology state to obtain the target state of each two-dimensional primitive.
[0099] Based on the target state, the two-dimensional engineering drawing is incrementally updated, and the dimension annotations and section lines are adaptively adjusted according to the engineering drawing standards to generate the synchronized two-dimensional engineering drawing.
[0100] In this embodiment, mapping the updated dynamic semantic topology graph to a multi-view projection constraint network and constructing a set of constraint equations including projection contours, occlusion relationships, and topological connectivity refers to the system first reading the three-dimensional coordinate data and edge attributes (such as "fitting," "break," and "suspended") of each node in the graph and converting them into mathematical constraints on the two-dimensional view plane: for the projection contour, establishing geometric position equations, forcing that the endpoints and curve trajectories of the two-dimensional primitives must strictly correspond to the orthogonal projection coordinates of the three-dimensional components in a specific view direction (such as front view and top view); if If a pair of adjacent elements in the graph is marked as "broken," a gap inequality constraint is introduced into the equation to force the distance between the two adjacent contour lines to be greater than zero, prohibiting overlap. For occlusion relationships, a depth comparison inequality is established to calculate the order of different components on the same sight path. If component A occludes component B, the line type attribute of the element in the covered area of component B must be constrained to "dashed line" or "hidden," while component A is constrained to "solid line." For topological connectivity, a Boolean logic constraint equation is established to define the merging rules for adjacent element boundaries: when the graph state is "fitted," the constraint equation is set to... (merged into a single common edge); where... This represents line A. Represents line B. When the graph is in a "broken" or "suspended" state, the constraint equation is: and (Force separation into independent boundaries and cut off the cross-boundary section fill path). Subsequently, the geometric constraint solver is called to solve the constraint equations. A global iterative calculation is performed on the above simultaneous equations, simultaneously calculating the precise coordinate values, line type continuity indicators (continuous / disconnected), and visibility masks for each 2D element in all views. These calculation results are encapsulated into a target state dataset for each 2D element. It should be understood that the visibility mask is the "display instruction set" calculated by the system. It explicitly records whether each line on the 2D drawing should be a solid line (visible) or a dashed line (occluded), and is a key data structure for automatically conforming engineering drawings to drafting standards. Finally, the 2D engineering drawing is incrementally updated based on the target state. Specifically, the current drawing state is compared with the target state dataset, and only the areas where coordinates have shifted, line types have changed, or visibility has been flipped are redrawn, while unchanged areas are retained to improve rendering efficiency.
[0101] This application embodiment constructs a multi-view constraint equation system that integrates projection contours, occlusion relationships, and topological connectivity. This system directly transforms the abstract connection states (such as breaks and suspensions) in the dynamic semantic topological map into mathematical constraints that drive the generation of two-dimensional primitives. It achieves automated logical derivation from three-dimensional semantic changes to two-dimensional graphic representation. It can intelligently determine the merging and separation of two-dimensional contour lines, the switching between solid and dashed lines, and the truncation of section lines based on the real topological state of the map nodes (such as merging or separating). This solves the technical defects of traditional projection methods, such as incorrect line fusion, occlusion distortion, and section filling exceeding the boundary, caused by the inability to perceive implicit topological breaks. At the same time, combined with incremental update and annotation adaptive adjustment mechanisms, it improves the geometric accuracy, semantic consistency, and drawing efficiency of engineering drawings, ensuring that the generated two-dimensional drawings strictly conform to engineering drawing standards and truly reflect the changes in the three-dimensional model.
[0102] like Figure 2 As shown in the illustration, this application also provides an intelligent synchronization device for engineering drawing changes, the device comprising:
[0103] Module 1 is used to construct a dynamic semantic topology graph, which maps the components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes;
[0104] The receiving module 2 is used to receive change instructions for the three-dimensional model, parse the change instructions to determine the change type; wherein, the change type includes geometric fine-tuning change and topology reconstruction change;
[0105] Driving module 3 is used to drive the associated two-dimensional engineering drawing primitives to perform geometric updates based on the preset one-to-one mapping relationship between spatial reference points and planar reference points when the change type is obtained by parsing.
[0106] The identification module 4 is used to perform graph reorganization logic based on the dynamic semantic topology graph when the parsed change type is a topology reconstruction change, identify the affected associated nodes, and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, and generate an updated dynamic semantic topology graph.
[0107] The 2D engineering drawing synchronization module 5 is used to calculate the target state of 2D primitives in each view based on the updated dynamic semantic topology map or geometric update results, combined with the multi-view projection constraint network, and to render and generate the synchronized 2D engineering drawing.
[0108] It should be noted that the technical solutions in the embodiments of this specification, if involving the processing of personal information, will all be processed under the premise of having a legal basis (such as obtaining the consent of the personal information subject), and will only be processed within the scope stipulated or agreed. The collection, storage, use, processing, transmission, provision, and presentation of related information all comply with the provisions of relevant laws and regulations, do not infringe on the privacy of others, and do not violate public order and good morals.
[0109] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in this application and in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0110] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.
[0111] The above description is only a preferred embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural changes made based on the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for intelligent synchronization of engineering drawing changes, characterized in that, The method includes: A dynamic semantic topology graph is constructed, which maps the components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes; The system receives change instructions for the 3D model and parses the change instructions to determine the change type; wherein the change type includes geometric fine-tuning changes and topology reconstruction changes. When the change type is determined to be a geometric fine-tuning change, the associated two-dimensional engineering drawing elements are driven to perform geometric updates based on the preset one-to-one mapping relationship between spatial reference points and planar reference points, and the geometric update results are obtained. When the change type is determined to be a topology reconstruction change, the graph reorganization logic is executed based on the dynamic semantic topology graph to identify the affected associated nodes and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, thereby generating an updated dynamic semantic topology graph. Based on the updated dynamic semantic topology or geometric update results, combined with the multi-view projection constraint network, the target state of the two-dimensional primitives under each view is calculated, and the synchronized two-dimensional engineering drawing is generated.
2. The intelligent synchronization method for engineering drawing changes according to claim 1, characterized in that, The step of constructing a dynamic semantic topology graph and mapping components in the 3D model to graph nodes includes: The 3D model is analyzed to extract the geometric and semantic attributes of each component; Based on the geometric and semantic attributes, corresponding graph nodes are created, and a mapping index between the graph nodes and the solid components in the three-dimensional model is established. Identify the spatial adjacency relationships and coordination types between each component, establish topological connection edges between the corresponding graph nodes, and associate the topological constraints describing the ideal connection state and the allowable deviation range with the topological connection edges to generate the dynamic semantic topological graph.
3. The intelligent synchronization method for engineering drawing changes according to claim 1, characterized in that, The steps of executing graph reorganization logic based on the dynamic semantic topology graph, identifying affected associated nodes, and automatically deriving the new topological state of the affected nodes according to a preset engineering rule base to generate an updated dynamic semantic topology graph include: Identify dangling nodes in the dynamic semantic topology graph; The dynamic semantic topology graph is traversed with the dangling node as the root node, and all directly or indirectly related nodes are extracted to construct an influence propagation subgraph. Calculate the similarity between the geometric feature fingerprint of the newly generated component and the geometric feature fingerprint of the dangling node in the influence propagation subgraph. If the similarity exceeds a preset threshold, establish an identity inheritance mapping and update the node state; otherwise, mark the dangling node as deleted. Based on a pre-set engineering rule base, nodes whose status is updated are automatically searched for legitimate host objects in the modified 3D model; if a legitimate host object is found, a new topological connection relationship is established; if no legitimate host object is found, it is marked as a topological anomaly. Integrate nodes and edges that have been mapped and newly connected, remove deleted nodes, and generate an updated dynamic semantic topology graph containing the latest topology state.
4. The intelligent synchronization method for engineering drawing changes according to claim 3, characterized in that, The steps for determining dangling nodes in the dynamic semantic topology graph include: Obtain the set of identifiers for the modified 3D model components, and traverse all nodes in the dynamic semantic topology graph to extract the unique identifier of the 3D component currently bound to each node. Match the unique identifier of the 3D component currently bound to each node with the changed set of 3D model component identifiers; If the unique identifier of the 3D component to which the node is bound does not exist in the modified set of 3D model component identifiers, then the unique identifier of the node is determined to be invalid, and the node is marked as a first type of fracture node; The first type of fracture node is included as a suspended node.
5. The intelligent synchronization method for engineering drawing changes according to claim 4, characterized in that, After the step of incorporating the first type of fracture node as a suspended node, the method further includes: For the remaining nodes that are not marked as first-type broken nodes, traverse each of their adjacent edges recorded in the dynamic semantic topology graph to obtain the target adjacent node associated with the adjacent edge and its topological constraints. In the modified 3D model, locate the 3D components corresponding to the remaining nodes and the target adjacent nodes respectively; Real-time calculation of the actual spatial geometric parameters between two three-dimensional components; The actual spatial geometric parameters are compared with the topological constraints. If the actual spatial geometric parameters exceed the preset geometric tolerance threshold, the remaining nodes are determined to have broken topological connections and are marked as second-type broken nodes. The second type of fracture node is included as the suspended node.
6. The intelligent synchronization method for engineering drawing changes according to claim 1, characterized in that, The steps of calculating the target state of two-dimensional primitives in each view and rendering and generating a synchronized two-dimensional engineering drawing based on the updated dynamic semantic topology map or geometric update results and combined with a multi-view projection constraint network include: The updated dynamic semantic topology map is mapped to a multi-view projection constraint network to construct a set of constraint equations that include projection contours, occlusion relationships and topological connectivity. Solve the constraint equations and determine the coordinates, line continuity, and visibility of the two-dimensional primitives based on the node topology state to obtain the target state of each two-dimensional primitive. Based on the target state, the two-dimensional engineering drawing is incrementally updated, and the dimension annotations and section lines are adaptively adjusted according to the engineering drawing standards to generate the synchronized two-dimensional engineering drawing.
7. An intelligent synchronization device for engineering drawing changes, characterized in that, The device includes: A construction module is used to construct a dynamic semantic topology graph, mapping components in the 3D model to graph nodes; wherein, the graph nodes include geometric attributes, semantic attributes, and topological connections with other nodes; The receiving module is configured to receive change instructions for the 3D model, parse the change instructions to determine the change type; wherein, the change type includes geometric fine-tuning changes and topology reconstruction changes; The driving module is used to drive the associated two-dimensional engineering drawing primitives to perform geometric updates based on the preset one-to-one mapping relationship between spatial reference points and planar reference points when the change type is obtained through parsing. The identification module is used to perform graph reorganization logic based on the dynamic semantic topology graph when the parsed change type is topology reconstruction type change, identify the affected associated nodes, and automatically deduce the new topology state of the affected nodes according to the preset engineering rule base, and generate an updated dynamic semantic topology graph. The 2D engineering drawing synchronization module is used to calculate the target state of 2D primitives in each view based on the updated dynamic semantic topology map or geometric update results, combined with the multi-view projection constraint network, and to render and generate the synchronized 2D engineering drawing.