Method, system and electronic device for converting wall hole model into quantity calculation model

By converting the wall hole model into a calculation model, distinguishing and processing the intersection range of positive and negative components, the calculation error problem of hole-with-hole components in the PDMS design model is solved, and accurate engineering volume calculation is achieved.

CN114037135BActive Publication Date: 2024-12-10CHINA NUCLEAR POWER ENGINEERING COMPANY LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111290811.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-12-10
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

In the PDMS design model, components with holes lead to calculation errors during engineering quantity calculation, because the "lost" part and the unintersected negative entity components are all calculated, resulting in errors in the calculation result.

Method used

Provide a method of converting wall hole model to calculation model. By obtaining the model to be converted, determining the component data export method, generating an SFC data file, and using a preset method to generate a calculation model based on the file, distinguishing between positive and negative components and Its intersection range is retained only the intersection part for conversion.

Benefits of technology

Ensure the correctness of engineering quantity calculation, avoiding all positive and negative components being calculated according to actual calculations, and improving the accuracy of calculation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114037135B_ABST
    Figure CN114037135B_ABST
Patent Text Reader

Abstract

The present invention relates to a method, system and electronic device for converting a wall hole model into a quantity calculation model, comprising the following steps: obtaining a wall hole model to be converted; determining a component data export mode of the wall hole model according to the wall hole model; converting based on the component data export mode to obtain an SFC data file; and generating a wall hole quantity calculation model using a preset method according to the SFC data file. The present invention correctly converts components with holes into a quantity calculation model without affecting the model design work, avoids all positive and negative components of the wall hole model being calculated as real when performing engineering quantity calculation, and ensures the correctness of the engineering quantity calculation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of engineering quantity calculation of nuclear power plant projects, and more specifically, to a method, system and electronic equipment for converting a wall hole model into a quantity calculation model. Background Art

[0002] In the modeling specification of the PDMS design model, components with holes will use a combination of positive entity components (indicating default display) and negative entity components (indicating default hiding), and the intersecting parts will be "hollowed out" to form the appearance model of the component. The length of the negative entity is not limited, but the unintersected part is not displayed. According to this modeling method of PDMS, there is no impact on the display and design drawing of the positive entity components of the design model. However, when all intersecting components are exported, the engineering quantities of all positive and negative components are calculated based on the actual situation. However, in fact, the "hollowed out" part and the unintersected part of the negative entity should not be calculated, which causes errors in the engineering quantity calculation (hereinafter referred to as calculation) results, resulting in calculation errors. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method, system and electronic equipment for converting a wall hole model into a quantity calculation model in view of the existing defects.

