CN110751715A - 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 PDF

Info

Publication number
CN110751715A
CN110751715A CN201810813885.5A CN201810813885A CN110751715A CN 110751715 A CN110751715 A CN 110751715A CN 201810813885 A CN201810813885 A CN 201810813885A CN 110751715 A CN110751715 A CN 110751715A
Authority
CN
China
Prior art keywords
model
real
functional area
real model
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810813885.5A
Other languages
Chinese (zh)
Other versions
CN110751715B (en
Inventor
张海明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Runshijing Environmental Engineering Co ltd
Original Assignee
Xi'an Sea Square Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xi'an Sea Square Network Technology Co Ltd filed Critical Xi'an Sea Square Network Technology Co Ltd
Priority to CN201810813885.5A priority Critical patent/CN110751715B/en
Publication of CN110751715A publication Critical patent/CN110751715A/en
Application granted granted Critical
Publication of CN110751715B publication Critical patent/CN110751715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The invention relates to a model processing method, a model processing device, computer equipment and a readable storage medium. The method comprises the following steps: acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models; determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information; and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information. The invention greatly improves the design efficiency and the design accuracy of designers.

Description

Model processing method and device, computer equipment and readable storage medium
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 and office areas, and designers need to design corresponding schemes according to requirements provided by users.
At present, when a designer designs a decoration scheme for a user, modeling design is usually performed by using each required three-dimensional model, or a plurality of three-dimensional models are spliced into a whole according to subjective consciousness so as to perform synchronous operation on a plurality of models or a plurality of primitives simultaneously to perform modeling design.
However, in the conventional technology, the three-dimensional models need to be dragged one by one for modeling design, and due to the fact that all information of the three-dimensional models is mixed, designers cannot master the core information of each design stage under the condition of interference of various complex information, so that the operation of designers is complex, and the design efficiency is low; and model connection is carried out according to subjective consciousness of designers, so that the use space of the model is unreasonable, and the accuracy of design is low.
Disclosure of Invention
Based on this, 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 design accuracy in the conventional technology.
In a first aspect, an embodiment of the present invention provides a model processing method, including:
acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
In the processing method of the model provided in this embodiment, the computer device may obtain the function region model to be dragged to the design region from the preset function region model library, determine the first visual placing information of the function region model in the design region and the second visual placing information of the sub-model according to the second attribute information of the surface and/or edge of the function region model, and drag the function region model and the sub-model to the design region according to the first visual placing information and the second visual placing information. In this embodiment, the computer device may simplify the complex three-dimensional model corresponding to the real model into the functional area model represented by the three-dimensional contour control frame, and may assign the association relationship of the real model in the placement environment and the association relationship between the sub-model in the real model and the real model to the surface and/or edge of the functional area model, so that the complex three-dimensional model may be simplified into the functional area model with the second attribute information, which may enable designers to quickly find the placement information, avoid the interference of the complex information, and improve the design efficiency; in addition, the designer can drag the functional area model and the sub-model to the corresponding design area according to the second attribute information on the surface and/or the edge of the functional area model instead of appointing the use space of the functional area model by the subjective consciousness of the designer, so that the design accuracy can be improved.
In one embodiment, before the obtaining the functional area model to be dragged to the design area from the preset functional area model library, the method further includes:
acquiring occupied space information of each real model, wherein the occupied space information comprises the size of the occupied space of the real model and the shape of the occupied space of the real model;
according to the occupied space information of each real model, carrying out three-dimensional contour extraction operation on the real model to obtain a three-dimensional contour control frame corresponding to the real model;
determining second attribute information of a surface and/or an edge of a three-dimensional contour control frame corresponding to each real model according to the first attribute information of each real model, and configuring the second attribute information to the three-dimensional contour control frame to obtain a functional area model corresponding to each real model;
and establishing the functional area model library according to the functional area model corresponding to each real model.
In the model processing method provided by this embodiment, the computer device may obtain the size of the occupied space of each real model and the shape of the occupied space of each real model, and perform a three-dimensional contour extraction operation on each real model according to the size and the shape of the occupied space of each real model, thereby obtaining a three-dimensional contour control frame corresponding to each real model, then determine second attribute information of a surface and/or an edge of the three-dimensional contour control frame corresponding to each real model according to the first attribute information of each real model, so as to configure the second attribute information to the three-dimensional contour control frame, thereby obtaining a functional area model corresponding to each real model, and finally establish a functional area model library according to the functional area model corresponding to each real model. That is to say, this embodiment can determine the functional model with the second attribute information according to the space occupation information and the first attribute information of the real model, thereby simplifying the structure of the real model, facilitating designers to visually determine the required placement information according to the second attribute information of the functional area model and the surface and/or edge thereof, and rapidly placing the model to be designed to the corresponding design area, thereby greatly improving the design efficiency.
In one embodiment, the first attribute information includes: at least one of a positioning attribute of the real model, a local coordinate system of the real model, a functional attribute of the real model, a usage space range of the real model, a first association relationship between the real model and a sub-model inside the real model, and a second association relationship between the real model and an external model existing in an actual environment.
In one embodiment, the determining, according to the first attribute information of each real model, second attribute information of a surface and/or an edge of a three-dimensional contour control frame corresponding to the real model includes:
determining the size range of the surface and/or edge of the three-dimensional contour control frame according to the use space range of the real model;
determining the second attribute information comprises: the positioning attribute of the real model, the size range of the surface and/or edge of the three-dimensional contour control frame, the local coordinate system, the first incidence relation and the second incidence relation.
In one embodiment, the method further comprises:
extracting a functional attribute of the real model and a use attribute of the real model from first attribute information of the real model; wherein the functional attributes include: at least one of a use of the real model, an application condition of the real model, and a composition function of the real model, and the use attribute includes at least one of a use method of the real model, an installation method of the real model, and a repair method of the real model;
and determining the use space range of the real model according to the functional attribute of the real model, the use attribute of the real model and at least one of national standard, industrial standard and design experience parameter in the industry in the building field.
In the processing method of the model provided by this embodiment, the computer device may extract the functional attribute of the real model and the usage attribute of the real model from the first attribute information of the real model, and determine the usage space range of the real model according to the functional attribute of the real model and the usage attribute of the real model, and at least one of the national standard, the industry standard, and the design experience parameter in the industry in the building field. In the embodiment, the computer equipment can determine the use space range of the real model according to the functional attribute and the use attribute of the real model, so that the obtained use space range is reasonable, the problem of unreasonable use space caused by specifying the use space according to the subjective consciousness of designers is solved, and the design accuracy is greatly improved.
In one embodiment, the method further comprises: and determining a local coordinate system of the functional area model according to the positioning attribute of the real model and at least one of national standard, industrial standard and design experience parameter in the building field.
In one embodiment, the configuring the second attribute information to the stereo contour control frame to obtain a functional region model corresponding to each real model includes:
and configuring the content in the second attribute information to the corresponding surface and/or edge of the three-dimensional outline control frame according to a preset attribute configuration rule to obtain a functional area model corresponding to each real model.
In one embodiment, the method further comprises: and carrying out deformation and dragging operation on the functional area model according to the input deformation vector and the target position.
In a second aspect, an embodiment of the present invention provides a model processing apparatus, including:
the first acquisition module is used for acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
the first determination module is used for determining first visual placing information of the functional area model in the design area and second visual placing information of the sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and the dragging module is used for dragging the functional area model and the sub-model to the design area according to the first putting information and the second putting information.
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 a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
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 a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
The model processing apparatus, the computer device, and the readable storage medium provided in this embodiment can enable the computer device to obtain the function region model to be dragged to the design region from the preset function region model library, and determine the first visual placing information of the function region model in the design region and the second visual placing information of the sub-model according to the second attribute information of the surface and/or edge of the function region model, and then drag the function region model and the sub-model to the design region according to the first visual placing information and the second visual placing information. In this embodiment, the computer device may simplify the complex three-dimensional model corresponding to the real model into the functional area model represented by the three-dimensional contour control frame, and may assign the association relationship of the real model in the placement environment and the association relationship between the sub-model in the real model and the real model to the surface and/or edge of the functional area model, so that the complex three-dimensional model may be simplified into the functional area model with the second attribute information, which may enable designers to quickly find the placement information, avoid the interference of the complex information, and improve the design efficiency; in addition, the designer can drag the functional area model and the sub-model to the corresponding design area according to the second attribute information on the surface and/or the edge of the functional area model instead of appointing the use space of the functional area model by the subjective consciousness of the designer, so that the design accuracy can be improved.
Drawings
FIG. 1 is a schematic diagram illustrating an internal structure of a computer device according to an embodiment; (ii) a
FIG. 2 is a schematic flow chart diagram illustrating a method for model processing according to one 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 diagram illustrating a method for model processing according to another embodiment;
FIG. 3a is a schematic structural diagram of a real model according to another embodiment;
FIG. 3b is a schematic structural diagram of a three-dimensional contour control frame according to another embodiment;
FIG. 4 is a schematic flow chart diagram illustrating a method for model processing according to another embodiment;
FIG. 5 is a schematic flow chart diagram illustrating a method for model processing according to another embodiment;
FIG. 6 is a schematic diagram of a model processing apparatus according to an embodiment;
FIG. 7 is a schematic view of a model processing apparatus according to another embodiment;
FIG. 8 is a schematic view of a model processing apparatus according to another embodiment;
FIG. 9 is a schematic view of a model processing apparatus according to another embodiment;
FIG. 10 is a schematic view of a model processing apparatus according to another embodiment;
fig. 11 is a schematic diagram of a model processing apparatus 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 the traditional technology, designers need to drag a three-dimensional model to a design area one by one for modeling design, and the operation is complex, so that the design efficiency is low; in addition, when the models are connected, the models are connected mainly by means of subjective consciousness of designers, so that the use space of the models is unreasonable, and the accuracy of design is low. 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. 1 is a schematic flowchart of a model processing method according to an embodiment. The embodiment relates to a specific process that the computer equipment acquires second attribute information of the surface and/or edge of the functional area model and drags the functional area model and the submodel thereof to the design area. As shown in fig. 2, the method includes:
s201, acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional outline control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models.
Specifically, the real model is a regional space in an actual environment, for example, the real model may be an office area, a sleeping area, or a shower room. Optionally, the computer device may determine the functional region model to be dragged to the design region from the functional region model library according to a mouse click instruction of a designer.
Optionally, the first attribute information of the real model may include size information, posture information, positioning information, and the like of the real model. Optionally, the first 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 functional area model may be a three-dimensional outline control frame abstracted according to the first attribute information of the real model, for example, the shower area including the shower head 1, the down lamp 2, the glass partition 3, and the like shown in fig. 2a may be abstracted into a hexahedral control frame 4 shown in fig. 2b, so as to simplify the original structure of the shower area. Optionally, the hexahedral control frame 4 is a functional area model. Optionally, the shower head 1, the down lamp 2, the glass partition 3 and the like are submodels of a shower area.
S202, determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information.
Specifically, the second attribute information is associated with the first attribute information, for example, the spatial range of the use of the real model in the first attribute information may be assigned to the face and/or edge of the functional region model, so that the face and/or edge of the functional model can express the first attribute information of the real model represented by the face and/or edge of the functional model through the second attribute information. The first visual placing information may be placing rules of the functional area model and other models in the placing environment, for example, the functional area model and a wall in the placing environment have a certain placing rule, for example, part of the side surface of the functional area model may be tightly attached to the wall in the placing environment. The second visual placement information may also be a placement rule of a real model represented by the functional area model and a sub-model, for example, in an actual placement environment, the shower area and the sub-model downlights therein have a certain placement rule, for example, the downlights are to be installed on the top surface of the shower area.
S203, dragging the functional area model and the functional area sub-model to the design area according to the first placing information and the second placing information.
Specifically, after the computer device acquires the first visual placing information and the second visual placing information, the functional area model and the sub-model can be dragged to the corresponding positions of the design area according to the dragging instruction of the designer according to the placing rules of the functional area model and the functional area sub-model in the first visual placing information and the second visual placing information. Optionally, the dragging indication may be a mouse click instruction or a touch instruction of a designer.
In the processing method of the model provided in this embodiment, the computer device may obtain the function region model to be dragged to the design region from the preset function region model library, determine the first visual placing information of the function region model in the design region and the second visual placing information of the sub-model according to the second attribute information of the surface and/or edge of the function region model, and drag the function region model and the sub-model to the design region according to the first visual placing information and the second visual placing information. In this embodiment, the computer device may simplify the complex three-dimensional model corresponding to the real model into the functional area model represented by the three-dimensional contour control frame, and may assign the association relationship of the real model in the placement environment and the association relationship between the sub-model in the real model and the real model to the surface and/or edge of the functional area model, so that the complex three-dimensional model may be simplified into the functional area model with the second attribute information, which may enable designers to quickly find the placement information, avoid the interference of the complex information, and improve the design efficiency; in addition, the designer can drag the functional area model and the sub-model to the corresponding design area according to the second attribute information on the surface and/or the edge of the functional area model instead of appointing the use space of the functional area model by the subjective consciousness of the designer, so that the design accuracy can be improved.
Fig. 3 is a schematic flow chart of a model processing method according to another embodiment. The embodiment relates to a specific process for determining a functional area model according to the occupied space information and the first attribute information of the real model. On the basis of the foregoing embodiment, optionally, before the foregoing S201, the method further includes:
s301, acquiring occupied space information of each real model, wherein the occupied space information comprises the size of the occupied space of the real model and the shape of the occupied space of the real model.
Specifically, the size of the occupied space of the real model may include the size of the area occupied by the real model in the actual environment and the size of the real model. Optionally, the shape of the occupied space of the real model may be a rectangular solid, a cylinder, an irregular shape, or the like, and the shape of the occupied space of the real model is not limited in this embodiment.
S302, according to the occupied space information of each real model, carrying out three-dimensional contour extraction operation on the real model to obtain a three-dimensional contour control frame corresponding to the real model.
Specifically, the computer device may perform the three-dimensional contour extraction operation on the real model according to the acquired size of the area occupied by the real model in the actual environment, the size of the real model, and the shape of the occupied space of the real model. As shown in fig. 2a and 2b, the shower area can be extracted as a hexahedral outline control box corresponding to the shower area. Optionally, the computer device may further extract a plurality of stereoscopic contour control frames according to the size of the area occupied by the real model in the actual environment, the size of the real model, and the shape of the occupied space of the real model, and control the real model of the frames by using the plurality of stereoscopic contour control frames. For example, as shown in fig. 3a, the original cabinet model shown in fig. 3a can be summarized by the computer device using the connected hexahedral control box 5 and the hexahedral control box 6 shown in fig. 3b, and the two connected hexahedral control boxes can be used as a whole to summarize the cabinet model.
And S303, determining second attribute information of the surface and/or edge of the three-dimensional contour control frame corresponding to each real model according to the first attribute information of each real model, and configuring the second attribute information to the three-dimensional contour control frame to obtain a functional area model corresponding to each real model.
Specifically, the computer device may determine, according to the first attribute information of the real model, second attribute information that a face and/or an edge of the three-dimensional contour control frame corresponding to the real model has.
Optionally, the first attribute information may include at least one of a positioning attribute of the real model, a local coordinate system of the real model, a functional attribute of the real model, a usage space range of the real model, a first association relationship between the real model and a sub-model inside the real model, and a second association relationship between the real model and an external model existing in the actual environment. Optionally, the positioning attribute of the real model may include a posture and a position attribute of the real model. Optionally, the computer device may determine the local coordinate system of the functional area model according to the positioning attribute of the real model and at least one of the national standard, the industry standard and the design experience parameter in the industry in the building field, for example, the local coordinate system of the shower room may be formed by three directions of the X-axis direction, the Y-axis direction and the Z-axis direction. Optionally, the first association relationship between the real model and the sub-model inside the real model may be a binding relationship between the real model and the sub-model, taking a shower room as an example, the top surface of the shower room has a binding relationship with a down lamp in the shower room, that is, the down lamp needs to be installed on the top surface of the shower room. Optionally, the second association relationship between the real model and the existing external model in the actual environment may be a binding relationship between the real model and the external model, for example, the glass door of the shower room coincides with the side of the toilet, that is, the glass door of the shower room has a binding relationship with the side of the toilet.
Optionally, the computer device may determine the size range of the face and/or edge of the three-dimensional contour control frame according to the use space range of the real model. After the computer device determines the three-dimensional contour control frame and the size range of the surface and/or edge of the three-dimensional contour control frame, it may determine that the second attribute information includes: the positioning attribute of the real model, the size range of the surface and/or edge of the three-dimensional outline control frame, the local coordinate system, the first incidence relation and the second incidence relation.
Optionally, the computer device may configure the content in the second attribute information to the corresponding surface and/or edge of the three-dimensional contour control frame according to a preset attribute configuration rule, so as to obtain a functional area model corresponding to each real model. Optionally, the attribute configuration rule may be a corresponding relationship between the second attribute information and the surface and/or edge of the three-dimensional contour control frame, for example, the installation relationship between the down lamp and the shower area in the first association relationship in the second attribute information may be correspondingly embodied on the top surface of the three-dimensional contour control frame to form visual placement information. Optionally, the second attribute information may be displayed on the surface and/or edge corresponding to the stereoscopic contour control frame in a text form, and may also be displayed on the surface and/or edge corresponding to the stereoscopic contour control frame in a thumbnail form, so that designers may conveniently place corresponding models according to the second attribute information, and the display mode of the second attribute information is not limited in this embodiment. Optionally, the computer device may name the obtained functional area model according to input information of the designer, for example, if the newly-built functional area model is a functional area model for showering, the computer device may name the functional area model as a shower area according to the text information input by the designer.
Optionally, after obtaining the functional region model corresponding to the real model, the computer device may further perform deformation and dragging operations on the functional region model according to the deformation vector and the target position input by the user, so that the functional region model is adjusted to the optimal size and the optimal position. For example, when the size of the placed functional area model is not appropriate, the user may pull the functional area model by a certain distance in any one or more of the X-axis direction, the Y-axis direction, or the Z-axis direction, or may drag the functional area model from the current position to a new target position. Optionally, the user may input the transformation vector and the target position through a voice input mode, or may input the transformation vector and the target position through a text input mode, which is not limited in the present embodiment.
S304, establishing the functional area model library according to the functional area model corresponding to each real model.
Specifically, the computer device can put the function area model corresponding to each real model into a database, and all the function area models form a function area model library, so that designers can conveniently select the required function area model from the function area model library to perform modeling design.
In the model processing method provided by this embodiment, the computer device may obtain the size of the occupied space of each real model and the shape of the occupied space of each real model, and perform a three-dimensional contour extraction operation on each real model according to the size and the shape of the occupied space of each real model, thereby obtaining a three-dimensional contour control frame corresponding to each real model, then determine second attribute information of a surface and/or an edge of the three-dimensional contour control frame corresponding to each real model according to the first attribute information of each real model, so as to configure the second attribute information to the three-dimensional contour control frame, thereby obtaining a functional area model corresponding to each real model, and finally establish a functional area model library according to the functional area model corresponding to each real model. That is to say, this embodiment can determine the functional model with the second attribute information according to the space occupation information and the first attribute information of the real model, thereby simplifying the structure of the real model, facilitating designers to visually determine the required placement information according to the second attribute information of the functional area model and the surface and/or edge thereof, and rapidly placing the model to be designed to the corresponding design area, thereby greatly improving the design efficiency.
Fig. 4 is a schematic flowchart of a model processing method according to another embodiment. The embodiment relates to an implementation process of determining a use space range of a real model by a computer device according to first attribute information of the real model. On the basis of the foregoing embodiment, optionally, the foregoing method further includes:
s401, extracting the functional attribute of the real model and the use attribute of the real model from the first attribute information of the real model; wherein the functional attributes include: at least one of a use of the real model, an application condition of the real model, and a composition function of the real model, and the use attribute includes at least one of a use method of the real model, an installation method of the real model, and a repair method of the real model;
specifically, the functional attribute is an attribute for realizing a function of the real model, and may include a use of the real model, an application condition of the real model, and a composition function of the real model. For example, the functional purpose of the shower room is to realize shower, the floor drain in the shower room is used under the condition that the floor drain needs to be installed on the ground, and the forming function of a model formed by a table and a chair can be a writing function. The use attribute is an attribute of using the real model, and may include a use method of the real model, an installation method of the real model, a maintenance method of the real model, and the like. Optionally, the function attribute and the use attribute are extracted from the first attribute information.
S402, determining the use space range of the real model according to the functional attributes and the use attributes of the real model and at least one of national standards, industry standards and design experience parameters in the building field.
Specifically, after determining the functional attributes of the real model and the usage attributes of the real model, the computer device may determine the usage space range of the real model according to at least one of the national standard, the industry standard, and the design experience parameters in the industry in the building field. Taking the shower room model as an example, after obtaining the functional attributes of the shower room, the spatial range occupied by a user and the spatial range required by shower can be determined when the user uses the shower, the installation height required by the shower can be determined according to the standing height of the user, the rotation range for opening the glass door of the shower room is also determined, and the spatial range of the shower room can be finally determined by combining national standards, industrial standards, design experience parameters in the industry and the like in the building field.
Alternatively, the usage space range may include a maximum usage space range, an optimal usage space range, and a minimum usage space range. Optionally, the maximum usable space range may be a maximum space that realizes the functions of the real model and does not affect the functions of other models, the optimal usable space range may be a space that realizes the functions of the real model and has the maximum comfort level, and the minimum usable space range may be a minimum space required for realizing the functions of the real model.
In the processing method of the model provided by this embodiment, the computer device may extract the functional attribute of the real model and the usage attribute of the real model from the first attribute information of the real model, and determine the usage space range of the real model according to the functional attribute of the real model and the usage attribute of the real model, and at least one of the national standard, the industry standard, and the design experience parameter in the industry in the building field. In the embodiment, the computer equipment can determine the use space range of the real model according to the functional attribute and the use attribute of the real model, so that the obtained use space range is reasonable, the problem of unreasonable use space caused by specifying the use space according to the subjective consciousness of designers is solved, and the design accuracy is greatly 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. 5, the method may include:
s501, computer equipment obtains occupied space information of each real model, wherein the occupied space information comprises the size of the occupied space of the real model and the shape of the occupied space of the real model.
S502, according to the occupied space information of each real model, the computer equipment carries out three-dimensional contour extraction operation on the real model to obtain a three-dimensional contour control frame corresponding to the real model.
S503, the computer equipment determines the size range of the surface and/or edge of the three-dimensional contour control frame according to the use space range of the real model.
S504, the computer device determines that the second attribute information includes: the positioning attribute of the real model, the size range of the surface and/or edge of the three-dimensional contour control frame, the local coordinate system, the first incidence relation and the second incidence relation.
And S505, the computer equipment configures the second attribute information to the three-dimensional outline control frame to obtain a functional area model corresponding to each real model.
S506, the computer equipment establishes the functional area model library according to the functional area model corresponding to each real model.
And S507, the computer equipment acquires the functional area model to be dragged to the design area from the preset functional area model library.
And S508, determining, by the computer device, first visual placing information of the functional area model in the design area and second visual placing information of the sub-model according to the second attribute information of the surface and/or edge of the functional area model.
S509, the computer device drags the functional area model and the sub-model to the design area according to the first visual placing information and the second visual placing information.
It should be noted that, for the descriptions in S501 to S509, reference may be made to the descriptions related to the foregoing embodiments, and the effects 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-5 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-5 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. 6 is a schematic structural diagram of a model processing apparatus according to an embodiment. As shown in fig. 6, the apparatus may include: a first obtaining module 10, a first determining module 11 and a dragging module 12.
Specifically, the first obtaining module 10 is configured to obtain a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional outline control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models.
A first determining module 11, configured to determine, according to second attribute information of a surface and/or an edge of the functional region model, first visual placement information of the functional region model in the design region and second visual placement information of the sub-model; wherein the second attribute information is associated with the first attribute information.
And the dragging module 12 is configured to drag the functional area model and the sub-model to the design area according to the first and second placing information.
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. 7 is a schematic diagram of a model processing apparatus according to another embodiment. On the basis of the embodiment shown in fig. 6, optionally, the apparatus further includes: a second obtaining module 13, a first extracting module 14, a second determining module 15 and a establishing module 16.
Specifically, the second obtaining module 13 is configured to obtain occupied space information of each real model, where the occupied space information includes a size of an occupied space of the real model and a shape of the occupied space of the real model.
And the first extraction module 14 is configured to perform a three-dimensional contour extraction operation on the real models according to the occupied space information of each real model, so as to obtain a three-dimensional contour control frame corresponding to the real model.
The second determining module 15 is configured to determine, according to the first attribute information of each real model, second attribute information that a surface and/or an edge of the three-dimensional contour control frame corresponding to the real model has; and the second attribute information is configured to the three-dimensional contour control frame to obtain a functional area model corresponding to each real model.
And the establishing module 16 is configured to establish the functional area model library according to the functional area model corresponding to each real model.
Optionally, the first attribute information includes: at least one of a positioning attribute of the real model, a local coordinate system of the real model, a functional attribute of the real model, a usage space range of the real model, a first association relationship between the real model and a sub-model inside the real model, and a second association relationship between the real model and an external model existing in an actual environment.
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 diagram of a model processing apparatus according to another embodiment. On the basis of the foregoing embodiment, optionally, the second determining module 15 may include: a first determination unit 151 and a second determination unit 152.
Specifically, the first determining unit 151 is configured to determine a size range of a surface and/or an edge of the three-dimensional contour control frame according to a usage space range of the real model.
A second determining unit 152, configured to determine that the second attribute information includes: the positioning attribute of the real model, the size range of the surface and/or edge of the three-dimensional contour control frame, the local coordinate system, the first incidence relation and the second incidence relation.
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 diagram of a model processing apparatus according to another embodiment. On the basis of the foregoing embodiment, optionally, the apparatus further includes: a second extraction module 17 and a third determination module 18.
A second extraction module 17, configured to extract a function attribute of the real model and a usage attribute of the real model from the first attribute information of the real model; wherein the functional attributes include: the use attribute includes at least one of a use method of the real model, an installation method of the real model, and a repair method of the real model.
And a third determining module 18, configured to determine a usage space range of the real model according to the functional attributes and the usage attributes of the real model, and at least one of national standards, industry standards, and design experience parameters in the industry in the building field.
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 diagram of a model processing apparatus according to another embodiment. On the basis of the above embodiment, optionally, the apparatus may further include: and a fourth determining module 19, configured to determine a local coordinate system of the functional region model according to the positioning attribute of the real model and at least one of a national standard, an industry standard, and a design experience parameter in the industry in the building field.
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. 11 is a schematic diagram of a model processing apparatus according to another embodiment. On the basis of the above embodiment, optionally, the apparatus may further include: and the control module 20 is configured to perform deformation and dragging operations on the functional region model according to the input deformation vector and the target position.
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 a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
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 a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
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 above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as 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 application, 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 concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A method of model processing, comprising:
acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
determining first visual placing information of the functional area model in the design area and second visual placing information of the functional area sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and dragging the functional area model and the functional area sub-model to the design area according to the first visual placing information and the second visual placing information.
2. The method according to claim 1, wherein before the obtaining the functional area model to be dragged to the design area from the preset functional area model library, the method further comprises:
acquiring occupied space information of each real model, wherein the occupied space information comprises the size of the occupied space of the real model and the shape of the occupied space of the real model;
according to the occupied space information of each real model, carrying out three-dimensional contour extraction operation on the real model to obtain a three-dimensional contour control frame corresponding to the real model;
determining second attribute information of a surface and/or an edge of a three-dimensional contour control frame corresponding to each real model according to the first attribute information of each real model, and configuring the second attribute information to the three-dimensional contour control frame to obtain a functional area model corresponding to each real model;
and establishing the functional area model library according to the functional area model corresponding to each real model.
3. The method according to claim 2, wherein the first attribute information includes: at least one of a positioning attribute of the real model, a local coordinate system of the real model, a functional attribute of the real model, a usage space range of the real model, a first association relationship between the real model and a sub-model inside the real model, and a second association relationship between the real model and an external model existing in an actual environment.
4. The method according to claim 3, wherein the determining, according to the first attribute information of each real model, second attribute information of a face and/or an edge of a three-dimensional contour control frame corresponding to the real model includes:
determining the size range of the surface and/or edge of the three-dimensional contour control frame according to the use space range of the real model;
determining the second attribute information comprises: the positioning attribute of the real model, the size range of the surface and/or edge of the three-dimensional contour control frame, the local coordinate system, the first incidence relation and the second incidence relation.
5. The method of claim 4, further comprising:
extracting a functional attribute of the real model and a use attribute of the real model from first attribute information of the real model; wherein the functional attributes include: at least one of a use of the real model, an application condition of the real model, and a composition function of the real model, and the use attribute includes at least one of a use method of the real model, an installation method of the real model, and a repair method of the real model;
and determining the use space range of the real model according to the functional attribute of the real model, the use attribute of the real model and at least one of national standard, industrial standard and design experience parameter in the industry in the building field.
6. The method of claim 4, further comprising:
and determining a local coordinate system of the functional area model according to the positioning attribute of the real model and at least one of national standard, industrial standard and design experience parameter in the building field.
7. The method according to claim 4, wherein the configuring the second attribute information to the stereo contour control frame to obtain a functional region model corresponding to each real model comprises:
and configuring the content in the second attribute information to the corresponding surface and/or edge of the three-dimensional outline control frame according to a preset attribute configuration rule to obtain a functional area model corresponding to each real model.
8. The method according to any one of claims 1-7, further comprising:
and carrying out deformation and dragging operation on the functional area model according to the input deformation vector and the target position.
9. A model processing apparatus, comprising:
the first acquisition module is used for acquiring a functional area model to be dragged to a design area from a preset functional area model library; the functional area model is a three-dimensional contour control frame abstracted according to first attribute information of a real model, and the real model comprises a plurality of sub models;
the first determination module is used for determining first visual placing information of the functional area model in the design area and second visual placing information of the sub-model according to second attribute information of the surface and/or edge of the functional area model; wherein the second attribute information is associated with the first attribute information;
and the dragging module is used for dragging the functional area model and the sub-model to the design area according to the first putting information and the second putting information.
10. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1-8.
11. 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 8.
CN201810813885.5A 2018-07-23 2018-07-23 Model processing method, device, computer equipment and readable storage medium Active CN110751715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810813885.5A CN110751715B (en) 2018-07-23 2018-07-23 Model processing method, device, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810813885.5A CN110751715B (en) 2018-07-23 2018-07-23 Model processing method, device, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110751715A true CN110751715A (en) 2020-02-04
CN110751715B CN110751715B (en) 2024-02-09

Family

ID=69275020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810813885.5A Active CN110751715B (en) 2018-07-23 2018-07-23 Model processing method, device, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110751715B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5819016A (en) * 1993-10-05 1998-10-06 Kabushiki Kaisha Toshiba Apparatus for modeling three dimensional information
CN102663830A (en) * 2012-04-28 2012-09-12 北京尔宜居科技有限责任公司 Data processing method of interior decoration model
CN104318042A (en) * 2014-11-20 2015-01-28 江苏中佑石油机械科技有限责任公司 Home design system
CN107256577A (en) * 2017-06-19 2017-10-17 巧夺天宫(深圳)科技有限公司 Fitting-up BIM, its construction method, device and electronic equipment
US20180068474A1 (en) * 2016-09-07 2018-03-08 Microsoft Technology Licensing, Llc Customized realty renovation visualization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5819016A (en) * 1993-10-05 1998-10-06 Kabushiki Kaisha Toshiba Apparatus for modeling three dimensional information
CN102663830A (en) * 2012-04-28 2012-09-12 北京尔宜居科技有限责任公司 Data processing method of interior decoration model
CN104318042A (en) * 2014-11-20 2015-01-28 江苏中佑石油机械科技有限责任公司 Home design system
US20180068474A1 (en) * 2016-09-07 2018-03-08 Microsoft Technology Licensing, Llc Customized realty renovation visualization
CN107256577A (en) * 2017-06-19 2017-10-17 巧夺天宫(深圳)科技有限公司 Fitting-up BIM, its construction method, device and electronic equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘烈辉;: "建筑信息模型与建筑室内设计" *
蒋芳;: "室内软装三维模拟系统的设计与实现" *
贾盈平;李春祥;: "Revit三维显示技术的开发及应用" *

Also Published As

Publication number Publication date
CN110751715B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
CN108986233B (en) Method and system for rapidly drawing indoor preview
WO2015027953A1 (en) Method, apparatus and terminal device for dynamic image processing
CN104077446B (en) The method and system of two-dimentional electrical construction document are extracted from digital three-dimemsional model
CN109753641B (en) Method and device for changing object position, electronic equipment and storage medium
CN105528489B (en) Method for two-dimensional and three-dimensional mixed use in modeling software
US9305391B2 (en) Apparatus and methods for detailing subdivision surfaces
CN111369424A (en) Method, device, equipment and storage medium for generating three-dimensional space of target house
CN108446830B (en) Household type sunshine analysis method based on mobile equipment terminal
CN111191311A (en) Efficient image examination method, efficient image examination system, terminal and readable storage medium
WO2014117559A1 (en) 3d-rendering method and device for logical window
CN111369664A (en) Method, device, equipment and storage medium for displaying house type scene
CN103064691A (en) Method and device for producing desktop icon of electronic equipment
CN112700454A (en) Image cropping method and device, electronic equipment and storage medium
CN108595768A (en) A kind of the autoplacement system and device of kitchen space
CN110363854B (en) Curved surface template segmentation method and device, computer equipment and storage medium
CN110751715B (en) Model processing method, device, computer equipment and readable storage medium
CN109191505A (en) Static state generates the method, apparatus of human face three-dimensional model, electronic equipment
CN108898551A (en) The method and apparatus that image merges
CN109064537A (en) Image generating method and device based on 3D rendering engine
US11875280B2 (en) Rendering 3D model data for prioritized placement of 3D models in a 3D virtual environment
CN110648400B (en) Space quantization method of model, mapping relation establishment method, device and equipment
CN112287443B (en) Method and device for generating structural floor slab, electronic equipment and storage medium
CN110889153A (en) Model adjusting method and device, computer equipment and storage medium
CN111046467B (en) House type parametric modeling method and related equipment
CN109388299A (en) Display methods, device and the electronic equipment of interface object

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240110

Address after: 210000, Room 015, Building 2, Shuiyuanju, Qinhuai District, Nanjing City, Jiangsu Province

Applicant after: Nanjing Runshijing Environmental Engineering Co.,Ltd.

Address before: 710003 Room 301, Central Zone, National E-Commerce Demonstration Base, No. 528, Tianguba Road, Software New Town, High-tech Zone, Xi'an City, Shaanxi Province

Applicant before: XI'AN SEA2 NETWORK TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant