CN112634421B - Building model processing method and device and nonvolatile storage medium - Google Patents

Building model processing method and device and nonvolatile storage medium Download PDF

Info

Publication number
CN112634421B
CN112634421B CN202011541697.5A CN202011541697A CN112634421B CN 112634421 B CN112634421 B CN 112634421B CN 202011541697 A CN202011541697 A CN 202011541697A CN 112634421 B CN112634421 B CN 112634421B
Authority
CN
China
Prior art keywords
model
opening
hole
building
target model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011541697.5A
Other languages
Chinese (zh)
Other versions
CN112634421A (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.)
Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Original Assignee
Jiuling Jiangsu Digital Intelligent 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 Jiuling Jiangsu Digital Intelligent Technology Co Ltd filed Critical Jiuling Jiangsu Digital Intelligent Technology Co Ltd
Priority to CN202011541697.5A priority Critical patent/CN112634421B/en
Publication of CN112634421A publication Critical patent/CN112634421A/en
Application granted granted Critical
Publication of CN112634421B publication Critical patent/CN112634421B/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
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Graphics (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Architecture (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Working Measures On Existing Buildindgs (AREA)

Abstract

The invention discloses a method and a device for processing a building model and a nonvolatile storage medium. Wherein, the method comprises the following steps: obtaining a building model to be processed; responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: a model which falls into the hole shearing area and can not be completely sheared; and if the detection result shows that the target model exists, deleting the target model, and then carrying out hole shearing processing on the building model along the hole shearing area to obtain a hole of the building model. The invention solves the technical problems that in the prior art, when a computer technology is adopted to cut the opening of a partition wall keel model, the opening cannot be accurately and efficiently cut, and particularly, when a screw model is encountered during cutting, a cutting error is easy to occur.

Description

Building model processing method and device and nonvolatile storage medium
Technical Field
The invention relates to the field of computer building models, in particular to a building model processing method and device and a nonvolatile storage medium.
Background
In a scene of building models constructed by adopting a computer technology in the prior art, when a hole is cut on a partition wall keel, the hole cannot be accurately and efficiently cut, and particularly when a screw model is encountered during cutting, the problem of cutting errors is easy to occur.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a processing method and device of a building model and a nonvolatile storage medium, which are used for at least solving the technical problems that in the prior art, when a computer technology is adopted to cut a hole of a partition wall keel model, the hole cannot be accurately and efficiently cut, and particularly, when a screw model is encountered during cutting, a cutting error is easy to occur.
According to an aspect of an embodiment of the present invention, there is provided a method for processing a building model, including: obtaining a building model to be processed, wherein the building model comprises: a partition keel model; responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: a model which falls into the hole shearing area and can not be completely sheared; and if the detection result shows that the target model exists, deleting the target model, and then performing hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model.
Optionally, the method further includes: and if the detection result shows that the target model does not exist, performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model.
Optionally, before deleting the target model, the method further includes: detecting whether the target model is in a preset plane or not; if the target model is in the predetermined plane, acquiring a direction vector of the target model and a central point of the opening to be sheared and a radius value of the opening to be sheared; and determining the intersection point of the target model and the opening to be sheared according to the coordinate value of the central point, the direction vector and the radius value.
Optionally, after determining an intersection point of the target model and the opening to be sheared, the method further includes: judging whether the intersection point falls into the opening to be sheared or not; and if the judgment result indicates that the intersection point falls into the to-be-sheared opening, deleting the target model.
Optionally, the partition keel model comprises: gypsum board subassembly model, the material model of packing, the screw model, the fossil fragments model, wherein, above-mentioned material model of packing includes following at least one: the sealing glue component, the cement mortar component and the foaming agent component.
According to another aspect of the embodiments of the present invention, there is also provided a processing apparatus for a building model, including: the first acquisition module is used for acquiring a building model to be processed; a first detection module, configured to detect whether a target model exists in an opening shearing area of the building model in response to an opening shearing instruction applied to the building model, where the target model includes: a model which falls into the hole shearing area and can not be completely sheared; and the processing module is used for deleting the target model and then executing the hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model if the detection result shows that the target model exists.
Optionally, the building model includes: and the processing module is further used for performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model if the detection result shows that the target model does not exist.
Optionally, the apparatus further comprises: the second detection module is used for detecting whether the target model is in a preset plane or not; a second obtaining module, configured to obtain, if the target model is located in the predetermined plane, a direction vector of a central point of the target model and the to-be-sheared hole, and a radius value of the to-be-sheared hole; and the determining module is used for determining the intersection point of the target model and the to-be-sheared opening according to the coordinate value of the central point, the direction vector and the radius value.
Optionally, the apparatus further comprises: the judging module is used for judging whether the intersection point falls into the opening to be sheared; and the deleting module is used for deleting the target model if the judgment result indicates that the intersection point falls into the to-be-sheared opening.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium, wherein the non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the above processing methods of the building model.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to run a program, where the program is configured to execute any one of the above processing methods of the building model when running.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above processing methods for the building model.
In the embodiment of the present invention, a building model to be processed is obtained, where the building model includes: a partition keel model; responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: a model which falls into the hole shearing area and can not be completely sheared; if the detection result is that the target model exists, the target model is deleted, and then the building model is subjected to hole shearing processing along the hole shearing area to obtain the hole of the building model, so that the purpose of accurately and efficiently shearing the hole is achieved, the technical effect of avoiding shearing errors when a screw model is encountered during shearing the hole is achieved, and the technical problem that the hole cannot be accurately and efficiently sheared when a computer technology is adopted to shear the hole of the partition wall keel model in the prior art, and especially shearing errors are likely to occur when the screw model is encountered during shearing is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing a building model according to an embodiment of the invention;
FIG. 2 is a schematic view of an alternative cut-to-opening process according to an embodiment of the present invention;
FIG. 3 is a schematic view of an alternative cut-to-opening process according to an embodiment of the present invention;
FIG. 4a is a schematic view of an alternative screw pattern in a hole shearing area according to an embodiment of the present invention;
FIG. 4b is a partial schematic view of an alternative screw pattern in the shearing area of the hole in accordance with an embodiment of the present invention;
FIG. 4c is a partial schematic view of an alternative screw model in the shearing area of the hole according to an embodiment of the invention;
fig. 5 is a schematic structural diagram of a processing device for a building model according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of processing a building model, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a flowchart of a method for processing a building model according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, obtaining a building model to be processed;
step S104, responding to the opening shearing instruction acting on the building model, and detecting whether an object model exists in an opening shearing area of the building model, wherein the object model comprises: a model which falls into the hole shearing area and can not be completely sheared;
and step S106, if the detection result shows that the target model exists, deleting the target model, and then executing the opening shearing processing on the building model along the opening shearing area to obtain the opening of the building model.
In the embodiment of the invention, a building model to be processed is obtained; responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model or not; if the detection result is that the target model exists, the target model is deleted, and then the building model is subjected to hole shearing processing along the hole shearing area to obtain the hole of the building model, so that the purpose of accurately and efficiently shearing the hole is achieved, the technical effect of avoiding shearing errors when a screw model is encountered during shearing the hole is achieved, and the technical problem that the hole cannot be accurately and efficiently sheared when a computer technology is adopted to shear the hole of the partition wall keel model in the prior art, and especially shearing errors are likely to occur when the screw model is encountered during shearing is solved.
It should be noted that, the processing method of the building model provided in the embodiment of the present application can be substantially understood as a related method for completing the calculation of the closest distance from a point to a circle and the coordinates of an intersection point based on a computer language;
optionally, wherein the target model includes: a model which falls into the hole shearing area and cannot be completely sheared, for example, a screw model; optionally, the building model includes: partition wall fossil fragments model, above-mentioned partition wall fossil fragments model can be light partition wall fossil fragments model, is convenient for carry out the entrance to a cave shearing processing to it.
In an alternative embodiment, the partition keel model includes therein: gypsum board subassembly model, the packing material model, the screw model, fossil fragments model, wherein, above-mentioned packing material model includes following at least one: the sealing glue component, the cement mortar component and the foaming agent component.
In this embodiment of the present application, in response to an opening shearing instruction acting on the building model, detecting whether an object model exists in an opening shearing area of the building model, where the object model includes: a model which falls into the hole shearing area and can not be completely sheared; and if the detection result shows that the target model exists, deleting the target model, and then performing hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model.
In an alternative embodiment, when there is a hole to be cut in the partition wall keel model, a gypsum board model, a filler material model, an intermediate keel model, a screw model, etc. of the hole portion of the partition wall keel model are cut with the hole, for example, as shown in fig. 2 and 3, when the hole cutting process, i.e., the hole is made in the partition wall keel model, a surface gypsum board model, an intermediate filler material model, an intermediate keel model, a screw model, etc. may be cut.
It should be noted that, during the shearing process, if the gypsum board model, the filling material model, etc. are encountered, it is only necessary to perform shearing by using the hole shearing process, but as shown in fig. 4a, 4b, and 4c, when the screw model is located in the hole shearing area (i.e., at the edge of the hole), it may be half a screw that is sheared, that is, an error may occur if the shearing is performed directly, that is, there may not be a situation that half a screw is sheared in actual operation.
In an optional embodiment, the method further includes:
and step S202, if the detection result shows that the target model does not exist, performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model.
In an optional embodiment, before deleting the target model, the method further includes:
step S302, detecting whether the target model is in a preset plane;
step S304, if the target model is in the predetermined plane, acquiring a direction vector of the target model and a central point of the opening to be sheared and a radius value of the opening to be sheared;
step S306, determining the intersection point of the target model and the opening to be sheared according to the coordinate value of the central point, the direction vector and the radius value.
In the embodiment of the application, whether the point of the target model is on the predetermined plane where the hole is located is judged, and whether the point of the target model meets the equation can be carried into a plane equation; if not, the projection of the point to the plane is used for calculation. If the intersection point is on the plane, the intersection point is obtained by calculation of the current point and by adopting a mode of circle center coordinates and a direction vector from the circle center to the point.
In an optional embodiment, after determining an intersection point of the target model and the opening to be sheared, the method further includes:
step S302, judging whether the intersection point falls into the opening to be sheared;
step S304, if the judgment result indicates that the intersection point falls into the to-be-sheared opening, deleting the target model.
In the embodiment of the application, after the intersection point of the target model and the to-be-sheared opening is determined, whether the intersection point falls into the to-be-sheared opening is judged; and if the judgment result indicates that the intersection point falls into the to-be-sheared opening, deleting the target model.
Through the embodiment of the application, developers do not need to design and realize functions, development time of the developers is reduced, and development efficiency can be effectively improved.
Example 2
According to an embodiment of the present invention, there is also provided an embodiment of an apparatus for implementing the processing method of the building model, fig. 5 is a schematic structural diagram of a processing apparatus of a building model according to an embodiment of the present invention, and as shown in fig. 5, the processing apparatus of a building model includes: a first acquisition module 500, a first detection module 502, and a processing module 504, wherein:
a first obtaining module 500, configured to obtain a building model to be processed; a first detecting module 502, configured to detect whether a target model exists in an opening shearing area of the building model in response to an opening shearing instruction applied to the building model, where the target model includes: a model which falls into the hole shearing area and can not be completely sheared; and a processing module 504, configured to delete the target model if the detection result indicates that the target model exists, and then perform an opening shearing process on the building model along the opening shearing area to obtain an opening of the building model.
It should be noted here that the first acquiring module 500, the first detecting module 502 and the processing module 504 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in implementation examples and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
In an alternative embodiment, the building model comprises: and the processing module is further used for performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model if the detection result shows that the target model does not exist.
In an optional embodiment, the apparatus further comprises: the second detection module is used for detecting whether the target model is in a preset plane or not; a second obtaining module, configured to obtain, if the target model is located in the predetermined plane, a direction vector of a central point of the target model and the to-be-sheared hole, and a radius value of the to-be-sheared hole; and the determining module is used for determining the intersection point of the target model and the to-be-sheared opening according to the coordinate value of the central point, the direction vector and the radius value.
In an optional embodiment, the apparatus further comprises: the judging module is used for judging whether the intersection point falls into the opening to be sheared; and the deleting module is used for deleting the target model if the judgment result indicates that the intersection point falls into the to-be-sheared opening.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted that, reference may be made to the relevant description in embodiment 1 for optional or preferred embodiments of this embodiment, and details are not described here again.
The processing device of the building model may further include a processor and a memory, and the first obtaining module 500, the first detecting module 502, the processing module 504, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to an embodiment of the present application, there is also provided an embodiment of a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium includes a stored program, and when the program runs, the apparatus in which the non-volatile storage medium is located is controlled to execute the any one of the building model processing methods.
Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: obtaining a building model to be processed; responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: a model which falls into the hole shearing area and can not be completely sheared; and if the detection result shows that the target model exists, deleting the target model, and performing the hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model.
Optionally, the apparatus in which the nonvolatile storage medium is controlled when the program is running performs the following functions: and if the detection result shows that the target model does not exist, performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: detecting whether the target model is in a preset plane or not; if the target model is in the predetermined plane, acquiring a direction vector of the target model and a central point of the opening to be sheared and a radius value of the opening to be sheared; and determining the intersection point of the target model and the opening to be sheared according to the coordinate value of the central point, the direction vector and the radius value.
Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: judging whether the intersection point falls into the opening to be sheared or not; and if the judgment result indicates that the intersection point falls into the to-be-sheared opening, deleting the target model.
According to an embodiment of the present application, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the processing methods of the building model.
According to an embodiment of the present application, there is further provided an embodiment of an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above processing methods for a building model.
There is further provided, in accordance with an embodiment of the present application, an embodiment of a computer program product, which, when executed on a data processing device, is adapted to execute a program of initializing the processing method steps of the building model of any of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable non-volatile storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a non-volatile storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of processing a building model, comprising:
obtaining a building model to be processed;
responding to an opening shearing instruction acting on the building model, and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: the model falls into the hole shearing area and cannot be completely sheared;
and if the detection result is that the target model exists, deleting the target model, and then carrying out the hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model.
2. The method of claim 1, wherein the building model comprises: a partition keel model; the method further comprises the following steps:
and if the detection result is that the target model does not exist, performing hole shearing processing on the building model along the hole shearing area to obtain a hole in the building model.
3. The method of claim 1, wherein prior to deleting the target model, the method further comprises:
detecting whether the target model is in a preset plane or not;
if the target model is located in the preset plane, acquiring a direction vector of the target model and a central point of the to-be-sheared opening and a radius value of the to-be-sheared opening;
and determining the intersection point of the target model and the to-be-sheared opening according to the coordinate value of the central point, the direction vector and the radius value.
4. The method of claim 3, wherein after determining an intersection of the target model and the opening to be sheared, the method further comprises:
judging whether the intersection point falls into the to-be-sheared opening or not;
and if the judgment result indicates that the intersection point falls into the to-be-sheared opening, deleting the target model.
5. The method of claim 2, wherein the partition keel model interior comprises: gypsum board subassembly model, the material model of packing, the screw model, the fossil fragments model, wherein, the material model of packing includes following at least one: the sealing glue component, the cement mortar component and the foaming agent component.
6. An apparatus for processing a construction model, comprising:
the first acquisition module is used for acquiring a building model to be processed;
the first detection module is used for responding to an opening shearing instruction acting on the building model and detecting whether a target model exists in an opening shearing area of the building model, wherein the target model comprises: the model falls into the cut region of the opening and cannot be completely cut;
and the processing module is used for deleting the target model and then executing the hole shearing processing on the building model along the hole shearing area to obtain the hole of the building model if the detection result shows that the target model exists.
7. The apparatus of claim 6, wherein the building model comprises: and the processing module is also used for executing the hole shearing processing on the building model along the hole shearing area if the detection result shows that the target model does not exist, so as to obtain a hole in the building model.
8. The apparatus of claim 7, further comprising:
the second detection module is used for detecting whether the target model is in a preset plane or not;
the second obtaining module is used for obtaining a direction vector of the target model and a central point of the to-be-sheared opening and a radius value of the to-be-sheared opening if the target model is located in the predetermined plane;
and the determining module is used for determining the intersection point of the target model and the to-be-sheared opening according to the coordinate value of the central point, the direction vector and the radius value.
9. The apparatus of claim 8, further comprising:
the judging module is used for judging whether the intersection point falls into the to-be-sheared opening or not;
and the deleting module is used for deleting the target model if the judgment result indicates that the intersection point falls into the to-be-sheared opening.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the method of processing a building model according to any one of claims 1 to 5.
CN202011541697.5A 2020-12-23 2020-12-23 Building model processing method and device and nonvolatile storage medium Active CN112634421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011541697.5A CN112634421B (en) 2020-12-23 2020-12-23 Building model processing method and device and nonvolatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011541697.5A CN112634421B (en) 2020-12-23 2020-12-23 Building model processing method and device and nonvolatile storage medium

Publications (2)

Publication Number Publication Date
CN112634421A CN112634421A (en) 2021-04-09
CN112634421B true CN112634421B (en) 2022-06-17

Family

ID=75321769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011541697.5A Active CN112634421B (en) 2020-12-23 2020-12-23 Building model processing method and device and nonvolatile storage medium

Country Status (1)

Country Link
CN (1) CN112634421B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110102058A (en) * 2019-06-10 2019-08-09 网易(杭州)网络有限公司 The generation method of Virtual Building model, device, processor and terminal in game
CN110197534A (en) * 2019-06-10 2019-09-03 网易(杭州)网络有限公司 Hooking method, device, processor and the terminal of Virtual Building accessory model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959005B2 (en) * 2012-01-31 2015-02-17 Autodesk, Inc. Building envelope determination

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110102058A (en) * 2019-06-10 2019-08-09 网易(杭州)网络有限公司 The generation method of Virtual Building model, device, processor and terminal in game
CN110197534A (en) * 2019-06-10 2019-09-03 网易(杭州)网络有限公司 Hooking method, device, processor and the terminal of Virtual Building accessory model

Also Published As

Publication number Publication date
CN112634421A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN108121543B (en) Software code compiling processing method and device
CN108536597A (en) A kind of terminal test method, device, terminal device and storage medium
CN112818456A (en) Layer configuration method, electronic equipment and related product
CN112287430B (en) Building wall generation method and device, computer equipment and storage medium
CN112634421B (en) Building model processing method and device and nonvolatile storage medium
US10503430B2 (en) Method and device for clearing data and electronic device
CN109949421B (en) Triangular net cutting method and device
CN107967192B (en) System crash processing method and device for intelligent terminal
CN111984520A (en) Buried point testing method, computer device and computer-readable storage medium
CN108196975B (en) Data verification method and device based on multiple checksums and storage medium
CN107231624B (en) Method for retaining data information, storage device and mobile terminal
CN108733478B (en) Three-dimensional image processing method and device
CN109032649B (en) OTA (over the air) upgrading method, device, equipment and storage medium
CN111338644A (en) Task script deployment method and system
CN109933479B (en) Fault simulation and emulation method and related equipment
CN104899023A (en) Data statistic method and device
CN112199753B (en) Shear wall generation method and device, electronic equipment and storage medium
CN106126056B (en) PowerPoint-based slide automatic creation method and device
CN112199755B (en) Structural floor generation method and device, nonvolatile storage medium and processor
CN115237441A (en) Upgrade test method, device and medium based on cloud platform
CN111724463B (en) Rendering method and device for model line drawing
CN104166544A (en) File merging method and device
CN111913710A (en) Method and device for setting navigation bar
CN109621405B (en) Cross-platform interaction method and device, computer equipment and storage medium
CN113609478A (en) IOS platform application program tampering detection method and device

Legal Events

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