[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a method for converting a wall hole model into a quantity calculation model, comprising the following steps:

[0005] Get the wall hole model to be converted;

[0006] Determining a method for exporting component data of the wall hole model according to the wall hole model;

[0007] Convert based on the component data export method to obtain an SFC data file;

[0008] A wall hole quantity calculation model is generated according to the SFC data file using a preset method.

[0009] In the method for converting a wall hole model into a quantity calculation model according to the present invention, the method further includes:

[0010] Before obtaining the wall hole model to be converted, determining whether a quantity calculation data generation instruction has been received;

[0011] If yes, receiving the quantity calculation data generation instruction;

[0012] According to the quantity calculation data generation instruction, a wall hole model corresponding to the quantity calculation data generation instruction is obtained.

[0013] In the method for converting a wall hole model into a quantity calculation model according to the present invention, the step of obtaining a wall hole model corresponding to the quantity calculation data generation instruction according to the quantity calculation data generation instruction includes:

[0014] Acquire a drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction;

[0015] The wall hole model is obtained according to the drawing identification.

[0016] In the method for converting a wall hole model into a quantity calculation model according to the present invention, the method further includes:

[0017] The quantity calculation data generation instruction is generated according to the quantity calculation model conversion operation instruction triggered by the user;

[0018] Alternatively, the quantity calculation data generation instruction is triggered after the wall hole model is approved.

[0019] In the method for converting a wall hole model into a quantity calculation model of the present invention, the method for exporting component data of the wall hole model according to the wall hole model includes:

[0020] Acquiring component data of the wall hole model;

[0021] Determining the categories to which all components of the wall hole model belong according to the component data;

[0022] The component data export method is determined based on the categories to which all components of the wall hole model belong.

[0023] In the method for converting a wall hole model into a quantity calculation model of the present invention, the conversion based on the component data export method to obtain an SFC data file includes:

[0024] Based on the categories to which all components of the wall hole model belong, determining the correspondence between the categories and the conversion methods;

[0025] Determining the conversion methods of all elements of the wall hole according to the correspondence between the class and the conversion method;

[0026] All the components of the wall hole model are converted according to the conversion method of all the components of the wall hole to obtain the SFC data file.

[0027] In the method for converting a wall hole model into a quantity calculation model described in the present invention, the SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model.

[0028] In the method for converting a wall hole model into a quantity calculation model according to the present invention, the step of generating a wall hole quantity calculation model according to the SFC data file by using a preset method includes:

[0029] Obtaining categories of all components of the wall hole model in the SFC data file;

[0030] According to the categories of all the components, determining whether the category of each of the components is a preset category;

[0031] If yes, then obtain the positive and negative relationship between the two intersecting elements among all the elements;

[0032] The wall hole quantity calculation model is generated according to the positive and negative relationship between the two intersecting elements.

[0033] In the method for converting a wall hole model into a quantity calculation model according to the present invention, generating the quantity calculation model according to the positive and negative relationship of the two intersecting elements includes:

[0034] Get the positive and negative types of the two intersecting elements;

[0035] Determine the positive element and the negative element according to the positive and negative types of the two intersecting elements;

[0036] Obtaining the intersection range of the positive element and the negative element;

[0037] The wall hole quantity calculation model is generated based on the intersection range of the positive element and the negative element.

[0038] In the method for converting a wall hole model into a quantity calculation model according to the present invention, generating the wall hole quantity calculation model based on the intersection range of the positive element and the negative element includes:

[0039] Based on the intersection range of the positive element and the negative element, determining the area of ​​the negative element within the intersection range;

[0040] Retain the area of ​​the negative element within the intersection range, and remove the area of ​​the negative element outside the intersection range;

[0041] The negative element is converted in the area within the intersection range to generate the wall hole quantity calculation model.

[0042] In the method for converting a wall hole model into a quantity calculation model according to the present invention, the method further includes:

[0043] Determine whether a calculation request instruction is received;

[0044] If so, obtaining the SFC data corresponding to the calculation request instruction in the SFC data file according to the calculation request instruction;

[0045] Generate a wall hole quantity calculation model according to the SFC data;

[0046] The engineering quantity calculation is performed according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data.

[0047] The present invention also provides a system for converting a wall hole model into a quantity calculation model, comprising: a three-dimensional collaborative design module and a nuclear power project engineering quantity calculation module;

[0048] The three-dimensional collaborative design module is used for users to perform three-dimensional collaborative design to generate wall hole models and form a wall hole model library;

[0049] The nuclear power project engineering quantity calculation module is used for:

[0050] Get the wall hole model to be converted;

[0051] Determining a method for exporting component data of the wall hole model according to the wall hole model;

[0052] Convert based on the component data export method to obtain an SFC data file;

[0053] A wall hole quantity calculation model is generated according to the SFC data file using a preset method.

[0054] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is also used for:

[0055] Before obtaining the wall hole model to be converted, determining whether a quantity calculation data generation instruction has been received;

[0056] If yes, receiving the quantity calculation data generation instruction;

[0057] According to the quantity calculation data generation instruction, a wall hole model corresponding to the quantity calculation data generation instruction is obtained.

[0058] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0059] Acquire a drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction;

[0060] The wall hole model is obtained according to the drawing identification.

[0061] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0062] The quantity calculation data generation instruction is triggered according to the quantity calculation model conversion operation instruction triggered by the user;

[0063] Alternatively, the status of the wall hole model is monitored, and the quantity calculation data generation instruction is triggered after the wall hole model is approved.

[0064] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0065] Acquiring component data of the wall hole model;

[0066] Determining the categories to which all components of the wall hole model belong according to the component data;

[0067] The component data export method is determined based on the categories to which all components of the wall hole model belong.

[0068] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0069] Based on the categories to which all components of the wall hole model belong, determining the correspondence between the categories and the conversion methods;

