A method and device for modifying a model
By distinguishing the display original model and working model on the display interface and drawing the comparison content, the problem in the prior art is difficult to quickly determine whether the pipeline model meets the design requirements after modification, and the design efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202210058116.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-19
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2042-01-19
AI Technical Summary
The prior art is difficult to quickly determine whether the pipeline model meets the design requirements after modification, resulting in low design efficiency.
By distinguishing the display original model and working model in the same display interface, and drawing the comparison content between the two, including structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud diagrams reflecting stress, helping users quickly determine whether the modification meets the design requirements.
Improve design efficiency, allowing users to quickly determine whether the modification meets the design requirements and whether there are improvement effects, thereby improving the accuracy and efficiency of the design.
Smart Images

Figure CN114386130B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of model construction, and in particular to a method and device for modifying a model. Background Art
[0002] In the process of engineering design, it is usually based on an original design model, which is gradually modified, improved, and upgraded to complete a new design model. For complex high-temperature and high-pressure pipeline model design, it is usually necessary to carry out stress calculation analysis and evaluation after the pipeline model is modified. For example, based on an initial model of a set of pipelines, or a similar pipeline model in a completed project, the pipeline model is gradually designed and modified according to new project requirements (such as changes in plant rooms, or changes in equipment connected to the pipeline), and trial calculations are performed to check whether the modified pipeline model meets the design requirements. To determine whether the modification has improved, it is necessary to compare the original model to draw a conclusion, and the content of the comparison is relatively complex. For example, it is necessary to check the impact of the modification on pipeline deformation, the impact of the modification on pipeline stress, the impact of the modification on the thrust of the equipment nozzle, and the impact of the modification on the valve acceleration.
[0003] At present, the analysis and calculation of pipeline design models are generally implemented by computer software with graphic display function, so that users can see various calculation results of pipeline design models, such as displacement, stress, acceleration, thrust, etc. However, the display of these calculation results is independent of each other. After the user modifies the model, it is impossible to intuitively compare the changes in the calculation results of the model before and after the modification, which is not conducive to quickly judging whether the modification meets the design requirements and whether there is any improvement, resulting in low design efficiency. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method and device for model modification in view of the above-mentioned deficiencies in the prior art, so as to facilitate the judgment of whether the modification meets the design requirements and improve the efficiency of model improvement.
[0005] An embodiment of the present invention provides a method for modifying a model, comprising: calling an original model, and distinguishing and displaying two original models on a display interface; performing design modification on one of the original models on the display interface to obtain a working model; respectively obtaining calculation results of the original model and the working model, wherein the calculation results include displacement, thrust, and stress; drawing comparison contents of the original model and the working model on the display interface respectively using the same first scale, wherein the comparison contents include structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud diagrams reflecting stress; confirming whether the working model meets the design requirements based on the display contents of the display interface, and when confirming that the design requirements are met, replacing the original model with the working model to become a new original model, wherein the display contents include the model itself and the comparison contents.
[0006] Preferably, calling the original model and distinguishing and displaying the two original models on the display interface specifically includes: calling the original model and displaying the two original models in the first area and the second area of the display interface respectively.
[0007] Preferably, the use of the same first scale to draw the comparison contents of the original model and the working model on the display interface respectively specifically includes: the first scale includes a first displacement scale, a first thrust scale and a stress cloud map color band scale.
[0008] The structural deformations reflecting displacements of the original model and the working model at the inspection point are plotted in the first area and the second area respectively, wherein the coordinates of the structural deformation of the original model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the original model * the first displacement scale, and the coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the working model * the first displacement scale. The coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied in the working model + the deformation displacement of the working model * the first displacement scale, wherein the first displacement scale = L * first scale
[0009] / Dmax, L is the maximum straight-line distance of the pipeline in the three-dimensional coordinate system, the first ratio is less than 1, and Dmax is the maximum deformation displacement. Arrows reflecting thrust are drawn for the original model and the working model in the first area and the second area respectively, wherein the arrow includes a starting point, a direction, and a magnitude, the end point coordinates of the arrow of the original model = the starting point coordinates of the original model + the thrust value of the original model * the first thrust scale, and the end point coordinates of the arrow of the working model = the starting point coordinates of the working model + the thrust value of the working model * the first thrust scale, wherein the first thrust scale = L * the first ratio / dmax, dmax is the maximum thrust value. Stress cloud maps of the original model and the working model are drawn in the first area and the second area respectively, and both have the same stress cloud map color band scale, and the stress cloud map color band scale is made based on the range of the maximum stress as the scale.
[0010] Preferably, after drawing the comparison contents of the original model and the working model respectively on the display interface with the same first scale, the model modification method further comprises: when performing a control operation on the display content of the original model or the working model, making the control operation act on the original model and the working model at the same time, wherein the control operation comprises zooming the display operation, changing the direction in which the user views, changing the content viewed by the user, moving or rotating the original model or the working model.
[0011] Preferably, after drawing the comparison contents of the original model and the working model respectively on the display interface with the same first scale, and before confirming whether the working model meets the design requirements based on the display contents of the display interface, the model modification method also includes: adjusting the sizes of the original model and the working model and the comparison contents thereof in the display interface, so that the display interface can reasonably display the original model and the working model and the comparison contents thereof.
[0012] Preferably, the adjusting the size of the original model and the working model and the comparison content therebetween in the display interface specifically includes: multiplying the original model and the working model and the comparison content therebetween by a second ratio, wherein the second ratio is less than 1, or multiplying the working model and the comparison content therebetween by a third ratio so that the working model does not exceed the display range of the second area, and at the same time, multiplying the original model and the comparison content therebetween by a third ratio, wherein the third ratio is less than 1.
[0013] Preferably, the displayed content also includes corresponding values or curves of displacement, thrust and stress.
[0014] Preferably, calling the original model and distinguishing and displaying the two original models on the display interface specifically includes: calling the original model and displaying the two completely overlapping original models in two different colors on the display interface, the colors including a first color and a second color.
[0015] Furthermore, an embodiment of the present invention also provides a model modification device, including a display module, an acquisition module, a drawing module and a replacement module.
[0016] The display module is used to call the original model and distinguish and display the two original models on the display interface, and is also used to receive the design modification made to one of the original models on the display interface to display the working model. The acquisition module is connected to the display module and is used to obtain the calculation results of the original model and the working model respectively, wherein the calculation results include displacement, thrust, and stress. The drawing module is connected to the display module and the acquisition module and is used to draw the comparison content of the original model and the working model on the display interface respectively with the same first scale, and the comparison content includes the structural deformation reflecting the displacement, the arrow reflecting the thrust, and the stress cloud map reflecting the stress. The replacement module is connected to the display module and is used to replace the original model with the working model to become the new original model after receiving the confirmation information.
[0017] Preferably, the display module includes a first display unit and a second display unit. The first display unit is used to call the original model and display the original model in a first area of the display interface. The second display unit is used to call the original model and display the original model in a second area of the display interface.
[0018] The model modification method and device of the present invention distinguish and display the original model and the working model on the same display interface, and display the structural deformation reflecting the displacement, the arrow reflecting the thrust, and the stress cloud diagram reflecting the stress in the two models, thereby providing the user with comparison content before and after the modification, so that the user can quickly judge whether the modified design meets the design requirements and whether it has an improvement effect based on the comparison content displayed in real time, thereby improving the design efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A schematic flow chart of a method for modifying a model according to Embodiment 1 of the present invention;
[0020] Figure 2a The original model of the pipeline and its stress distribution diagram displayed in the first area of Example 1 of the present invention;
[0021] Figure 2b The working model of the pipeline and its stress distribution diagram displayed in the second area of Example 1 of the present invention;
[0022] Figure 3a The original model of the pipeline and the arrow schematic diagram corresponding to the thrust thereof displayed in the first area of Example 1 of the present invention;
[0023] Figure 3b A schematic diagram of a working model of a pipeline and arrows corresponding to its thrust displayed in the second area of Embodiment 1 of the present invention;
[0024] Figure 4 A schematic diagram of the structure of a device modified from the model of Example 2 of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0026] Embodiment 1:
[0027] like Figure 1 As shown, this embodiment provides a method for modifying a model, which is illustrated by taking the modification design of an original model of a pipeline as an example. The method for modifying the model includes:
[0028] Step 101, calling the original model, and distinguishing and displaying two original models on the display interface.
[0029] In this embodiment, two original models with exactly the same structure are displayed in different colors or in different areas of the interface, so that two original models can be displayed separately on the display interface. One of the original models is used as a reference model for subsequent comparison, and the other original model is used for design modification based on it. The original model after design modification is called the working model. In this embodiment, the design modification of the pipeline model refers to modifying the structure of the pipeline model, or modifying the pipeline according to changes in the factory room or changes in the equipment connected to the pipeline.
[0030] Optionally, step 101: calling the original model and distinguishing and displaying the two original models on the display interface specifically includes: calling the original model and displaying the two original models in the first area and the second area of the display interface respectively. Figure 2a and Figure 2b They are respectively the first area and the second area arranged horizontally in the same display interface. The arrangement of the first area and the second area includes vertical arrangement, diagonal arrangement and other arrangements that can simultaneously display two different areas in the same display interface.
[0031] Step 102, performing design modification on one of the original models of the display interface to obtain a working model.
[0032] In this embodiment, Figure 2a The original model of the pipeline is shown. Figure 2b The displayed model is the working model of the pipeline obtained by making design modifications to the original model (shortening the length of some of the pipelines). Figure 2a The original model is shown. Figure 2b The working model is displayed. The model before and after modification is displayed in real time on the same display interface, which is conducive to intuitively comparing the changes in the model structure before and after modification.
[0033] Step 103, respectively obtain the calculation results of the original model and the working model, wherein the calculation results include displacement, thrust, and stress.
[0034] In this embodiment, the original model and the working model can be calculated by calling the corresponding software of the calculation results to obtain the corresponding calculation results of the two models. For example, the pipeline calculation software CNPIPE can be called to calculate the two models respectively to obtain the corresponding stress data of the two models. The obtained calculation results can generate corresponding data reports. Among them, only one calculation is required for the original model, and the number of calculations for the working model is determined according to the number of model modifications. The calculation results are not limited to displacement, thrust, and stress, but can also include pipeline mass, acceleration of mass points, etc.
[0035] Step 104 , using the same first scale to draw the comparison contents of the original model and the working model on the display interface, respectively. The comparison contents include structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud diagrams reflecting stress.
[0036] In this embodiment, to determine whether the model has been improved, it is necessary to compare the corresponding calculation results of the original model and the working model. In order to facilitate intuitive comparison of the calculation results, structural deformation is used to reflect the change of displacement, arrows (arrows have starting points, directions, and sizes) are used to reflect the change of thrust (thrust is a vector), and stress cloud diagrams are used to reflect the change of stress. Figure 2a , Figure 2b As shown, according to the calculation results of the original model and the working model, corresponding stress cloud maps (stress cloud maps are usually in color) are drawn on the original model and the working model, and the maximum stress value at the location where the stress of the pipeline model is the largest is also displayed.
[0037] Optionally, step 104: using the same first scale to draw the comparison content of the original model and the working model on the display interface, specifically including: the first scale includes a first displacement scale, a first thrust scale and a stress cloud map color band scale. The structural deformation of the reaction displacement of the original model and the working model at the inspection point is drawn in the first area and the second area respectively, wherein the coordinates of the structural deformation of the original model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the original model * the first displacement scale, and the coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the working model * the first displacement scale. The coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point in the working model + the deformation displacement of the working model * the first displacement scale, wherein the first displacement scale = L * first ratio / Dmax, L is the maximum value of the straight-line distance of the pipeline in the three-dimensional coordinate system, the first ratio is less than 1, and Dmax is the maximum value of the deformation displacement. Draw arrows reflecting thrust of the original model and the working model in the first area and the second area respectively, wherein the arrows include a starting point, a direction and a size, the end point coordinates of the arrow of the original model = the starting point coordinates of the original model + the thrust value of the original model * the first thrust scale, and the end point coordinates of the arrow of the working model = the starting point coordinates of the working model + the thrust value of the working model * the first thrust scale, wherein the first thrust scale = L * the first scale / dmax, dmax is the maximum thrust value. Draw stress cloud maps of the original model and the working model in the first area and the second area respectively, and both have the same stress cloud map color band scale, and the stress cloud map color band scale is made based on the range of the maximum stress as the scale.
[0038] In this embodiment, since the change value of the comparison content (structural deformation, arrows reflecting thrust, etc.) between the original model and the working model is much smaller than the actual length of the pipeline (or the size of the model structure itself), in order to display the comparison content more prominently to the user, so that the user can quickly make a judgment on whether the improvement is made based on the change value of the comparison content displayed in real time, the comparison content of the original model and the working model are respectively drawn on the display interface with the same first scale, which is essentially amplifying the comparison content. Among them, the inspection point refers to a point position of the pipeline that the user needs to view. Specifically, this embodiment takes a vertical straight pipe with an actual length of 30 meters as an example. When drawing the original model of the straight pipe, the endpoint coordinates of the original model before deformation are set to a (0, 0) and b (0, 30). Under the action of a certain force, the endpoints of the straight pipe have displacement changes, and the horizontal coordinate deformation of point b is 0.08 meters. Therefore, the endpoint coordinates of the original model after deformation are a' (0, 0) and b' (0.08, 30). The original model is modified by designing and lengthening the actual length of the straight pipe by 2 meters. The coordinates of the endpoints of the working model before deformation are A(0,0) and B(0,32). Under the action of a certain force, the endpoints of the straight pipe also undergo displacement changes, and the horizontal coordinate deformation of point B is 0.09 meters. Therefore, the coordinates of the endpoints of the working model after deformation are A'(0,0) and B'(0.09,32). The coordinate values of the two models to be displayed are calculated. First, determine the maximum value of the deformation displacement in the original model (such as 0.08 meters) at which the observation effect is best when drawn on the display interface. For example, determine that the maximum value of the deformation displacement is drawn according to 1 / 20 of the display interface (that is, the first scale is 1 / 20, and the value of the first scale can be set according to user needs) to achieve the best observation effect for users. Otherwise, the deformation is too small and will not be easily observed by users. First, calculate the first displacement scale of the model. According to the original model length L = 30 meters and the maximum value of the deformation displacement Dmax = 0.08 meters, the first displacement scale = L / 20 / Dmax = 30 / 20 / 0.08 = 18.75. The endpoint coordinates of the original model before deformation are a(0,0) and b(0,30), and the endpoint coordinates of the original model after deformation are a'(0.0,0.0) and b'(0.08*18.75,30.0) = (1.5,30.0). Then, calculate the coordinates of the working model after deformation based on this first displacement scale. The endpoint coordinates of the working model before deformation are A(0,0) and B(0,32), and the endpoint coordinates of the working model after deformation are A'(0.0,0.0) and B'(0.09*18.75,32) = (1.6875,32). Draw the model corresponding to the above coordinates in the corresponding display interface according to a certain scale. The above results are the displacement deformation before and after the model is modified, and the deformation diagram is obtained by magnifying the displacement to a level that can be easily observed by the user. The arrows reflecting the thrust are processed with reference to the structural deformation reflecting the displacement in this embodiment. Figure 2a , Figure 2b As shown in FIG. 1 , when the user views the stress cloud map of the original model and the working model, the first area and the second area use the same stress cloud map color scale, and in this embodiment, the stress cloud map color scale is made based on the maximum stress value (44.56) as the scale range. Figure 3a , Figure 3b As shown, when the user views the arrows reflecting thrust of the original model and the working model, the comparison content of the arrows displayed in the first area and the second area is drawn according to the same first thrust scale. Figure 3a , Figure 3b The arrows shown are Figure 2a , Figure 2b The stress contours shown are on the same model, i.e. Figure 2a The stress cloud diagram can be displayed on the original model, and the arrow reflecting the thrust can also be displayed.
[0039] Step 105, confirming whether the working model meets the design requirements based on the display content of the display interface, and replacing the original model with the working model to become a new original model when it is confirmed that the design requirements are met, wherein the display content includes the model itself and the comparison content.
[0040] In this embodiment, from Figure 2a , Figure 2b The stress cloud diagram and 3a, Figure 3b By comparing the arrows, we can see that after shortening the length of a part of the original model, the stress at the pipe bend is reduced and the thrust at the pipe end is also reduced, which meets the user's design requirements of reducing stress and thrust. When the working model meets the design requirements, the working model replaces the original model to become the new original model, which is convenient for further design modification. When the working model does not meet the design requirements, continue to modify the original model.
[0041] Optionally, the displayed content also includes corresponding values or curves of displacement, thrust and stress.
[0042] Optionally, in step 104: after drawing the comparison contents of the original model and the working model respectively on the display interface with the same first scale, the model modification method further includes: when performing a control operation on the display content of the original model or the working model, the control operation is simultaneously applied to the original model and the working model, wherein the control operation includes zooming the display operation, changing the direction in which the user views, changing the content viewed by the user, and moving or rotating the original model or the working model.
[0043] In this embodiment, when the user Figure 2b The inspection point of the working model in the magnified display operation is performed to facilitate the visualization of the stress value of the inspection point. Figure 2aThe same observation points in the original model are also enlarged and displayed. Because the stress values are 44.56 and 38.06 respectively, there is a clear difference in the color of the elbow point representing the stress.
[0044] Optionally, after drawing the comparison contents of the original model and the working model respectively on the display interface with the same first scale, and before confirming whether the working model meets the design requirements based on the display contents of the display interface, the model modification method also includes: adjusting the sizes of the original model and the working model and the comparison contents therebetween in the display interface, so that the display interface can reasonably display the original model and the working model and the comparison contents therebetween.
[0045] Optionally, the sizes of the original model and the working model and the comparison contents therebetween in the display interface are adjusted, specifically including: multiplying the original model and the working model and the comparison contents therebetween by a second ratio, wherein the second ratio is less than 1, or multiplying the working model and the comparison contents therebetween by a third ratio so that the working model does not exceed the display range of the second area, and at the same time, multiplying the original model and the comparison contents therebetween by a third ratio, wherein the third ratio is less than 1.
[0046] In this embodiment, when the working model may exceed the display range of the second area, for example, Figure 2aThe length of part of the pipeline of the original model shown is lengthened, but the display of the working model after the lengthening process may exceed the display range of the second area, so the size of the original model and the working model and the comparison content of the two can be adjusted in the display interface so that both the original model and the working model are presented within the area of the display interface. For example, in the above embodiment, the vertically placed straight pipe with an actual length of 30 meters is resized in the display interface with the lower left corner (0.0, 0.0) and the upper right corner (1.0, 1.0). The endpoint coordinates of the original model before deformation are a (0, 0) and b (0, 30), and the endpoint coordinates of the original model after deformation are adjusted are a' (0.0, 0.0) and b' (1.5, 30.0), the endpoint coordinates of the working model before deformation are A (0, 0) and B (0, 32), and the endpoint coordinates of the working model after deformation are adjusted are A' (0.0, 0.0) and B' (1.6875, 32). If the second ratio is selected as 0.025 (that is, the second ratio = 1 / L*f = 1 / 30*0.75 = 0.025, f is less than 1, and the values of f and the second ratio can be set according to user needs), the coordinates of the original model before deformation after adjustment are: a(0.0, 0.0), b(0.0, 0.75), where 0.75 = 30*0.025, and the coordinates of the original model after deformation are: a'(0.0, 0.0), b'(0.0375, 0.75), where 0.0375 = 1.5*0.025. After adjustment, the coordinates of the working model before deformation are: A(0.0, 0.0), B(0.0, 0.8), and the coordinates of the working model after deformation are: A'(0.0, 0.0), B'(0.0422, 0.8), where 0.8=32*0.025, 0.0422=1.6875*0.025. The method of using the second ratio makes the number of adjustments to the original model 1, but this method may still cause the modified working model to exceed the range of the display interface. Therefore, it is also possible to multiply the working model and its comparison content by the third ratio first, so that the working model does not exceed the display range of the second area, and then multiply the original model and its comparison content by the third ratio at the same time. The method of using the third ratio makes it necessary to adjust the original model for each modification, but it can ensure that the working model is always within the range of the display interface. The value of the third ratio can be set according to user needs. It should be noted that the size of the working model of this embodiment is larger than the size of the original model.
[0047] Optionally, calling the original model and distinguishing and displaying the two original models on the display interface specifically includes: calling the original model and displaying the two completely overlapping original models in two different colors on the display interface, the colors including a first color and a second color, for example, the first color and the second color are two different translucent colors.
[0048] In this embodiment, the original model and its structural deformation reflecting displacement, arrows reflecting thrust, etc. are drawn with semi-transparent color (or black), and the working model and its structural deformation reflecting displacement, arrows reflecting thrust, etc. are drawn with actual color (or red).
[0049] The model modification method of this embodiment provides comparison content to the user by respectively displaying the original model and the working model in two areas of the same display interface (or displaying the original model and the working model in the same area in different colors), and displaying the structural deformation reflecting the displacement, the arrow reflecting the thrust, and the stress cloud diagram reflecting the stress in the two models, so as to facilitate the user to quickly determine whether the design modification meets the design requirements according to the comparison content displayed in real time, thereby improving the design efficiency.
[0050] Furthermore, to prevent the working model from exceeding the display range of the second area, the original model and the working model are resized accordingly. In order to present the comparison content more prominently to the user, the scales of the deformation reflecting the displacement, the arrows reflecting the thrust, and the stress cloud diagram reflecting the stress are also adjusted accordingly. In addition, the method facilitates the comparison of complex design modifications. If a load cause may cause two related or even opposing effects, for example, the typical case is that for the same design, the temperature load response and the seismic load response are contradictory. The softer the system is, the more beneficial it is to the temperature load, while for the seismic load, the more rigid the system is, the more beneficial it is. In this case, the design of a pipeline system requires repeated modification, trial calculation, and comparison inspection. The model modification method of the embodiment can quickly determine whether the modification is retained or abandoned.
[0051] Embodiment 2:
[0052] like Figure 4 As shown, this embodiment provides a model modification device, including a display module 41, an acquisition module 42, a drawing module 43 and a replacement module 44.
[0053] The display module 41 is used to call the original model and distinguish and display the two original models on the display interface, and is also used to receive the design modification made to one of the original models on the display interface to display the working model.
[0054] The acquisition module 42 is connected to the display module 41 and is used to respectively acquire the calculation results of the original model and the working model, wherein the calculation results include displacement, thrust, and stress. For the original model, the calculation results only need to be acquired once.
[0055] The drawing module 43 is connected to the display module 41 and the acquisition module 42, and is used to draw the comparison content of the original model and the working model on the display interface respectively using the same first scale, and the comparison content includes structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud maps reflecting stress.
[0056] The replacement module 44 is connected to the display module 41 and is used to replace the original model with the working model to become a new original model after receiving the confirmation information.
[0057] Optionally, the display module includes a first display unit and a second display unit.
[0058] The first display unit is used to call the original model and display the original model in the first area of the display interface.
[0059] The second display unit is used to call the original model and display the original model in the second area of the display interface.
[0060] Optionally, the drawing module includes a first drawing unit, a second drawing unit and a third drawing unit.
[0061] The first drawing unit is used to draw the structural deformation of the original model and the working model at the inspection point in the first area and the second area respectively, wherein the coordinates of the structural deformation of the original model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the original model * the first displacement scale, the coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the working model * the first displacement scale, the coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point in the working model + the deformation displacement of the working model * the first displacement scale, wherein the first displacement scale = L * first scale / Dmax, L is the maximum value of the straight-line distance of the pipeline in the three-dimensional coordinate system, the first scale is less than 1, and Dmax is the maximum value of the deformation displacement.
[0062] The second drawing unit is used to draw arrows of the original model and the working model in the first area and the second area respectively, wherein the arrows include a starting point, a direction and a size, the end point coordinates of the arrow of the original model = the starting point coordinates of the original model + the thrust value of the original model * the first thrust scale, and the end point coordinates of the arrow of the working model = the starting point coordinates of the working model + the thrust value of the working model * the first thrust scale, wherein the first thrust scale = L * the first scale / dmax, and dmax is the maximum value of the thrust value.
[0063] The third drawing unit is used to draw stress cloud maps of the original model and the working model in the first area and the second area respectively, and the two have the same stress cloud map color band scale, and the stress cloud map color band scale is made based on the range of the maximum stress value as the scale.
[0064] Optionally, the model modification device also includes a control operation module, which is connected to the first display unit and the second display unit and is used to perform control operations on the display content of the original model or the working model, so that the control operations act on the original model and the working model at the same time, wherein the control operations include zooming the display, changing the direction in which the user views, changing the content viewed by the user, moving or rotating the original model and / or the working model.
[0065] Optionally, the model modification device further comprises an adjustment module, which is used to adjust the size of the original model and the working model and the comparison content thereof in the display interface, so that the display interface reasonably displays the original model and the working model and the comparison content thereof.
[0066] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for modifying a model, characterized in that: include: Call the original model and distinguish and display the two original models on the display interface; Performing design modifications on one of the original models of the display interface to obtain a working model; Obtaining the calculation results of the original model and the working model respectively, wherein the calculation results include displacement, thrust, and stress; Using the same first scale, respectively draw the comparison contents of the original model and the working model on the display interface, wherein the comparison contents include structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud diagrams reflecting stress; According to the display content of the display interface, it is confirmed whether the working model meets the design requirements, and when it is confirmed that the design requirements are met, the working model replaces the original model to become a new original model, wherein the display content includes the model itself and the comparison content.
2. The model modification method according to claim 1, characterized in that: The calling of the original model and distinguishing and displaying the two original models on the display interface specifically includes: The original model is called, and two original models are displayed in the first area and the second area of the display interface respectively.
3. The model modification method according to claim 2, characterized in that: Drawing the comparison contents of the original model and the working model respectively on the display interface using the same first scale specifically includes: The first scale includes the first displacement scale, the first thrust scale and the stress cloud map color ribbon scale. The structural deformation of the reaction displacement of the original model and the working model at the inspection point is plotted in the first area and the second area respectively, wherein the coordinates of the structural deformation of the original model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the original model * the first displacement scale, and the coordinates of the structural deformation of the working model after the load is applied at the inspection point = the coordinates of the inspection point before the load is applied + the deformation displacement of the working model * the first displacement scale, The coordinates of the structure of the working model after the load is applied at the inspection point after deformation = the coordinates of the inspection point in the working model + the deformation displacement of the working model * the first displacement scale, where the first displacement scale = L * the first ratio / Dmax, L is the maximum value of the straight-line distance of the pipeline in the three-dimensional coordinate system, the first ratio is less than 1, and Dmax is the maximum value of the deformation displacement. Arrows of the reaction thrust of the original model and the working model are drawn in the first area and the second area respectively, wherein the arrows include a starting point, a direction and a size, the end point coordinates of the arrow of the original model = the starting point coordinates of the original model + the thrust value of the original model * the first thrust scale, the end point coordinates of the arrow of the working model = the starting point coordinates of the working model + the thrust value of the working model * the first thrust scale, wherein the first thrust scale = L * the first scale / dmax, dmax is the maximum thrust value, The stress cloud maps of the original model and the working model are drawn in the first area and the second area respectively. The two have the same stress cloud map color band scale. The stress cloud map color band scale is made based on the range of the maximum stress value as the scale.
4. The model modification method according to claim 1, characterized in that: After respectively drawing the comparison contents of the original model and the working model on the display interface using the same first scale, the method further includes: When the display content of the original model or the working model is controlled, the control operation is applied to both the original model and the working model at the same time, wherein the control operation includes zooming the display, changing the direction in which the user is viewing, changing the content viewed by the user, and moving or rotating the original model or the working model.
5. The model modification method according to claim 1, characterized in that: After drawing the comparison contents of the original model and the working model on the display interface respectively using the same first scale, and before confirming whether the working model meets the design requirements according to the display contents of the display interface, the method further includes: The sizes of the original model, the working model and the comparison contents therebetween in the display interface are adjusted so that the display interface can reasonably display the original model, the working model and the comparison contents therebetween.
6. The model modification method according to claim 5, characterized in that: The adjusting the sizes of the original model and the working model and the comparison contents thereof in the display interface specifically includes: The original model and the working model and the comparison contents thereof are all multiplied by a second ratio, wherein the second ratio is less than 1, or, The working model and its comparison content are both multiplied by a third ratio so that the working model does not exceed the display range of the second area. At the same time, the original model and its comparison content are both multiplied by the third ratio, wherein the third ratio is less than 1.
7. The model modification method according to any one of claims 1 to 6, characterized in that: The displayed content also includes the corresponding values or curves of displacement, thrust and stress.
8. The model modification method according to any one of claims 1, 4-6, characterized in that: The calling of the original model and distinguishing and displaying the two original models on the display interface specifically includes: The original model is called, and two completely overlapping original models are displayed in two different colors on the display interface, where the colors include a first color and a second color.
9. A device for model modification, characterized in that: Including display module, acquisition module, drawing module and replacement module, The display module is used to call the original model and distinguish and display the two original models on the display interface, and is also used to receive the design modification made on one of the original models on the display interface to display the working model. The acquisition module is connected to the display module and is used to obtain the calculation results of the original model and the working model respectively, wherein the calculation results include displacement, thrust, and stress. A drawing module is connected to the display module and the acquisition module, and is used to draw the comparison content of the original model and the working model on the display interface respectively using the same first scale, wherein the comparison content includes structural deformation reflecting displacement, arrows reflecting thrust, and stress cloud diagrams reflecting stress. The replacement module is connected to the display module and is used to replace the original model with the working model to become a new original model after receiving the confirmation information.
10. The model modification device according to claim 9, characterized in that: The display module includes a first display unit and a second display unit. The first display unit is used to call the original model and display the original model in the first area of the display interface. The second display unit is used to call the original model and display the original model in the second area of the display interface.
Citation Information
Patent Citations
Three-dimensional assembly model version comparison system and method based on Creo software
CN112163295A
Information processing apparatus, information processing method, and storage medium
US20190332881A1