Method and device for generating two-dimensional plane graph of nuclear island three-dimensional annular wall model
By automatically identifying and calculating the structural node coordinates of the three-dimensional ring wall model of the nuclear island, a two-dimensional plan view is generated, which solves the problems of high human error rate and low efficiency in the existing technology, and realizes high-precision and high-efficiency two-dimensional plan view drawing, adapting to complex structures and design changes.
Patent Information
- Application Number
- CN202511347880.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-19
- Publication Date
- 2025-12-26
AI Technical Summary
Existing technologies suffer from high human error rates, low efficiency, and poor flexibility in drawing two-dimensional plan views of the containment annular wall of a nuclear island plant, especially when design changes require extensive re-measurement and calculation.
By identifying structural nodes in the three-dimensional ring wall model of the core island, and using the three-dimensional coordinates of the structural nodes to calculate their coordinates on the two-dimensional unfolded plane, the software automatically identifies and draws structural nodes, including corner points, structural attachments, and intersecting components. The curved surface is represented by a single cylindrical equation, reducing human intervention and improving generation efficiency and accuracy.
It significantly improves the accuracy and generation efficiency of 2D plan drawings, reduces human error, and can flexibly respond to complex structures and design changes to meet engineering requirements.
Smart Images

Figure CN121213701A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of nuclear power engineering, in particular to a method and device for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island. BACKGROUND
[0002] In the structural system of a nuclear island building, the containment of a pressurized water reactor and the annular wall of other types of reactors are key components, and the structural integrity, dimensional accuracy, accessory information on the wall, and construction quality are directly related to the safety and reliability of the entire nuclear power plant. Therefore, in order to ensure efficiency and accuracy during the construction process of the nuclear island building, it is necessary to clearly display the plan dimensions, accessory parameters, and location of the containment annular wall using a two-dimensional plan view.
[0003] Currently, the traditional method for drawing a two-dimensional plan view of the containment annular wall of a nuclear island building mainly relies on manual measurement and calculation. Designers need to manually extract the geometric information of the three-dimensional containment annular wall, and then perform complex geometric calculations based on these data to determine the projection position and shape of each part on the two-dimensional plane.
[0004] However, relying on manual measurement, calculation, and drawing is prone to human error, low efficiency, and cannot guarantee the accuracy of the two-dimensional plan view. Moreover, when the design of the containment annular wall changes, the traditional method requires almost all the measurement, calculation, and drawing work to be redone, which lacks flexibility. SUMMARY
[0005] Therefore, it is necessary to provide a method and device for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island, which can improve the efficiency and accuracy of generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island.
[0006] In a first aspect, the present application provides a method for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island, comprising:
[0007] identifying an annular wall and a structural node on the annular wall in the three-dimensional annular wall model of the nuclear island;
[0008] in the case where the structural node is located on the outer surface of the annular wall, obtaining a first included angle between the structural node and the x-axis and a connecting line between the structural node and the center of the annular wall according to the x component and the y component of the three-dimensional coordinates of the structural node; obtaining the x component of the structural node on the two-dimensional development plane of the outer surface of the annular wall according to the first included angle and the corresponding radius of the outer surface circumference of the annular wall, and taking the z component of the three-dimensional coordinates of the structural node as the y component of the structural node on the two-dimensional development plane;
[0009] In the case that the structural node is located on the inner surface of the annular wall, the three-dimensional coordinates of the projection point of the structural node on the outer surface are determined according to the three-dimensional coordinates of the structural node; the second angle between the connecting line between the projection point and the center of the annular wall and the x-axis is obtained according to the x component and the y component of the three-dimensional coordinates of the projection point; the x component of the projection point on the two-dimensional development plane of the outer surface is obtained according to the second angle and the corresponding radius of the outer surface circumference, and the z component in the three-dimensional coordinates of the projection point is taken as the y component of the structural node on the two-dimensional development plane.
[0010] The structural node is drawn on the two-dimensional development plane according to the two-dimensional coordinates of the structural node on the two-dimensional development plane.
[0011] In one of the embodiments, the structural node comprises a corner point; the corner point on the annular wall is identified, comprising:
[0012] Any one of the contour edges on the annular wall is taken as a starting edge, the vertex of one end of the starting edge is recorded as a first corner point, and the end points of the adjacent contour edges traversed in the extension direction of the starting edge are recorded as corner points in sequence until the first corner point is returned.
[0013] In one of the embodiments, the first angle between the connecting line between the structural node and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the structural node, comprising:
[0014] The ratio between the y component and the x component in the three-dimensional coordinates of the structural node is calculated, and the inverse tangent function value of the ratio is calculated;
[0015] The inverse tangent function value is adjusted according to the quadrant in which the x component and the y component are located to obtain the first angle between the connecting line between the structural node and the center of the annular wall and the x-axis.
[0016] In one of the embodiments, the structural node comprises a structural accessory, and the two-dimensional coordinates of the structural accessory on the two-dimensional development plane are the two-dimensional coordinates of the center point of the structural accessory; the structural accessory is drawn on the two-dimensional development plane according to the two-dimensional coordinates of the structural accessory on the two-dimensional development plane, comprising:
[0017] The size information of the structural accessory is obtained;
[0018] The inner and outer surface contours of the structural accessory are drawn according to the size information and the two-dimensional coordinates;
[0019] The intersecting axes of the structural accessory are drawn, and the code, model and center angle of the structural accessory are drawn on the intersecting axes.
[0020] In one of the embodiments, the structure node comprises an intersection member, and the two-dimensional coordinates of the intersection member on the two-dimensional development plane are the two-dimensional coordinates of the intersection between the intersection member and the inner and outer surfaces; the intersection member is drawn on the two-dimensional development plane according to the two-dimensional coordinates of the intersection member on the two-dimensional development plane, comprising:
[0021] The encoding information of the intersection member is obtained;
[0022] The contour of the intersection point is drawn according to the two-dimensional coordinates, and the intersection member is drawn at the drawn intersection point according to the encoding information.
[0023] In one of the embodiments, any curved surface of the nuclear island three-dimensional annular wall model is represented by a single cylindrical equation.
[0024] In a second aspect, the application further provides a device for generating a two-dimensional plan view of a nuclear island three-dimensional annular wall model, comprising:
[0025] A recognition module is configured to recognize an annular wall and a structure node on the annular wall in the nuclear island three-dimensional annular wall model;
[0026] A data calculation module is configured to, in a case where the structure node is located on an outer surface of the annular wall, obtain a first included angle between a connecting line between the structure node and a center of the annular wall and an x-axis according to an x component and a y component in a three-dimensional coordinate of the structure node, and obtain an x component of the structure node on a two-dimensional development plane of the outer surface of the annular wall according to the first included angle and a corresponding radius of a circumference of the outer surface, and take a z component in the three-dimensional coordinate of the structure node as a y component on the two-dimensional development plane;
[0027] The data calculation module is further configured to, in a case where the structure node is located on an inner surface of the annular wall, determine a three-dimensional coordinate of a projection point of the structure node on the outer surface according to the three-dimensional coordinate of the structure node, obtain a second included angle between a connecting line between the projection point and the center of the annular wall and the x-axis according to an x component and a y component in the three-dimensional coordinate of the projection point, and obtain an x component of the projection point on a two-dimensional development plane of the outer surface according to the second included angle and the corresponding radius of the circumference of the outer surface, and take a z component in the three-dimensional coordinate of the projection point as a y component on the two-dimensional development plane;
[0028] A drawing module is configured to draw the structure node on the two-dimensional development plane according to the two-dimensional coordinates of the structure node on the two-dimensional development plane.
[0029] The method and device for generating a two-dimensional planar graph of a nuclear island three-dimensional annular wall model first identify the annular wall and the structural nodes on the annular wall in the nuclear island three-dimensional annular wall model, classify and record the structural nodes according to the inner and outer surfaces of the annular wall, and obtain the three-dimensional coordinates, structural characteristics and parameters of the structural nodes. Secondly, the outer surface of the annular wall is taken as the development plane, the outer surface can be divided into multiple arc surfaces, any arc surface can be represented by a single cylindrical equation, in the case that the structural node is located on the outer surface of the annular wall, the first angle between the connecting line between the structural node and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the structural node, then the x component of the structural node on the two-dimensional development plane of the outer surface of the annular wall is obtained according to the first angle and the corresponding radius of the outer surface circumference of the annular wall, and the z component in the three-dimensional coordinates of the structural node is taken as the y component of the structural node on the two-dimensional development plane. In the case that the structural node is located on the inner surface of the annular wall, the three-dimensional coordinates of the projection point of the structural node on the outer surface are determined according to the three-dimensional coordinates of the structural node, then the second angle between the connecting line between the projection point and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the projection point, so as to obtain the x component of the projection point on the two-dimensional development plane of the outer surface according to the second angle and the corresponding radius of the outer surface circumference of the annular wall, and the z component in the three-dimensional coordinates of the projection point is taken as the y component of the structural node on the two-dimensional development plane. Finally, the structural nodes are drawn on the two-dimensional development plane according to the two-dimensional coordinates of the structural nodes on the two-dimensional development plane. Compared with the problem that the designers manually extract the geometric information related to the annular wall in the traditional technology, and perform geometric calculation according to the geometric information to determine the projection position and shape of each part on the two-dimensional plane, which is prone to human errors and low efficiency, the present embodiment automatically identifies various structural characteristics and parameters in the annular wall three-dimensional model by software, and develops the two-dimensional planar graph according to the preset rules, reduces human intervention, effectively reduces the probability of errors, significantly improves the accuracy and generation efficiency of the two-dimensional planar graph, and can better adapt to complex structures and engineering requirements, and flexibly cope with design changes. BRIEF DESCRIPTION OF DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor.
[0031] Figure 1 The application scenario diagram of the method for generating a two-dimensional planar graph of a nuclear island three-dimensional annular wall model in an embodiment;
[0032] Figure 2 This is a flowchart illustrating a method for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island in one embodiment.
[0033] Figure 3 This is a flowchart illustrating the method for generating a two-dimensional plan view of the three-dimensional annular wall model of the nuclear island in another embodiment;
[0034] Figure 4 This is a structural block diagram of a device for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island in one embodiment. Detailed Implementation
[0035] 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.
[0036] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0037] The method for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island provided in this application embodiment can be applied to, for example... Figure 1 The application environment shown can involve only terminal 102, only server 104, or both terminal 102 and server 104, wherein terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated on server 104 or located on a cloud or other network server. Specifically, terminal 102 or server 104 completes a method for generating a two-dimensional plan view of a three-dimensional ring wall model of a nuclear island, the method including:
[0038] Identify the ring wall and structural nodes on the ring wall in the three-dimensional ring wall model of the nuclear island;
[0039] In the case that the structural node is located on the outer surface of the annular wall, according to the x component and the y component in the three-dimensional coordinates of the structural node, a first included angle between a line connecting the structural node and the center of the annular wall and the x axis is obtained; according to the first included angle and the radius corresponding to the circumference of the outer surface of the annular wall, an x component of the structural node on a two-dimensional development plane of the outer surface of the annular wall is obtained, and a z component in the three-dimensional coordinates of the structural node is taken as a y component of the structural node on the two-dimensional development plane;
[0040] In the case that the structural node is located on the outer surface of the annular wall, according to the x component and the y component in the three-dimensional coordinates of the structural node, a first included angle between a line connecting the structural node and the center of the annular wall and the x axis is obtained; according to the first included angle and the radius corresponding to the circumference of the outer surface of the annular wall, an x component of the structural node on a two-dimensional development plane of the outer surface of the annular wall is obtained, and a z component in the three-dimensional coordinates of the structural node is taken as a y component of the structural node on the two-dimensional development plane;
[0041] According to the two-dimensional coordinates of the structural node on the two-dimensional development plane, the structural node is drawn on the two-dimensional development plane.
[0042] Wherein, the terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, unmanned aerial vehicles, low-altitude aerial vehicles, Internet of Things devices and portable wearable devices. The Internet of Things device can be a smart speaker, a smart television, a smart air conditioner, a smart vehicle device, a projection device, etc. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, etc. The server 104 can be a standalone server or a server cluster composed of multiple servers.
[0043] In an exemplary embodiment, as shown in Figure 2 A method for generating a two-dimensional plan view of a nuclear island three-dimensional annular wall model is provided. The method is applied to a server, which can be a standalone physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The method includes the following steps 202 to 208. Wherein:
[0044] Step 202, identify the annular wall in the nuclear island three-dimensional annular wall model and the structural node on the annular wall.
[0045] The annular wall is a model data of an independent unit, any arc surface on the annular wall can be completely expressed by a single cylindrical equation; the structural nodes on the annular wall include corner points on the annular wall, structural accessories and intersecting components. The corner point on the annular wall refers to a feature point on the geometric contour of the annular wall, and the corner point can be used to accurately describe the spatial position, shape and size of the annular wall; the structural accessory refers to an accessory attached to the annular wall, including holes, embedded parts and the like; the intersecting component refers to a surrounding structural component with a gap of 0 with the annular wall, including walls, beams, plates and the like.
[0046] Exemplarily, based on the identification method of geometric constraints or modeling parameters, the center coordinates of the structural accessories attached to the annular wall on the inner and outer surfaces of the annular wall are identified, and the recorded center coordinate information is stored in the inner and outer surfaces of the annular wall.
[0047] Exemplarily, based on the identification method of geometric constraints, the surrounding structural components intersecting with the annular wall are identified, the intersection point coordinates of the intersecting components and the inner and outer surfaces of the annular wall are recorded, and the recorded intersection point coordinate information is stored in the inner and outer surfaces of the annular wall.
[0048] Exemplarily, the software loads a three-dimensional model and checks whether the model is valid. If the model is valid after checking the model, step 202 is performed; if the model is invalid after checking the model, an error message is returned, the software is commanded to reload the three-dimensional model, and the three-dimensional model after reloading is checked again. If the three-dimensional model after reloading is valid, step 202 is continued.
[0049] In step 204, in the case that the structural node is located on the outer surface of the annular wall, the first included angle between the connecting line between the structural node and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the structural node; the x component of the structural node on the two-dimensional development plane of the outer surface of the annular wall is obtained according to the first included angle and the corresponding radius of the outer surface of the annular wall, and the z component in the three-dimensional coordinates of the structural node is taken as the y component of the structural node on the two-dimensional development plane.
[0050] Exemplarily, taking the outer surface of the annular wall as the two-dimensional development plane, the outer surface of the annular wall can be divided into a plurality of arc surfaces according to the height direction of the annular wall, and any arc surface can be represented by a single cylindrical equation, which includes the center coordinates and the radius corresponding to any arc surface.
[0051] When the structure node is located on the outer surface of the ring wall, the x component and the y component in the three-dimensional coordinate of the structure node are obtained according to a rectangular coordinate system, and the ratio of the y component to the x component is calculated according to the arc surface corresponding to the structure node, and the first included angle between the connecting line between the structure node and the center of the arc surface and the x axis is obtained by using the arctangent function.
[0052] In step 206, when the structure node is located on the inner surface of the ring wall, the three-dimensional coordinate of the projection point of the structure node on the outer surface is determined according to the three-dimensional coordinate of the structure node; the second included angle between the connecting line between the projection point and the center of the ring wall and the x axis is obtained according to the x component and the y component in the three-dimensional coordinate of the projection point; the x component of the projection point on the two-dimensional development plane of the outer surface is obtained according to the second included angle and the corresponding radius of the outer surface, and the z component in the three-dimensional coordinate of the projection point is taken as the y component of the structure node on the two-dimensional development plane.
[0053] Exemplarily, the outer surface of the ring wall is taken as the two-dimensional development plane, the outer surface of the ring wall can be divided into a plurality of arc surfaces according to the height direction of the ring wall, and any arc surface can be represented by a single cylindrical equation, which includes the center coordinate and the radius corresponding to any arc surface.
[0054] When the structure node is located on the inner surface of the ring wall, the three-dimensional coordinate of the structure node is obtained according to a rectangular coordinate system, and the outer surface arc surface corresponding to the structure node is obtained; the three-dimensional coordinate of the projection point of the structure node on the outer surface is determined according to the three-dimensional coordinate of the structure node and the cylindrical equation used to represent the arc surface; the ratio of the y component to the x component is calculated according to the x component and the y component in the three-dimensional coordinate of the projection point, and the first included angle between the connecting line between the projection point and the center of the arc surface and the x axis is obtained by using the arctangent function; the x component of the projection point on the two-dimensional development plane of the outer surface of the ring wall is obtained according to the first included angle and the radius corresponding to the arc surface, and the z component in the three-dimensional coordinate of the projection point is taken as the y component of the projection point on the two-dimensional development plane, so as to obtain the two-dimensional new coordinate of the projection point on the two-dimensional development plane, and the position of the structure node on the inner surface on the two-dimensional development plane is determined in the case that the outer surface is taken as the two-dimensional development plane.
[0055] In step 208, the structure node is drawn on the two-dimensional development plane according to the two-dimensional coordinate of the structure node on the two-dimensional development plane.
[0056] Exemplarily, an outer surface of the annular wall is selected as a two-dimensional development plane, and the structural nodes are plotted on the two-dimensional development plane according to two-dimensional coordinates of the structural nodes on the two-dimensional development plane, and it is needed to mark that the structural nodes are located on the inner surface of the annular wall or the structural nodes are located on the outer surface of the annular wall.
[0057] In the method for generating the two-dimensional plan view of the three-dimensional annular wall model of the nuclear island, firstly, the software identifies the annular wall in the three-dimensional annular wall model of the nuclear island and the structural nodes on the annular wall, classifies and records the structural nodes according to the inner and outer surfaces of the annular wall, and obtains the three-dimensional coordinates, structural characteristics and parameters of the structural nodes. Secondly, the outer surface of the annular wall is taken as a development plane, the outer surface can be divided into a plurality of arc surfaces, any arc surface can be represented by a single cylindrical surface equation, in the case that the structural nodes are located on the outer surface of the annular wall, the first included angle between the connecting line between the structural node and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the structural node, then the x component of the structural node on the two-dimensional development plane of the outer surface of the annular wall is obtained according to the first included angle and the corresponding radius of the circumference of the outer surface of the annular wall, and the z component in the three-dimensional coordinates of the structural node is taken as the y component of the structural node on the two-dimensional development plane; in the case that the structural nodes are located on the inner surface of the annular wall, the three-dimensional coordinates of the projection point of the structural node on the outer surface are determined according to the three-dimensional coordinates of the structural node, then the second included angle between the connecting line between the projection point and the center of the annular wall and the x-axis is obtained according to the x component and the y component in the three-dimensional coordinates of the projection point, so as to obtain the x component of the projection point on the two-dimensional development plane of the outer surface according to the second included angle and the corresponding radius of the circumference of the outer surface, and the z component in the three-dimensional coordinates of the projection point is taken as the y component of the structural node on the two-dimensional development plane. Finally, the structural nodes are plotted on the two-dimensional development plane according to the two-dimensional coordinates of the structural nodes on the two-dimensional development plane. Compared with the problems of human errors and low efficiency in the traditional technology that the designers manually extract the geometric information related to the annular wall and perform geometric calculation according to the geometric information to determine the projection position and shape of each part on the two-dimensional plane, the present embodiment automatically identifies various structural characteristics and parameters in the three-dimensional model of the annular wall by the software, and develops the two-dimensional plan view according to the preset rules, which greatly reduces human intervention, effectively reduces the probability of errors, significantly improves the accuracy and generation efficiency of the two-dimensional plan view, and can better adapt to complex structures and engineering requirements and flexibly cope with design changes.
[0058] In one embodiment, the structural nodes include corner points, and identifying the corner points on the annular wall comprises: taking any one contour edge on the annular wall as a starting edge, recording a vertex at one end of the starting edge as a first corner point; and traversing the adjacent contour edges in the extension direction of the starting edge in sequence, and recording the end points of the traversed contour edges that are not recorded as corner points as corner points until the first corner point is traversed back.
[0059] For example, the corner points on the annular wall include corner points on the outer surface of the annular wall and corner points on the inner surface of the annular wall. Taking the outer surface of the annular wall as an example, arbitrarily select one contour edge on the annular wall as the starting edge, and take the vertex at one end of the starting edge as the first corner point. The first corner point can be recorded as corner_point_1, and the coordinates of the corner point in the rectangular coordinate system can be recorded as ( , , Following the sequence of contour edges, continuously search for the next edge. Each time an edge endpoint is encountered, determine whether it is a new corner point. This endpoint is not a shared endpoint. For example, the next contour edge can be determined by the shared vertex relationship between adjacent edges, that is, a vertex of the current contour edge coincides with a vertex of the next contour edge, thereby tracing the entire contour.
[0060] The process of determining whether an endpoint is a new corner point involves checking if it falls within a small neighborhood of already recorded corner points. If not, it's a new corner point. The neighborhood range can be set to a suitable value based on accuracy requirements, such as a very small distance threshold epsilon. If it is a new corner point, its coordinates are recorded, for example, as follows: Repeat this process until the entire contour is traced back to the first corner point of the starting edge, thus forming a closed contour.
[0061] In one embodiment, if the annular wall is a complete annular wall, then the annular wall has only two closed annular contours: an outer ring and an inner ring. When the angle is 0°, the corner coordinates of the ring wall are recorded as the starting edge. These corner coordinates include the coordinates of the outer ring corners and the inner ring corners. It is the angle of the point on the circumference of the base.
[0062] Increase the angle counterclockwise and record the coordinates of the corner points of the annular wall at different angles until the coordinates are recorded. The coordinates of the corner points at 360° form a closed contour, where... The coordinates of the corner point when the angle is 0° and The coordinates of the corner points coincide at 360°. For example, by increasing the coordinates by 30° in a counterclockwise direction, the coordinates of the corner points corresponding to angles such as 0°, 30°, 60°, 90°, and 120° can be recorded.
[0063] In this embodiment, by identifying the coordinates of all corner points of the ring wall and classifying and recording all corner point coordinates according to the inner and outer surfaces, a new two-dimensional coordinate of all corner point coordinates on the unfolded plane can be obtained, thereby accurately drawing a two-dimensional plan view of the ring wall.
[0064] In one embodiment, according to the x component and the y component in the three-dimensional coordinates of the structure node, the first included angle between the line connecting the structure node and the center of the ring wall and the x axis is obtained by calculating the ratio between the y component and the x component in the three-dimensional coordinates of the structure node, and calculating the inverse tangent function value of the ratio; and according to the quadrant in which the x component and the y component are located, the inverse tangent function value is adjusted to obtain the first included angle between the line connecting the structure node and the center of the ring wall and the x axis.
[0065] Exemplarily, the outer surface of the ring wall is taken as the development plane, which can be divided into a plurality of arc surfaces, any one of which can be represented by a single cylindrical equation; the three-dimensional coordinates of the structure node on the outer surface of the ring wall and the three-dimensional coordinates of the projection point of the structure node on the inner surface of the ring wall on the outer surface are obtained; according to the x component and the y component in the three-dimensional coordinates of the structure node, the two-dimensional coordinate components of the structure node are obtained, and further, according to the two-dimensional coordinate components and the center coordinate components of the arc surface corresponding to the structure node, the line connecting the structure node and the center is obtained, and the first included angle formed between the line and the x axis is obtained; the ratio between the x component and the y component in the three-dimensional coordinates of the structure node is calculated, and the inverse tangent function value of the ratio is calculated, and according to the quadrant in which the x component and the y component are located, the inverse tangent function value is adjusted to obtain the angle value of the first included angle.
[0066] In the embodiment, the three-dimensional coordinates of the structure node on the ring wall are obtained, and according to the two-dimensional coordinate components of the three-dimensional coordinates and the center coordinate components of the arc surface corresponding to the structure node, the angle value of the first included angle is obtained, which will be used to calculate the two-dimensional new coordinates of the structure node, so as to accurately draw the two-dimensional development plane view of the entire ring wall according to the two-dimensional new coordinates.
[0067] In one embodiment, the structure node includes a structure accessory, and the two-dimensional coordinates of the structure accessory on the two-dimensional development plane are the two-dimensional coordinates of the center point of the structure accessory; and according to the two-dimensional coordinates of the structure accessory on the two-dimensional development plane, the structure accessory is drawn on the two-dimensional development plane, including: obtaining the size information of the structure accessory; according to the size information and the two-dimensional coordinates, the contour of the structure accessory is drawn; the intersecting axis of the structure accessory is drawn, and the code, model and center angle of the structure accessory are drawn on the intersecting axis.
[0068] The center point of the structural accessory is the volume center of the structural accessory, which depends on the geometric shape and size of the structural accessory. The intersection axis of the structural accessories refers to a spatial intersection line formed according to the respective positioning reference lines of the plurality of structural accessories when the plurality of structural accessories intersect in space. The intersection axis can be used to accurately describe the relative position and direction of the plurality of structural accessories in three-dimensional space. According to the two-dimensional new coordinates of the center point of the structural accessory on the two-dimensional development plane, in combination with the size information of the structural accessory identified by the software, the contour of the structural accessory is drawn, and the intersection axis is drawn according to the center points of the plurality of structural accessories after development on the two-dimensional development plane. Further, the code, model and center angle of the structural accessory are drawn on the intersection axis.
[0069] In this embodiment, by calculating the two-dimensional new coordinates of the center points of the structural accessories on the inner and outer surfaces of the annular wall on the two-dimensional development plane, and the model information of the structural accessories identified by the software, the contour of the structural accessory and the intersection axis are drawn, which can accurately and clearly express the structural accessories and the intersection relationship of the structural accessories in the complex three-dimensional space on the two-dimensional plan.
[0070] In one embodiment, the structural node includes an intersection member, and the two-dimensional coordinates of the intersection member on the two-dimensional development plane are the two-dimensional coordinates of the intersection point between the intersection member and the inner and outer surfaces. According to the two-dimensional coordinates of the intersection member on the two-dimensional development plane, the intersection member is drawn on the two-dimensional development plane, including: obtaining the code information of the intersection member; according to the two-dimensional coordinates, the contour of the intersection point is drawn, and according to the code information, the intersection member is drawn at the drawn intersection point.
[0071] Exemplarily, the intersection member is connected to the inner surface of the annular wall, and then an intersection surface located on the inner surface of the annular wall is obtained. The center point coordinates of the intersection surface are obtained, and the center point is the intersection point of the intersection member and the inner surface of the annular wall. The two-dimensional new coordinates of the center point on the two-dimensional development plane are obtained, and the contour of the intersection point and the code of the intersection member are drawn on the two-dimensional development plane in combination with the code information of the intersection member identified by the software.
[0072] In this embodiment, by calculating the two-dimensional new coordinates of the intersection point of the intersection member on the inner and outer surfaces on the two-dimensional development plane, and the code information of the intersection member identified by the software, the contour of the intersection point and the code of the intersection member are drawn on the two-dimensional development plane, which can accurately and clearly express the intersection relationship between the intersection member and the annular wall in the complex three-dimensional space on the two-dimensional plan.
[0073] In one embodiment, any arc surface of the nuclear island three-dimensional annular wall model is represented by a single cylindrical equation.
[0074] Exemplarily, the outer surface of the annular wall is taken as a developed cylindrical surface, and the outer surface of the annular wall is divided into a plurality of arc surfaces according to the height direction of the annular wall, wherein any arc surface can be represented by a single cylindrical surface equation. For example, the equation of a circle is wherein is the center coordinate of the circle, is the radius of the circle, and the height direction of the annular wall is the direction of the axis of the cylindrical surface.
[0075] In the embodiment, any arc surface of the annular wall is represented by a single cylindrical surface equation, and in the case that the outer surface of the annular wall is taken as a developed cylindrical surface, the structure node on the inner surface of the annular wall can be obtained according to the cylindrical surface equation, the projection point of the structure node on the outer surface of the annular wall is obtained, further, the two-dimensional new coordinate of the structure node on the developed plane is obtained, so that the two-dimensional plane development drawing of the three-dimensional annular wall is accurately drawn.
[0076] As shown in Figure 3 , a specific embodiment is used to illustrate the method for generating the two-dimensional plane drawing of the three-dimensional annular wall model of the nuclear island, which comprises steps 302 to 312. Wherein:
[0077] Step 302, identifying the corner points on the inner and outer surfaces of the annular wall.
[0078] Step 304, selecting the outer surface of the annular wall as the developed plane, dividing the outer surface into a plurality of arc surfaces according to the height direction of the annular wall, and representing any arc surface by a single cylindrical surface equation. Specifically:
[0079] The height direction of the annular wall is the direction of the axis of the cylindrical surface equation, and the equation of the circle is , which is the expression of the cylindrical surface equation when , wherein is the center coordinate of the circle, is the radius of the circle.
[0080] Step 306, converting the coordinates of the corner points on the outer surface of the annular wall into two-dimensional coordinates on the developed plane. Specifically:
[0081] For the corner points on the outer surface of the annular wall, the point is represented as in the rectangular coordinate system, and the point is represented as in the cylindrical coordinate system. Assuming that the central axis of the cylinder coincides with the axis of the coordinate system, the center coordinate of the circle is , then , wherein is the angle of the point on the circumference of the base surface.
[0082] In the development of the planar graph, let the new two-dimensional coordinates be where, is the arc length, corresponding to the direction of the circumference development, i.e. the length direction of the original cylindrical surface; corresponding to the height direction of the cylinder, i.e. the height direction of the original cylindrical surface, then , In addition, because ( is the angle system), , and the circumference length , when changes from 0° to 360°, changes from 0 to , changes from 0 to .
[0083] where, according to the definition of the tangent function and the conversion relationship between polar coordinates and rectangular coordinates, , through the known point coordinate formula and the value of , , the value of is calculated.
[0084] Because the value of corresponds to the radian in the range of , but the point may be located in different quadrants, so it is necessary to determine the accurate value of according to the quadrant where the point is located (is the angle system). Wherein:
[0085] First quadrant : at this time , at the same time record its angle system value, the angle should be in the range of 0° to 90°.
[0086] Second quadrant : calculate , at the same time record its angle system value, the angle should be in the range of 90° to 180°.
[0087] Third quadrant : calculate , at the same time record its angle system value, the angle should be in the angle range of to .
[0088] Fourth quadrant : first calculate , at the same time record its angle system value, the angle should be in the range of to 360°.
[0089] In particular, when , , , correspond to 0°, 90°, 180°, 270° respectively. In addition, the conversion formula is is the angle system).
[0090] Step 308, the projection point of the corner point on the inner surface of the ring wall on the development plane of the outer surface of the ring wall is solved. Specifically:
[0091] Get the three-dimensional coordinates of a corner point (corner_point_x, corner_point_y, corner_point_z), in a two-dimensional plane, with the center of the circle The radial vector equation passing through the corner point (corner_point_x, corner_point_y) from the center of the circle can be written as:
[0092] ,
[0093] ,
[0094] Here the limit is because the corner point is radiated outward from the center of the circle, which can be written in coordinate form as:
[0095]
[0096] Substitute the vector equation into the equation of the circle to get:
[0097] ,
[0098] Simplify to get:
[0099] , that is ,
[0100] Further get:
[0101] ,
[0102] Since , we have:
[0103]
[0104] At this time, there is an intersection point, and the coordinates of this intersection point are:
[0105]
[0106] Substitute the Therefore, the coordinates of the projection point of the corner point on the inner surface on the projection plane of the outer surface are:
[0107]
[0108] Step 310, the coordinates of the projection point are converted into two-dimensional coordinates on the projection plane. Specifically:
[0109] According to the coordinates of the projection point of the corner point on the inner surface of the annular wall on the projection plane of the outer surface , the projection point coordinates are brought into step 306 to obtain the projection point coordinates of the corner point converted into two-dimensional new coordinates on the projection plane , wherein , .
[0110] Step 312, according to the calculated two-dimensional new coordinates, the CAD script is used to draw the projection of the inner and outer surfaces of the annular wall on the projection plane respectively.
[0111] It should be understood that although each step in the flowchart involved in the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in the order indicated by the arrow. Unless otherwise stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps. It can be understood that the steps in different embodiments can be freely combined as needed, and various non-contradictory schemes formed by combination are within the scope of protection of the present application.
[0112] Based on the same inventive concept, the embodiments of the present application also provide a nuclear island three-dimensional annular wall model two-dimensional plane drawing generation device for implementing the nuclear island three-dimensional annular wall model two-dimensional plane drawing generation method described above. The problem-solving implementation scheme provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more nuclear island three-dimensional annular wall model two-dimensional plane drawing generation device embodiments provided below can refer to the limitations of the nuclear island three-dimensional annular wall model two-dimensional plane drawing generation method in the above text, and will not be repeated here.
[0113] In an exemplary embodiment, as Figure 4As shown, a device 400 for generating a two-dimensional planar graph of a nuclear island three-dimensional annular wall model is provided, comprising: an identification module 402, a data calculation module 404, and a drawing module 406, wherein:
[0114] The identification module is configured to identify an annular wall and a structural node on the annular wall in the nuclear island three-dimensional annular wall model.
[0115] The data calculation module is configured to, in a case where the structural node is located on an outer surface of the annular wall, acquire a first included angle between a line connecting the structural node and a center of the annular wall and an x-axis according to an x component and a y component in a three-dimensional coordinate of the structural node, and acquire an x component of the structural node on a two-dimensional development plane of the outer surface of the annular wall according to the first included angle and a corresponding radius of a circumference of the outer surface, and take a z component in the three-dimensional coordinate of the structural node as a y component of the structural node on the two-dimensional development plane.
[0116] The data calculation module is further configured to, in a case where the structural node is located on an inner surface of the annular wall, determine a three-dimensional coordinate of a projection point of the structural node on the outer surface according to the three-dimensional coordinate of the structural node, acquire a second included angle between a line connecting the projection point and the center of the annular wall and the x-axis according to an x component and a y component in the three-dimensional coordinate of the projection point, and acquire an x component of the projection point on the two-dimensional development plane of the outer surface according to the second included angle and the corresponding radius of the circumference of the outer surface, and take a z component in the three-dimensional coordinate of the projection point as a y component of the structural node on the two-dimensional development plane.
[0117] The drawing module is configured to draw the structural node on the two-dimensional development plane according to a two-dimensional coordinate of the structural node on the two-dimensional development plane.
[0118] In one of the embodiments, the structural node comprises a corner point; the identification module is further configured to take any contour edge on the annular wall as a starting edge, record a vertex at one end of the starting edge as a first corner point, traverse the adjacent contour edges in an extension direction of the starting edge, and record an end point of a traversed contour edge that is not recorded as a corner point as a corner point, until the first corner point is reached.
[0119] In one of the embodiments, the data calculation module is further configured to calculate a ratio between the y component and the x component in the three-dimensional coordinate of the structural node, and calculate an inverse tangent function value of the ratio; and adjust the inverse tangent function value according to a quadrant in which the x component and the y component are located, to obtain the first included angle between the line connecting the structural node and the center of the annular wall and the x-axis.
[0120] In one of the embodiments, the structure node comprises a structure accessory, the two-dimensional coordinates of the structure accessory on the two-dimensional development plane are the two-dimensional coordinates of the center point of the structure accessory; the drawing module is further configured to acquire the size information of the structure accessory; according to the size information and the two-dimensional coordinates, the inner and outer surface contours of the structure accessory are drawn; the intersection axis of the structure accessory is drawn, and the code, model and center angle of the structure accessory are drawn on the intersection axis.
[0121] In one of the embodiments, the structure node comprises an intersection member, the two-dimensional coordinates of the intersection member on the two-dimensional development plane are the two-dimensional coordinates of the intersection point between the intersection member and the inner and outer surfaces; the drawing module is further configured to acquire the code information of the intersection member; according to the two-dimensional coordinates, the contour of the intersection point is drawn, and according to the code information, the intersection member is drawn at the drawn intersection point.
[0122] In one of the embodiments, the data calculation module is further configured to represent any curved surface of the nuclear island three-dimensional annular wall model by a single cylindrical surface equation.
[0123] The modules in the device for generating the two-dimensional plan view of the nuclear island three-dimensional annular wall model can be realized by software, hardware and combinations thereof, in whole or in part. The modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory in the computer device in software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.
[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0125] The technical features of the above embodiments can be combined in any manner. To make the description concise, not all possible combinations of the technical features in the above embodiments are described, but as long as the combinations of the technical features do not exist contradictions, they should be considered as the scope of the present application.
[0126] The above-described embodiments are merely illustrative of several embodiments of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the scope of the patent. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.
Claims
1. A method for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island, characterized in that, The method includes: Identify the ring wall and structural nodes on the ring wall in the three-dimensional ring wall model of the nuclear island; When the structural node is located on the outer surface of the annular wall, the first angle between the line connecting the structural node and the center of the annular wall and the x-axis is obtained based on the x and y components of the three-dimensional coordinates of the structural node; based on the first angle and the corresponding radius of the outer circumference of the annular wall, the x component of the structural node on the two-dimensional unfolded plane of the outer surface of the annular wall is obtained, and the z component of the three-dimensional coordinates of the structural node is taken as the y component of the structural node on the two-dimensional unfolded plane. When the structural node is located on the inner surface of the annular wall, the three-dimensional coordinates of the projection point of the structural node on the outer surface are determined according to the three-dimensional coordinates of the structural node; the second angle between the line connecting the projection point and the center of the annular wall and the x-axis is obtained according to the x and y components of the three-dimensional coordinates of the projection point; the x component of the projection point on the two-dimensional unfolded plane of the outer surface is obtained according to the second angle and the corresponding radius of the outer surface circumference, and the z component of the three-dimensional coordinates of the projection point is taken as the y component of the structural node on the two-dimensional unfolded plane; The structural node is drawn on the two-dimensional unfolded plane based on its two-dimensional coordinates.
2. The method according to claim 1, characterized in that, The structural nodes include corner points; identifying corner points on the annular wall includes: Taking any contour edge on the ring wall as the starting edge, record the vertex of one end of the starting edge as the first corner point. Along the extension direction of the starting edge, traverse the adjacent contour edges in turn, and take the endpoint of the contour edge that has been traversed but not recorded as a corner point as the corner point and record it, until the traversal returns to the first corner point.
3. The method according to claim 1, characterized in that, The step of obtaining the line connecting the structural node and the center of the annular wall, and the first angle between the line and the x-axis, based on the x and y components of the three-dimensional coordinates of the structural node, includes: Calculate the ratio between the y-component and the x-component in the three-dimensional coordinates of the structural node, and calculate the arctangent function value of the ratio; Based on the quadrants where the x and y components are located, the arctangent function value is adjusted to obtain the first angle between the line connecting the structural node and the center of the annular wall and the x-axis.
4. The method according to claim 1, characterized in that, The structural node includes a structural attachment, and the two-dimensional coordinates of the structural attachment on the two-dimensional unfolded plane are the two-dimensional coordinates of the center point of the structural attachment; drawing the structural attachment on the two-dimensional unfolded plane according to the two-dimensional coordinates of the structural attachment includes: Obtain the dimensional information of the structural attachment; Based on the dimensional information and the two-dimensional coordinates, draw the inner and outer surface contours of the structural attachment; Draw the intersecting axis of the structural attachment, and draw the code, model number, and center angle of the structural attachment on the intersecting axis.
5. The method according to claim 1, characterized in that, The structural node includes intersecting components, and the two-dimensional coordinates of the intersecting components on the two-dimensional unfolded plane are the two-dimensional coordinates of the intersection points between the intersecting components and the inner and outer surfaces; Based on the two-dimensional coordinates of the intersecting component on the two-dimensional unfolded plane, the intersecting component is drawn on the two-dimensional unfolded plane, including: Obtain the encoding information of the intersecting components; Based on the two-dimensional coordinates, the outline of the intersection point is drawn, and based on the encoding information, the intersecting component is drawn at the drawn intersection point.
6. The method according to claim 1, characterized in that, Any arc surface of the three-dimensional annular wall model of the nuclear island is represented by a single cylindrical equation.
7. A device for generating a two-dimensional plan view of a three-dimensional annular wall model of a nuclear island, characterized in that, The device includes: The identification module is used to identify the ring wall and structural nodes on the ring wall in the three-dimensional ring wall model of the nuclear island; The data calculation module is used to, when the structural node is located on the outer surface of the annular wall, obtain the first angle between the line connecting the structural node and the center of the annular wall and the x-axis based on the x and y components of the three-dimensional coordinates of the structural node; obtain the x component of the structural node on the two-dimensional unfolded plane of the outer surface of the annular wall based on the first angle and the corresponding radius of the outer circumference of the annular wall; and take the z component of the three-dimensional coordinates of the structural node as the y component of the structural node on the two-dimensional unfolded plane. The data calculation module is further configured to, when the structural node is located on the inner surface of the annular wall, determine the three-dimensional coordinates of the projection point of the structural node on the outer surface based on the three-dimensional coordinates of the structural node; obtain the second angle between the line connecting the projection point and the center of the annular wall and the x-axis based on the x and y components of the three-dimensional coordinates of the projection point; obtain the x component of the projection point on the two-dimensional unfolded plane of the outer surface based on the second angle and the corresponding radius of the outer surface circumference, and use the z component of the three-dimensional coordinates of the projection point as the y component of the structural node on the two-dimensional unfolded plane; A drawing module is used to draw the structural node on the two-dimensional unfolded plane according to the two-dimensional coordinates of the structural node on the two-dimensional unfolded plane.
8. The apparatus according to claim 7, characterized in that, The structural nodes include corner points; the identification module is specifically used to take any contour edge on the annular wall as the starting edge, record the vertex of one end of the starting edge as the first corner point, and traverse the adjacent contour edges sequentially along the extension direction of the starting edge, so as to take the endpoint of the contour edge that has been traversed but not recorded as a corner point as the corner point and record it, until the traversal returns to the first corner point.
9. The apparatus according to claim 7, characterized in that, The data calculation module is specifically used to calculate the ratio between the y component and the x component in the three-dimensional coordinates of the structural node, and to calculate the arctangent function value of the ratio; based on the quadrants where the x component and y component are located, the arctangent function value is adjusted to obtain the first angle between the line connecting the structural node and the center of the annular wall and the x-axis.
10. The apparatus according to claim 7, characterized in that, The structural node includes a structural attachment, and the two-dimensional coordinates of the structural attachment on the two-dimensional unfolded plane are the two-dimensional coordinates of the center point of the structural attachment; the drawing module is specifically used to calculate the ratio between the y component and the x component in the three-dimensional coordinates of the structural node, and to calculate the arctangent function value of the ratio; according to the quadrants where the x component and the y component are located, the arctangent function value is adjusted to obtain the first angle between the line connecting the structural node and the center of the annular wall and the x-axis.