[0070] Determining the conversion methods of all elements of the wall hole according to the correspondence between the class and the conversion method;

[0071] All the components of the wall hole model are converted according to the conversion method of all the components of the wall hole to obtain the SFC data file.

[0072] In the system for converting a wall hole model into a quantity calculation model of the present invention, the SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model.

[0073] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0074] Obtaining categories of all components of the wall hole model in the SFC data file;

[0075] According to the categories of all the components, determining whether the category of each of the components is a preset category;

[0076] If yes, then obtain the positive and negative relationship between the two intersecting elements among all the elements;

[0077] The wall hole quantity calculation model is generated according to the positive and negative relationship between the two intersecting elements.

[0078] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0079] Get the positive and negative types of the two intersecting elements;

[0080] Determine the positive element and the negative element according to the positive and negative types of the two intersecting elements;

[0081] Obtaining the intersection range of the positive element and the negative element;

[0082] The wall hole quantity calculation model is generated based on the intersection range of the positive element and the negative element.

[0083] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is specifically used for:

[0084] Based on the intersection range of the positive element and the negative element, determining the area of ​​the negative element within the intersection range;

[0085] retaining the area of ​​the negative element within the intersection range, and removing the area of ​​the negative element outside the intersection range;

[0086] The negative element is converted in the area within the intersection range to generate the wall hole quantity calculation model.

[0087] In the wall hole model to quantity calculation model conversion system of the present invention, the nuclear power project engineering quantity calculation module is also used for:

[0088] Determine whether a quantity calculation request instruction is received;

[0089] If so, obtaining the SFC data corresponding to the calculation request instruction in the SFC data file according to the calculation request instruction;

[0090] Generate a wall hole quantity calculation model according to the SFC data;

[0091] The engineering quantity calculation is performed according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data.

[0092] The present invention also provides an electronic device, comprising: a memory and a processor;

[0093] The memory is used to store computer programs;

[0094] The processor is used to execute the computer program to implement the above-mentioned method of converting the wall hole model into the quantity calculation model.

[0095] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor processes the steps of the above-mentioned method for converting the wall hole model into the quantity calculation model.

[0096] The method, system and electronic device for converting a wall hole model to a quantity calculation model according to the present invention have the following beneficial effects: comprising the following steps: obtaining a wall hole model to be converted; determining a component data export mode of the wall hole model according to the wall hole model; converting based on the component data export mode to obtain an SFC data file; and generating a wall hole quantity calculation model according to a preset method according to the SFC data file. The present invention correctly converts components with holes into a quantity calculation model without affecting the model design work, avoids all positive and negative components of the wall hole model being calculated as real when performing engineering quantity calculation, and ensures the correctness of the engineering quantity calculation result. BRIEF DESCRIPTION OF THE DRAWINGS

[0097] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0098] Figure 1 It is a flow chart of a first embodiment of a method for converting a wall hole model into a quantity calculation model provided by the present invention;

[0099] Figure 2 It is a flow chart of Embodiment 2 of the method for converting a wall hole model into a quantity calculation model provided by the present invention;

[0100] Figure 3 It is a principle block diagram of the system for converting a wall hole model into a quantity calculation model provided by the present invention. DETAILED DESCRIPTION

[0101] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0102] refer to Figure 1 , which is a flow chart of the first embodiment of the method for converting a wall hole model to a quantity calculation model provided by the present invention. The method can be used to correct the export process of components with holes (wall hole models) in the PDMS design model according to the specification of the quantity calculation model, so that the quantity calculation model of the components with hole elements is correct, thereby accurately obtaining the quantity calculation results of the components. Among them, the method is applicable to the engineering quantity calculation of nuclear power projects, and is also applicable to other construction projects, such as civil construction projects, other process plant projects, etc.

[0103] Specifically, Figure 1 As shown, the method for converting the wall hole model into the quantity calculation model includes the following steps:

[0104] Step S101: Obtain a wall hole model to be converted.

[0105] In some embodiments, before obtaining the wall hole model to be converted, it is determined whether a quantity calculation data generation instruction is received; if so, the quantity calculation data generation instruction is received; and according to the quantity calculation data generation instruction, the wall hole model corresponding to the quantity calculation data generation instruction is obtained.

