Ship part nesting method, system, equipment, medium and program product
By checking the information data of ship parts generated by Smart3D to ensure their accuracy and then export it, the cost loss problem caused by part errors is solved and the accuracy and reliability of the nesting process is improved.
Patent Information
- Application Number
- CN202411636159.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-18
AI Technical Summary
In the prior art, there are errors in the ship parts generated by Smart3D, resulting in errors in nesting and cutting parts, resulting in cost loss.
By obtaining the information data of the ship parts to be exported, checking them, and ensuring that the inspection is only exported in a preset way after passing. The method includes obtaining the parts to be exported, inspecting the parts based on information data, and exporting the parts after the inspection is passed.
It effectively avoids errors in nesting and cutting parts, reduces cost losses, improves the accuracy and reliability of the nesting process of ship parts, and improves software performance and user experience.
Smart Images

Figure CN119475599A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of software development technology, and in particular to a nesting method, system, device, medium and program product for ship parts. Background Art
[0002] Nesting is a common method in the shipbuilding industry, which aims to improve material utilization, save materials and reduce costs. Parts are eventually cut through the cutting instructions generated by nesting, so it is crucial to ensure the accuracy of the nesting data. At present, parts generated from Smart3D (a 3D modeling software) may cause some errors due to various reasons. If these errors are not corrected in time, they will lead to errors in the nested parts. This may eventually lead to wrong parts being cut, resulting in cost losses. Summary of the invention
[0003] The technical problem to be solved by the present disclosure is to overcome the defects in the prior art of errors in parts generated in Smart3D, which lead to errors in nesting parts and blanking parts, resulting in cost losses, and to provide a nesting method, system, equipment, medium and program product for ship parts.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] The present disclosure provides a nesting method for ship parts, the nesting method comprising:
[0006] Get the ship parts to be exported;
[0007] Based on the information data of the ship parts to be exported, inspect the ship parts to be exported;
[0008] The ship parts to be exported that have passed the inspection are exported in a preset manner.
[0009] Preferably, the information data includes processing information and / or shape information;
[0010] The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises:
[0011] In response to the ship parts to be exported having the information data, determining that the ship parts to be exported have passed inspection;
[0012] In response to the ship parts to be exported not having the information data, it is determined that the ship parts to be exported have failed inspection; the information data of the ship parts to be exported that have failed inspection are updated so that the ship parts to be exported that have failed inspection pass inspection.
[0013] Preferably, the information data includes first quantity information and second quantity information, wherein the first quantity information is used to characterize the quantity of the ship parts to be exported that have been nested, and the second quantity information is used to characterize the quantity of the ship parts to be exported that need to be nested;
[0014] The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises:
[0015] In response to the first quantity information being the same as the second quantity information, determining that the ship parts to be exported have passed inspection;
[0016] In response to the first quantity information being different from the second quantity information, determining that the ship parts to be exported have failed inspection; updating the first quantity information and / or the second quantity information of the ship parts to be exported that have failed inspection, so that the ship parts to be exported that have failed inspection have passed inspection;
[0017] and / or,
[0018] The information data includes first data and second data corresponding to target attributes, the target attributes include at least one of material, thickness and specification, the first data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset software, and the second data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset database;
[0019] The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises:
[0020] In response to the first data being identical to the second data, determining that the ship part to be exported has passed inspection;
[0021] In response to the first data being different from the second data, it is determined that the ship parts to be exported have failed the inspection; the first data and / or second data of the ship parts to be exported that have failed the inspection are updated so that the ship parts to be exported that have failed the inspection pass the inspection.
[0022] Preferably, the step of obtaining the ship parts to be exported includes:
[0023] Select the assembly type from the preset software;
[0024] Selecting an assembly directory tree based on the assembly type;
[0025] The ship parts to be exported are selected from the assembly directory tree.
[0026] Preferably, the nesting method further comprises:
[0027] Exporting the assembly directory tree;
[0028] In response to a hierarchical update of the assembled directory tree;
[0029] The updated hierarchy is exported.
[0030] Preferably, the step of selecting the ship parts to be exported from the assembly directory tree comprises:
[0031] Selecting a part type from the assembly tree;
[0032] The ship parts to be exported are selected based on the part type.
[0033] The present disclosure also provides a nesting system for ship parts, the nesting system comprising:
[0034] A parts acquisition module is used to acquire ship parts to be exported;
[0035] A parts inspection module, used for inspecting the ship parts to be exported based on the information data of the ship parts to be exported;
[0036] The parts export module is used to export the ship parts to be exported that have passed the inspection in a preset manner.
[0037] Preferably, the information data includes processing information and / or shape information;
[0038] The parts inspection module comprises:
[0039] A first response unit, configured to determine that the ship parts to be exported have passed inspection in response to the ship parts to be exported having the information data;
[0040] The second response unit is used to determine that the ship parts to be exported have failed the inspection in response to the fact that the ship parts to be exported do not have the information data; and to update the information data of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection pass the inspection.
[0041] Preferably, the information data includes first quantity information and second quantity information, wherein the first quantity information is used to characterize the quantity of the ship parts to be exported that have been nested, and the second quantity information is used to characterize the quantity of the ship parts to be exported that need to be nested;
[0042] The parts inspection module comprises:
[0043] a third response unit, configured to determine that the to-be-exported ship parts have passed inspection in response to the first quantity information being the same as the second quantity information;
[0044] A fourth response unit is configured to determine that the ship parts to be exported have failed the inspection in response to the first quantity information being different from the second quantity information; and update the first quantity information and / or the second quantity information of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection have passed the inspection;
[0045] and / or,
[0046] The information data includes first data and second data corresponding to target attributes, the target attributes include at least one of material, thickness and specification, the first data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset software, and the second data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset database;
[0047] The parts inspection module comprises:
[0048] A fifth responding unit, configured to determine that the to-be-exported ship parts have passed inspection in response to the first data being identical to the second data;
[0049] The sixth response unit is used to determine that the ship parts to be exported have failed the inspection in response to the first data being different from the second data; and to update the first data and / or the second data of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection pass the inspection.
[0050] Preferably, the parts acquisition module includes:
[0051] An assembly type acquisition unit, used to select an assembly type from a preset software;
[0052] A directory tree acquisition unit, used for selecting an assembly directory tree based on the assembly type;
[0053] A parts selection unit is used to select the ship parts to be exported from the assembly directory tree.
[0054] Preferably, the nesting system further comprises:
[0055] A directory tree export module, used for exporting the assembled directory tree;
[0056] A level update module, for responding to the level update of the assembly directory tree;
[0057] The hierarchy export module is used to export the updated hierarchy.
[0058] Preferably, the part selection unit comprises:
[0059] A part type selection subunit, used to select a part type from the assembly directory tree;
[0060] The parts selection subunit is used to select the ship parts to be exported based on the part types.
[0061] The present disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and used to run on the processor, and the processor implements the above-mentioned nesting method of ship parts when executing the computer program.
[0062] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, and the computer program, when executed by a processor, implements the above-mentioned nesting method for ship parts.
[0063] The present disclosure also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the nesting method of ship parts as described above is implemented.
[0064] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.
[0065] The positive and progressive effects of this disclosure are:
[0066] The present invention ensures the accuracy of the nesting status and the blanking parts by checking the ship parts to be exported, effectively avoids cost losses, improves the accuracy and reliability of the nesting process of ship parts, improves software performance, and enhances the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 This is a flow chart of a nesting method for ship parts according to Embodiment 1 of the present disclosure;
[0068] Figure 2 This is a schematic diagram of the initial main interface of the program of Embodiment 1 of the present disclosure;
[0069] Figure 3 The first flow chart of the nesting method of ship parts according to the second embodiment of the present disclosure;
[0070] Figure 4 A schematic diagram of the shape of parts in Nestix (a nesting software) in Embodiment 2 of the present disclosure;
[0071] Figure 5 It is a schematic diagram of the first interface corresponding to the exported parts in Embodiment 2 of the present disclosure;
[0072] Figure 6 It is a schematic diagram of the second interface corresponding to the exported parts in Embodiment 2 of the present disclosure;
[0073] Figure 7A second flow chart of the nesting method for ship parts according to Embodiment 2 of the present disclosure;
[0074] Figure 8 The third flow chart of the nesting method of ship parts according to the second embodiment of the present disclosure;
[0075] Fig. 9 The fourth flow chart of the nesting method of ship parts according to the second embodiment of the present disclosure;
[0076] Fig.10 This is a schematic diagram of an interface corresponding to the type of parts to be exported in Embodiment 2 of the present disclosure;
[0077] Fig.11 This is a flow chart of step S1013 in the nesting method for ship parts according to embodiment 2 of the present disclosure;
[0078] Fig.12 This is a schematic diagram of a plate part XML file in Embodiment 2 of the present disclosure;
[0079] Fig.13 This is a schematic diagram of a profile part XML file in Embodiment 2 of the present disclosure;
[0080] Fig.14 This is a schematic diagram of a Pannel part XML file in Embodiment 2 of the present disclosure;
[0081] Fig.15 It is a schematic diagram of the segmented assembly information in Embodiment 2 of the present disclosure;
[0082] Fig.16 is a schematic diagram of the search area in Embodiment 2 of the present disclosure;
[0083] Fig.17 A schematic diagram of part reading in Embodiment 2 of the present disclosure;
[0084] Fig.18 This is a module schematic diagram of a nesting system for ship parts according to Embodiment 3 of the present disclosure;
[0085] Fig.19 This is a module schematic diagram of a nesting system for ship parts according to Embodiment 4 of the present disclosure;
[0086] Fig. 20 This is a schematic diagram of the structure of an electronic device according to Embodiment 5 of the present disclosure. DETAILED DESCRIPTION
[0087] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.
[0088] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
[0089] In the embodiments of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0090] Example 1
[0091] The present invention provides a nesting method for ship parts, such as Figure 1 As shown, the nesting method includes:
[0092] S101, obtaining ship parts to be exported;
[0093] S102, inspecting the ship parts to be exported based on the information data of the ship parts to be exported;
[0094] S103, exporting the ship parts to be exported that have passed the inspection in a preset manner.
[0095] Specifically, a nesting platform is built in Smart3D using C# (a programming language) to integrate the nesting method of ship parts. The ship model designed in Smart3D, a pre-set software, includes multiple segments, and each segment includes multiple assemblies. Taking a segment as an example, the initial main interface of the program is as follows: Figure 2 As shown, it includes the "Assembly Tree Read" button and areas such as the export area, search area, and parts list.
[0096] The default format is XML (Extensible Markup Language).
[0097] The native SmartProduction process of Smart3D is slow to export, and the specific information of the parts cannot be viewed in the original interface. In this embodiment, the part information is fully presented to the designer, and nesting inspection can be performed to prevent nesting information errors at the source, greatly improving the work efficiency of the entire nesting process and effectively avoiding direct cost losses.
[0098] In this embodiment, by checking the ship parts to be exported, the parts nesting status and the accuracy of the cut parts are guaranteed, which effectively avoids cost losses, improves the accuracy and reliability of the ship parts nesting process, improves software performance, and enhances the user experience.
[0099] Example 2
[0100] This embodiment provides a nesting method for ship parts, which is a further improvement on the first embodiment.
[0101] In one practicable solution, the information data includes processing information and / or shape information;
[0102] like Figure 3 As shown, step S102 includes:
[0103] S1021, in response to the ship parts to be exported having information data, determining that the ship parts to be exported have passed inspection;
[0104] S1022. In response to the ship parts to be exported not having information data, determining that the ship parts to be exported have failed inspection; and updating the information data of the ship parts to be exported that have failed inspection so that the ship parts to be exported that have failed inspection have passed inspection.
[0105] Specifically, the parts are finally cut through the cutting instructions generated by the nesting. Therefore, it is very important to ensure the accuracy of the nesting data, and parts inspection is required for this. After inspecting the ship parts to be exported, the corresponding inspection information can be obtained. According to the inspection information, it can be determined whether the inspection result is passed or failed. If the ship parts to be exported fail the inspection, after the designer modifies the ship parts to be exported that fail the inspection according to the inspection information, the information data of the ship parts to be exported that fail the inspection is updated.
[0106] Due to the large number of ship parts, the inspection of parts is carried out according to major categories.
[0107] Part inspection is mainly divided into three stages.
[0108] The first stage is the inspection of the model stage, such as whether the parts are separated correctly. The inspection results are obtained by checking the Mfg (processing information) of all parts. If a part has Mfg Part (processing information part), it can be concluded that the part is separated. If a part does not have Mfg Part, it can be concluded that the part is not separated. In addition, there will be changes in profiles and plates, such as the subsequent addition of corner holes, etc. By checking the update date of Mfg, the operator can be reminded whether Mfg needs to be updated.
[0109] If the part is not separated, there will be no corresponding XML and the part cannot be exported. Therefore, the designer needs to find the part, analyze the reason why the part is not separated, modify the Mfg, and export it after correctly separating the part.
[0110] The second stage is to check the nested parts, such as whether the parts have graphics and whether they have corresponding Smart3D models. The Nestix database is queried to determine whether there is a part shape. Figure 4 As shown. By comparing the Oid (Object identity) of the model in Smart3D with the Nestix database, the deleted models can be screened out. Object is the default type in Smart3D software and can be used as a part type. Oid is the part number and is used to distinguish different parts. When the design department personnel make changes to the model, the model may be deleted, and the XML exported before the deletion operation will contain the information of the deleted model. The parts corresponding to the information will be produced and processed on site, that is, the non-existent parts will be produced and processed. By comparing and screening out the deleted models for verification, waste caused by the production process is avoided.
[0111] In the specific implementation process, set the "Whether to check the nesting" checkbox to determine "only export parts" or "export parts and need to check the parts". The interface diagram corresponding to "only export parts" is as follows Figure 5 As shown in the figure, the interface diagram corresponding to "Export parts and need to check the parts" is as follows Figure 6 shown.
[0112] In this solution, the accuracy of the nesting data is ensured by checking the processing information and shape information of the ship parts to be exported.
[0113] In an implementable solution, the information data includes first quantity information and second quantity information, the first quantity information is used to characterize the quantity of the ship parts to be exported that have been nested, and the second quantity information is used to characterize the quantity of the ship parts to be exported that need to be nested;
[0114] like Figure 7 As shown, step S102 includes:
[0115] S1023. In response to the first quantity information being the same as the second quantity information, determining that the ship parts to be exported have passed inspection;
[0116] S1024. In response to the first quantity information being different from the second quantity information, it is determined that the ship parts to be exported have failed the inspection; and the first quantity information and / or the second quantity information of the ship parts to be exported that have failed the inspection are updated so that the ship parts to be exported that have failed the inspection pass the inspection.
[0117] Specifically, the third stage is to check the nesting results, such as multiple nesting, missing nesting, inconsistent materials and thickness (specifications), etc. Multiple nesting and missing nesting are obtained by querying the number of parts that have been nested in the Nestix database and comparing the number of parts that need to be nested. Inconsistent materials and thickness (specifications) are obtained by comparing the part properties extracted from Smart3D with the part properties in the Nestix database, where plate types are compared with thicknesses and profile types are compared with specifications. Multiple nesting means that the number of parts that have been nested is greater than the number of parts that need to be nested, and missing nesting means that the number of parts that have been nested is less than the number of parts that need to be nested.
[0118] In this solution, the accuracy of the nesting data is ensured by checking the first quantity information and the second quantity information of the ship parts to be exported.
[0119] In an implementable solution, the information data includes first data and second data corresponding to a target attribute, the target attribute includes at least one of material, thickness and specification, the first data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset software, and the second data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset database;
[0120] like Figure 8 As shown, step S102 includes:
[0121] S1025. In response to the first data being identical to the second data, determining that the ship parts to be exported have passed inspection;
[0122] S1026. In response to the first data being different from the second data, it is determined that the ship parts to be exported have failed the inspection; and the first data and / or the second data of the ship parts to be exported that have failed the inspection are updated so that the ship parts to be exported that have failed the inspection pass the inspection.
[0123] In this solution, the accuracy of the nesting data is ensured by checking the first data and the second data of the ship parts to be exported.
[0124] like Fig. 9 As shown, in one feasible solution, step S101 includes:
[0125] S1011. Select an assembly type from the preset software;
[0126] S1012, select an assembly directory tree based on the assembly type;
[0127] S1013. Select the ship parts to be exported from the assembly directory tree.
[0128] Specifically, nesting is a function, corresponding to a button in the smart3D software. After selecting the content to be exported, the configuration file will be loaded when the button is clicked. There are two nesting servers, corresponding to the two workshops on site, and the naming requirements of the nesting plates in the two workshops are different. Workshop No. 1 only needs cutting instructions, and Workshop No. 2 needs to use MES (Manufacturing Execution System) for subsequent cutting work. The table corresponding to the configuration file is as follows:
[0129]
[0130] After loading the configuration file, select the assembly in the assembly directory tree of the preset software Smart3D. The assembly type must be Unit (internal support structure, such as the type corresponding to plates and ribs) or Hull Unit (the type corresponding to hulls and shells). Part import must follow the directory name at the Unit or Hull Unit level. If the directory name is changed or deleted, the parts will be lost. The interface diagram for selecting the type of parts to be exported is as follows Fig.10 shown.
[0131] In this solution, by selecting the assembly type and then selecting the assembly directory tree, the ship parts to be exported can be selected according to actual needs, which avoids repeated export of parts, improves the export efficiency of parts, and speeds up the implementation of the entire nesting process.
[0132] In one feasible solution, Fig. 9 As shown, the nesting method also includes:
[0133] S104, exporting the assembly directory tree;
[0134] S105, responding to the level update of the assembly directory tree;
[0135] S106: Export the updated level.
[0136] Specifically, when using MES, a complete assembly directory tree must be provided. The assembly directory tree in Smart3D is exported in the form of a folder, and the folder directory hierarchy is completely consistent with the assembly directory tree hierarchy. When the part in the directory tree remains unchanged, but the part's hierarchy or the assembly directory tree hierarchy changes, the modified part is updated, that is, only the updated hierarchy is exported, without having to re-export the entire directory tree.
[0137] In this solution, when the assembly directory tree changes, only the changed part is updated, that is, the data changes caused by the update are updated in a targeted manner, which avoids duplication of work for designers, improves the export efficiency of the assembly directory tree, speeds up the implementation of the entire nesting process, and facilitates the subsequent access to Nestix and MES.
[0138] In one feasible solution, Fig.11 As shown, step S1013 includes:
[0139] S10131. Select the part type from the assembly directory tree;
[0140] S10132. Based on the part type, select the ship parts to be exported.
[0141] The major categories of parts in the assembly directory tree are plate parts and profile parts, which are subdivided into PlatePart (plate parts), EdgeReinforcementPart (reinforcement parts, belonging to profile parts), CollarPart (patch plate parts, belonging to plate parts), StandAlonePlatePart (plate parts, small plate parts; repair openings), StiffenerPart (rib parts, belonging to profile parts, cannot exist independently, must rely on plate parts), MemberPart (profile parts, can exist independently, do not need to rely on plates). In order to find all the parts, the assembly directory tree is recursively traversed, all the found parts are stored in List, and then the XML of the parts is obtained and saved to the specified address. After serialization, the XML is directly converted into an object for subsequent use. At the same time, the number of parts is counted.
[0142] The exported plate parts have processed the grooves and deleted the wrong grooves; the exported profile parts have checked the end cutting macros; the exported Pannel parts (large plate parts) have additionally calculated the direction, because the Pannel will lose its direction after being exported from Smart3D.
[0143] Due to the large number of ship parts, the export of parts is carried out by major categories.
[0144] A plate part XML file records a plate part. The XML records the basic information of the plate part, including the outer contour, inner contour, marking, groove, etc. Fig.12 shown.
[0145] A profile part XML file records a profile part. The XML mainly records the basic information of the part, part shape, openings, and end cut macros, such as Fig.13As shown. The end cutting macro directly affects the cutting instruction length. If the end cutting macro is missing, the cutting instruction will be invalid; if the end cutting macro is wrong, the profile cut by the cutting machine (such as length, end cutting) will also be wrong. Therefore, the end cutting macro was checked.
[0146] A panel part XML records a panel part. A panel part is made by cutting several panel parts. The XML mainly records the basic information of the panel, part shape, positioning marks, shot blasting lines, etc. Fig.14 shown. Fig.14 The middle and outer contours correspond to the part shape, the powder spraying lines correspond to the positioning marks, and the shot blasting lines are used to indicate the welding parts of the parts that need to be polished. XML is not only used to generate cut parts, but also used by thin plate workshop robots to locate longitudinal bones and T-rows. Since MES requires assembly and assembly flow information, this pair of information is added during export.
[0147] Nestix nesting software requires not only part XML data, but also segmented assembly information, such as Fig.15 shown. Fig.15 SWS is a pre-set custom name. The assembly information of the imported segment is recorded in the SmartProduction.xml file. The SmartProduction.xml file records the assembly and part information contained in the current segment in the form of an assembly tree, as well as the relative position of the part XML file, so the SmartProduction.xml file is selected as the imported part. After importing into Nestix, the changes, additions and deletions of the parts will be compared.
[0148] In the specific implementation process, the search area can be targeted to select plate parts or profile parts, and all selected will be exported. The exported XML file name will be distinguished by adding _part (select plate parts or profile parts to export) or _all (export all), and different parts will be placed in different folders. The search area diagram is as follows Fig.16 After confirming the export type in the search area, click the "Assembly Tree Read" button to read, and a list of several ship parts to be exported will be displayed, such as Fig.17 As shown, select the check box or select in the export area to finally export the XML corresponding to the ship parts to be exported.
[0149] In this solution, the ship parts to be exported are selected by the part type in the assembly directory tree, and the nested parts are divided into major categories, making the work of designers more targeted and significantly reducing the export time.
[0150] In this embodiment, by checking the ship parts to be exported, the parts nesting status and the accuracy of the cut parts are guaranteed, which effectively avoids cost losses, improves the accuracy and reliability of the ship parts nesting process, improves software performance, and enhances the user experience.
[0151] Example 3
[0152] This embodiment provides a nesting system for ship parts, such as Fig.18 As shown, the nesting system includes:
[0153] Parts acquisition module 1, used to acquire ship parts to be exported;
[0154] A parts inspection module 2, used for inspecting the ship parts to be exported based on the information data of the ship parts to be exported;
[0155] The parts export module 3 is used to export the ship parts to be exported that have passed the inspection in a preset manner.
[0156] In this embodiment, by checking the ship parts to be exported, the parts nesting status and the accuracy of the cut parts are guaranteed, which effectively avoids cost losses, improves the accuracy and reliability of the ship parts nesting process, improves software performance, and enhances the user experience.
[0157] Example 4
[0158] This embodiment provides a nesting system for ship parts, which is a further improvement on the third embodiment.
[0159] In one practicable solution, the information data includes processing information and / or shape information;
[0160] like Fig.19 As shown, the part inspection module 2 includes:
[0161] A first response unit 21 is used for determining that the ship parts to be exported have passed the inspection in response to the ship parts to be exported having information data;
[0162] The second response unit 22 is used for determining that the ship parts to be exported have failed the inspection in response to the ship parts to be exported having no information data; and updating the information data of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection pass the inspection.
[0163] In an implementable solution, the information data includes first quantity information and second quantity information, the first quantity information is used to characterize the quantity of the ship parts to be exported that have been nested, and the second quantity information is used to characterize the quantity of the ship parts to be exported that need to be nested;
[0164] Part inspection module 2 includes:
[0165] A third response unit 23 is used to determine that the inspection of the ship parts to be exported has passed in response to the first quantity information being the same as the second quantity information;
[0166] The fourth response unit 24 is used to determine that the ship parts to be exported have failed the inspection in response to the first quantity information being different from the second quantity information; and to update the first quantity information and / or the second quantity information of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection pass the inspection.
[0167] In an implementable solution, the information data includes first data and second data corresponding to a target attribute, the target attribute includes at least one of material, thickness and specification, the first data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset software, and the second data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset database;
[0168] Part inspection module 2 includes:
[0169] A fifth responding unit 25, configured to determine that the to-be-exported ship parts have passed inspection in response to the first data being identical to the second data;
[0170] The sixth response unit 26 is used to determine that the ship parts to be exported have failed the inspection in response to the first data being different from the second data; and to update the first data and / or second data of the ship parts to be exported that have failed the inspection so that the ship parts to be exported that have failed the inspection pass the inspection.
[0171] In an implementable solution, the parts acquisition module 1 includes:
[0172] An assembly type acquisition unit 11 is used to select an assembly type from a preset software;
[0173] A directory tree acquisition unit 12, used for selecting an assembly directory tree based on the assembly type;
[0174] The parts selection unit 13 is used to select the ship parts to be exported from the assembly directory tree.
[0175] In one feasible solution, the nesting system further comprises:
[0176] Directory tree export module 4, used for exporting the assembled directory tree;
[0177] A level update module 5, for responding to the level update of the assembly directory tree;
[0178] The level export module 6 is used to export the updated level.
[0179] In one feasible solution, the part selection unit 13 includes:
[0180] The part type selection subunit 131 is used to select a part type from the assembly directory tree;
[0181] The part selection subunit 132 is used to select the ship parts to be exported based on the part type.
[0182] In this embodiment, by checking the ship parts to be exported, the parts nesting status and the accuracy of the cut parts are guaranteed, which effectively avoids cost losses, improves the accuracy and reliability of the ship parts nesting process, improves software performance, and enhances the user experience.
[0183] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.
[0184] Example 5
[0185] Fig. 20 This is a schematic diagram of the structure of an electronic device shown in an exemplary embodiment of the present disclosure, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, the method for nesting ship parts described in any of the above embodiments is implemented. Fig. 20 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0186] like Fig. 20 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).
[0187] The bus 93 includes a data bus, an address bus, and a control bus.
[0188] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read only memory (ROM) 923 .
[0189] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0190] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the nesting method of ship parts provided in any of the above embodiments.
[0191] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0192] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0193] Example 6
[0194] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the nesting method for ship parts provided in any of the above embodiments is implemented.
[0195] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0196] Example 7
[0197] The embodiment of the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for nesting ship parts.
[0198] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0199] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.
Claims
1. A nesting method for ship parts, characterized in that: The nesting method comprises: Get the ship parts to be exported; Based on the information data of the ship parts to be exported, inspect the ship parts to be exported; The ship parts to be exported that have passed the inspection are exported in a preset manner.
2. The nesting method for ship parts according to claim 1, characterized in that: The information data includes processing information and / or shape information; The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises: In response to the ship parts to be exported having the information data, determining that the ship parts to be exported have passed inspection; In response to the ship parts to be exported not having the information data, it is determined that the ship parts to be exported have failed inspection; the information data of the ship parts to be exported that have failed inspection are updated so that the ship parts to be exported that have failed inspection pass inspection.
3. The nesting method for ship parts according to claim 1, characterized in that: The information data includes first quantity information and second quantity information, wherein the first quantity information is used to characterize the quantity of the ship parts to be exported that have been nested, and the second quantity information is used to characterize the quantity of the ship parts to be exported that need to be nested; The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises: In response to the first quantity information being the same as the second quantity information, determining that the ship parts to be exported have passed inspection; In response to the first quantity information being different from the second quantity information, determining that the ship parts to be exported have failed inspection; updating the first quantity information and / or the second quantity information of the ship parts to be exported that have failed inspection, so that the ship parts to be exported that have failed inspection have passed inspection; and / or, The information data includes first data and second data corresponding to target attributes, the target attributes include at least one of material, thickness and specification, the first data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset software, and the second data is used to characterize the attribute data corresponding to the ship parts to be exported in the preset database; The step of inspecting the ship parts to be exported based on the information data of the ship parts to be exported comprises: In response to the first data being identical to the second data, determining that the ship part to be exported has passed inspection; In response to the first data being different from the second data, it is determined that the ship parts to be exported have failed the inspection; the first data and / or second data of the ship parts to be exported that have failed the inspection are updated so that the ship parts to be exported that have failed the inspection pass the inspection.
4. The nesting method for ship parts according to claim 1, characterized in that: The step of obtaining the ship parts to be exported comprises: Select the assembly type from the preset software; Selecting an assembly directory tree based on the assembly type; The ship parts to be exported are selected from the assembly directory tree.
5. The nesting method for ship parts according to claim 4, characterized in that: The nesting method also includes: Exporting the assembly directory tree; In response to a hierarchical update of the assembled directory tree; The updated hierarchy is exported.
6. The nesting method for ship parts according to any one of claims 4 or 5, characterized in that: The step of selecting the ship parts to be exported from the assembly directory tree comprises: Selecting a part type from the assembly tree; The ship parts to be exported are selected based on the part type.
7. A nesting system for ship parts, characterized in that: The nesting system comprises: A parts acquisition module is used to acquire ship parts to be exported; A parts inspection module, used for inspecting the ship parts to be exported based on the information data of the ship parts to be exported; The parts export module is used to export the ship parts to be exported that have passed the inspection in a preset manner.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the nesting method for ship parts according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the nesting method for ship parts according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the nesting method for ship parts according to any one of claims 1 to 6 is implemented.