CN-121996617-A - Method for automatically exporting AM model
Abstract
The invention discloses a method for automatically exporting an AM model, which relates to the technical field of ships and comprises the steps of S1, configuring plug-in files for AM software, wherein the plug-in files comprise configuration objects files, configuration functions files and configuration forms files, S2, loading the plug-in into the AM software to realize the function of viewing the ship model by using Navisworks software, and S3, exporting RVM format files through the AM software and realizing the conversion and viewing of the model files by using the additional model function of Navisworks software. According to the method for automatically exporting the AM model, the AM is subjected to secondary development through the PML, so that the ship model can be smoothly checked by using Navisworks software under the condition that an AM environment is not installed, the model checking efficiency is remarkably improved, the operation is simple and easy, the model can be quickly checked, the measuring distance is quickly checked, and meanwhile, the model checking and marking viewpoints are convenient.
Inventors
- CHANG XIANG
- ZHOU JIAJIE
- CAO HONGJUN
- QIN JUN
Assignees
- 江苏扬子三井造船有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260119
Claims (10)
- 1. A method for automatically deriving an AM model, comprising the steps of: S1, configuring plug-in files for AM software, wherein the plug-in files comprise configuration objects files, configuration functions files and configuration forms files; s2, loading the plug-in into AM software to realize the function of checking the ship model by Navisworks software; S3, the use flow is that RVM format files are exported through AM software, and the conversion and the viewing of the model files are realized by using the additional model function of Navisworks software.
- 2. The method for automatically exporting an AM model according to claim 1, wherein in step S1, color rules of the exported model are set by configuring objects files to ensure that the exported model contains color information, and specifically, the file with suffix of pmlobj in the folder is placed in a configuration file address under the AM installation directory.
- 3. A method of automatically exporting an AM model as claimed in claim 2, wherein the file with suffix of pmlobj in the folder is kNWFilesGenColobj, NWFilesGenColobj, NWFilesGenSettobj.
- 4. The method for automatically exporting an AM model according to claim 1, wherein in step S1, a plurality of calculation functions are designed for window program call by configuring functions files, and the model exporting function is implemented by placing a file with suffix of pmlfun in a folder into a configuration file address under an AM installation directory.
- 5. A method of automatically exporting an AM model according to claim 4, wherein the file in the folder is suffix to file pmlfun, NWFILESGenExp. Pmlfnc, NWFILESGenExport. Pmlfnc, xpoordTransnew. Pmlfnc.
- 6. The method according to claim 1, wherein in the step S1, a program operation interface is generated by configuring forms files for user interaction with software, and the files with the suffix of pmlfrm in the folder are placed in the configuration file address under the AM installation directory.
- 7. The method of claim 6, wherein the file with suffix of pmlfrm is nav. Pmlfrm.
- 8. The method for automatically exporting an AM model according to claim 1, wherein the specific operation of step S2 is to re-open the AM arbitrary structure interface after closing all the running AM programs, and input PMLREHASHALL in command box to load newly configured plug-ins.
- 9. A method of automatically deriving an AM model as claimed in claim 1 wherein said step S3 comprises the sub-steps of: S31, calling a plug-in window program, namely under the structure interface, inputting a show +|| nav in a command box, and calling the plug-in window program; s32, selecting and exporting a model, namely selecting the model to be exported in the structural tree list, exporting an RVM format file to a specified folder; S33, converting and viewing the model file, namely adding the exported RVM format file into the common-additional option by using Navisworks Manage software, setting the transparency, and storing the transparency as an NWD format.
- 10. The method for automatically deriving an AM model according to claim 9, wherein in step S33, the transparency setting method is performed by selecting a model to be set with transparency, setting the model with a substitute item-substitute transparency-transparency ratio, and storing the model in NWD format.
Description
Method for automatically exporting AM model Technical Field The invention relates to the technical field of ships, in particular to a method for automatically exporting an AM model. Background AM, 3D printing, is a technique for manufacturing entities by stacking materials layer by layer, the core of which is a digital model (AM model). The AM model provides an efficient manufacturing means for the digitization to materialization of the ship model, and the CAD design file of the ship is imported through the special 3D printing software to perform model repair, light weight optimization, printing feasibility analysis and slicing processing, so that the ship model can be ensured to be printed in 3D. The two are related in that the ship model provides a design basis, and the AM model converts the design basis into manufacturable digital instructions, so that rapid prototyping verification, complex part production or old part repair can be performed. However, when the model is viewed using AM software in practice, the model viewing is relatively slow and the display area is limited due to the large amount of data. Especially when there are more elements contained in the model, the system can become stuck, affecting the user to view the model smoothly. Meanwhile, in order to view and call into the AM model, users often need to install AM environments, databases and associated project files on the computer, which is cumbersome and increases the use threshold and cost. With the improvement of the design complexity of ships, the data volume of the AM model is continuously increased, and the requirement on computer hardware is also higher and higher, so that AM software cannot be smoothly operated on some computers with lower configuration, and further the efficiency of model checking and operation is affected. Disclosure of Invention The present invention is directed to a method for automatically deriving an AM model, so as to solve the above-mentioned problems in the prior art. In order to achieve the above purpose, the invention provides a method for automatically deriving an AM model, comprising the following steps: S1, configuring files, namely configuring necessary plug-in files for AM software, wherein the plug-in files comprise configuration objects files, configuration functions files and configuration forms files; s2, loading the plug-in into AM software to realize the function of checking the ship model by Navisworks software; S3, the use flow is that RVM format files are exported through AM software, and the conversion and the viewing of the model files are realized by using the additional model function of Navisworks software. Further, in the step S1, color rules of the export model are set by configuring objects files, so as to ensure that color information is contained when the export model is exported, and the specific operation is that a file with a suffix of pmlobj in a folder is placed in a configuration file address under an AM installation directory. Further, the file with suffix of pmlobj in the folder is kNWFilesGenColobj, NWFilesGenColobj, NWFilesGenSettobj. In step S1, a plurality of calculation functions are designed for window program call to realize specific functions such as model derivation by configuring functions files, and the specific operation is that a file with a suffix of pmlfun in a folder is placed in a configuration file address under an AM installation directory. Further, files with suffix of pmlfun in the folder are NWFILESGenExp.pmlfnc, NWFILESGenExport.pmlfnc, xpCoordTransnew.pmlfnc. Further, in step S1, a program operation interface is generated by configuring forms files for the user to interact with the software, and the file with the suffix of pmlfrm in the folder is placed in the configuration file address under the AM installation directory. Further, the file with suffix of pmlfrm in the folder is nav.pmlfrm. Further, the specific operation of step S2 is to re-open the AM arbitrary structure interface after closing all the running AM programs, and input PMLREHASHALL in the command box to load the newly configured plug-in. Further, the step S3 includes the following substeps: S31, calling a plug-in window program, namely under the structure interface, inputting a show +|| nav in a command box, and calling the plug-in window program; s32, selecting and exporting a model, namely selecting the model to be exported in the structural tree list, exporting an RVM format file to a specified folder; S33, converting and viewing the model file, namely adding the exported RVM format file into the common-additional option by using Navisworks Manage software, setting the transparency, and storing the transparency as an NWD format. Further, in the step S33, due to the difference between the AM transparency matching and Navisworks side, the transparency needs to be set, and the specific method includes selecting a model (such as an explosion-proof area) with transparency needs to be