CN109448120A - Processing method, device and the computer equipment of three-dimensional building model - Google Patents

Processing method, device and the computer equipment of three-dimensional building model Download PDF

Info

Publication number
CN109448120A
CN109448120A CN201811290037.7A CN201811290037A CN109448120A CN 109448120 A CN109448120 A CN 109448120A CN 201811290037 A CN201811290037 A CN 201811290037A CN 109448120 A CN109448120 A CN 109448120A
Authority
CN
China
Prior art keywords
building model
information
dimensional building
dimensional
plies
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
CN201811290037.7A
Other languages
Chinese (zh)
Other versions
CN109448120B (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.)
Guangzhou Anywhere Animation Technology Co Ltd
Original Assignee
Guangzhou Anywhere Animation 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 Guangzhou Anywhere Animation Technology Co Ltd filed Critical Guangzhou Anywhere Animation Technology Co Ltd
Priority to CN201811290037.7A priority Critical patent/CN109448120B/en
Publication of CN109448120A publication Critical patent/CN109448120A/en
Application granted granted Critical
Publication of CN109448120B publication Critical patent/CN109448120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The present invention relates to a kind of processing methods of three-dimensional building model, device, computer equipment and computer readable storage medium, wherein method is comprising steps of obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed, obtain the information of the preset number of plies for needing to change, need to change the information of the initial position in the three-dimensional building model of layer, and need to change the information in the direction of layer, using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, towards the single story building model for the direction change number of plies for needing to change layer, generate treated three-dimensional building model.The processing method of three-dimensional building model of the invention may be implemented the information of the number of plies modification starting point and direction inputted according to user, carry out mass modification to the building storey of three-dimensional building model, improve the efficiency that three-dimensional building model changes layer.

Description

