CN110826116A - Model processing method and device, computer equipment and readable storage medium - Google Patents
Model processing method and device, computer equipment and readable storage medium Download PDFInfo
- Publication number
- CN110826116A CN110826116A CN201810813222.3A CN201810813222A CN110826116A CN 110826116 A CN110826116 A CN 110826116A CN 201810813222 A CN201810813222 A CN 201810813222A CN 110826116 A CN110826116 A CN 110826116A
- Authority
- CN
- China
- Prior art keywords
- model
- function
- attribute information
- area
- functional area
- 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
- 238000003672 processing method Methods 0.000 title abstract description 18
- 238000013461 design Methods 0.000 claims abstract description 70
- 238000000034 method Methods 0.000 claims abstract description 59
- 238000012545 processing Methods 0.000 claims abstract description 27
- 230000006870 function Effects 0.000 claims description 198
- 238000004590 computer program Methods 0.000 claims description 15
- 238000009434 installation Methods 0.000 claims description 8
- 238000012423 maintenance Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 7
- 238000012938 design process Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005034 decoration Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 230000003340 mental effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000003796 beauty Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention relates to a model processing method, a model processing device, computer equipment and a readable storage medium. The method can comprise the following steps: acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model; determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model; determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models; determining a target combination mode from the assembly result set according to a preset selection strategy; and dragging the corresponding functional area model to the corresponding design area according to the target combination mode. The method can improve the design efficiency of designers and the practicability of design schemes.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a model processing method, an apparatus, a computer device, and a readable storage medium.
Background
With the continuous development of social economy, people have higher and higher requirements on beauty and comfort in areas such as residential areas, office areas and the like, so that users pay more attention to design schemes output by designers.
At present, when a designer designs a scheme for decoration or decoration for a customer by using computer equipment, three-dimensional models called from a database are generally dragged into a design area one by one according to personal experience and subjective consciousness, and the designer can manually adjust the placement position of the three-dimensional models in the design area to output a final design scheme.
However, in the conventional art, a designer needs to spend much time on adjusting each model of a design area when designing a design scheme, so that the design efficiency is low, and the design scheme is easy to have low practicability due to insufficient experience or misjudgment of the designer.
Disclosure of Invention
In view of the above, it is necessary to provide a model processing method, apparatus, computer device and readable storage medium for solving the problems of low design efficiency and low practicability of the design scheme in the prior art.
In a first aspect, an embodiment of the present invention provides a method for processing a model, where the method includes:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
In the method for processing a model provided in this embodiment, a computer device obtains first attribute information of a plurality of function region models, determines a function region assembly rule according to each first attribute information, determines an assembly result set according to the function region assembly rule, determines a target combination mode from the assembly result set according to a preset selection policy, and finally drags the corresponding function region model to a corresponding design region according to the target combination mode. In the design process, the whole process is mainly that the computer equipment is designed according to the information input by the designer, so that the human participation process is reduced, the design efficiency of the designer is greatly improved, and the computer equipment can drag each function area model to the corresponding design area according to the determined assembly rule without spending more time on the designer to adjust the placing position of each function area model, so that the design efficiency of the designer is further improved; in addition, the final design result is determined by the computer equipment according to the assembly rule, the problem that the design scheme cannot meet the practicability due to unreasonable design results caused by insufficient experience or subjective judgment errors of designers is solved, and the practicability of the design scheme is greatly improved.
In one embodiment, the obtaining first attribute information of a plurality of functional region models includes:
acquiring user demand information;
determining the plurality of functional area models from a preset functional area model library according to the user demand information;
and determining first attribute information of each functional area model according to the second attribute information of the real model corresponding to each functional area model.
In the processing method of the model provided in this embodiment, the computer device may obtain the user requirement information, determine the plurality of function region models from the preset function region model library according to the user requirement information, and further determine the first attribute information of each function region model according to the second attribute information of the real model corresponding to each function region model. The embodiment determines the required functional area model and the first attribute information of the functional area model based on the user requirement information, so that the computer device can determine the final design result corresponding to the target combination mode according to the user requirement information, and the design result is more matched with the user requirement information.
In one embodiment, the function region assembly rule includes: at least one of a selection rule of the functional region model, an association relation rule of the functional region model, and a positioning rule of the functional region model.
In one embodiment, the selection rule of the function region models is a rule determined according to the primary function and the secondary function of each function region model;
the incidence relation rule of the functional area models is a rule determined according to the incidence relation among the functional area models, and the incidence relation is a dependency relation among the functional area models obtained according to the first attribute information;
the positioning rule of the functional area is a rule obtained according to a spatial position relationship between the functional area models, and the spatial position relationship is a position relationship between the functional area models obtained according to the first attribute information.
In one embodiment, the assembled result set comprises a first assembled result set and a second assembled result set; each combination mode in the first assembly result set is used for realizing the primary function of each function area model, and each combination mode in the second assembly result set is used for realizing the primary function and/or the secondary function of each function area model.
In one embodiment, the first attribute information includes function attribute information and usage attribute information.
In one embodiment, the function attribute information includes: the usage attribute information includes at least one of a usage method of the functional region model, an installation method of the functional region model, a maintenance method of the functional region model, a usage space of the functional region model, an installation space of the functional region model, and a maintenance space of the functional region model.
In one embodiment, the method further comprises:
combining the corresponding functional area models according to the target combination mode to obtain an assembled functional area model;
and storing the assembly functional area model.
In one embodiment, third attribute information corresponding to the assembled functional area model is determined and stored according to the first attribute information of each functional area model forming the assembled functional area model.
In the processing method of the model provided in this embodiment, the computer device may combine the corresponding function region models according to the target combination mode to obtain the assembled function region model, and store the assembled function region model, and may further determine and store third attribute information corresponding to the assembled function region model according to the first attribute information of each function region model constituting the assembled function region model. That is to say, in this embodiment, the computer device may assemble the function region model according to the target combination manner, obtain and store the assembled function region model and the third attribute information of the assembled function region model, and facilitate the direct use of the assembled function model or the use after modification in the subsequent design process; in addition, the third attribute information of the assembled function area model comprises the incidence relation between the assembled function model and the sub-function area model inside the assembled function area and the incidence relation between the assembled function area model and the function area model outside the assembled function area, so that the hierarchical management of the assembled function area model, the sub-function area model inside and other function area models outside is realized, and the design efficiency is improved.
In a second aspect, an embodiment of the present invention provides a model processing apparatus, where the apparatus includes:
the acquisition module is used for acquiring first attribute information of the plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
the first determining module is used for determining the assembly rule of the function area according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
the second determining module is used for determining an assembling result set according to the functional area assembling rule; the assembly result set comprises a plurality of combination modes of the functional area models;
a third determining module, configured to determine a target combination manner from the assembly result set according to a preset selection policy;
and the dragging module is used for dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the following steps when executing the computer program:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
The processing apparatus, the computer device, and the readable storage medium of the model provided in this embodiment enable the computer device to obtain the first attribute information of a plurality of function region models, determine the function region assembly rule according to each first attribute information, further determine the assembly result set according to the function region assembly rule, then determine the target combination manner from the assembly result set according to the preset selection policy, and finally drag the corresponding function region model to the corresponding design region according to the target combination manner. In the design process, the whole process is mainly that the computer equipment is designed according to the information input by the designer, so that the human participation process is reduced, the design efficiency of the designer is greatly improved, and the computer equipment can drag each function area model to the corresponding design area according to the determined assembly rule without spending more time on the designer to adjust the placing position of each function area model, so that the design efficiency of the designer is further improved; in addition, the final design result is determined by the computer equipment according to the assembly rule, the problem that the design scheme cannot meet the practicability due to unreasonable design results caused by insufficient experience or subjective judgment errors of designers is solved, and the practicability of the design scheme is greatly improved.
Drawings
FIG. 1 is a schematic diagram of an internal structure of a computer device according to an embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for processing a model, according to an embodiment;
FIG. 2a is a schematic diagram of a real model according to an embodiment;
FIG. 2b is a schematic structural diagram of a three-dimensional contour control frame according to an embodiment;
FIG. 3 is a schematic flow chart of a model processing method according to another embodiment;
FIG. 4 is a schematic flow chart of a model processing method according to another embodiment;
FIG. 5 is a schematic flow chart of a method for processing a model according to another embodiment;
FIG. 6 is a flowchart illustrating a method for processing a model according to another embodiment;
FIG. 7 is a diagram illustrating an exemplary model processing apparatus;
FIG. 8 is a schematic structural diagram of a model processing device according to another embodiment;
FIG. 9 is a schematic structural diagram of a model processing device according to another embodiment;
fig. 10 is a schematic structural diagram of a model processing device according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The model processing method provided by the embodiment of the invention can be applied to computer equipment shown in figure 1. The computer device comprises a processor and a memory connected by a system bus, wherein a computer program is stored in the memory, and the steps of the method embodiments described below can be executed when the processor executes the computer program. Optionally, the computer device may further comprise a network interface, a display screen and an input device. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a nonvolatile storage medium storing an operating system and a computer program, and an internal memory. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. Optionally, the computer device may be a server, may be a PC, may also be a personal digital assistant, may also be other terminal devices, such as a PAD, a mobile phone, and the like, and may also be a cloud or a remote server, and the specific form of the computer device is not limited in the embodiment of the present invention.
In traditional design, the designer adjusts the locating position of the three-dimensional model in the design area through manual, so that the design valley spends more time to adjust each model in the design area, the design efficiency is lower, and, because the experience of the designer is not enough or the subjective judgment is wrong, the practicality that easily causes the design is lower. Therefore, embodiments of the present invention provide a model processing method, apparatus, computer device and readable storage medium, which aim to solve the above technical problems of the conventional technology.
The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a model processing method according to an embodiment. The embodiment relates to a specific process of dragging a functional area model to a design area according to an assembly rule. As shown in fig. 2, the method may include:
s201, acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to the second attribute information of the real model.
Specifically, the real model is an actually existing object, such as a table, a chair, and the like. The second attribute information of the real model may be shape, size information, usage space, usage condition, and the like of the real model. The second attribute information of the real model may be input into the computer device in a text input manner, or may be input into the computer device in a voice input manner, which is not limited in this embodiment. The second attribute information is associated with the first attribute information, and for example, a usage space range in the second attribute information of the real model may be assigned to the functional region model so that the first attribute information of the functional model is the same as the second attribute information of the real model represented by the functional region model. Optionally, the functional model may be a three-dimensional outline control box abstracted according to the second attribute information of the real model, for example, a hexahedral control box as shown in fig. 2b may be used to represent the shower area as shown in fig. 2 a; the functional model may also be a three-dimensional model abstracted according to the second attribute information of the real model, for example, a table, a chair, a bed, etc. in a model library.
S202, determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model.
In this embodiment, after the computer device obtains the first attribute information of the functional region model input by the designer, the computer device may formulate a function assembly rule of each functional region model according to the first attribute information. The functional area assembling rule may be a placement rule of each functional area model, and is used to represent spatial position distribution and association relationship of the functional area models, for example, the spatial position relationship between the bed and the bedside table in the sleeping area may be that the bedside table needs to be placed on one side or two sides of the bed, and the association relationship between the bed and the bedside table may be that the bedside table needs to be placed next to the bed.
S203, determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models.
Specifically, the computer device may determine an assembly result set according to the determined function assembly rule, in combination with the area, size, shape, and the like of the environment where the plurality of function region models need to be placed, the combination manner of the plurality of function region models, and the national standard and the industrial standard through a certain preset operation rule. Optionally, the assembly result set may include a plurality of function area models and placement information between the plurality of function area models, for example, the assembly result set constituting the sleeping area may include a bed, a bedside table, and a reading lamp, the bedside table is placed on the left side of the bed, and the reading lamp is placed on the top surface of the bedside table.
And S204, determining a target combination mode from the assembly result set according to a preset selection strategy.
Specifically, the preset selection policy is used to determine a target combination mode meeting user requirements, where the user requirements may include practical function requirements, technical function requirements, mental function requirements, reasonable function requirements, design style requirements, application environment requirements, and the like of the functional area. Alternatively, the target combination mode may be one or more. The computer device may select one or more target combination modes satisfying a preset selection policy from the assembly result set according to the preset selection policy.
S205, dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
Specifically, after the computer device determines the target combination mode, each functional area model is dragged to the corresponding design area according to the functional area model and the combination information of each functional model included in the target combination mode, so as to obtain a final design result. Optionally, in the process of dragging the corresponding function model to the pair of design areas, the corresponding function area model may be automatically selected by the computer device and dragged to the pair of design areas, or the function area model selected by the designer may be automatically dragged to the corresponding design area by the computer device according to the function model selected by the designer in a target combination manner.
In the method for processing a model provided in this embodiment, a computer device obtains first attribute information of a plurality of function region models, determines a function region assembly rule according to each first attribute information, determines an assembly result set according to the function region assembly rule, determines a target combination mode from the assembly result set according to a preset selection policy, and finally drags the corresponding function region model to a corresponding design region according to the target combination mode. In the design process, the whole process is mainly that the computer equipment is designed according to the information input by the designer, so that the human participation process is reduced, the design efficiency of the designer is greatly improved, and the computer equipment can drag each function area model to the corresponding design area according to the determined assembly rule without spending more time on the designer to adjust the placing position of each function area model, so that the design efficiency of the designer is further improved; in addition, the final design result is determined by the computer equipment according to the assembly rule, the problem that the design scheme cannot meet the practicability due to unreasonable design results caused by insufficient experience or subjective judgment errors of designers is solved, and the practicability of the design scheme is greatly improved.
Fig. 3 is a schematic flow chart of a model processing method according to another embodiment. The embodiment relates to a process for acquiring first generation information of a plurality of functional area models by a computer device. On the basis of the foregoing embodiment, optionally, the foregoing S201 may include:
s301, obtaining user requirement information.
Specifically, the user requirements may include a practical function requirement, a technical function requirement, a mental function requirement, a reasonable function requirement, a design style requirement, an application environment requirement, and the like of the functional area. Optionally, the user requirement information may be input to the computer device through text information or may be input to the computer device through a voice mode, and the input mode of the user requirement information is not limited in this embodiment.
S302, determining the plurality of functional area models from a preset functional area model library according to the user requirement information.
Specifically, the computer device may determine, according to the acquired user demand information, a plurality of functional area models that satisfy the user demand information from a preset functional model library. For example, the designer determines that the required functional area models are a bed, a wardrobe, a bed end stool, a bedside table and a bedside lamp after the computer device obtains the user demand information, wherein the user demand information is that "i want to have an area to realize a sleep function, a clothes storage function, a before-sleep clothes placement function and a reading function".
And S303, determining first attribute information of each functional area model according to the second attribute information of the real model corresponding to each functional area model.
Specifically, the second attribute information is associated with the first attribute information, and the computer device may associate the second attribute information of the real model corresponding to the functional region model with the functional region model representing the real model, for example, a usage space range in the second attribute information of the real model may be assigned to the functional region model, so that the first attribute information of the functional model is the same as the second attribute information of the real model represented by the functional region model.
Optionally, the first attribute information includes function attribute information and usage attribute information. Optionally, the function attribute information includes: at least one of the usage of the functional area model, the application condition of the functional area model, and the composition function of the functional area model, for example, the usage of the functional area model corresponding to the shower room is to realize the shower function, the usage condition of the floor drain in the functional area model corresponding to the shower room is that the floor drain needs to be installed on the ground, and the composition function of the functional area model corresponding to the table and the functional model corresponding to the chair can be the writing function. The usage attribute information includes at least one of a usage method of the function region model, an installation method of the function region model, a maintenance method of the function region model, a usage space of the function region model, an installation space of the function region model, and a maintenance space of the function region model. The use space of the functional area model can be determined according to at least one of national standards, industry standards and design experience parameters in the industry in the building field.
In the processing method of the model provided in this embodiment, the computer device may obtain the user requirement information, determine the plurality of function region models from the preset function region model library according to the user requirement information, and further determine the first attribute information of each function region model according to the second attribute information of the real model corresponding to each function region model. The embodiment determines the required functional area model and the first attribute information of the functional area model based on the user requirement information, so that the computer device can determine the final design result corresponding to the target combination mode according to the user requirement information, and the design result is more matched with the user requirement information.
On the basis of the above embodiment, as an optional implementation manner, the function region assembly rule includes: at least one of a selection rule of the functional region model, an association relation rule of the functional region model, and a positioning rule of the functional region model.
On the basis of the above embodiment, as an optional implementation manner, the selection rule of the functional region model is a rule determined according to the primary function and the secondary function of each functional region model; the incidence relation rule of the functional area models is a rule determined according to the incidence relation among the functional area models, and the incidence relation is a dependency relation among the functional area models obtained according to the first attribute information; the positioning rule of the functional area is a rule obtained according to a spatial position relationship between the functional area models, and the spatial position relationship is a position relationship between the functional area models obtained according to the first attribute information.
In this embodiment, taking the functional area model as the sleep area as an example, the main functions of the sleep area may include a sleep function, and the secondary functions of the sleep area may include a reading function, a clothes storage function, an illumination function, a pre-sleep clothes placement function, and the like. The computer device may select the sub-functional area model that can satisfy the user demand function according to the input user demand information, for example, if the user demand information acquired by the computer device is "i need to realize a sleep function and an illumination function", the computer device may select the sub-functional area model corresponding to the bed and the sub-functional area model corresponding to the ceiling lamp from the functional area model library.
Taking the functional area model as the bedside lamp and the bedside table as an example, the association relationship rule between the bedside lamp and the bedside table may include a dependency relationship between the bedside lamp and the bedside table, that is, the bedside lamp may exist only on the premise that the bedside table exists, and certainly, after the bedside table moves, the bedside lamp also needs to move correspondingly.
Continuing with the functional area model as the sleep area as an example, as shown in fig. 4, the positioning rule of the sub-functional area model corresponding to the bed 2 in the sleep area 1 may include: in the X-axis direction, the bedside cabinet 3 needs to be close to the side of the sleeping area 1, in the Y-axis direction, the bedside cabinet 3 is adjacent to the bed 2 and has a certain distance, and in the Z-axis direction, the bedside cabinet 3 needs to coincide with the bottom of the sleeping area 1.
On the basis of the above embodiment, as an optional implementation manner, the assembly result set includes a first assembly result set and a second assembly result set; each combination mode in the first assembly result set is used for realizing the primary function of each function area model, and each combination mode in the second assembly result set is used for realizing the primary function and/or the secondary function of each function area model.
Specifically, the first assembly result set includes function region models for implementing the main functions of the function models, positioning rules of the function region models for implementing the main functions, and association relations of the function region models for implementing the main functions, for example, the first assembly set of the office area may include a table, a chair, positioning rules of the table, positioning rules of the chair, and association relations of the table, the chair, and the office area. The second assembly result set includes function models for implementing the primary function and/or the secondary function of each function area model, for example, the second assembly set corresponding to the sleep area may include a bed for implementing the primary function, a positioning rule of the bed, and an association relationship between the bed and the sleep area, may also include a bedside table for implementing the secondary function, a rule of the bedside table, and an association relationship between the bedside table and the sleep area, and may further include a bed for implementing the primary function, a bedside table for implementing the secondary function, a positioning rule of the bed, a positioning rule of the bedside table, and an association relationship between the bed and the bedside table and the sleep area.
Fig. 5 is a schematic flowchart of a model processing method according to another embodiment. The embodiment relates to an implementation process of determining an assembly functional area model and third attribute information of the assembly functional area model according to a target combination mode by computer equipment. On the basis of the foregoing embodiment, optionally, the foregoing method further includes:
and S501, combining the corresponding functional area models according to the target combination mode to obtain an assembled functional area model.
Specifically, the computer device may combine the functional area models required in the target combination manner according to the placement information in the combination manner to form an assembled functional area model according to the determined target combination manner. Optionally, one or more functional region models may be assembled.
S502, storing the assembly functional area model.
S503, according to the first attribute information of each functional area model forming the assembled functional area model, determining and storing third attribute information corresponding to the assembled functional area model.
Specifically, the computer device may determine, according to the first attribute information of each functional region model constituting the assembled functional region model, the third attribute information corresponding to the assembled functional model in combination with the national standard, the industrial standard, and the empirical parameter, for example, knowing the first attribute information such as the area of each functional region model, the size of each functional region model, the shape of each functional region model, and the usage space of each functional region model, the available space information of the assembled functional region model may be determined by calculation using a corresponding calculation formula. Optionally, the third attribute information of the assembled functional area model may include the attribute information of the assembled functional area model itself, such as size information and usage space information of the assembled functional area model, or may include an association relationship between the assembled functional area model and a sub-functional area model inside the assembled functional area model, or may include an association relationship between the assembled functional area model and a functional area model outside the assembled functional area model.
In the processing method of the model provided in this embodiment, the computer device may combine the corresponding function region models according to the target combination mode to obtain the assembled function region model, and store the assembled function region model, and may further determine and store third attribute information corresponding to the assembled function region model according to the first attribute information of each function region model constituting the assembled function region model. That is to say, in this embodiment, the computer device may assemble the function region model according to the target combination manner, obtain and store the assembled function region model and the third attribute information of the assembled function region model, and facilitate the direct use of the assembled function model or the use after modification in the subsequent design process; in addition, the third attribute information of the assembled function area model comprises the incidence relation between the assembled function model and the sub-function area model inside the assembled function area and the incidence relation between the assembled function area model and the function area model outside the assembled function area, so that the hierarchical management of the assembled function area model, the sub-function area model inside and other function area models outside is realized, and the design efficiency is improved.
To facilitate understanding of those skilled in the art, the following describes a detailed description of the model processing method provided by the present invention, and as shown in fig. 6, the method may include:
s601, the computer equipment acquires user requirement information.
S602, the computer equipment determines the plurality of functional area models from a preset functional area model library according to the user demand information.
S603, the computer equipment determines first attribute information of each functional area model according to the second attribute information of the real model corresponding to each functional area model.
S604, the computer equipment determines a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model.
S605, the computer equipment determines an assembly result set according to the function area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models.
And S606, determining a target combination mode from the assembly result set by the computer equipment according to a preset selection strategy.
And S607, the computer equipment drags the corresponding functional area model to the corresponding design area according to the target combination mode.
And S608, combining the corresponding function area models by the computer equipment according to the target combination mode to obtain an assembled function area model.
And S609, the computer equipment stores the assembly functional area model.
S610, the computer equipment determines and stores third attribute information corresponding to the assembled functional area model according to the first attribute information of each functional area model forming the assembled functional area model.
It should be noted that, for the descriptions in S601-S610, reference may be made to the descriptions related to the foregoing embodiments, and the effects thereof are similar, and the description of this embodiment is not repeated herein.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 7 is a schematic structural diagram of a model processing apparatus according to an embodiment. As shown in fig. 7, the apparatus may include: the device comprises an acquisition module 10, a first determination module 11, a second determination module 12, a third determination module 13 and a dragging module 14.
Specifically, the obtaining module 10 is configured to obtain first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
a first determining module 11, configured to determine a function area assembly rule according to each piece of the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
a second determining module 12, configured to determine an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
a third determining module 13, configured to determine a target combination manner from the assembly result set according to a preset selection policy;
and the dragging module 14 is configured to drag the corresponding functional area model to the corresponding design area according to the target combination manner.
Optionally, the function region assembly rule includes: at least one of a selection rule of the functional region model, an association relation rule of the functional region model, and a positioning rule of the functional region model.
Optionally, the selection rule of the functional region model is a rule determined according to the primary function and the secondary function of each functional region model; the incidence relation rule of the functional area models is a rule determined according to the incidence relation among the functional area models, and the incidence relation is a dependency relation among the functional area models obtained according to the first attribute information; the positioning rule of the functional area is a rule obtained according to a spatial position relationship between the functional area models, and the spatial position relationship is a position relationship between the functional area models obtained according to the first attribute information.
Optionally, the assembly result set includes a first assembly result set and a second assembly result set; each combination mode in the first assembly result set is used for realizing the primary function of each function area model, and each combination mode in the second assembly result set is used for realizing the primary function and/or the secondary function of each function area model.
The model processing apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a model processing apparatus according to an embodiment. On the basis of the embodiment shown in fig. 7, optionally, the obtaining module 10 may include an obtaining unit 101, a first determining unit 102, and a second determining unit 103.
Specifically, the obtaining unit 101 is configured to obtain user requirement information.
A first determining unit 102, configured to determine the multiple functional area models from a preset functional area model library according to the user requirement information.
A second determining unit 103, configured to determine first attribute information of each functional area model according to second attribute information of the real model corresponding to each functional area model.
Optionally, the first attribute information includes function attribute information and usage attribute information.
The function attribute information includes: the usage attribute information includes at least one of a usage method of the functional region model, an installation method of the functional region model, a maintenance method of the functional region model, a usage space of the functional region model, an installation space of the functional region model, and a maintenance space of the functional region model.
The model processing apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 9 is a schematic structural diagram of a model processing apparatus according to an embodiment. On the basis of the foregoing embodiment, optionally, the apparatus further includes: a combination module 15 and a storage module 16.
And the combination module 15 is used for combining the corresponding functional area models according to the target combination mode to obtain the assembled functional area model.
And the storage module 16 is used for storing the assembly functional area model.
The model processing apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of a model processing apparatus according to an embodiment. On the basis of the foregoing embodiment, optionally, the apparatus further includes: and a processing module 17.
And the processing module 17 is configured to determine and store third attribute information corresponding to the assembled functional area model according to the first attribute information of each functional area model constituting the assembled functional area model.
The model processing apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For the specific definition of the model processing device, reference may be made to the above definition of the model processing method, which is not described herein again. The modules in the model processing device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (12)
1. A method of model processing, comprising:
acquiring first attribute information of a plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
determining a function area assembling rule according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
determining an assembly result set according to the functional area assembly rule; the assembly result set comprises a plurality of combination modes of the functional area models;
determining a target combination mode from the assembly result set according to a preset selection strategy;
and dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
2. The method according to claim 1, wherein the obtaining first attribute information of the plurality of functional region models comprises:
acquiring user demand information;
determining the plurality of functional area models from a preset functional area model library according to the user demand information;
and determining first attribute information of each functional area model according to the second attribute information of the real model corresponding to each functional area model.
3. The method of claim 1 or 2, wherein the function region assembly rule comprises: at least one of a selection rule of the functional region model, an association relation rule of the functional region model, and a positioning rule of the functional region model.
4. The method according to claim 3, wherein the selection rule of the function region models is a rule determined in accordance with a primary function and a secondary function of each of the function region models;
the incidence relation rule of the functional area models is a rule determined according to the incidence relation among the functional area models, and the incidence relation is a dependency relation among the functional area models obtained according to the first attribute information;
the positioning rule of the functional area is a rule obtained according to a spatial position relationship between the functional area models, and the spatial position relationship is a position relationship between the functional area models obtained according to the first attribute information.
5. The method of claim 4, wherein the assembled result set comprises a first assembled result set and a second assembled result set; each combination mode in the first assembly result set is used for realizing the primary function of each function area model, and each combination mode in the second assembly result set is used for realizing the primary function and/or the secondary function of each function area model.
6. The method according to claim 1 or 2, wherein the first attribute information includes function attribute information and usage attribute information.
7. The method of claim 6, wherein the functional attribute information comprises: the usage attribute information includes at least one of a usage method of the functional region model, an installation method of the functional region model, a maintenance method of the functional region model, a usage space of the functional region model, an installation space of the functional region model, and a maintenance space of the functional region model.
8. The method according to claim 1 or 2, characterized in that the method further comprises:
combining the corresponding functional area models according to the target combination mode to obtain an assembled functional area model;
and storing the assembly functional area model.
9. The method of claim 8, further comprising:
and determining and storing third attribute information corresponding to the assembled functional area model according to the first attribute information of each functional area model forming the assembled functional area model.
10. A model processing apparatus, comprising:
the acquisition module is used for acquiring first attribute information of the plurality of functional area models; the functional area model is a three-dimensional contour control frame or a three-dimensional model abstracted according to second attribute information of the real model;
the first determining module is used for determining the assembly rule of the function area according to the first attribute information; the function area assembly rule is used for expressing the spatial position distribution and the incidence relation of the function area model;
the second determining module is used for determining an assembling result set according to the functional area assembling rule; the assembly result set comprises a plurality of combination modes of the functional area models;
a third determining module, configured to determine a target combination manner from the assembly result set according to a preset selection policy;
and the dragging module is used for dragging the corresponding functional area model to the corresponding design area according to the target combination mode.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method according to any of claims 1-9 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813222.3A CN110826116A (en) | 2018-07-23 | 2018-07-23 | Model processing method and device, computer equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810813222.3A CN110826116A (en) | 2018-07-23 | 2018-07-23 | Model processing method and device, computer equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110826116A true CN110826116A (en) | 2020-02-21 |
Family
ID=69533627
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810813222.3A Pending CN110826116A (en) | 2018-07-23 | 2018-07-23 | Model processing method and device, computer equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110826116A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113987647A (en) * | 2021-10-29 | 2022-01-28 | 广联达科技股份有限公司 | Method, device and equipment for generating combined component and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10162050A (en) * | 1996-11-29 | 1998-06-19 | Daiwa House Ind Co Ltd | Building designing device and method therefor |
JP2001147946A (en) * | 1999-11-18 | 2001-05-29 | Daiwa House Ind Co Ltd | Building designing device |
JP2002297687A (en) * | 2001-03-30 | 2002-10-11 | Sekisui House Ltd | System and method for design support, and distributing server device used for the same, storage medium, and program therefor |
US20080244443A1 (en) * | 2007-03-28 | 2008-10-02 | Microsoft Corporation | .net ribbon model for a ribbon user interface |
CN102663830A (en) * | 2012-04-28 | 2012-09-12 | 北京尔宜居科技有限责任公司 | Data processing method of interior decoration model |
CN103255884A (en) * | 2013-05-22 | 2013-08-21 | 浙江家易宝住宅全装修有限公司 | Full house decoration personalized customization method |
CN106484940A (en) * | 2016-07-09 | 2017-03-08 | 陈志静 | A kind of home decoration Intelligentized design method and system |
CN107657551A (en) * | 2017-10-13 | 2018-02-02 | 北京玲珑新世纪商贸有限公司 | The implementation method of total solution is lived by family based on information-based business model |
-
2018
- 2018-07-23 CN CN201810813222.3A patent/CN110826116A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10162050A (en) * | 1996-11-29 | 1998-06-19 | Daiwa House Ind Co Ltd | Building designing device and method therefor |
JP2001147946A (en) * | 1999-11-18 | 2001-05-29 | Daiwa House Ind Co Ltd | Building designing device |
JP2002297687A (en) * | 2001-03-30 | 2002-10-11 | Sekisui House Ltd | System and method for design support, and distributing server device used for the same, storage medium, and program therefor |
US20080244443A1 (en) * | 2007-03-28 | 2008-10-02 | Microsoft Corporation | .net ribbon model for a ribbon user interface |
CN102663830A (en) * | 2012-04-28 | 2012-09-12 | 北京尔宜居科技有限责任公司 | Data processing method of interior decoration model |
CN103255884A (en) * | 2013-05-22 | 2013-08-21 | 浙江家易宝住宅全装修有限公司 | Full house decoration personalized customization method |
CN106484940A (en) * | 2016-07-09 | 2017-03-08 | 陈志静 | A kind of home decoration Intelligentized design method and system |
CN107657551A (en) * | 2017-10-13 | 2018-02-02 | 北京玲珑新世纪商贸有限公司 | The implementation method of total solution is lived by family based on information-based business model |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113987647A (en) * | 2021-10-29 | 2022-01-28 | 广联达科技股份有限公司 | Method, device and equipment for generating combined component and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111369424A (en) | Method, device, equipment and storage medium for generating three-dimensional space of target house | |
US11182546B2 (en) | Creating, editing, and saving ad hoc grids in smart forms | |
CN105488177A (en) | Visual presentation method and system of data | |
US11941332B2 (en) | Generating space models and geometry models using a machine learning system with multi-platform interfaces | |
JP6395092B2 (en) | Light environment design support device, light environment design support system, program | |
CN110889152B (en) | Method, device, computer equipment and storage medium for establishing model relation | |
CN110889153A (en) | Model adjusting method and device, computer equipment and storage medium | |
CN110826116A (en) | Model processing method and device, computer equipment and readable storage medium | |
CN110727974B (en) | Data processing method, apparatus, computer device and readable storage medium | |
Bascand et al. | New Zealand's demographics and population ageing | |
CN110555914B (en) | Model information processing method, device, computer equipment and readable storage medium | |
CN110781535B (en) | Model plotting method and device, computer equipment and readable storage medium | |
CN113642090B (en) | Building layout generation method and device, computer equipment and storage medium | |
CN102880597A (en) | Multidimensional data generation device and multidimensional data generation method used for computer system | |
KR102202231B1 (en) | Apparatus for Analyzing Geographic Information and Method thereof | |
CN110648400B (en) | Space quantization method of model, mapping relation establishment method, device and equipment | |
CN110717209B (en) | Method, device, equipment and storage medium for obtaining quantization result of design scheme | |
CN110750816A (en) | Method and device for building model, computer equipment and readable storage medium | |
CN105354923B (en) | Hotel oxygen charging method and system | |
CN110751715B (en) | Model processing method, device, computer equipment and readable storage medium | |
CN110717206B (en) | Method, device, equipment and readable storage medium for acquiring support element | |
CN106296787A (en) | Self-service furniture house ornamentation design system | |
CN112464061B (en) | Warm pipeline information extraction method, device, computer equipment and storage medium | |
Liu et al. | Research on the design of bedroom space environment layout based on computer modeling technology | |
JP2018010381A (en) | Simulation system, simulation method and program |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200221 |
|
RJ01 | Rejection of invention patent application after publication |