[0106] Optionally, in some embodiments, acquiring the wall hole model corresponding to the quantity calculation data generation instruction according to the quantity calculation data generation instruction includes: acquiring the drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction; acquiring the wall hole model according to the drawing identifier. It can be understood that the drawing identifier is a unique identifier for identifying the wall hole model, and therefore, the corresponding wall hole model can be uniquely identified in the model library of the three-dimensional collaborative design module 301 according to the drawing identifier.

[0107] Optionally, in an embodiment of the present invention, the quantity calculation data generation instruction is generated based on the quantity calculation model conversion operation instruction triggered by the user.

[0108] Alternatively, in some other embodiments, the quantity calculation data generation instruction is triggered after the wall hole model is approved.

[0109] Step S102: Determine a method for exporting component data of the wall hole model according to the wall hole model.

[0110] In some embodiments, determining a method for exporting component data of a wall hole model based on a wall hole model includes: obtaining component data of the wall hole model; determining, based on the component data, the categories to which all components of the wall hole model belong; and determining a method for exporting component data based on the categories to which all components of the wall hole model belong.

[0111] Step S103: convert based on the component data export method to obtain an SFC data file.

[0112] In some embodiments, conversion is performed based on the component data export method to obtain an SFC data file, including: determining the correspondence between the class and the conversion method based on the category to which all components of the wall hole model belong; determining the conversion method of all components of the wall hole according to the correspondence between the class and the conversion method; converting all components of the wall hole model according to the conversion method of all components of the wall hole to obtain the SFC data file. Optionally, in an embodiment of the present invention, the SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model. That is, the components in the wall hole model include positive components and negative components. Therefore, it can be directly determined whether the component is a positive component or a negative component based on the positive and negative types of the component. Among them, the positive component represents a positive entity component (such as a wall), and the negative element represents a negative entity component (such as a cylinder).

[0113] Optionally, in an embodiment of the present invention, the category to which a component belongs is the type to which the component belongs, for example, walls include: straight walls, custom walls, etc. The correspondence between classes and conversion methods is the correspondence between different categories and their conversion methods. For example, the correspondence of straight walls is: take a section and direction for conversion, while the correspondence of custom walls is: take multiple custom points of the custom wall for conversion. In an embodiment of the present invention, the conversion method is that different categories of components use different conversion methods, wherein there are multiple conversion methods, and each special conversion method may also be different, for example, straight walls and plates can use the same conversion method, custom walls use another conversion method, and equipment uses another method. Among them, the conversion methods used by straight walls and plates, custom walls, and equipment can use existing conversion methods.

[0114] In the embodiment of the present invention, SFC, namely THSware Industry Foundation Classes (Swell BIM Interaction File), is a lightweight format file of BIM model independently developed by THSware, which contains model geometry information, component feature information, etc. Among them, Industry Foundation Classes (IFC for short) is an international standard for data exchange in the construction industry. In the embodiment of the present invention, the SFC file is used as an intermediate format file for converting the PDMS design model to the quantity calculation model, on which the drawing shape information and partial quantity calculation information obtained from the design model are written. For example, the content specified in the engineering quantity calculation specification of a class of pipelines, that is, carbon steel with safety level 2 can be calculated as a class of pipelines by length, wherein some quantity calculation information (including safety level 2, carbon steel, specifications, casing form, and quality assurance level) can be obtained from the design model.

[0115] Step S104: Generate a wall hole quantity calculation model using a preset method according to the SFC data file.

[0116] In some embodiments, generating a wall hole quantity calculation model according to an SFC data file using a preset method includes: obtaining the categories of all components of the wall hole model in the SFC data file; judging whether the category of each component among all components is a preset category according to the categories of all components; if so, obtaining the positive and negative relationship between two intersecting components among all components; and generating a wall hole quantity calculation model according to the positive and negative relationship between the two intersecting components.

[0117] Optionally, in an embodiment of the present invention, generating a quantity calculation model according to the positive and negative relationship of two intersecting elements includes: obtaining the positive and negative types of the two intersecting elements; determining the positive element and the negative element according to the positive and negative types of the two intersecting elements; obtaining the intersection range of the positive element and the negative element; and generating a wall hole quantity calculation model based on the intersection range of the positive element and the negative element. In the embodiment of the present invention, the intersection range of the positive element and the negative element is the volume of the intersection of the two.

[0118] In some embodiments, generating a wall hole quantity calculation model based on the intersection range of positive elements and negative elements includes: determining the area of ​​the negative element within the intersection range based on the intersection range of the positive element and the negative element; retaining the area of ​​the negative element within the intersection range and removing the area of ​​the negative element outside the intersection range; converting the area of ​​the negative element within the intersection range to generate a wall hole quantity calculation model.

[0119] Optionally, in the embodiment of the present invention, the preset category may be a category preset by the system, such as a wall.

[0120] Among them, after obtaining the intersection range of the positive element and the negative element, in the area corresponding to the positive element, the intersection range is empty, that is, a hole. Therefore, the area of ​​the negative element within the intersection range is retained, and the non-intersecting part of the negative element is removed, and then the area of ​​the negative element within the intersection range is converted to form an element, that is, a wall with a hole.

[0121] For example, since there is no concept of holes in the three-dimensional collaborative design module 301, if there is a hole in the wall in the three-dimensional collaborative design module 301, it is represented in the three-dimensional collaborative design module 301 as a wall intersecting with a cylinder (the length is greater than the wall thickness). If the wall and the cylinder are all converted into SFC data files and a quantity calculation model is generated, the calculation result of the cylinder is the entire volume, and the engineering quantity calculation is bound to be wrong. In the embodiment of the present invention, by defining the wall as a positive element and the cylinder as a negative element, and obtaining the intersection range of the wall and the cylinder, for the cylinder, all the ranges outside the intersection with the wall are removed, and the area where it intersects with the wall is retained, and the protected area is converted into a quantity calculation model to generate a quantity calculation model, which is a quantity calculation model with a hole in the wall (i.e., a wall hole quantity calculation model). Therefore, in the subsequent engineering quantity calculation, only the wall hole quantity calculation model needs to be calculated, which ensures the accuracy and correctness of the engineering quantity calculation.

[0122] The method for converting the wall hole model to the quantity calculation model of the present invention can be applied to the conversion process of the PDMS design model to the quantity calculation model, and the obtained quantity calculation model can be used for engineering quantity calculation. That is, after the present invention obtains the wall hole model in the three-dimensional collaborative design module 301, if the components of the components of the wall hole model have negative components that intersect with it (for example, the wall and the cylinder intersect), it is necessary to obtain the intersection range of the wall and the cylinder, retain the difference between the intersection of the cylinder and the wall, and convert it into a hole, and the unintersected part of the cylinder is not converted into a quantity calculation model. The final quantity calculation model is a model with hole components (that is, a wall hole quantity calculation model).

[0123] refer to Figure 2 , which is a flow chart of Embodiment 2 of the method for converting a wall hole model into a quantity calculation model provided by the present invention.

[0124] like Figure 2 As shown, in this embodiment, after obtaining the wall hole quantity calculation model, the following steps may be included:

[0125] Step S201: Determine whether a calculation request instruction is received.

[0126] Step S202: If yes, obtain the SFC data corresponding to the quantity calculation request instruction in the SFC data file according to the quantity calculation request instruction.

[0127] Step S203: Generate a wall hole quantity calculation model according to the SFC data.

[0128] Optionally, in an embodiment of the present invention, generating a wall hole quantity calculation model based on SFC data may be performed using the method of embodiment 1.

[0129] Step S204: perform engineering quantity calculation according to the wall hole quantity calculation model to obtain wall hole engineering quantity data.

[0130] In some embodiments, the engineering quantity calculation is performed according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data, including: according to the wall hole quantity calculation model, obtaining the component data of the design model corresponding to the wall hole quantity calculation model; based on the component data, obtaining the category to which all components of the design model belong; according to the category to which the component belongs, determining the quantity calculation rule corresponding to the category to which the component belongs; and performing calculation according to the quantity calculation rule and SFC data to obtain the wall hole engineering quantity data.

[0131] Optionally, in an embodiment of the present invention, the quantity calculation rules include: bill of quantities pricing rules and engineering budget quotas. Among them, the bill of quantities pricing rules can be applied to but not limited to: construction projects, process equipment and pipeline installation projects, electrical equipment installation projects, automatic control instrument installation projects, etc. The engineering budget quota can be applied to but not limited to: nuclear island construction projects, nuclear island decoration projects, nuclear island steel structure projects, nuclear island mechanical equipment installation projects, nuclear island pipeline installation projects, nuclear island ventilation and air conditioning projects, nuclear island electrical equipment installation projects, nuclear island automatic control instrument installation projects, nuclear island communication equipment installation projects, nuclear island sandblasting, anti-corrosion, insulation projects, conventional island construction projects, conventional island thermal equipment installation projects, conventional island electrical equipment installation projects, etc.

[0132] In some embodiments, calculating according to the quantity calculation rules and SFC data to obtain the wall hole engineering quantity data includes: obtaining the positioning point coordinates corresponding to the design model in the SFC data according to the SFC data; calculating according to the quantity calculation rules and the positioning point coordinates to obtain the wall hole engineering quantity data.

[0133] In the embodiment of the present invention, when performing engineering quantity calculation, the corresponding SFC data in the SFC file can be directly called, and the obtained SFC data is formed into a graphic that is the same as the design model with graphic shape information, and the graphic carries all the quantity calculation information. Among them, the graphic + all the quantity calculation information is the wall hole quantity calculation model referred to in the embodiment of the present invention.

[0134] like Figure 3 As shown, the present invention also provides a system for converting a wall hole model into a quantity calculation model, and the system for converting a wall hole model into a quantity calculation model can be used to implement the method for converting a wall hole model into a quantity calculation model disclosed in an embodiment of the present invention.

[0135] Specifically, the system for converting the wall hole model into the quantity calculation model may include: a three-dimensional collaborative design module 301 and a nuclear power project engineering quantity calculation module 302 .

[0136] The three-dimensional collaborative design module 301 is used for users to perform three-dimensional collaborative design to generate wall hole models and form a wall hole model library.

[0137] The nuclear power project engineering quantity calculation module 302 is used to: obtain the wall hole model to be converted; determine the component data export method of the wall hole model according to the wall hole model; convert based on the component data export method to obtain the SFC data file; generate the wall hole quantity calculation model according to the SFC data file using a preset method.

[0138] In some embodiments, the nuclear power project engineering quantity calculation module 302 is also used to: before obtaining the wall hole model to be converted, determine whether a quantity calculation data generation instruction is received; if so, receive the quantity calculation data generation instruction; and obtain the wall hole model corresponding to the quantity calculation data generation instruction according to the quantity calculation data generation instruction.

[0139] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: obtain a drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction; and obtain the wall hole model according to the drawing identifier.

[0140] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: trigger the generation of quantity data generation instructions according to the quantity model conversion operation instructions triggered by the user; or, monitor the status of the wall hole model, and trigger the generation of quantity data generation instructions after the wall hole model is approved.

[0141] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: obtain component data of the wall hole model; determine the category to which all components of the wall hole model belong based on the component data; and determine the component data export method based on the category to which all components of the wall hole model belong.

[0142] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: determine the correspondence between the class and the conversion method based on the category to which all components of the wall hole model belong; determine the conversion method of all components of the wall hole according to the correspondence between the class and the conversion method; convert all components of the wall hole model according to the conversion method of all components of the wall hole to obtain an SFC data file.

[0143] Optionally, in an embodiment of the present invention, the SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model.

[0144] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: obtain the categories of all components of the wall hole model in the SFC data file; based on the categories of all components, determine whether the category of each component among all components is a preset category; if so, obtain the positive and negative relationship between two intersecting components among all components; generate a wall hole quantity calculation model based on the positive and negative relationship between the two intersecting components.

[0145] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: obtain the positive and negative types of two intersecting elements; determine the positive element and the negative element according to the positive and negative types of the two intersecting elements; obtain the intersection range of the positive element and the negative element; and generate a wall hole quantity calculation model based on the intersection range of the positive element and the negative element.

[0146] In some embodiments, the nuclear power project engineering quantity calculation module 302 is specifically used to: determine the area of ​​the negative element within the intersection range based on the intersection range of the positive element and the negative element; retain the area of ​​the negative element within the intersection range and remove the area of ​​the negative element outside the intersection range; convert the area of ​​the negative element within the intersection range to generate a wall hole quantity calculation model.

[0147] In some embodiments, the nuclear power project engineering quantity calculation module 302 is further used to: determine whether a quantity calculation request instruction is received;

[0148] If so, obtain the SFC data corresponding to the quantity calculation request instruction in the SFC data file according to the quantity calculation request instruction; generate a wall hole quantity calculation model according to the SFC data; perform engineering quantity calculation according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data.

[0149] The present invention also provides an electronic device, comprising: a memory and a processor.

[0150] The memory is used to store computer programs.

[0151] The processor is used to execute a computer program to implement the method for converting a wall hole model into a quantity calculation model disclosed in an embodiment of the present invention.

[0152] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor processes the steps of the method for converting a wall hole model into a quantity calculation model disclosed in an embodiment of the present invention.

[0153] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0154] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0155] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0156] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable people familiar with the technology to understand the content of the present invention and implement it accordingly, and they cannot limit the scope of protection of the present invention. All equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of the claims of the present invention.

Claims

1. A method for converting a wall hole model into a quantity calculation model, characterized in that: The following steps are involved: Get the wall hole model to be converted; Determining a method for exporting component data of the wall hole model according to the wall hole model; Convert based on the component data export method to obtain an SFC data file; Generate a wall hole quantity calculation model using a preset method according to the SFC data file; The converting based on the component data export method to obtain the SFC data file includes: Based on the categories to which all components of the wall hole model belong, determining the correspondence between the categories and the conversion methods; Determining the conversion methods of all elements of the wall hole according to the correspondence between the class and the conversion method; Convert all the components of the wall hole model according to the conversion method of all the components of the wall hole to obtain the SFC data file; The SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model; The generating of the wall hole quantity calculation model by using a preset method according to the SFC data file comprises: Obtaining categories of all components of the wall hole model in the SFC data file; According to the categories of all the components, determining whether the category of each of the components is a preset category; If yes, then obtain the positive and negative relationship between the two intersecting elements among all the elements; Generate the wall hole quantity calculation model according to the positive and negative relationship of the two intersecting elements; Generating a quantity calculation model according to the positive and negative relationship of the two intersecting elements includes: Get the positive and negative types of the two intersecting elements; Determine the positive element and the negative element according to the positive and negative types of the two intersecting elements; Obtaining the intersection range of the positive element and the negative element; The wall hole quantity calculation model is generated based on the intersection range of the positive element and the negative element.

2. The method for converting a wall hole model into a quantity calculation model according to claim 1, characterized in that: The method further comprises: Before obtaining the wall hole model to be converted, determining whether a quantity calculation data generation instruction has been received; If yes, receiving the quantity calculation data generation instruction; According to the quantity calculation data generation instruction, a wall hole model corresponding to the quantity calculation data generation instruction is obtained.

3. The method for converting a wall hole model into a quantity calculation model according to claim 2, characterized in that: The acquiring, according to the quantity calculation data generation instruction, a wall hole model corresponding to the quantity calculation data generation instruction comprises: Acquire a drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction; The wall hole model is obtained according to the drawing identification.

4. The method for converting a wall hole model into a quantity calculation model according to claim 2, characterized in that: The method further comprises: The quantity calculation data generation instruction is generated according to the quantity calculation model conversion operation instruction triggered by the user; Alternatively, the quantity calculation data generation instruction is triggered after the wall hole model is approved.

5. The method for converting a wall hole model into a quantity calculation model according to claim 1, characterized in that: The method of exporting component data of the wall hole model according to the wall hole model includes: Acquiring component data of the wall hole model; Determining the categories to which all components of the wall hole model belong according to the component data; The component data export method is determined based on the categories to which all components of the wall hole model belong.

6. The method for converting a wall hole model into a quantity calculation model according to claim 1, characterized in that: The generating the wall hole quantity calculation model based on the intersection range of the positive element and the negative element includes: Based on the intersection range of the positive element and the negative element, determining the area of ​​the negative element within the intersection range; retaining the area of ​​the negative element within the intersection range, and removing the area of ​​the negative element outside the intersection range; The negative element is converted in the area within the intersection range to generate the wall hole quantity calculation model.

