CN116522687A - System-level target modeling and storage platform for scene modeling - Google Patents

System-level target modeling and storage platform for scene modeling Download PDF

Info

Publication number
CN116522687A
CN116522687A CN202310773383.5A CN202310773383A CN116522687A CN 116522687 A CN116522687 A CN 116522687A CN 202310773383 A CN202310773383 A CN 202310773383A CN 116522687 A CN116522687 A CN 116522687A
Authority
CN
China
Prior art keywords
level
level target
target
modeling
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310773383.5A
Other languages
Chinese (zh)
Other versions
CN116522687B (en
Inventor
袁茂才
李坤
田志峰
魏梦娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Shipbuilding Orlando Wuxi Software Technology Co ltd
Original Assignee
China Shipbuilding Orlando Wuxi Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Shipbuilding Orlando Wuxi Software Technology Co ltd filed Critical China Shipbuilding Orlando Wuxi Software Technology Co ltd
Priority to CN202310773383.5A priority Critical patent/CN116522687B/en
Publication of CN116522687A publication Critical patent/CN116522687A/en
Application granted granted Critical
Publication of CN116522687B publication Critical patent/CN116522687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a system-level target modeling and storage platform for scene modeling, which is used for carrying out hierarchical design and storage on a system-level target, packaging the component-level target and the device-level target into plug-in forms, assembling the device-level target plug-in to complete modeling of a subsystem-level target and the system-level target, storing different levels by using three forms of folders, custom tmol files and cmol files, constructing a basic model modeling function, realizing plug-in packaging of the component-level target by using the function, assembling and packaging the component-level target model plug-in as the device-level target plug-in, and assembling the device-level target plug-in to complete modeling of the subsystem-level target and the system-level target. According to the invention, the basic model function is called to realize the construction and encapsulation of the component-level target basic model, the component-level target assembly is utilized to realize the equipment-level target encapsulation, and then the equipment-level target plug-in is assembled to complete the modeling of the subsystem-level target and the system-level target.

Description

System-level target modeling and storage platform for scene modeling
Technical Field
The invention relates to the technical field of equipment modeling, in particular to a system-level target modeling and storage platform for scene modeling.
Background
The system level target is taken as a comprehensive complex scene, and has higher requirements on the rapidity and effectiveness of scene modeling. System level targets such as military bases, typical towns, large ports, etc. cover a variety of subsystems, each of which in turn covers a variety of different forms of constituent elements. The military base is taken as an example, and comprises various equipment such as an airplane, a tower, a navigation platform, an oil depot, a runway, a taxiway, an apron, an weather desk and the like, wherein the different equipment has different shapes and forms different subsystems. In the process of constructing a system-level target model, researchers need to measure the position distribution and the actual target size of a target in an actual scene, and perform modeling according to the data. After the target model and scene model construction is completed, researchers assemble all models to complete scene modeling. However, researchers do not make a kick to the construction process of the object model, but change the physical position coordinates of the scene geometric model by continuously correcting the geometric model parameters of the object, so as to ensure the accuracy and the effectiveness of the model.
The traditional system-level target construction mode is that researchers construct a basic component model of a target by using commercial modeling software and assemble the basic component model into a target model, then construct a scene where the target model is located, assemble the target model and form a scene model. Although the modeling mode can complete the construction of a system-level target, the process has more steps and complex process, and has higher skill requirements on modeling engineers, so that the rapidness requirement of modeling of a scene cannot be met. In addition, because the steps before and after modeling are managed mutually, the front and back dependency relationship of the model data is strong, and the requirement of multiple optimization of the model structure parameters cannot be met. Meanwhile, because all model construction in the modeling based on the commercial modeling software is carried out according to the step of the modeling of researchers, a large amount of assembly coupling relations exist between different technologies. If a researcher modifies certain model parameters, all assembly coupling relations of the system-level target model are reloaded, which results in workload of the researcher, is usually time-consuming and labor-consuming, and is difficult to perform optimization modification quickly. This is detrimental to the optimization of the scene model.
Disclosure of Invention
The invention aims to: the invention aims to solve the defects in the prior art and provides a system-level target modeling and storage platform for scene modeling.
The technical scheme is as follows: the invention relates to a system-level target modeling and storage platform for scene modeling, which comprises a target hierarchical design module, a target data storage module, a basic model modeling module, a component-level target modeling module and a multi-layer target assembly module, wherein the target hierarchical design module is used for modeling a scene;
inputting input parameters of a system-level target in a platform, firstly, carrying out hierarchical design by a target hierarchical design module to obtain a plurality of hierarchical targets, wherein the hierarchical targets comprise a system-level target layer, a component-level target layer and a basic model layer; determining system functions through a system-level target layer, dividing the component-level target layer into different component-level targets aiming at the component composition of a single equipment-level target, and analyzing the geometric appearance characteristics of the component-level targets by a basic model layer to obtain different self-defined basic models;
secondly, the target data storage module performs multi-level separate storage according to the output result of the target hierarchical design, wherein the multi-level separate storage comprises a system-level target storage, a general storage and a component-level target storage; the system-level target storage is stored in a form of a folder of a system-level target name, and the general storage comprises a shapes folder and an assembly file; storing different component level target stores in the form of corresponding component level target names (cmol) files;
then, the basic model modeling module performs encapsulation processing on basic model construction operation through a custom script function, and outputs a custom technology model encapsulation function, wherein the modeling operation of functionalization processing comprises oblate model construction, drum model construction, trapezoid model construction and other complex geometric model construction;
thirdly, the component-level target modeling module calls a basic model modeling function in a command line mode, builds a component-level target model, encapsulates the model into dll plug-in units, outputs the component-level target model plug-in units, and comprises a modeling function plug-in unit and a general function plug-in unit;
finally, the multi-layer target assembly module calls the component-level target plug-in to be packaged into a device-level target dll, assembles the device-level target dll into a subsystem-level target, and assembles the subsystem-level target into a system-level target, so that modeling of the system-level target is completed.
Further, the hierarchical targets designed by the target hierarchical design module further comprise a subsystem target layer and a device level target layer, wherein the subsystem level target layer divides the system level targets into a plurality of different subsystem level targets; the device-level object layer divides a single subsystem-level object into a plurality of different device-level objects; if there is a device level object layer, the device level object is further divided into a number of component level objects.
In the invention, the target hierarchical design module logically divides the system-level target into a plurality of levels of targets, and can determine whether to divide the subsystem-level target and the equipment-level target according to actual service requirements.
Further, the target data storage module performs multi-level storage according to the target hierarchical design result; the system also comprises subsystem-level target level storage and device-level target storage; the tree-shaped hierarchical structure takes a system tree name as a zone bit of the system level target, a Subsystem name as a zone bit of the Subsystem level target and a device name as a zone bit of the device level target, and researchers can check the hierarchy design structure of the system level target defined by the tmol file;
the subsystem-level targets store all subsystem-level targets and store the subsystem-level targets in a shape folder in the form of a subsystem-level target name folder;
the different device-level object stores are stored in corresponding subsystem-level object folders in the form of corresponding device-level object names;
the cmol file stores basic information, SIZE information, specific ATTRIBUTE information and modeling step information of a model, wherein cmol takes INFO as a mark of basic information of the component, SIZE as a mark of SIZE information of the component, ATTRIBUTE as a mark of specific ATTRIBUTE information of the component and STEPS as a mark of modeling step information of the component, and 4 ATTRIBUTE values are set for each information: ID represents an attribute identification number, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name; meanwhile, the cmol file contains Param parameter sub-nodes under basic information, size information, specific attribute information and modeling step information, 5 attribute values are set for each node, unit represents an attribute unit, value represents an attribute Value, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name.
If the component level object is divided by the equipment level object, different component level object stores are stored in corresponding equipment level object folders in the form of corresponding component level object names.
Further, the custom script function input parameters of the basic model modeling module comprise point_ID, line_ID and face_ID in String format, points_ID, lines_ID and face_ID in String list format, direction and double value in gp_dir format;
the output parameter format of the custom script function is unified into IO_EntityNode, the IO_EntityNode is a parameter storage structure body of module custom, and the parameter storage structure body comprises IO_PointData model point information, IO_LineData model line information, IO_FaceData model surface information and IO_SolidData model body information.
Further, the modeling function plug-in of the component level target modeling module comprises a ReDraw redrawing model function, a CreateModelWithcmol function and an UpdateUI refreshing function, the ReDraw function inputs corresponding key size parameters by calling a basic model modeling function to realize the construction of the component level target model, the CreateModelWithcmol function realizes the construction of the component level target model by reading modeling step STEPS information in a command line cmol file, and the UpdateUI function is used for reconstructing and refreshing a three-dimensional model of an interface according to size parameters input by researchers;
the universal function plug-in of the component-level target modeling module comprises a Setlocation setting starting point position coordinate function, a GetName obtaining plug-in name function, a GetType obtaining plug-in type function, an Init initializing model function and a CreateContentSetingcmol file function for generating current model parameters; the generic function plug-in supports the process of adding component-level objects to a three-dimensional scene to generate cmol files.
Further, when the component-level target modeling module constructs a component-level target model plug-in of the machine head, the component-level target model plug-in of the machine head is constructed by calling a oblate body function CreateOblateToBody and a drum body function CreateDrumToBody required by the machine head through ReDraw, and inputting corresponding model parameters to complete modeling of the machine head component; after the modeling function is built, the machine head target model function is packaged into dll plug-in components, the plug-in components have reusability, and the platform can call the plug-in components for multiple times to add the component-level target model to the three-dimensional scene.
Further, the specific working process of the multilayer target assembly module is as follows:
firstly, constructing a tmol file of a system-level target, namely, constructing a tree-like hierarchical structure according to a system-level target hierarchical design 'system-level target, subsystem-level target and equipment-level target';
second, assembling component level object plug-ins to complete plug-in packaging of device level objects
The component-level target model is used as a packaged plug-in, and the module can place different component-level models according to actual space position coordinates by calling a SetLocation function of the plug-in. And adding the corresponding component-level target model for multiple times, and setting the position coordinates of the model to finish the assembly of the equipment-level target. After the addition is completed, the platform generates a cmol file of the component-level object and stores the position information of the model. And storing the generated equipment-level target in a plug-in manner to finish the encapsulation of the equipment-level target. For an aircraft equipment level object insert package, it requires component level object model inserts that assemble four parts of nose, fuselage, wing, and tail. Similarly, the hangar hall and the maintenance workshop complete the package of the plug-in of the equipment-level target by leading in the corresponding component-level target model plug-in;
finally, equipment-level target plug-ins are assembled in the multi-layer tree structure, and modeling of system-level targets is completed
Since the system level targets are made up of different subsystem level targets, the subsystem level targets are in turn made up of different device level targets. And modeling of the system level target can be completed by assembling different device level target plug-ins. The device-level object model is used as a packaging plug-in, and the module can place different device-level models according to actual space position coordinates by calling a SetLocation function of the plug-in. And adding the corresponding equipment-level target model for multiple times, and configuring the position coordinates of the model to complete modeling of the subsystem-level target and the system-level target.
When the system-level target aircraft base is assembled by multiple layers of targets, three equipment-level target model plug-ins are led into the aircraft, the aircraft base hall and the maintenance workshop, and the modeling of subsystem-level targets is completed through the spatial positions of the three equipment-level target models; likewise, subsystem scenes such as a tower, a navigation platform, an oil depot, a runway, a taxiway, an apron and an weather desk are also modeled by leading in corresponding equipment-level target models and completing subsystem-level target modeling through assembly; the completion of modeling of the subsystem level object represents the completion of modeling of the system level object.
The beneficial effects are that: compared with the prior art, the invention has the following advantages:
1. the invention realizes the construction and encapsulation of the component-level target basic model by calling the basic model function, realizes the encapsulation of the equipment-level target by utilizing the component-level target assembly, and completes the modeling of the subsystem-level target and the system-level target by assembling the equipment-level target plug-in; the invention adopts different modeling modes aiming at different level targets, can reduce unnecessary assembly coupling generated by parameters between different targets, has stronger expandability and improves modeling efficiency.
2. According to the invention, in the system-level target model construction process, the corresponding model can be intuitively searched in the tree-level system to carry out parameter modification, the parameter modification is simple and quick, and the model assembly efficiency is effectively improved.
3. According to the invention, the component-level target is stored in the form of a cmol command line file, and parameters of the cmol file can be directly checked and modified so as to change the geometric shape and the assembly position of the model, namely, the traditional drag modeling mode is changed in the form of coding, the readability of modeling data is improved, and the rapid modeling efficiency of complex scenes is improved.
4. According to the invention, a tmol modeling storage file format is constructed, and a tree structure of a system-level target-subsystem-level target-equipment-level target is stored in a tree diagram form, so that researchers can assemble equipment-level target model plug-ins to complete modeling of subsystem-level and system-level targets.
Drawings
FIG. 1 is a schematic diagram of a platform according to the present invention;
FIG. 2 is a schematic diagram of the modeling and storage flow of the present invention;
FIG. 3 is a schematic diagram of a target hierarchical design module according to the present invention;
FIG. 4 is a schematic diagram of a target data storage module according to the present invention;
FIG. 5 is a system level target schematic diagram in an embodiment.
Detailed Description
The technical scheme of the present invention is described in detail below, but the scope of the present invention is not limited to the embodiments.
The invention relates to a system-level target modeling and storage platform for scene modeling, which comprises a target hierarchical design module, a target data storage module, a basic model modeling module, a component-level target modeling module and a multi-layer target assembly module, wherein the target hierarchical design module is used for modeling a scene; carrying out hierarchical design on a system-level target, carrying out multi-level storage on target data, carrying out functional packaging treatment on parameterized modeling of a self-defined basic model, calling a basic model modeling function in a command line mode, constructing a component-level target model and packaging the model into a dll plug-in; and calling the component-level target plugin to package into a device-level target dll plugin, assembling the device-level target dll plugin into a subsystem-level target, and assembling the subsystem-level target into a system-level target, thereby completing modeling of the system-level target.
The system-level target is composed of multiple layers of targets, and the modeling efficiency can be effectively improved by decomposing the system-level target into different layers of model layering construction, so that researchers can intuitively read and modify model data. As shown in fig. 1, the system level target presents the hierarchical system in the form of a tree diagram on the interface, and a researcher can intuitively determine the composition structure of the model; researchers can also add new plug-in models to the tree structure, and the new models can be assembled by configuring model size parameters and position information; after the assembly is completed, the basic information, the size information, the specific attribute information, and the modeling step information of the model will be stored in the form of a command line file cmol. At the same time, researchers can click on tree-structured device-level targets in the scene to view and modify corresponding modeling information, location information and material information. The method greatly facilitates the optimal design of the system-level target scene modeling by researchers, and is beneficial to further developing the scene model layout optimization work.
As shown in FIG. 2, the system-level object modeling and storage of the present invention mainly comprises the following steps:
step 1, inputting input parameters of a system-level target by a platform, and carrying out hierarchical design by a target hierarchical design module to obtain a plurality of hierarchical targets, wherein the hierarchical targets comprise a subsystem target layer, a device-level target layer, a component-level target layer and a basic model layer; the method comprises the steps that a subsystem level target layer is divided into different subsystem level targets according to the functional composition of the system level targets, a plurality of subsystem level targets form a system level target, a device level target layer is divided into different device level targets according to the functional composition of a single subsystem level target, a component level target layer is divided into different component level targets according to the component composition of a single device level target, a basic model layer analyzes the geometric shape characteristics of the component level targets, and different self-defined basic models are obtained through division. And determining whether to divide subsystem-level targets and device-level targets according to actual service requirements.
Step 2, the target data storage module performs multi-level separate storage according to the output result of the target hierarchical design, wherein the multi-level separate storage comprises a system level target storage, a general storage, a subsystem level target storage, a device level target storage and a component level target storage; the system-level target storage is stored in a form of a folder of a system-level target name, and the general storage comprises a shapes folder and an assembly file; storing all subsystem-level targets in a form of a folder of subsystem-level target names in a shape folder by the subsystem-level targets; different device-level object stores are stored in corresponding subsystem-level object folders in the form of corresponding device-level object names; the different component level object stores are stored in corresponding device level object folders in the form of respective "component level object names. Cmol" files.
In this embodiment, if the target hierarchical design module is not divided into the subsystem target layer and the device-level target layer, the subsystem-level target layer and the device-level target layer do not need to be stored, and at this time, the component-level target is stored as an independent cmol file.
The tree-shaped hierarchical structure takes a system tree name as a zone bit of the system level target, a Subsystem name as a zone bit of the Subsystem level target and a device name as a zone bit of the device level target, and researchers can check the hierarchy design structure of the system level target defined by the tmol file; the cmol file stores basic information, SIZE information, specific ATTRIBUTE information and modeling step information of a model, wherein cmol takes INFO as a mark of basic information of the component, SIZE as a mark of SIZE information of the component, ATTRIBUTE as a mark of specific ATTRIBUTE information of the component and STEPS as a mark of modeling step information of the component, and 4 ATTRIBUTE values are set for each information: ID represents an attribute identification number, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name; meanwhile, the cmol file contains Param parameter sub-nodes under basic information, size information, specific attribute information and modeling step information, 5 attribute values are set for each node, unit represents an attribute unit, value represents an attribute Value, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name.
And 3, packaging the basic model building operation by a basic model modeling module through a custom script function, and outputting a custom technology model packaging function, wherein the modeling operation of the functionalization processing comprises oblate model building, drum model building, trapezoid model building and other complex geometric model building. The input parameters of the custom script function comprise a point_ID, a line_ID and a face_ID in a String format, points_ID, lines_ID and face_ID in a String list format, direction and double value in a gp_dir format; the output parameter format of the custom script function is unified into IO_EntityNode, the IO_EntityNode is a parameter storage structure body of module custom, and the parameter storage structure body comprises IO_PointData model point information, IO_LineData model line information, IO_FaceData model surface information and IO_SolidData model body information.
For example, for the construction of a drum model, the basic model modeling module encapsulates a custom script function named CreateDrumToBody, the input parameters of the function include face_id of the rotation plane, direction of the rotation axis, angle of the rotation angle, and ID of the drum model established, and the output parameters of the function are io_entitynode parameter structure.
And 4, the component-level target modeling module calls a basic model modeling function in a command line mode, builds a component-level target model, packages the model into dll plug-ins, outputs the component-level target model plug-ins, and comprises a modeling function plug-in and a general function plug-in.
The modeling function plug-in of the component level target modeling module comprises a ReDraw redrawing model function, a CreateModelWithcmol function and an UpdateUI refreshing function, the ReDraw function inputs corresponding key size parameters by calling a basic model modeling function to realize the construction of the component level target model, the CreateModelWithcmol function realizes the construction of the component level target model by reading modeling step STEPS information in a command line cmol file, and the UpdateUI function is used for reconstructing and refreshing a three-dimensional model of an interface according to size parameters input by researchers; the universal function plug-in of the component-level target modeling module comprises a Setlocation setting starting point position coordinate function, a GetName obtaining plug-in name function, a GetType obtaining plug-in type function, an Init initializing model function and a CreateContentSetingcmol file function for generating current model parameters; the generic function plug-in supports the process of adding component-level objects to a three-dimensional scene to generate cmol files.
And 5, the multi-layer target assembly module is used for calling the component-level target plug-in to be packaged into a device-level target dll, assembling the device-level target dll into a subsystem-level target, and assembling the subsystem-level target into a system-level target so as to complete modeling of the system-level target.
The specific working process of the multilayer target assembly module in this embodiment is as follows:
firstly, constructing a tmol file of a system-level target, namely, constructing a tree-like hierarchical structure according to a system-level target hierarchical design 'system-level target, subsystem-level target and equipment-level target'; the tmol file contains a tree hierarchy from a system level target to a device level target, wherein the tree hierarchy takes a system tree name as a zone bit of the system level target, a Subsystem name as a zone bit of the Subsystem level target and a device name as a zone bit of the device level target; the method is beneficial to the researchers to assemble the equipment-level target model plug-in to complete the modeling of subsystem-level and system-level targets;
secondly, assembling a component-level target plug-in to complete plug-in packaging of the equipment-level target; the method comprises the steps that a component level target model is used as a packaged plugin, a module can place different component level models according to actual space position coordinates by calling a SetLocation function of the plugin, the corresponding component level target model is added for multiple times, the position coordinates of the model are set, the assembly of a device level target can be completed, after the addition is completed, a cmol file of the component level target is generated by a platform, the position information of the model is stored, and the generated device level target is stored in a plugin mode, so that the packaging of the device level target is completed;
finally, equipment-level target plug-ins are assembled in the multi-layer tree structure, and modeling of system-level targets is completed; modeling of a system level target can be completed by assembling different equipment level target plugins, the equipment level target model is used as a packaging plugin, and the module can place different equipment level models according to actual space position coordinates by calling a SetLocation function of the plugin; and adding the corresponding equipment-level target model for multiple times, and configuring the position coordinates of the model to complete modeling of the subsystem-level target and the system-level target.
As shown in fig. 3, the target hierarchical design module of the present embodiment logically divides a system-level target into a plurality of levels of targets, and inputs an aircraft base as the system-level target, and then the target hierarchical design module divides subsystem-level targets of the aircraft base into an aircraft base, a tower, a navigation platform, an oil depot, a runway, a taxiway, an apron and an meteorological platform; dividing equipment-level targets of subsystem-level targets of an aircraft library into aircraft, a library hall and a maintenance workshop; dividing a component level target of an aircraft equipment level target into a nose, a fuselage, a wing and a tail; the basic model of the nose part level object is divided into a body including an oblate circular shape and a drum-shaped shape.
As shown in fig. 4, when the target data storage module performs system-level target data storage on the aircraft base, the first layer is an aircraft base folder; the second layer is a shapes folder and an assamble. Tmol file; the third layer is an airplane library folder, a tower folder, a navigation table folder, an oil library folder, a runway folder, a taxiway folder, an apron folder and an weather table folder under the shape folder; the fourth layer is an airplane folder under the airplane library folder, a library hall folder and a maintenance workshop folder; the fifth layer is a machine head, cmol, a machine body, a cmol, a wing, a cmol and a machine tail file under the airplane folder; if the device-level object does not need to be continuously divided into component-level objects, the platform supports to store the component-level objects as independent cmol files.
The cmol file of the present invention stores model base information, size information, specific attribute information, and modeling step information. Researchers can directly view and modify parameters of cmol files, and change the geometric shape and assembly position of the model. The traditional drag modeling mode is time-consuming and labor-consuming and has large workload, and the file form based on the command line improves the readability of modeling data and simultaneously improves the modeling efficiency. the tmol file contains a tree hierarchy from a system level target to a device level target, the tree structure takes a system tree name as a flag bit of the system level target, a Subsystem name as a flag bit of the Subsystem level target, and a Devivename as a flag bit of the device level target. This approach helps researchers assemble device-level object model plug-ins to complete modeling of subsystem-level and system-level objects.
In this embodiment, when the component-level target modeling module constructs a component-level target model plug-in of the machine head, the component-level target model plug-in is constructed by calling a oblate function CreateOblateToBody and a drum function CreateDrumToBody required by the machine head through ReDraw, and inputting corresponding model parameters to complete modeling of the machine head component; after the modeling function is built, the machine head target model function is packaged into dll plug-in components, the plug-in components have reusability, and the platform can call the plug-in components for multiple times to add the component-level target model to the three-dimensional scene.
In summary, the invention performs hierarchical design on the system-level target to construct a basic model function and realizes plug-in package of the component-level target model; packaging the device-level target plug-in by utilizing the component-level target model plug-in assembly; modeling of subsystem-level targets and system-level targets is accomplished using device-level target plugins. On the basis, an integrated system-level target command line modeling platform of target hierarchical design and storage-basic model function encapsulation-component-level target plug-in encapsulation-equipment-level target plug-in encapsulation-system-level target assembly is established, the efficiency of establishing a system-level target by researchers is improved, the flow steps of modeling are simplified, and the layout optimization of the models by subsequent researchers is guaranteed.
As can be seen from the results of the embodiment of FIG. 5, the present invention employs different modeling approaches for different layer systems by dividing the system level targets into subsystem level targets, device level targets, component level targets, and base models. The method comprises the steps of adopting a parameter functional packaging method aiming at a basic model, adopting a command line packaging modeling method aiming at component level target modeling, adopting a component level target assembly packaging method aiming at equipment level target modeling, and adopting an equipment level target packaging method aiming at subsystem level target and system level target modeling. The plug-in assembly method can reduce unnecessary assembly coupling generated by parameters between different targets and avoid interference between different models. Meanwhile, the plug-in has strong expandability, researchers can deposit modeling experience, and the plug-in with universality is formed into a model plug-in library, so that modeling efficiency is improved. According to the invention, researchers can intuitively search the corresponding model in the tree-like hierarchical system to carry out parameter modification without entering parts to modify, and the efficiency of modifying model parameters by the researchers is improved.

Claims (6)

1. The system-level target modeling and storage platform for scene modeling is characterized by comprising a target hierarchical design module, a target data storage module, a basic model modeling module, a component-level target modeling module and a multi-layer target assembly module;
inputting input parameters of a system-level target in a platform, firstly, carrying out hierarchical design by a target hierarchical design module to obtain a plurality of hierarchical targets, wherein the hierarchical targets comprise a system-level target layer, a component-level target layer and a basic model layer; determining system functions through a system-level target layer, dividing the component-level target layer into different component-level targets aiming at the component composition of a single equipment-level target, and analyzing the geometric appearance characteristics of the component-level targets by a basic model layer to obtain different self-defined basic models;
secondly, the target data storage module performs multi-level separate storage according to the output result of the target hierarchical design, wherein the multi-level separate storage comprises a system-level target storage, a general storage and a component-level target storage; the system-level target storage is stored in a form of a folder of a system-level target name, and the general storage comprises a shapes folder and an assembly file; storing different component level target stores in the form of corresponding component level target names (cmol) files;
then, the basic model modeling module performs encapsulation processing on basic model construction operation through a custom script function, and outputs a custom technology model encapsulation function, wherein the modeling operation of functionalization processing comprises oblate model construction, drum model construction, trapezoid model construction and other complex geometric model construction;
thirdly, the component-level target modeling module calls a basic model modeling function in a command line mode, builds a component-level target model, encapsulates the model into dll plug-in units, outputs the component-level target model plug-in units, and comprises a modeling function plug-in unit and a general function plug-in unit;
finally, the multi-layer target assembly module calls the component-level target plug-in to be packaged into a device-level target dll, assembles the device-level target dll into a subsystem-level target, and assembles the subsystem-level target into a system-level target, so that modeling of the system-level target is completed.
2. The system level object modeling and storage platform for scene modeling as defined in claim 1, wherein said hierarchical objects of object hierarchical design module design further comprise a subsystem object layer and a device level object layer,
the subsystem level target layer divides the system level target into a plurality of different subsystem level targets; the device-level object layer divides a single subsystem-level object into a plurality of different device-level objects; if there is a device level object layer, the device level object is further divided into a number of component level objects.
3. The system-level object modeling and storage platform for scene modeling as defined in claim 1, wherein said object data storage module performs multi-level separate storage according to the result of object hierarchical design; the system also comprises subsystem-level target level storage and device-level target storage;
the method comprises the steps that an assembly file in general storage is stored with a tree hierarchy structure of a system level target-Subsystem level target-equipment level target, the tree hierarchy structure takes a system tree name as a zone bit of the system level target, a Subsystem name as a zone bit of the Subsystem level target, a device name as a zone bit of the equipment level target, and a hierarchical design structure of the system level target is clearly seen in the tmol file;
the subsystem-level targets store all subsystem-level targets and store the subsystem-level targets in a shape folder in the form of a subsystem-level target name folder;
the different device-level object stores are stored in corresponding subsystem-level object folders in the form of corresponding device-level object names;
the cmol file stores basic information, SIZE information, specific ATTRIBUTE information and modeling step information of a model, wherein cmol takes INFO as a mark of basic information of the component, SIZE as a mark of SIZE information of the component, ATTRIBUTE as a mark of specific ATTRIBUTE information of the component and STEPS as a mark of modeling step information of the component, and 4 ATTRIBUTE values are set for each information: ID represents an attribute identification number, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name; meanwhile, the cmol file contains Param parameter sub-nodes under basic information, size information, specific attribute information and modeling step information, 5 attribute values are set for each node, unit represents an attribute unit, value represents an attribute Value, type represents an attribute Type, displayname represents an attribute display Name, and Name represents an attribute Name;
if the component level object is divided by the equipment level object, different component level object stores are stored in corresponding equipment level object folders in the form of corresponding component level object names.
4. The system-level object modeling and storage platform for scene modeling as defined in claim 1, wherein the custom script function input parameters of the basic model modeling module include point_id, line_id and face_id in String format, points_id, lines_id and face_id in String list format, direction and double value in gp_dir format;
the output parameter format of the custom script function is unified into IO_EntityNode, the IO_EntityNode is a parameter storage structure body of module custom, and the parameter storage structure body comprises IO_PointData model point information, IO_LineData model line information, IO_FaceData model surface information and IO_SolidData model body information.
5. The system-level object modeling and storage platform for scene modeling according to claim 1, wherein the modeling function plug-in of the component-level object modeling module comprises a ReDraw redrawn model function, a createmodel withcmol function and an UpdateUI refresh function, the ReDraw function inputs corresponding critical dimension parameters by calling a basic model modeling function, the createmodel withcmol function realizes the construction of the component-level object model by reading modeling step STEPS information in a command line cmol file, and the UpdateUI function reconstructs and refreshes a three-dimensional model of an interface according to dimension parameters input by researchers;
the universal function plug-in of the component-level target modeling module comprises a Setlocation setting starting point position coordinate function, a GetName obtaining plug-in name function, a GetType obtaining plug-in type function, an Init initializing model function and a CreateContentSetingcmol file function for generating current model parameters; the generic function plug-in supports the process of adding component-level objects to a three-dimensional scene to generate cmol files.
6. The system-level object modeling and storage platform for scene modeling as defined in claim 1, wherein the specific working procedure of the multi-layer object assembly module is:
firstly, constructing a tmol file of a system-level target, namely, constructing a tree-like hierarchical structure according to a system-level target hierarchical design 'system-level target, subsystem-level target and equipment-level target';
second, assembling component level object plug-ins to complete plug-in packaging of device level objects
The method comprises the steps that a component level target model is used as a packaged plugin, a module can place different component level models according to actual space position coordinates by calling a SetLocation function of the plugin, the corresponding component level target model is added for multiple times, the position coordinates of the model are set, the assembly of a device level target can be completed, after the addition is completed, a cmol file of the component level target is generated by a platform, the position information of the model is stored, and the generated device level target is stored in a plugin mode, so that the packaging of the device level target is completed;
finally, equipment-level target plug-ins are assembled in the multi-layer tree structure, and modeling of system-level targets is completed
Modeling of a system level target can be completed by assembling different equipment level target plugins, the equipment level target model is used as a packaging plugin, and the module can place different equipment level models according to actual space position coordinates by calling a SetLocation function of the plugin; and adding the corresponding equipment-level target model for multiple times, and configuring the position coordinates of the model to complete modeling of the subsystem-level target and the system-level target.
CN202310773383.5A 2023-06-28 2023-06-28 System-level target modeling and storage platform for scene modeling Active CN116522687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310773383.5A CN116522687B (en) 2023-06-28 2023-06-28 System-level target modeling and storage platform for scene modeling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310773383.5A CN116522687B (en) 2023-06-28 2023-06-28 System-level target modeling and storage platform for scene modeling

Publications (2)

Publication Number Publication Date
CN116522687A true CN116522687A (en) 2023-08-01
CN116522687B CN116522687B (en) 2023-09-01

Family

ID=87396199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310773383.5A Active CN116522687B (en) 2023-06-28 2023-06-28 System-level target modeling and storage platform for scene modeling

Country Status (1)

Country Link
CN (1) CN116522687B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737790A (en) * 2020-05-12 2020-10-02 中国兵器科学研究院 Method and equipment for constructing simulated city model
CN111797450A (en) * 2020-05-29 2020-10-20 国网上海电力设计有限公司 Power grid engineering model design system, method, equipment and storage medium based on BIM
CN113742941A (en) * 2021-09-16 2021-12-03 北京航空航天大学 Complex equipment system testability modeling platform based on hierarchical analysis of system structure
CN113762724A (en) * 2021-08-11 2021-12-07 国网上海市电力公司 Method for collaborative design and management of power transmission and transformation project based on BIM technology
CN114116668A (en) * 2021-11-23 2022-03-01 中冶京诚工程技术有限公司 Data storage method and device for equipment model
CN114663573A (en) * 2020-12-22 2022-06-24 中国石油化工股份有限公司 Petrochemical three-dimensional model library construction method and system
CN114882178A (en) * 2022-05-31 2022-08-09 北京优锘科技有限公司 RVM data-based 3D factory generation method, system, medium and equipment
CN115828633A (en) * 2022-12-29 2023-03-21 石家庄科林电气股份有限公司 Power distribution scene modeling method based on Unity3D

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737790A (en) * 2020-05-12 2020-10-02 中国兵器科学研究院 Method and equipment for constructing simulated city model
CN111797450A (en) * 2020-05-29 2020-10-20 国网上海电力设计有限公司 Power grid engineering model design system, method, equipment and storage medium based on BIM
CN114663573A (en) * 2020-12-22 2022-06-24 中国石油化工股份有限公司 Petrochemical three-dimensional model library construction method and system
CN113762724A (en) * 2021-08-11 2021-12-07 国网上海市电力公司 Method for collaborative design and management of power transmission and transformation project based on BIM technology
CN113742941A (en) * 2021-09-16 2021-12-03 北京航空航天大学 Complex equipment system testability modeling platform based on hierarchical analysis of system structure
CN114116668A (en) * 2021-11-23 2022-03-01 中冶京诚工程技术有限公司 Data storage method and device for equipment model
CN114882178A (en) * 2022-05-31 2022-08-09 北京优锘科技有限公司 RVM data-based 3D factory generation method, system, medium and equipment
CN115828633A (en) * 2022-12-29 2023-03-21 石家庄科林电气股份有限公司 Power distribution scene modeling method based on Unity3D

Also Published As

Publication number Publication date
CN116522687B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
US11875093B2 (en) Computing techniques for three-dimensional modeling and design analysis
CN103020393B (en) Aircraft assembly data visualization method based on Web
CN108073682B (en) Querying a database based on parametric view functions
CN108573112B (en) Space flight test emission two-dimensional layout analysis method based on digital simulation
CN103093023A (en) Computer aided design model analysis system
CN104331530B (en) A kind of electronic warfare Scene Simulation Platform and method of work based on XML descriptions
CN112652040B (en) Intelligent generation method for explosion diagram and explosion animation of three-dimensional complex product
CN102609585A (en) Aircraft instrument efficient modeling design method based on components
CN110517357A (en) 3-D graphic annotation with semantic attribute
Bhadaniya et al. Mixed reality-based dataset generation for learning-based scan-to-BIM
CN106446460A (en) Lightweight method of super-large three-dimensional model of carrier rocket
CN116522687B (en) System-level target modeling and storage platform for scene modeling
CN104778323A (en) Method for simulating complex equipment operation process integrating multisource performance analysis data
CN114633850B (en) Virtual visual reconstruction method for finite element model of ship structure
WO2021222697A1 (en) Method and apparatus for structural design
JP2021111376A (en) 3d modelled object of physical prototype of product
JPH0821089B2 (en) Solid model shape definition method in CAD / CAM system
CN104217071A (en) Automatic virtual assembly method of indexable end-milling cutter body and components thereof
Wen et al. Research on direct topological structure reconstruction for STL Model
Lee INTEGRATION OF SOLID MODELING AND DATABASE MANAGEMENT FOR CAD/CAM (QUERY LANGUAGE, GEOMETRIC DATABASE, FEATURE EXTRACTION)
CN103093496A (en) Three-dimensional figure simulation method and system
FANG et al. Automatic method for extracting 3D ship cabin models based on JT format
US11797731B2 (en) Systems and methods for simulating printed circuit board components
Lang et al. Virtual assembly system for large-scale complex products
Druyor et al. A Survey of Overset Domain Assembly Methods

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant