CN114154248A - Lightweight design method for ship structure model - Google Patents
Lightweight design method for ship structure model Download PDFInfo
- Publication number
- CN114154248A CN114154248A CN202111503801.6A CN202111503801A CN114154248A CN 114154248 A CN114154248 A CN 114154248A CN 202111503801 A CN202111503801 A CN 202111503801A CN 114154248 A CN114154248 A CN 114154248A
- Authority
- CN
- China
- Prior art keywords
- model
- lightweight
- heavy
- light
- node
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/15—Vehicle, aircraft or watercraft design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
- G06F16/9027—Trees
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Aviation & Aerospace Engineering (AREA)
- Automation & Control Theory (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention provides a lightweight design method for a ship structure model, and belongs to the technical field of ship design and construction. The invention comprises the following steps: determining a node organization mode of the structure lightweight model; constructing a light model structure tree based on the heavy model structure tree; generating light model nodes based on the heavy model lightweight node part information; the method effectively solves the problems of opening, low viewing efficiency and other related design scenes caused by large data volume of the model, is beneficial to opening, viewing and other related operations of the model, greatly reduces the data interaction volume with a design platform and improves the design efficiency.
Description
Technical Field
The invention relates to a lightweight design method for a ship structure model, and belongs to the technical field of ship design and construction.
Background
With the increasingly wide application of the digital design technology in ship design, the ship design model is gradually enlarged and developed in a complex way, the geometric relationship and the geometric characteristics contained in the model are increasingly complex, the data volume of the model is increasingly large (hereinafter, the model is collectively referred to as a heavy model; a heavy model structure tree is referred to as a management heavy model product structure tree), the data volume of the used total model is extremely large, the phenomena of slow model opening, unsmooth operation and the like are caused, and the design application under a complex scene is not facilitated; therefore, if a lightweight model based on a heavy model exists, the lightweight model is used for realizing the replacement of the heavy model in the design application process, so that the non-geometric information in the design model is reduced as much as possible, only the geometric topological relation and the necessary attributes of the structure of a model product are reserved (hereinafter, the model is collectively called as a light model; a light model structure tree is hereinafter referred to as a light model for short) and the design and use of a conventional application scene are not influenced, meanwhile, the data volume of the model is reduced, the model is convenient to open and check, and further, the internal and external communication based on the model in the design and construction becomes possible; the method has high practicability in the whole ship design and construction process. The structural model is used as a background reference of all outfitting designs, and the lightweight outfitting model has extremely important significance for improving the design efficiency of all outfitting specialties.
Therefore, it is necessary to research a lightweight design method and system for a ship structure model to replace a heavy model, effectively reduce the model loading time and the model space occupation ratio, facilitate the opening, viewing and other related operations of the model, greatly reduce the data interaction amount with a design platform, and improve the design efficiency.
Disclosure of Invention
In view of the above disadvantages of the prior art, an object of the present invention is to provide a ship structure model lightweight design method, which is used for solving the problems in the prior art that the geometric relationship and the geometric characteristics of the model are complicated, and the model is opened slowly and operated slowly due to the rapid increase of data volume, and is not beneficial to design and application in a complex scene.
In order to achieve the above objects and other related objects, the present invention provides a method for designing a ship structure model with light weight, comprising the steps of:
s1, determining a structural lightweight model node organization mode;
s2, constructing a light model structure tree based on the heavy model structure tree;
s3, generating light model nodes based on the heavy model lightweight node part information;
and S4, opening the light model.
In an embodiment of the present invention, the step of determining the node organization of the structure lightweight model includes: and determining an organization mode of the lightweight model nodes according to different application requirements.
In an embodiment of the present invention, the lightweight model nodes are organized in a manner including: the lightweight model nodes are organized in terms of parts, assemblies (components), segments, regions, and total segments.
In an embodiment of the present invention, the step of constructing the light model structure tree based on the heavy model structure tree includes:
traversing the heavy model structure tree, and acquiring model lightweight conversion nodes meeting requirements according to a model lightweight node organization mode; comparing the hierarchical relationship from the root node of the heavy model structure tree to the lightweight conversion node with the light model structure tree, creating nodes which do not exist in the light model structure tree, recording unique identifications of the nodes corresponding to the heavy model in the created light model nodes for comparing the light model structure tree with the heavy model structure tree, deleting the nodes which are not consistent with the heavy model structure tree in the light model structure tree, and ensuring the consistency of the light model structure tree and the heavy model structure tree;
and recording the corresponding relation between the heavy model lightweight conversion node and the corresponding light model node.
In an embodiment of the present invention, the step of generating the light model node based on the heavy model lightweight node part information includes:
establishing a corresponding relation between a heavy model lightweight conversion node and a light model node, sequentially obtaining geometric information of all parts under the heavy model lightweight conversion node, comparing the geometric information of each part with the geometric information of the corresponding light model node part, and if the geometric information is the same, the part does not need to be changed;
if the geometric information is different, updating the part;
if the part in the heavy model cannot be found in the light model, synchronizing geometric information in the heavy model part into the light model; if the part in the light model can not be found in the heavy model, deleting the part model;
and after the geometric information of the part is updated, comparing the name, the material, the plate thickness or the specification information, and if the information is inconsistent, updating the attribute information on the heavy model part to the corresponding light model part.
In an embodiment of the present invention, the step of comparing the geometric information of each part with the geometric information of the corresponding light model node part includes: the method is realized by a single or combined mode of comparing the number and the positions of topological points in the part, comparing the volume with the center of gravity and comparing the volume with the moment of inertia.
In an embodiment of the present invention, the step of establishing the correspondence between the heavy model lightweight transformation node and the light model node includes: storing a unique identification of the heavy model part on the light model part or creating an associative relationship between the two models.
In an embodiment of the present invention, the comparison and the weight reduction of the geometric information of the parts may be performed in a parallel manner. In an embodiment of the present invention, the geometric information and the attribute information of the light model node part may be periodically updated through a timing task, and the frequency thereof is adjusted according to actual requirements.
In an embodiment of the present invention, the step of opening the light model includes: organically organizing the lightweight model and the outfitting model through a space filtering, attribute filtering or structure tree creating mode, and then opening the lightweight model and the outfitting model as required to obtain the lightweight model with the same geometric information and required attribute information as the heavy model.
As described above, the ship structure model lightweight design method of the present invention has the following beneficial effects:
the method effectively realizes the lightweight processing of the heavy model, achieves the replacement of the heavy model, effectively solves the problems of low opening and viewing efficiency and other related design scenes caused by large data volume of the model, is beneficial to the opening, viewing and other related operations of the model, greatly reduces the data interaction amount with a design platform, and improves the design efficiency.
Drawings
Fig. 1 is a flowchart illustrating a method for designing a ship structure model with reduced weight according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
Referring to fig. 1, the present invention provides a lightweight design method for a ship structural model, including the following steps:
s1, determining a structural lightweight model node organization mode:
aiming at different application requirements, the node organization of the structural lightweight model has various possibilities, and the node organization can be organized according to different modes such as parts, assembly (components), segmentation, regions, general sections and the like, and before the lightweight model is lightened, the organization mode of the lightweight model node needs to be determined according to actual requirements;
s2, constructing a light model structure tree based on the heavy model structure tree:
traversing the heavy model structure tree, and acquiring model lightweight conversion nodes meeting requirements according to a model lightweight node organization mode; comparing the hierarchical relationship from the root node of the heavy model structure tree to the lightweight conversion node with the light model structure tree, creating nodes which do not exist in the light model structure tree, recording unique identifications of the corresponding nodes of the heavy model in the created light model nodes for comparison of the light model structure tree, deleting the nodes which are inconsistent with the heavy model structure tree in the light model structure tree, and ensuring the consistency of the light model structure tree and the heavy model structure tree; recording the corresponding relation between the heavy model lightweight conversion node and the corresponding light model node;
s3, generating a light model node based on the heavy model lightweight node part information:
according to the corresponding relation between the heavy model lightweight conversion node and the light model node, sequentially obtaining the geometric information of all parts under the heavy model lightweight conversion node, comparing the geometric information of each part with the geometric information of the corresponding light model node part, and if the geometric information is the same, the part does not need to be changed; if the geometric information is different, updating the part; if the part in the heavy model cannot be found in the light model, synchronizing geometric information in the heavy model part into the light model; if the part in the light model cannot be found in the heavy model, the part model is deleted. The geometric information comparison of the part can be realized by a single mode or a combination of the single modes, such as the number and the position comparison of topological points in the part, the volume and the gravity center comparison, the volume and the inertia moment comparison and the like; the establishment of the corresponding relation between the heavy model part and the light model part can be realized by storing the unique identification of the heavy model part on the light model part or establishing the incidence relation between the two models;
after the geometric information of the part is updated, other attribute information required to be synchronized, such as information of name, material, plate thickness/specification and the like, needs to be compared, and if the information is inconsistent, the attribute information on the heavy model part needs to be updated to the corresponding light model part.
The geometric information comparison and the light weight of the parts can adopt a parallel operation mode so as to shorten the time required by the whole light weight. The updating of the light model can be regularly updated through a timing task, and the frequency of the updating can be adjusted according to actual requirements;
s4, opening the light model:
after the lightweight model is synchronized, the outfitting professional can organically organize the lightweight model and the outfitting model through modes of space filtering, attribute filtering, structure tree creation and the like according to actual needs in the design process, and then open the outfitting model according to needs, so that the lightweight model which is the same as the geometric information and the required attribute information of the heavy model can be obtained.
In conclusion, the method and the device effectively realize the lightweight processing of the heavy model, achieve the purpose of replacing the heavy model, effectively solve the problems of opening, low viewing efficiency and other related design scenes caused by large data volume of the model, are beneficial to the opening, viewing and other related operations of the model, greatly reduce the data interaction amount with a design platform and improve the design efficiency. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (10)
1. A ship structure model lightweight design method is characterized by comprising the following steps:
s1, determining a structural lightweight model node organization mode;
s2, constructing a light model structure tree based on the heavy model structure tree;
s3, generating light model nodes based on the heavy model lightweight node part information;
and S4, opening the light model.
2. The method for designing a ship structure model in a lightweight manner according to claim 1, wherein: the step of determining the structure lightweight model node organization mode comprises the following steps: and determining an organization mode of the lightweight model nodes according to different application requirements.
3. The method for designing a ship structure model in a lightweight manner according to claim 2, wherein: the lightweight model node organization mode comprises the following steps: the lightweight model nodes are organized in terms of parts, assemblies (components), segments, regions, and total segments.
4. The method for designing a ship structure model in a lightweight manner according to claim 1, wherein: the step of constructing the light model structure tree based on the heavy model structure tree comprises the following steps:
traversing the heavy model structure tree, and acquiring model lightweight conversion nodes meeting requirements according to a model lightweight node organization mode;
comparing the hierarchical relationship from the root node of the heavy model structure tree to the lightweight conversion node with the light model structure tree, creating nodes which do not exist in the light model structure tree, recording unique identifications of the nodes corresponding to the heavy model in the created light model nodes for comparing the light model structure tree with the heavy model structure tree, deleting the nodes which are not consistent with the heavy model structure tree in the light model structure tree, and ensuring the consistency of the light model structure tree and the heavy model structure tree;
and recording the corresponding relation between the heavy model lightweight conversion node and the corresponding light model node.
5. The method for designing a ship structure model in a lightweight manner according to claim 1, wherein: the step of generating the light model node based on the heavy model lightweight node part information comprises the following steps:
establishing a corresponding relation between a heavy model lightweight conversion node and a light model node, sequentially obtaining geometric information of all parts under the heavy model lightweight conversion node, comparing the geometric information of each part with the geometric information of the corresponding light model node part, and if the geometric information is the same, the part does not need to be changed;
if the geometric information is different, updating the part;
if the part in the heavy model cannot be found in the light model, synchronizing geometric information in the heavy model part into the light model;
if the part in the light model can not be found in the heavy model, deleting the part model;
and after the geometric information of the part is updated, comparing the name, the material, the plate thickness or the specification information, and if the information is inconsistent, updating the attribute information on the heavy model part to the corresponding light model part.
6. The method for designing a ship structure model in a lightweight manner according to claim 5, wherein: the step of comparing the geometric information of each part with the geometric information of the corresponding light model node part comprises the following steps: the method is realized by a single or combined mode of comparing the number and the positions of topological points in the part, comparing the volume with the center of gravity and comparing the volume with the moment of inertia.
7. The method for designing a ship structure model in a lightweight manner according to claim 5, wherein: the step of establishing the corresponding relation between the heavy model lightweight conversion node and the light model node comprises the following steps: storing a unique identification of the heavy model part on the light model part or creating an associative relationship between the two models.
8. The method for designing a ship structure model in a lightweight manner according to claim 5, wherein: the geometric information comparison and the light weight of the parts adopt a parallel operation mode.
9. The method for designing a ship structure model in a lightweight manner according to claim 5, wherein: the geometric information and the attribute information of the light model node parts are updated regularly through a timing task, and the frequency of the geometric information and the attribute information is adjusted according to actual requirements.
10. The method for designing a ship structure model in a lightweight manner according to claim 1, wherein: the step of opening the light model comprises the following steps: organically organizing the lightweight model and the outfitting model through a space filtering, attribute filtering or structure tree creating mode, and then opening the lightweight model and the outfitting model as required to obtain the lightweight model with the same geometric information and required attribute information as the heavy model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111503801.6A CN114154248A (en) | 2021-12-10 | 2021-12-10 | Lightweight design method for ship structure model |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111503801.6A CN114154248A (en) | 2021-12-10 | 2021-12-10 | Lightweight design method for ship structure model |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114154248A true CN114154248A (en) | 2022-03-08 |
Family
ID=80453970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111503801.6A Pending CN114154248A (en) | 2021-12-10 | 2021-12-10 | Lightweight design method for ship structure model |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114154248A (en) |
-
2021
- 2021-12-10 CN CN202111503801.6A patent/CN114154248A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101916299B (en) | Three-dimensional spatial data storage and management method based on file system | |
CN108600321A (en) | A kind of diagram data storage method and system based on distributed memory cloud | |
CN108009979A (en) | Three-dimensional point cloud compression and storage method and system based on space-time data fusion | |
CN107918612A (en) | The implementation method and device of key assignments memory system data structure | |
CN103377210B (en) | The method setting up incremental navigational route database and the method that data base is updated | |
CN113051650B (en) | Real-time acquisition method and device for building information model component data | |
CN105701104A (en) | Three-dimensional data engine system based on geographic information | |
JPH0682331B2 (en) | Transitive closure generation method, database compression method, database generation system, database store method and information provision system | |
CN113366431A (en) | Change set conflict change base | |
CN107526746A (en) | The method and apparatus of management document index | |
CN110211234A (en) | A kind of grid model sewing system and method | |
CN114860727A (en) | Zipper watch updating method and device | |
Chen et al. | A cross-platform metaverse data management system | |
CN113704248B (en) | Block chain query optimization method based on external index | |
CN108182198A (en) | Store the control device and read method of Dynamic matrix control device operation data | |
CN106462591A (en) | Partition filtering using smart index in memory | |
CN109871338A (en) | A kind of date storage method, device and computer equipment | |
CN114154248A (en) | Lightweight design method for ship structure model | |
CN108108360B (en) | Temporal data management method based on geographic information | |
CN115272601A (en) | Method for constructing three-dimensional geological model comprehensive database | |
CN116152451A (en) | Multidimensional parameterized city information model construction method, system and computer equipment | |
CN116258804A (en) | BIM model light weight method based on digital-analog separation and compression optimization | |
CN112149229B (en) | Model integration method in ship design | |
CN114169075A (en) | Ship outfitting model lightweight design method | |
CN117632970B (en) | Multimode fusion database and digital twin entity data storage method of database |
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 |