7. The method for converting a wall hole model into a quantity calculation model according to claim 1, characterized in that: The method further comprises: Determine whether a quantity calculation request instruction is received; If so, obtaining the SFC data corresponding to the calculation request instruction in the SFC data file according to the calculation request instruction; Generate a wall hole quantity calculation model according to the SFC data; The engineering quantity calculation is performed according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data.

8. A system for converting a wall hole model into a quantity calculation model, characterized in that: include: 3D collaborative design module and nuclear power project engineering quantity calculation module; The three-dimensional collaborative design module is used for users to perform three-dimensional collaborative design to generate wall hole models and form a wall hole model library; The nuclear power project engineering quantity calculation module is used for: Get the wall hole model to be converted; Determining a method for exporting component data of the wall hole model according to the wall hole model; Convert based on the component data export method to obtain an SFC data file; Generate a wall hole quantity calculation model using a preset method according to the SFC data file; The converting based on the component data export mode to obtain the SFC data file includes: Based on the categories to which all components of the wall hole model belong, determining the correspondence between the categories and the conversion methods; Determining the conversion methods of all elements of the wall hole according to the correspondence between the class and the conversion method; Convert all the components of the wall hole model according to the conversion method of all the components of the wall hole to obtain the SFC data file; The SFC data file includes: component coordinates and positive and negative types of all components of the wall hole model; The generating of the wall hole quantity calculation model by using a preset method according to the SFC data file comprises: Obtaining categories of all components of the wall hole model in the SFC data file; According to the categories of all the components, determining whether the category of each of the components is a preset category; If yes, then obtain the positive and negative relationship between the two intersecting elements among all the elements; Generate the wall hole quantity calculation model according to the positive and negative relationship of the two intersecting elements; Generating a quantity calculation model according to the positive and negative relationship of the two intersecting elements includes: Get the positive and negative types of the two intersecting elements; Determine the positive element and the negative element according to the positive and negative types of the two intersecting elements; Obtaining the intersection range of the positive element and the negative element; The wall hole quantity calculation model is generated based on the intersection range of the positive element and the negative element.

9. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is also used for: Before obtaining the wall hole model to be converted, determining whether a quantity calculation data generation instruction has been received; If yes, receiving the quantity calculation data generation instruction; According to the quantity calculation data generation instruction, a wall hole model corresponding to the quantity calculation data generation instruction is obtained.

10. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is specifically used for: Acquire a drawing identifier corresponding to the wall hole model according to the quantity calculation data generation instruction; The wall hole model is obtained according to the drawing identification.

11. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is specifically used for: The quantity calculation data generation instruction is triggered according to the quantity calculation model conversion operation instruction triggered by the user; Alternatively, the status of the wall hole model is monitored, and the quantity calculation data generation instruction is triggered after the wall hole model is approved.

12. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is specifically used for: Acquiring component data of the wall hole model; Determining the categories to which all components of the wall hole model belong according to the component data; The component data export method is determined based on the categories to which all components of the wall hole model belong.

13. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is specifically used for: Based on the intersection range of the positive element and the negative element, determining the area of ​​the negative element within the intersection range; Retain the area of ​​the negative element within the intersection range, and remove the area of ​​the negative element outside the intersection range; The negative element is converted in the area within the intersection range to generate the wall hole quantity calculation model.

14. The system for converting a wall hole model into a quantity calculation model according to claim 8, characterized in that: The nuclear power project engineering quantity calculation module is also used for: Determine whether a calculation request instruction is received; If so, obtaining the SFC data corresponding to the calculation request instruction in the SFC data file according to the calculation request instruction; Generate a wall hole quantity calculation model according to the SFC data; The engineering quantity calculation is performed according to the wall hole quantity calculation model to obtain the wall hole engineering quantity data.

15. An electronic device, characterized in that: include: Memory and processor; The memory is used to store computer programs; The processor is used to execute the computer program to implement the method for converting the wall hole model into a quantity calculation model as described in any one of claims 1-7.

16. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor processes the steps of the method for converting a wall hole model into a quantity calculation model as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for using PDMS three-dimensional model in software

    CN107391872A

  • Nuclear island structure finite element model grid data transmission method, device and equipment

    CN112149213A

  • Method and device for converting design model into calculation quantity model, equipment and medium

    CN113434937A

  • Model conversion method and model conversion apparatus

    JP2015035097A