CN113536553B - Model simplification processing method, device, equipment and computer storage medium - Google Patents
Model simplification processing method, device, equipment and computer storage medium Download PDFInfo
- Publication number
- CN113536553B CN113536553B CN202110741227.1A CN202110741227A CN113536553B CN 113536553 B CN113536553 B CN 113536553B CN 202110741227 A CN202110741227 A CN 202110741227A CN 113536553 B CN113536553 B CN 113536553B
- Authority
- CN
- China
- Prior art keywords
- model
- component sub
- simplifying
- internal component
- sub
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 35
- 238000003860 storage Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 27
- 239000000463 material Substances 0.000 claims description 24
- 238000005253 cladding Methods 0.000 claims description 18
- 230000008569 process Effects 0.000 claims description 14
- 238000012217 deletion Methods 0.000 claims description 12
- 230000037430 deletion Effects 0.000 claims description 12
- 230000006835 compression Effects 0.000 claims description 7
- 238000007906 compression Methods 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 claims description 6
- 238000013507 mapping Methods 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 238000013461 design Methods 0.000 claims description 2
- 230000033001 locomotion Effects 0.000 description 24
- 239000011248 coating agent Substances 0.000 description 8
- 238000000576 coating method Methods 0.000 description 8
- 238000000605 extraction Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011960 computer-aided design Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000003973 paint Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a model simplification processing method, a device, equipment and a computer storage medium, wherein the model simplification processing method comprises the following steps: s1, acquiring a model to be simplified; s2, dividing the model into an external component sub-model and an internal component sub-model; s3, simplifying the model; s4, combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model; wherein step S3 comprises simplifying the external component sub-model and simplifying the internal component sub-model. The model simplifying processing method divides the model into the external component sub-model and the internal component sub-model, adopts different simplifying modes for the external component sub-model and the internal component sub-model pertinently, can reduce the data volume of the model, optimize the processing speed of the model, improve the display precision of the simplified model, and is suitable for model display after being processed by the model simplifying processing method.
Description
Technical Field
The invention relates to the field of model simplification research, in particular to a model simplification processing method, a device, equipment and a computer storage medium.
Background
The rapid development of computer aided design technology has led to an increasing functional enrichment. The complex model is composed of thousands of parts, and the model contains a large amount of information such as part information, assembly information, pipeline information, modeling history, PMI information and the like. The model has larger data volume and complex structure, is inconvenient to open and process, and reduces the efficiency of various operations such as model explosion diagram production, mechanism motion analysis, animation production, model rendering and the like.
The model is simplified in many cases, and the processing speed of the model is optimized by saving information useful for the current processing operation and discarding useless information. The prior art lacks suitable model simplifying processing methods for model presentation.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. For this purpose, the invention provides a model simplification processing method, a device, equipment and a computer storage medium.
The model simplification processing method provided by the invention comprises the following steps:
S1, acquiring a model to be simplified;
s2, dividing the model into an external component sub-model and an internal component sub-model;
s3, simplifying the model;
s4, merging the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified model;
Wherein, the step S3 includes:
simplifying the external component sub-model;
simplifying the internal component sub-model.
According to some embodiments of the present invention,
The simplifying of the external component sub-model includes:
Determining redundant parts in the external component sub-model according to the deletion rule, and deleting the redundant parts;
the simplifying of the internal component sub-model includes:
and determining redundant parts in the internal component sub-model according to the deletion rule, and deleting the redundant parts.
According to some embodiments of the invention, the simplifying the external component sub-model includes:
Grouping parts of the external component sub-model in layers;
Reconstructing the external component sub-model according to the hierarchy;
Combining the parts in the group;
Renaming the part according to a first naming convention.
According to some embodiments of the invention, the simplifying the internal component sub-model includes:
extracting a cladding surface of the inner assembly submodel;
Performing face number compression on the internal component sub-model;
and repairing and perfecting the inner assembly sub-model.
According to some embodiments of the invention, the simplifying the internal component sub-model includes:
Performing structural adjustment on the internal component sub-model;
grouping the internal component submodels according to stations;
Renaming the part according to a second naming convention;
And carrying out axial unified processing on the inner assembly sub-model.
According to some embodiments of the invention, the deletion rule includes:
And obtaining a part list, and marking redundant parts according to the part list.
According to some embodiments of the invention, the model simplification process method further includes:
s5, beautifying the model;
wherein, the step S5 includes:
baking the model, adding materials and deriving a map;
and manufacturing a material ball according to the mapping, and adding the material ball to the corresponding position of the model.
The model simplification processing device provided by the invention comprises:
the first acquisition module is used for acquiring a model to be simplified;
A sub-model generation module for dividing the model into an external component sub-model and an internal component sub-model;
the simplifying module is used for simplifying the model;
The second acquisition module is used for combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model;
Wherein the simplification module comprises:
A first simplifying subunit for simplifying the external component sub-model;
and a second simplifying subunit for simplifying the internal component sub-model.
The computer device provided by the invention comprises at least one processor and at least one memory, wherein the memory is used for storing at least one program, and the at least one program is executed by the at least one processor, so that the at least one processor realizes the model simplifying processing method provided by the invention.
According to the computer storage medium provided by the present invention, a program executable by a processor is stored in the computer storage medium, and the program executable by the processor is used for implementing the model simplifying processing method provided by the present invention when being executed by the processor.
The beneficial effects of the invention are as follows:
The model simplification processing method provided by the invention divides the model into the external component sub-model and the internal component sub-model, adopts different simplification modes for the external component sub-model and the internal component sub-model pertinently, can reduce the data volume of the model, optimize the processing speed of the model, and improve the display precision of the simplified model;
According to the method, model parts are deleted according to the deletion rules, so that the number of the model parts can be effectively reduced, the external component sub-model is renamed by using the first naming rule, the internal component sub-model is renamed by using the second naming rule, and the readability of the model can be improved;
the model obtained through the model simplification processing method is suitable for model display.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, wherein it is shown, by way of illustration, only some embodiments of the application, and from which other drawings may be derived by those skilled in the art without undue burden.
FIG. 1 is a flow chart of a model simplified processing method provided in accordance with the present invention;
FIG. 2 is a flowchart of a model simplified processing method according to the present invention when used for a machine model display scene;
FIG. 3 is a flow chart illustrating a simplification of the exterior component sub-model of the machine model of FIG. 2;
fig. 4 is a flow chart illustrating a simplification of the exterior component sub-model of the machine model of fig. 2.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that references to orientation descriptions such as upper, lower, front, rear, left, right, etc. are based on the orientation or positional relationship shown in the drawings, are merely for convenience of description of the present invention and to simplify the description, and do not indicate or imply that the apparatus or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
In the description of the present invention, a number means one or more, a number means two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and above, below, within, etc. are understood to include the present number. The terms "first," "second," "third," and "fourth," etc. are used for distinguishing between different objects and should not be construed as indicating or implying a relative importance or implicitly indicating the number of features indicated or implicitly indicating the precedence of features indicated. The terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
In the description of the present invention, unless explicitly defined otherwise, terms such as arrangement, installation, connection, etc. should be construed broadly and the specific meaning of the terms in the present invention can be reasonably determined by a person skilled in the art in combination with the specific contents of the technical scheme.
The model simplification processing method provided by the invention comprises the following steps:
S1, acquiring a model to be simplified;
s2, dividing the model into an external component sub-model and an internal component sub-model;
s3, simplifying the model;
S4, combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model;
wherein, step S3 includes:
Simplifying the external component sub-model;
Simplifying the internal component sub-model.
It can be understood that a model can be divided into an external component and an internal component, and the external component such as a door, a viewing window, a housing and the like mainly plays roles in appearance decoration, model protection and the like, and the internal component such as a driving mechanism, a transmission mechanism, an executing mechanism and the like mainly plays roles in realizing the design function of the model. The external component and the internal component have different characteristics, the functional characteristics contained in the external component are fewer, the similarity of the characteristics is high, the influence of the detailed structure of the external component on the overall effect of model display is small, the functional characteristics contained in the internal component are rich, the similarity of the characteristics is low, and some detailed structures of the internal component have important influence on the functional implementation of the model.
In the prior art, the light weight method of the model generally processes the structure of the whole model without dividing the whole model into a plurality of times, so that the structure and the number of parts are simplified, the model is thinned, meanwhile, the key structure of the model is possibly excessively simplified, and the simplified model lacks key functional characteristics, so that the model is not suitable for display.
According to the model simplification processing method provided by the invention, the model is divided into the external component sub-model and the internal component sub-model, different simplification modes are adopted for the external component sub-model and the internal component sub-model in a targeted manner, so that the data volume of the model can be reduced, the processing speed of the model is optimized, the display precision of the simplified model is improved, and the model obtained through the model simplification processing method is suitable for model display.
The steps of the model simplification processing method can be realized through manually operating a processing program, can be realized through automatically executing the model in an automatic program, and can also be realized through a manual and automatic mixing mode, and the invention is not limited to specific tools adopted in the realization. For example, step S2 may be manual division, or may be performed by importing a model conforming to a predetermined naming rule into a program, dividing the execution program by the program, and outputting the result. In addition, the simplification of the external component sub-model and the simplification of the internal component sub-model are relatively independent, the invention is not limited to the sequence of the two steps, and the two steps can be performed in series or in parallel.
In some embodiments, simplifying the external component sub-model includes determining redundant parts in the external component sub-model according to a deletion rule, deleting the redundant parts. In some embodiments, simplifying the internal component sub-model includes determining redundant parts in the internal component sub-model according to a deletion rule, deleting the redundant parts.
It can be appreciated that in a specific scenario, a part of the parts in the model can be marked as redundant parts, and the redundant parts have the following characteristics that on one hand, the amount of information carried by the redundant parts is low, and the influence on key functional features of the model is small, and on the other hand, the redundant parts have the characteristics of complex structure, numerous surfaces, numerous numbers and the like. Redundant parts can severely impact the data size of the model while being of less importance in the context in which the model is displayed.
For example, the screw parts in the model bear information such as quantity, length, thread parameters and the like, and play an important role in the scenes such as counting the number of standard parts of the model, generating a purchase list, accounting cost and the like. However, when the model is displayed, even if a screw model is not provided, the observer can determine the connection fastening relation of a specific position according to the function and structure of the model. Therefore, in the model display scene, the screw parts can be marked as redundant parts, and the deletion of the screw parts can greatly reduce the data volume of the model.
In some embodiments, deleting the rule includes obtaining a parts list, marking redundant parts based on the parts list. In acquiring the parts list, a base list is first acquired, and then the base list is subjected to discussion modification by clients and engineers to obtain the parts list. The basic list can be determined by an engineer or according to a past model simplified database, the basic list comprises common redundant parts when the model is used for displaying, and the part list is obtained by specific adjustment according to the basic list aiming at the current model. The new part list can be written into the database to be used as a basic list for the next model simplification of the same model. Deleting according to the parts list can ensure that redundant parts which exist are sufficiently deleted.
The base list may generally include fasteners, more minor standards, product samples of the array, etc., such as screws, nuts, pins, solenoid valves, sensors, line holders for circuit wiring, tow chains, product cartridges.
In some embodiments, simplifying the external component submodel includes:
grouping parts of the external component sub-model in layers;
reconstructing an external component sub-model according to the hierarchy;
Combining the parts in the group;
Renaming the part according to a first naming convention.
The grouping and renaming can improve the layering property and the readability of the model, can also group the same type of parts, is convenient for subsequent processing and is also convenient for model display. For example, three levels may be first divided into Top, mid, bot levels, and the three levels are grouped according to features of the parts, such as a group of transparent parts and a group of metal plate parts, under the smallest level.
The re-modeling means that a new part is manufactured according to the part of the original external component sub-model, the original external component sub-model is replaced by the external component sub-model formed by the new part, and the characteristic with smaller influence on the overall effect displayed by the model in the external component sub-model can be selectively deleted during reconstruction, so that the weight of the model is realized. For example, since the features located inside the external component sub-model cannot be observed at the time of external observation, the features located inside can be selectively deleted, and the data amount of the external component sub-model can be reduced.
After grouping is completed, the parts in the group are combined, so that the number of the parts can be reduced, and meanwhile, the data volume related to the interrelationship among the parts can be reduced, thereby realizing the light weight of the model.
In some embodiments, simplifying the internal component sub-model includes:
extracting a cladding surface of the inner component sub-model;
Performing face number compression on the internal component sub-model;
And repairing and perfecting the inner assembly submodel.
Cladding extraction is the creation of a cladding that wraps around the original part or component, thereby extracting features of the part or component, creating a simplified part or component file from the original part or component. The cladding extraction can simplify the characteristics, can combine a plurality of parts into one cladding part, and omits collision and interference among the plurality of parts, thereby greatly reducing the file size of the large-sized part and the complex part and improving the performance when the large-sized part and the complex part are checked or used.
The step of extracting the coating surface further comprises the step of distinguishing the parts of the inner assembly submodel according to two types of moving parts and fixed parts. The moving parts refer to parts needing demonstration movement during model display, and the fixed parts refer to parts not needing demonstration movement during model display. And for moving parts, carrying out refinement grouping according to the correlation during movement, attributing the synchronously moving parts to a moving assembly, and then carrying out cladding surface extraction according to the assembly. For fixed parts, all parts can be uniformly assigned to one fixed assembly for cladding surface extraction. The method of creating the cladding surface after grouping can ensure that the created cladding surface parts can meet the requirement of demonstration movement.
The coating surface obtained in the coating surface extraction step may have the phenomena of overfitting and the like, so that the problems of excessive number of the surface sheets of the coating surface, unreasonable surface sheet connection and the like are caused. The surface number compression step is used for optimizing and reducing the surface of the coating surface part, and the number of the surface sheets of the coating surface part is effectively reduced on the basis of not affecting or slightly affecting the quality of the part, so that the effect and quality of model simplification are improved. The obtained cladding surface may have the problems of discontinuous surface piece, reverse surface of the surface piece and the like, the surface number compression step further comprises the step of preprocessing the model, and the surface piece with the problems is repaired through the preprocessing, so that errors in surface reduction are avoided.
After the coating surface extraction and surface number compression steps are completed, the problems of part missing, part abnormal deformation and the like can occur, and the repair and perfection step is used for repairing the part with the problem, so that the normal of the model is ensured, and the subsequent further processing of the model is facilitated.
In some embodiments, simplifying the internal component sub-model includes:
Performing structural adjustment on the internal component sub-model;
Grouping the internal component sub-models according to stations;
Renaming the part according to a second naming convention;
and carrying out axial unified processing on the inner assembly submodel.
The structure adjustment step includes model structure merging and structure relation linking. Model structure merging refers to additional merging of parts of the minimum level, so that the number of parts is further reduced. It will be appreciated that in an ideal case, the cladding extraction step should combine multiple parts in the same motion assembly into one cladding part for optimal simplification, but the cladding will eliminate the hole features on the part surface, and if there are hole features or other functional features that need to be retained, the part with that feature will need to be excluded from the cladding part, so in practice there will be one or more parts in one motion assembly after the cladding extraction. In the subsequent repairing and perfecting step, abnormal parts generated in the face number compressing step are removed and reconstructed and replaced, and new parts are created in the process, so that the number of parts of the moving assembly is possibly increased. By adding the model structure combining step, a plurality of parts of the same motion assembly can be added or combined into one part. The model structure is combined, so that the number of parts can be reduced to the greatest extent, the components which need to be defined when the model motion is controlled in a demonstration mode can be reduced, the data size of the model can be reduced due to the reduction of the number of the parts, and the model can run more smoothly.
The structural relation link refers to that the moving components with the relation are subjected to parent-child link, so that the control of demonstration movement is facilitated. Taking a three-axis manipulator as an example, a first axis, a second axis and a third axis of the manipulator are sequentially connected, the first axis, the second axis and the third axis can independently move, and executing parts such as clamping jaws and the like are arranged on the third axis. When the coating surface is extracted, the first shaft, the second shaft and the third shaft form a movement assembly respectively, but the first shaft can drive the second shaft and the third shaft to move when moving, and the second shaft can drive the third shaft to move when moving, so that a link relation needs to be created among the first shaft, the second shaft and the third shaft, and the second shaft and the third shaft which are used as sub-assemblies are ensured to follow when the first shaft which is used as a father assembly moves.
The layering and the readability of the model can be improved by grouping and renaming the parts according to the stations, the parts of the same type can be grouped, the subsequent processing is convenient, and the model display is also convenient.
The axial unification process refers to checking and adjusting the coordinate axis direction of each moving component so that the coordinate axis direction of each moving component is kept consistent. The control of the motion assembly is generally realized by controlling the coordinate axes of the motion assembly, such as moving along the X axis, rotating along the X axis, and the like, and the axial unification process is convenient for controlling the motion of the motion assembly during the subsequent model display. For example, if the movement of the movement assembly a and the movement assembly B are required to move in the left direction at the time of the presentation, but the coordinate axes of the movement assembly a and the movement assembly B are not uniform, the movement of the movement assembly a and the movement assembly B cannot be controlled simultaneously by one movement command.
According to some embodiments of the invention, the model simplification process method further includes: s5, beautifying the model.
The beautification can render and strengthen the display effect of the model, and improve the visual effect and the authenticity of the model, thereby improving the display effect of the model.
In some embodiments, step S5 comprises:
baking the model, adding materials and leading out a map;
and manufacturing a material ball according to the mapping, and adding the material ball to the corresponding position of the model.
In some embodiments, simplifying the external component sub-model further includes material channel differentiation of the external component sub-model. In some embodiments, simplifying the internal component sub-model further includes material channel differentiation of the internal component sub-model. The material channel distinction refers to uniformly endowing parts of the same type of material (such as glass material, paint surface material and the like) with the same color, wherein the parts of the same color belong to the same material channel, the parts of the same material channel generate the same group of maps in the same layer when being imported into the software for manufacturing the maps, and the parts of the same layer can use the generated same group of maps; the quality channel distinction can save the number of the attached drawings, and the model part subjected to the quality channel distinction is used for the step S5, so that the data size of the model after beautification can be reduced, and the model is simplified.
The model simplification processing device provided by the invention comprises:
The first acquisition module is used for acquiring a model to be simplified;
the sub-model generation module is used for dividing the model into an external component sub-model and an internal component sub-model;
the simplifying module is used for simplifying the model;
The second acquisition module is used for combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model;
Wherein the simplification module comprises:
a first simplifying subunit for simplifying the external component sub-model;
and a second simplifying subunit for simplifying the internal component sub-model.
The model simplification processing device provided by the application can be used for executing the model simplification processing method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of executing the model simplification processing method provided by any embodiment of the application. Technical details not described in detail in the above embodiments may be referred to the model simplified processing method provided in any embodiment of the present application.
The computer device provided by the invention comprises at least one processor and at least one memory, wherein the memory is used for storing at least one program, and the at least one program is executed by the at least one processor, so that the at least one processor realizes the model simplifying processing method provided by any embodiment of the invention.
The computer equipment provided by the invention can be used for realizing the model simplification processing method provided by any embodiment of the invention, and the functions and beneficial effects of the specific implementation of the computer equipment are the same as those of the model simplification processing method provided by any embodiment of the invention.
According to the computer storage medium provided by the present invention, a program executable by a processor is stored in the computer storage medium, and the program executable by the processor is used for implementing the model simplification processing method provided by any embodiment of the present invention when being executed by the processor.
The computer storage medium provided by the invention can be used for realizing the model simplification processing method provided by any embodiment of the invention, and the functions and beneficial effects of the specific realization of the computer storage medium provided by the invention are the same as those of the model simplification processing method provided by any embodiment of the invention.
The following describes in detail, with reference to fig. 2, 3, and 4, a flow when the model simplification processing method provided in the present invention is used for machine model simplification in a specific embodiment. It is to be understood that the following description is exemplary only and is not intended to limit the invention in any way.
The model simplification processing method provided by the invention comprises the following steps:
S1, acquiring a model to be simplified;
s2, dividing the model into an external component sub-model and an internal component sub-model;
s3, simplifying the model;
s4, combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model.
S5, beautifying the model.
Wherein, step S3 includes:
Simplifying the external component sub-model;
Simplifying the internal component sub-model.
Simplifying the external component submodel, comprising:
determining redundant parts in the external component sub-model according to the deletion rule, and deleting the redundant parts;
grouping parts of the external component sub-model in layers;
reconstructing an external component sub-model according to the hierarchy;
Combining the parts in the group;
renaming the part according to a first naming convention;
And distinguishing material channels of the external component submodel.
Simplifying the internal component sub-model includes:
Determining redundant parts in the internal component sub-model according to the deletion rule, and deleting the redundant parts;
extracting a cladding surface of the inner component sub-model;
Performing face number compression on the internal component sub-model;
Repairing and perfecting the inner assembly sub-model;
Performing structural adjustment on the internal component sub-model;
Material channel distinction is carried out on the internal component sub-model;
Grouping the internal component sub-models according to stations;
Renaming the part according to a second naming convention;
and carrying out axial unified processing on the inner assembly submodel.
Wherein, step S5 includes:
baking the model, adding materials and leading out a map;
and manufacturing a material ball according to the mapping, and adding the material ball to the corresponding position of the model.
It is to be understood that all or some of the steps, systems, and methods disclosed above may be implemented in software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.
Claims (9)
1. A model simplification processing method, characterized by comprising:
S1, acquiring a model to be simplified;
s2, dividing the model into an external component sub-model and an internal component sub-model;
s3, simplifying the model;
S4, merging the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified model; wherein the external component is used for decorating the appearance of the model and protecting the model, and the internal component is used for realizing the design function of the model;
the step S3 includes:
simplifying the external component sub-model;
Simplifying the internal component sub-model;
The simplifying of the external component sub-model includes:
Determining redundant parts in the external component sub-model according to the deletion rule, and deleting the redundant parts;
the simplifying of the internal component sub-model includes:
determining redundant parts in the internal component sub-model according to the deletion rule, and deleting the redundant parts;
And extracting the cladding surface of the inner component submodel.
2. The model simplification process method according to claim 1, characterized in that said simplifying the external component sub model includes:
Grouping parts of the external component sub-model in layers;
Reconstructing the external component sub-model according to the hierarchy;
Combining the parts in the group;
Renaming the part according to a first naming convention.
3. The model simplification process method according to claim 1, characterized in that said simplifying the internal component sub model includes:
Performing face number compression on the internal component sub-model;
and repairing and perfecting the inner assembly sub-model.
4. A model simplification process according to claim 3, characterized in that said simplifying said internal component sub-model comprises:
Performing structural adjustment on the internal component sub-model;
Renaming the part according to a second naming convention;
grouping the internal component submodels according to stations;
And carrying out axial unified processing on the inner assembly sub-model.
5. The model simplification processing method according to claim 1, characterized in that the deletion rule includes:
And obtaining a part list, and marking redundant parts according to the part list.
6. The model simplification process method according to claim 1, characterized in that the model simplification process method further includes:
s5, beautifying the model;
wherein, the step S5 includes:
baking the model, adding materials and deriving a map;
and manufacturing a material ball according to the mapping, and adding the material ball to the corresponding position of the model.
7. A model simplification processing apparatus characterized by comprising:
the first acquisition module is used for acquiring a model to be simplified;
A sub-model generation module for dividing the model into an external component sub-model and an internal component sub-model;
the simplifying module is used for simplifying the model;
The second acquisition module is used for combining the simplified external component sub-model and the simplified internal component sub-model to obtain a simplified finished model;
Wherein the simplification module comprises:
A first simplifying subunit for simplifying the external component sub-model;
and a second simplifying subunit for simplifying the internal component sub-model.
8. A computer device, characterized by: the computer device includes:
At least one processor;
at least one memory for storing at least one program;
The at least one program, when executed by the at least one processor, causes the at least one processor to implement the model reduction processing method of any one of claims 1 to 6.
9. A computer storage medium, characterized by: a computer storage medium having stored therein a processor executable program for implementing the model reduction processing method according to any one of claims 1 to 6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110741227.1A CN113536553B (en) | 2021-06-30 | 2021-06-30 | Model simplification processing method, device, equipment and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110741227.1A CN113536553B (en) | 2021-06-30 | 2021-06-30 | Model simplification processing method, device, equipment and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113536553A CN113536553A (en) | 2021-10-22 |
CN113536553B true CN113536553B (en) | 2024-05-17 |
Family
ID=78126420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110741227.1A Active CN113536553B (en) | 2021-06-30 | 2021-06-30 | Model simplification processing method, device, equipment and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113536553B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115495911B (en) * | 2022-09-26 | 2024-02-06 | 惠州市海葵信息技术有限公司 | Model renaming method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885378A (en) * | 2019-01-04 | 2019-06-14 | 平安科技(深圳)有限公司 | Model training method, device, computer equipment and computer readable storage medium |
CN110188369A (en) * | 2019-03-19 | 2019-08-30 | 上海大学 | A kind of simplified method of complexity rotator model |
CN111178202A (en) * | 2019-12-20 | 2020-05-19 | 西安天和防务技术股份有限公司 | Target detection method, target detection device, computer equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9058319B2 (en) * | 2007-06-18 | 2015-06-16 | International Business Machines Corporation | Sub-model generation to improve classification accuracy |
CN110335269A (en) * | 2018-05-16 | 2019-10-15 | 腾讯医疗健康(深圳)有限公司 | The classification recognition methods of eye fundus image and device |
GB201813561D0 (en) * | 2018-08-21 | 2018-10-03 | Shapecast Ltd | Machine learning optimisation method |
TWI699661B (en) * | 2019-07-11 | 2020-07-21 | 台達電子工業股份有限公司 | Scene model construction system and scene model constructing method |
-
2021
- 2021-06-30 CN CN202110741227.1A patent/CN113536553B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109885378A (en) * | 2019-01-04 | 2019-06-14 | 平安科技(深圳)有限公司 | Model training method, device, computer equipment and computer readable storage medium |
CN110188369A (en) * | 2019-03-19 | 2019-08-30 | 上海大学 | A kind of simplified method of complexity rotator model |
CN111178202A (en) * | 2019-12-20 | 2020-05-19 | 西安天和防务技术股份有限公司 | Target detection method, target detection device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
To aggregate or to eliminate? Optimal model simplification for improved process performance prediction;Arik Senderovich et al.;《Information Systems》;第78卷;第96-111页 * |
基于边折叠的产品零件模型简化算法研究;王效有等;《机械工程师》;第2卷;第83-85页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113536553A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200273177A1 (en) | Assembly monitoring method and device based on deep learning, and readable storage medium | |
US8633939B2 (en) | System and method for painting 3D models with 2D painting tools | |
CN108986195B (en) | Single-lens mixed reality implementation method combining environment mapping and global illumination rendering | |
US7499051B1 (en) | GPU assisted 3D compositing | |
CN109816704A (en) | The 3 D information obtaining method and device of object | |
CN103902702B (en) | A kind of data-storage system and storage method | |
US20120330620A1 (en) | System and Method for Simulating Machining Objects | |
US9911209B2 (en) | System and method for improving video and other media playback | |
US20230007989A1 (en) | Methods and devices for generating training sample, training model and recognizing character | |
CN113536553B (en) | Model simplification processing method, device, equipment and computer storage medium | |
US11107280B1 (en) | Occlusion of virtual objects in augmented reality by physical objects | |
CN110363839A (en) | Model rendering method, apparatus, computer equipment and storage medium | |
CN107424202A (en) | Extensive three-dimensional colony's performance animation concurrent rendering method based on PBRT | |
CN103733223B (en) | For determining the method and system of the surface defect of object model | |
CN103745074A (en) | OpenGL ES (open graphics library for embedded system)-based graphical framework system designing method for pure liquid crystal automobile instrument panel | |
CN105957149A (en) | Urban three-dimensional model data preprocessing method suitable for high-efficiency rendering | |
CN111179402B (en) | Rendering method, device and system of target object | |
CN113223187A (en) | Advertisement finished product image batch manufacturing method, system, equipment and readable storage medium | |
CN1991644A (en) | Construction method for three-dimensional solid assembly demonstration system of NC instrument lathe | |
CN114612602A (en) | Method and device for determining transparency, electronic equipment and storage medium | |
CN107346558A (en) | Accelerate the method for the direct lighting effect drafting of three-dimensional scenic using the space correlation of area source observability | |
CN116227055A (en) | Intelligent design method and system for water chilling unit | |
CN115063478A (en) | Fruit positioning method, system, equipment and medium based on RGB-D camera and visual positioning | |
CN114913298A (en) | Three-dimensional visual modeling method and system based on digital twinning | |
CN110390710B (en) | Method for processing proxy file of renderer |
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 |