Processing method, device and the computer equipment of three-dimensional building model
Technical field
The present invention relates to dimensional Modeling Technology field, more particularly to a kind of processing method of three-dimensional building model, device, Computer equipment and computer readable storage medium.
Background technique
Dimensional Modeling Technology is widely used in various industries, such as in real estate industry, it is often necessary to make building Threedimensional model, to be used to building is designed or be shown etc..
In the threedimensional model manufacturing process of building, it is often necessary to which the number of plies of building is increased or deleted etc. Modification processing, existing threedimensional model Software for producing need user successively to be modified buildings model manually to the number of plies needed, right The number of plies of three-dimensional building model modifies inefficiency.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide processing method, the device, meter of a kind of three-dimensional building model Calculate machine equipment and computer readable storage medium.
A kind of processing method of three-dimensional building model, comprising the following steps:
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated.
The processing method of above-mentioned three-dimensional building model extracts the sample of single story building model in three-dimensional building model to be processed The information of formula and size, and the information of the number of plies that the needs for obtaining user preset are changed, need to change in the three-dimensional building model of layer Initial position information, and need to change the information in the direction of layer, the initial position in three-dimensional building model is starting point, according to The pattern of single story building model and the information of size are generated towards the single story building model for the direction change number of plies for needing to change layer Treated three-dimensional building model, so as to realize the information of the number of plies modification starting point and direction according to user's input, to three The building storey for tieing up buildings model carries out mass modification, improves the efficiency that three-dimensional building model changes layer.
In one embodiment, it is necessary to which the information of the number of plies of change includes needing the information of the increased number of plies;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated, comprising:
Obtaining the initial position plane vertical with direction is basic side;
According to the information of the pattern of single story building model and size, replicates the single story building model of the number of plies and be inserted in basic On face, treated three-dimensional building model is generated.
The technical solution of above-described embodiment obtains initial position when user needs to increase the number of plies of three-dimensional building model Locating the plane vertical with direction is basic side, and the single story building model of the number of plies is replicated based on the basic side and is inserted in basic On face, treated three-dimensional building model is generated.To three-dimensional building model plus layer processing can be fast implemented;And due to user It can specify and add layer direction, thus not only may be implemented to increase the number of plies in three-dimensional building model height, it can also be in transverse direction The extension of length or width is carried out to three-dimensional building model.
In one embodiment, it is necessary to which the information of the number of plies of change includes needing the information of the reduced number of plies;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated, comprising:
Obtaining the initial position plane vertical with direction is basic side;
According to the information of the pattern of single story building model and size, delete on the basis of basic side towards the side for needing to change layer The single story building model of the upward number of plies generates treated three-dimensional building model.
The technical solution of above-described embodiment obtains initial position when user needs to reduce the number of plies of three-dimensional building model Locating the plane vertical with direction is basic side, is deleted on the basis of basic side based on the basic side towards the side for needing to change layer The single story building model of the upward number of plies generates treated three-dimensional building model.It can fast implement to three-dimensional building model Subtract layer processing.
In one embodiment, the processing method of three-dimensional building model further include:
Show three-dimensional building model to be processed;
Three-dimensional building model to be processed is replicated, is obtained referring to three-dimensional building model, display is referring to three-dimensional building model;Its In, same display interface is shown in referring to three-dimensional building model and three-dimensional building model to be processed;
When generating treated three-dimensional building model, using treated three-dimensional building model modification referring to three-dimensional building Model, and show the reference three-dimensional building model of update.
The technical solution of above-described embodiment shows original three-dimensional building model to be processed in same display interface, and will Changing the three-dimensional building model obtained after layer processing simultaneous display, user on the reference three-dimensional building model of update can be convenient ground Know the contrast effect for changing layer three-dimensional building model before and after the processing.
In one embodiment, the information of initial position includes the coordinate in tri- directions x, y and z in default three-dimensional system of coordinate Value;
The information for needing to change the direction of layer includes the information in the direction x, the direction y or the direction z;
Wherein, the wide direction extended of the direction x corresponding three-dimensional buildings model, the length of the direction y corresponding three-dimensional buildings model are prolonged The direction stretched, and the high direction extended of the direction z corresponding three-dimensional buildings model.
The technical solution of above-described embodiment is correspondingly arranged corresponding three-dimensional coordinate with the width of three-dimensional building model, length and height Tri- direction reference axis of x, y and z of system can choose wherein any one side in the information in the direction that setting needs to change layer To being configured, so as to realize that the building storey to wide, long and high three directions of three-dimensional building model increases or delete behaviour Make, so that the building storey processing to three-dimensional building model is more flexible.
A kind of processing unit of three-dimensional building model, comprising:
Single-layer information obtains module, for obtaining the pattern and ruler of single story building model in three-dimensional building model to be processed Very little information;
Change a layer data obtaining module, for obtaining the information of the preset number of plies for needing to change, needs to change described the three of layer The information of the initial position in buildings model is tieed up, and needs to change the information in the direction of layer;
Building changes a layer module, for using the initial position in the three-dimensional building model as starting point, according to the list The layer pattern of buildings model and the information of size change the single story building model of the number of plies, generation processing towards the direction Three-dimensional building model afterwards.
The processing unit of above-mentioned three-dimensional building model extracts the sample of single story building model in three-dimensional building model to be processed The information of formula and size, and the information of the number of plies that the needs for obtaining user preset are changed, need to change in the three-dimensional building model of layer Initial position information, and need to change the information in the direction of layer, the initial position in three-dimensional building model is starting point, according to The pattern of single story building model and the information of size are generated towards the single story building model for the direction change number of plies for needing to change layer Treated three-dimensional building model, so as to realize the information of the number of plies modification starting point and direction according to user's input, to three The building storey for tieing up buildings model carries out mass modification, improves the efficiency that three-dimensional building model changes layer.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, processor perform the steps of when executing computer program
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated.
Above-mentioned computer equipment, it is to be processed so as to extract by realizing step as above when processor executes program Three-dimensional building model in the pattern of single story building model and the information of size, and the number of plies that the needs for obtaining user preset are changed Information, need to change the information of the initial position in the three-dimensional building model of layer, and need to change the information in the direction of layer, it is three-dimensional Initial position in buildings model is starting point, and according to the information of the pattern of single story building model and size, direction needs to change layer The single story building model of the number of plies is changed in direction, is generated treated three-dimensional building model, is inputted so as to realize according to user The number of plies modification starting point and direction information, mass modification is carried out to the building storey of three-dimensional building model, three-dimensional is improved and builds Build the efficiency that model changes layer.
A kind of computer readable storage medium is stored thereon with computer program, when computer program is executed by processor It performs the steps of
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated.
Above-mentioned computer readable storage medium, the computer program of storage, by realizing step as above, so as to mention The pattern of single story building model and the information of size in three-dimensional building model to be processed are taken, and obtains the needs of user preset more The information of the number of plies changed, needs to change the information of the initial position in the three-dimensional building model of layer, and need to change the direction of layer Information, the initial position in three-dimensional building model are starting point, according to the information of the pattern of single story building model and size, towards needing The single story building model for changing the direction change number of plies of layer, generates treated three-dimensional building model, so as to realize basis The information of the number of plies modification starting point and direction of user's input, carries out mass modification to the building storey of three-dimensional building model, is promoted Three-dimensional building model changes the efficiency of layer.
Detailed description of the invention
Fig. 1 is the internal structure chart of computer equipment in one embodiment;
Fig. 2 is the flow diagram of the processing method of three-dimensional building model in one embodiment;
Fig. 3 is the flow diagram that three-dimensional building model changes layer step in one embodiment;
Fig. 4 is the flow diagram that three-dimensional building model changes layer step in another embodiment;
Fig. 5 is the flow diagram of the display step of three-dimensional building model in another embodiment;
Fig. 6 is the structural block diagram of the processing unit of three-dimensional building model in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.
The processing method of three-dimensional building model provided by the invention, can be applied in computer equipment, which sets It is standby to can be terminal, such as can be, but not limited to be various personal computers, laptop, tablet computer and special equipment Deng.Its internal structure chart can be as shown in Figure 1.The computer equipment include by system bus connect processor, memory, Network interface, display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.It should The memory of computer equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operation System and computer program.The built-in storage is that the operation of the operating system and computer program in non-volatile memory medium mentions For environment.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program quilt A kind of processing method of three-dimensional building model is realized when processor executes.The display screen of the computer equipment can be liquid crystal Display screen or electric ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, can also To be the key being arranged on computer equipment shell, trace ball or Trackpad, external keyboard, Trackpad or mouse can also be Deng.
In one embodiment, it as shown in Fig. 2, providing a kind of processing method of three-dimensional building model, answers in this way It is illustrated on the processor in Fig. 1, comprising the following steps:
S210 obtains the pattern of single story building model and the information of size in three-dimensional building model to be processed;
Wherein, three-dimensional building model to be processed is the threedimensional model for needing to carry out building storey modification.Three-dimensional to be processed Buildings model can be obtained by opening existing three-dimensional building model or newly-built three-dimensional building model.Three-dimensional building model In each layer model be all duplicate single story building model, in this step, can will be single in three-dimensional building model to be processed The repetitive unit of layer buildings model extracts, and gets the pattern of the repetitive unit and the relevant information of size, such as can be with , slice width long including layer, layer height, door and window information, metope information etc..
S220 obtains the information of the preset number of plies for needing to change, needs to change the initial bit in the three-dimensional building model of layer The information set, and need to change the information in the direction of layer;
Wherein, the information for the number of plies for needing to change needs to change the information of the initial position in the three-dimensional building model of layer, with And need to change the information in the direction of layer and can be manually entered by user, in particular it is required that the information of the number of plies of change can pass through Such as input of the user in dialog box obtains, the information of the initial position in three-dimensional building model can be by detecting user's cursor Position is clicked, the three-dimensional coordinate that cursor clicks the corresponding position that position corresponds on the three-dimensional building model currently shown is obtained It takes, the information for needing to change the direction of layer can be obtained by input of the user in dialog box, also can detecte the shifting of user's cursor Gesture of starting obtains.After user inputs the information for needing the number of plies, initial position and the direction changed, processor records these letters Breath is handled with the modification for carrying out three-dimensional building model building layer for the subsequent information according to user's input.
S230, using the initial position in three-dimensional building model as starting point, according to the pattern of single story building model and size Information generates treated three-dimensional building model towards the single story building model for the direction change number of plies for needing to change layer.
The processing method of above-mentioned three-dimensional building model extracts the sample of single story building model in three-dimensional building model to be processed The information of formula and size, and the information of the number of plies that the needs for obtaining user preset are changed, need to change in the three-dimensional building model of layer Initial position information, and need to change the information in the direction of layer, the initial position in three-dimensional building model is starting point, according to The pattern of single story building model and the information of size are generated towards the single story building model for the direction change number of plies for needing to change layer Treated three-dimensional building model, so as to realize the information of the number of plies modification starting point and direction according to user's input, to three The building storey for tieing up buildings model carries out mass modification, improves the efficiency that three-dimensional building model changes layer.
In one embodiment, it is necessary to which the information of the number of plies of change includes needing the information of the increased number of plies;
As shown in figure 3, using the initial position in three-dimensional building model as starting point, according to the pattern and ruler of single story building model Very little information generates treated three-dimensional building model, packet towards the single story building model for the direction change number of plies for needing to change layer It includes:
S231, obtaining the initial position plane vertical with direction is basic side;
S232 replicates the single story building model of the number of plies and is inserted into according to the information of the pattern of single story building model and size In on basic side, the three-dimensional building model that generates that treated.
The technical solution of above-described embodiment obtains initial position when user needs to increase the number of plies of three-dimensional building model Locating the plane vertical with direction is basic side, and the single story building model of the number of plies is replicated based on the basic side and is inserted in basic On face, treated three-dimensional building model is generated.To three-dimensional building model plus layer processing can be fast implemented;And due to user It can specify and add layer direction, thus not only may be implemented to increase the number of plies in three-dimensional building model height, it can also be in transverse direction The extension of length or width is carried out to three-dimensional building model.
In one embodiment, it is necessary to which the information of the number of plies of change includes needing the information of the reduced number of plies;
As shown in figure 4, using the initial position in three-dimensional building model as starting point, according to the pattern and ruler of single story building model Very little information generates treated three-dimensional building model, packet towards the single story building model for the direction change number of plies for needing to change layer It includes:
S233, obtaining the initial position plane vertical with direction is basic side;
S234 is deleted and is changed on the basis of basic side towards needs according to the information of the pattern of single story building model and size The single story building model of the number of plies on the direction of layer generates treated three-dimensional building model.
The technical solution of above-described embodiment obtains initial position when user needs to reduce the number of plies of three-dimensional building model Locating the plane vertical with direction is basic side, is deleted on the basis of basic side based on the basic side towards the side for needing to change layer The single story building model of the upward number of plies generates treated three-dimensional building model.It can fast implement to three-dimensional building model Subtract layer processing.
In one embodiment, as shown in figure 5, the processing method of three-dimensional building model further include:
S510 shows three-dimensional building model to be processed;
S520 replicates three-dimensional building model to be processed, obtains referring to three-dimensional building model, display is referring to three-dimensional building mould Type;Wherein, same display interface is shown in referring to three-dimensional building model and three-dimensional building model to be processed;
S530, when generating treated three-dimensional building model, using treated three-dimensional building model modification referring to three Buildings model is tieed up, and shows the reference three-dimensional building model of update.
The technical solution of above-described embodiment shows original three-dimensional building model to be processed in same display interface, and will Changing the three-dimensional building model obtained after layer processing simultaneous display, user on the reference three-dimensional building model of update can be convenient ground Know the contrast effect for changing layer three-dimensional building model before and after the processing.
In one embodiment, the information of initial position includes the coordinate in tri- directions x, y and z in default three-dimensional system of coordinate Value;
The information for needing to change the direction of layer includes the information in the direction x, the direction y or the direction z;
Wherein, wherein the wide direction extended of the direction x corresponding three-dimensional buildings model, the direction y corresponding three-dimensional buildings model The long direction extended, and the high direction extended of the direction z corresponding three-dimensional buildings model.
The technical solution of above-described embodiment is correspondingly arranged corresponding three-dimensional coordinate with the width of three-dimensional building model, length and height Tri- direction reference axis of x, y and z of system can choose wherein any one side in the information in the direction that setting needs to change layer To being configured, so as to realize that the building storey to wide, long and high three directions of three-dimensional building model increases or delete behaviour Make, so that the building storey processing to three-dimensional building model is more flexible.
It should be understood that although each step in above-described embodiment is arranged successively according to number, these steps It is not necessarily successively to be executed according to the sequence of number.Unless expressly stating otherwise herein, the execution of these steps is not Stringent sequence limitation, these steps can execute in other order.Moreover, at least part in the step of above-described embodiment Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in fig. 6, providing a kind of processing unit 600 of three-dimensional building model, comprising:
Single-layer information obtains module 610, for obtaining the pattern of single story building model in three-dimensional building model to be processed With the information of size;
Change layer data obtaining module 620, for obtaining the information of the preset number of plies for needing to change, needs to change the described of layer The information of initial position in three-dimensional building model, and need to change the information in the direction of layer;
Building changes layer module 630, for using the initial position in the three-dimensional building model as starting point, according to described The pattern of single story building model and the information of size, change the single story building model of the number of plies towards the direction, at generation Three-dimensional building model after reason.
In one embodiment, the information for needing the number of plies changed includes needing the information of the increased number of plies;
The building changes layer module 630, comprising:
First basic side obtains module, is basic for obtaining the initial position plane vertical with the direction Face;
Extra floor building module, for replicating the number of plies according to the pattern of the single story building model and the information of size Single story building model and be inserted on the basic side, generate treated three-dimensional building model.
In one embodiment, the information for needing the number of plies changed includes needing the information of the reduced number of plies;
The building changes layer module 630, comprising:
Second basic side obtains module, is basic for obtaining the initial position plane vertical with the direction Face;
Building subtracts a layer module, for deleting with the base according to the pattern of the single story building model and the information of size Towards the single story building model of the number of plies on the direction on the basis of this face, the three-dimensional building model that generates that treated.
In one embodiment, the processing unit of three-dimensional building model further include:
Archetype display module, for showing three-dimensional building model to be processed;
Reference model display module obtains showing referring to three-dimensional building model for replicating three-dimensional building model to be processed Show referring to three-dimensional building model;Wherein, same display is shown in referring to three-dimensional building model and three-dimensional building model to be processed Interface;
Reference model update module, for when generating treated three-dimensional building model, three-dimensional to be built using treated Model modification is built referring to three-dimensional building model, and shows the reference three-dimensional building model of update.
In one embodiment, the information of initial position includes the coordinate in tri- directions x, y and z in default three-dimensional system of coordinate Value;The information for needing to change the direction of layer includes the information in the direction x, the direction y or the direction z;Wherein, the direction x corresponding three-dimensional is built The direction that the wide direction extended of model, the length of the direction y corresponding three-dimensional buildings model extend, and the direction z corresponding three-dimensional builds mould The high direction extended of type.
The specific restriction of processing unit about three-dimensional building model may refer to above for three-dimensional building model The restriction of processing method, details are not described herein.Modules in the processing unit of above-mentioned three-dimensional building model can whole or portion Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold The corresponding operation of the above modules of row.
The processing unit of three-dimensional building model of the invention and the processing method of three-dimensional building model of the invention one are a pair of It answers, is suitable for three-dimensional in the technical characteristic and its advantages of the embodiment elaboration of the processing method of above-mentioned three-dimensional building model In the embodiment of the processing unit of buildings model, hereby give notice that.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated.
Above-mentioned computer equipment, it is to be processed so as to extract by realizing step as above when processor executes program Three-dimensional building model in the pattern of single story building model and the information of size, and the number of plies that the needs for obtaining user preset are changed Information, need to change the information of the initial position in the three-dimensional building model of layer, and need to change the information in the direction of layer, it is three-dimensional Initial position in buildings model is starting point, and according to the information of the pattern of single story building model and size, direction needs to change layer The single story building model of the number of plies is changed in direction, is generated treated three-dimensional building model, is inputted so as to realize according to user The number of plies modification starting point and direction information, mass modification is carried out to the building storey of three-dimensional building model, three-dimensional is improved and builds Build the efficiency that model changes layer.
A kind of computer equipment provided by the embodiment of the present invention, what computer executable instructions were not limited to the described above The processing method of three-dimensional building model operates, and the place of three-dimensional building model provided by any embodiment of the invention can also be performed Relevant operation in reason method, and have corresponding function and beneficial effect.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in three-dimensional building model as starting point, according to the information of the pattern of single story building model and size, Towards the single story building model for the direction change number of plies for needing to change layer, treated three-dimensional building model is generated.
Above-mentioned computer readable storage medium, the computer program of storage, by realizing step as above, so as to mention The pattern of single story building model and the information of size in three-dimensional building model to be processed are taken, and obtains the needs of user preset more The information of the number of plies changed, needs to change the information of the initial position in the three-dimensional building model of layer, and need to change the direction of layer Information, the initial position in three-dimensional building model are starting point, according to the information of the pattern of single story building model and size, towards needing The single story building model for changing the direction change number of plies of layer, generates treated three-dimensional building model, so as to realize basis The information of the number of plies modification starting point and direction of user's input, carries out mass modification to the building storey of three-dimensional building model, is promoted Three-dimensional building model changes the efficiency of layer.
A kind of storage medium comprising computer executable instructions provided by the embodiment of the present invention, computer are executable The processing method operation for instructing the three-dimensional building model being not limited to the described above, can also be performed any embodiment of that present invention and is mentioned Relevant operation in the processing method of the three-dimensional building model of confession, and have corresponding function and beneficial effect.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer It can inquire in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided by the present invention, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of processing method of three-dimensional building model characterized by comprising
Obtain the pattern of single story building model and the information of size in three-dimensional building model to be processed;
The information for obtaining the preset number of plies for needing to change, needs to change the letter of the initial position in the three-dimensional building model of layer Breath, and need to change the information in the direction of layer;
Using the initial position in the three-dimensional building model as starting point, according to the pattern and size of the single story building model Information, change the single story building model of the number of plies towards the direction for needing to change layer, the three-dimensional building that generates that treated Model.
2. the processing method of three-dimensional building model according to claim 1, which is characterized in that the number of plies for needing to change Information include needing the information of the increased number of plies;
The initial position using in the three-dimensional building model as starting point, according to the pattern of the single story building model and The information of size, changes the single story building model of the number of plies towards the direction, generate that treated three-dimensional building model, packet It includes:
Obtaining the initial position plane vertical with the direction is basic side;
According to the information of the pattern of the single story building model and size, replicates the single story building model of the number of plies and be inserted in On the basic side, treated three-dimensional building model is generated.
3. the processing method of three-dimensional building model according to claim 1, which is characterized in that the number of plies for needing to change Information include needing the information of the reduced number of plies;
The initial position using in the three-dimensional building model as starting point, according to the pattern of the single story building model and The information of size, changes the single story building model of the number of plies towards the direction, generate that treated three-dimensional building model, packet It includes:
Obtaining the initial position plane vertical with the direction is basic side;
According to the information of the pattern of the single story building model and size, delete on the basis of the basic side towards the direction On the number of plies single story building model, generate treated three-dimensional building model.
4. the processing method of three-dimensional building model according to any one of claims 1 to 3, which is characterized in that further include:
Show three-dimensional building model to be processed;
Three-dimensional building model to be processed is replicated, obtains showing described referring to three-dimensional building model referring to three-dimensional building model;Its In, it is described to be shown in same display interface referring to three-dimensional building model and three-dimensional building model to be processed;
When generating treated three-dimensional building model, using described in treated the three-dimensional building model modification referring to three-dimensional Buildings model, and show the described referring to three-dimensional building model of update.
5. the processing method of three-dimensional building model according to any one of claims 1 to 3, which is characterized in that described initial The information of position includes the coordinate value in tri- directions x, y and z in default three-dimensional cartesian coordinate system;
The information in the direction for needing to change layer includes the information in the direction x, the direction y or the direction z;
Wherein, the wide direction extended, the direction y that the direction x corresponds to the three-dimensional building model correspond to the three-dimensional and build The long direction extended of model is built, and the direction z corresponds to the high direction extended of the three-dimensional building model.
6. a kind of processing unit of three-dimensional building model characterized by comprising
Single-layer information obtains module, for obtaining the pattern of single story building model and size in three-dimensional building model to be processed Information;
Change a layer data obtaining module, for obtaining the information of the preset number of plies for needing to change, the three-dimensional for needing to change layer is built The information of the initial position in model is built, and needs to change the information in the direction of layer;
Building changes a layer module, for being built according to the single layer using the initial position in the three-dimensional building model as starting point The pattern of model and the information of size are built, the single story building model of the number of plies is changed towards the direction for needing to change layer, it is raw At treated three-dimensional building model.
7. according to the processing unit of three-dimensional building model described in right 6, which is characterized in that the letter of the number of plies for needing to change Breath includes the information for needing the increased number of plies;
The building changes a layer module, comprising:
First basic side obtains module, is basic side for obtaining the initial position plane vertical with the direction;
Extra floor building module, for replicating the list of the number of plies according to the pattern of the single story building model and the information of size Layer buildings model is simultaneously inserted on the basic side, generates treated three-dimensional building model.
8. according to the processing unit of three-dimensional building model described in right 6, which is characterized in that the letter of the number of plies for needing to change Breath includes the information for needing the reduced number of plies;
The building changes a layer module, comprising:
Second basic side obtains module, is basic side for obtaining the initial position plane vertical with the direction;
Building subtracts a layer module, for deleting with the basic side according to the pattern of the single story building model and the information of size On the basis of towards the number of plies on the direction single story building model, generate treated three-dimensional building model.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to Described in 5 any one the step of the processing method of three-dimensional building model.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of processing method of the three-dimensional building model as described in claim 1 to 5 any one is realized when being executed by processor.
CN201811290037.7A 2018-10-31 2018-10-31 Processing method and device for three-dimensional building model and computer equipment Active CN109448120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811290037.7A CN109448120B (en) 2018-10-31 2018-10-31 Processing method and device for three-dimensional building model and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811290037.7A CN109448120B (en) 2018-10-31 2018-10-31 Processing method and device for three-dimensional building model and computer equipment

Publications (2)

Publication Number Publication Date
CN109448120A true CN109448120A (en) 2019-03-08
CN109448120B CN109448120B (en) 2023-09-08

Family

ID=65549150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811290037.7A Active CN109448120B (en) 2018-10-31 2018-10-31 Processing method and device for three-dimensional building model and computer equipment

Country Status (1)

Country Link
CN (1) CN109448120B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110689621A (en) * 2019-05-28 2020-01-14 贝壳技术有限公司 Method, device and system for displaying three-dimensional models of house before and after decoration on same screen
CN113127949A (en) * 2019-12-31 2021-07-16 久瓴(上海)智能科技有限公司 Building model processing method and device, computer equipment and readable storage medium
US11158134B2 (en) 2019-05-28 2021-10-26 Ke.Com (Beijing) Technology Co., Ltd. Method, apparatus and storage medium for displaying three-dimensional space view

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6671600B1 (en) * 1999-02-12 2003-12-30 Gtm Construction Production method using global positioning system
US20070121182A1 (en) * 2005-09-29 2007-05-31 Rieko Fukushima Multi-viewpoint image generation apparatus, multi-viewpoint image generation method, and multi-viewpoint image generation program
CN102436674A (en) * 2010-09-29 2012-05-02 国际商业机器公司 Method and system for establishing model data
WO2015149302A1 (en) * 2014-04-02 2015-10-08 中国科学院自动化研究所 Method for rebuilding tree model on the basis of point cloud and data driving
CN105912118A (en) * 2016-04-12 2016-08-31 童雷 Method and device for surround sound-image control based on natural user interface
CN107590355A (en) * 2017-10-27 2018-01-16 巧夺天宫(深圳)科技有限公司 Architectural design method, design system and electronic equipment based on BIM
CN108427782A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of three-dimensional building model treatment method and device based on BIM
CN108648279A (en) * 2018-03-22 2018-10-12 平安科技(深圳)有限公司 House three-dimensional virtual tapes see method, apparatus, mobile terminal and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6671600B1 (en) * 1999-02-12 2003-12-30 Gtm Construction Production method using global positioning system
US20070121182A1 (en) * 2005-09-29 2007-05-31 Rieko Fukushima Multi-viewpoint image generation apparatus, multi-viewpoint image generation method, and multi-viewpoint image generation program
CN102436674A (en) * 2010-09-29 2012-05-02 国际商业机器公司 Method and system for establishing model data
WO2015149302A1 (en) * 2014-04-02 2015-10-08 中国科学院自动化研究所 Method for rebuilding tree model on the basis of point cloud and data driving
CN105912118A (en) * 2016-04-12 2016-08-31 童雷 Method and device for surround sound-image control based on natural user interface
CN108427782A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 A kind of three-dimensional building model treatment method and device based on BIM
CN107590355A (en) * 2017-10-27 2018-01-16 巧夺天宫(深圳)科技有限公司 Architectural design method, design system and electronic equipment based on BIM
CN108648279A (en) * 2018-03-22 2018-10-12 平安科技(深圳)有限公司 House three-dimensional virtual tapes see method, apparatus, mobile terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110689621A (en) * 2019-05-28 2020-01-14 贝壳技术有限公司 Method, device and system for displaying three-dimensional models of house before and after decoration on same screen
US11158134B2 (en) 2019-05-28 2021-10-26 Ke.Com (Beijing) Technology Co., Ltd. Method, apparatus and storage medium for displaying three-dimensional space view
US11875460B2 (en) 2019-05-28 2024-01-16 Ke.Com (Beijing) Technology Co., Ltd. Method, apparatus and storage medium for displaying three-dimensional space view
CN113127949A (en) * 2019-12-31 2021-07-16 久瓴(上海)智能科技有限公司 Building model processing method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN109448120B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN109448120A (en) Processing method, device and the computer equipment of three-dimensional building model
US8694286B2 (en) Modifying a parametrically defined model with an explicit modeler
CN110955418A (en) Code generation method and device, computer equipment and storage medium
CN109448115B (en) Processing method and device of three-dimensional model and computer equipment
CN113129427B (en) Building model processing method, device, computer equipment and readable storage medium
CN110704898B (en) Method for placing connecting node between tiger window model and roof truss girder model and product
CN110826119A (en) Information processing method and device, computer equipment and readable storage medium
CN111190574B (en) Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
CN113987652A (en) Wall model generation method and device
CN114398711A (en) Concrete gravity dam CAE integrated analysis method and device and electronic equipment
CN110704902B (en) Connecting node placement method and product of combined lintel model and combined upright column model
CN110286894B (en) Script generation method, script generation device, computer equipment and storage medium
CN112464325B (en) Stair model creation method, stair model creation device, computer equipment and storage medium
CN112015378A (en) Skeleton screen page generation method and device, computer equipment and storage medium
CN112560133A (en) Complex roof identification method and device, computer equipment and storage medium
CN112464324B (en) Adjacent relation acquisition method, adjacent state set generation method and related products
CN111125809A (en) Building steel column generation method and device, computer equipment and storage medium
CN115576473B (en) Waveform display method, computer device, and storage medium
CN110765513B (en) Method for placing connecting node of wall keel model and L-shaped top guide beam model and product
CN108363358B (en) Golden finger processing and positioning method and device and golden finger processing equipment
WO2021164756A1 (en) Input method and apparatus for smart television, computer device, and storage medium
CN110765508B (en) Method and device for generating tiger window gable truss node and storage medium
CN110750817B (en) Connecting piece placement method, adjacent relation determination method, device, equipment and medium
CN112836261A (en) House structure generation method and device, computer equipment and storage medium

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