CN115935493B - Method and system for converting two-dimensional CAD drawing into BIM model - Google Patents

Method and system for converting two-dimensional CAD drawing into BIM model Download PDF

Info

Publication number
CN115935493B
CN115935493B CN202310244918.XA CN202310244918A CN115935493B CN 115935493 B CN115935493 B CN 115935493B CN 202310244918 A CN202310244918 A CN 202310244918A CN 115935493 B CN115935493 B CN 115935493B
Authority
CN
China
Prior art keywords
task
dimensional cad
cad drawing
target shift
bim 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
CN202310244918.XA
Other languages
Chinese (zh)
Other versions
CN115935493A (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.)
Jiangxi Shaoke Intelligent Construction Technology Co ltd
Jiangxi Zhongzhi Technology Co ltd
Original Assignee
Jiangxi Shaoke Intelligent Construction Technology Co ltd
Jiangxi Zhongzhi 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 Jiangxi Shaoke Intelligent Construction Technology Co ltd, Jiangxi Zhongzhi Technology Co ltd filed Critical Jiangxi Shaoke Intelligent Construction Technology Co ltd
Priority to CN202310244918.XA priority Critical patent/CN115935493B/en
Publication of CN115935493A publication Critical patent/CN115935493A/en
Application granted granted Critical
Publication of CN115935493B publication Critical patent/CN115935493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method and a system for converting a two-dimensional CAD drawing into a BIM model, which relate to the technical field of data processing, and comprise the following steps: acquiring a two-dimensional CAD drawing and generating a target gear shifting task; the method comprises the steps of sending a first task message of a target shift task to a queue server, and sequencing the target shift task in a total task list; extracting a target shift task to analyze the two-dimensional CAD drawing, and sending a second task message of a professional subtask of the target shift task to a message queue server; reading a drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file and storing the IFC data file; and reading all the IFC data files, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files. The invention solves the technical problems that BIM turnover is mainly carried out manually and the input labor cost and time cost are high in the prior art.

Description

Method and system for converting two-dimensional CAD drawing into BIM model
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a system for converting a two-dimensional CAD drawing into a BIM model.
Background
Along with the digital transformation of the building industry, the application of BIM information models is further promoted in China, the demand of BIM models is gradually increased, the current mainstream building project design is still in two-dimensional CAD design, and the BIM forward design has a plurality of adverse factors and cannot be implemented in a large area, so that BIM turnover (namely reverse design) based on two-dimensional CAD drawings is a main way for obtaining project BIM models at present.
At present, BIM turnover mould is mainly still with the help of artificial mode, needs professional BIM engineer to carry out the manual creation through contrast and interpretation two-dimensional CAD drawing, and the human cost and the time cost of input are all great, and are inconvenient for promoting BIM turnover mould efficiency.
Disclosure of Invention
Based on the above, the invention aims to provide a method and a system for converting a two-dimensional CAD drawing into a BIM model, and aims to solve the technical problems that BIM modeling in the prior art mainly depends on manual mode conversion based on the two-dimensional CAD drawing, and the input labor cost and time cost are high.
The first aspect of the invention provides a method for converting a two-dimensional CAD drawing into a BIM model, which comprises the following steps:
acquiring a two-dimensional CAD drawing to be shifted, receiving a shift shifting instruction for controlling the two-dimensional CAD drawing to shift, and generating a target shift shifting task;
sending a first task message of the target shift task to a queue server so as to sort the target shift task in a total task list of the queue server;
when the task in the total task list is executed to the target shift task, the target shift task is extracted to analyze the two-dimensional CAD drawing, and a second task message of a professional subtask of the target shift task is sent to a message queue server according to a drawing analysis result;
when the message queue server receives the second task message, reading the drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file;
and reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
According to an aspect of the above technical solution, when the task in the total task list executes to the target shift task, the step of extracting the target shift task to parse the two-dimensional CAD drawing and sending, according to a drawing parsing result, a second task message of a professional subtask of the target shift task to a message queue server specifically includes:
when the task in the total task list is executed to the target shift task, determining a task identification of the target shift task, and extracting the target shift task based on the task identification;
analyzing the two-dimensional CAD drawing in the target shift task to obtain a drawing analysis result of the two-dimensional CAD drawing;
according to the drawing analysis result, respectively sending second task messages of the professional subtasks of the target shift task to corresponding message queue servers;
the message queue server corresponding to the professional subtask comprises a building, a structure, water supply and drainage, heating and ventilation and electric message queue server.
According to an aspect of the above technical solution, in the step of analyzing the two-dimensional CAD drawing in the target shift task to obtain a drawing analysis result of the two-dimensional CAD drawing, analyzing the two-dimensional CAD drawing includes:
preprocessing a drawing, analyzing a drawing frame, combining components, classifying and processing primitive information;
after the step of obtaining the drawing analysis result of the two-dimensional CAD drawing, the method further comprises the following steps:
and storing the drawing analysis result of the two-dimensional CAD drawing in a preset database.
According to an aspect of the above technical solution, when the message queue server receives the second task message, reading the drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file, which specifically includes:
when the message queue server receives the second task message, reading the drawing analysis result to acquire drawing analysis data;
carrying out professional class reorganization objectification on the two-dimensional CAD drawing according to the drawing analysis data to obtain three-dimensional information data and attribute information data of the identification object;
and storing the three-dimensional information data and the attribute information data in an IFC format so as to package the two-dimensional CAD drawing into an IFC data file and store the IFC data file.
According to one aspect of the above technical solution, the method is characterized by reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files, and specifically includes:
after the recombination objectification of all professional categories of the target shift task is completed, forwarding the target shift task to a shift server;
when the turning server receives the target shift task, reading all IFC data files under the target shift task to automatically create a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
According to an aspect of the foregoing technical solution, after the step of reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files, the method further includes:
invoking a GLB server, and importing the BIM model into the GLB server;
in the GLB server, performing light weight processing on the BIM model to generate a light weight GLB model;
and storing the light GLB model into a preset database.
According to an aspect of the foregoing technical solution, the method further includes:
establishing communication connection between the GLB server and a Web server, and establishing communication connection between the GLB server and a preset database;
and when a preset consulting condition is met, a consulting request is initiated to the GLB server through the Web port, so that the light GLB model stored in the preset database is consulted through the GLB server at the Web server.
The second aspect of the present invention provides a system for converting a two-dimensional CAD drawing into a BIM model based on SaaS, the system comprising:
the task generating module is used for acquiring a two-dimensional CAD drawing to be shifted, receiving a shift shifting instruction for controlling the two-dimensional CAD drawing to shift, and generating a target shift shifting task;
the task ordering module is used for sending the first task message of the target shift task to a queue server so as to order the target shift task in a total task list of the queue server;
the drawing analysis module is used for extracting the target shift task to analyze the two-dimensional CAD drawing when the task in the total task list is executed to the target shift task, and sending a second task message of a professional subtask of the target shift task to the message queue server according to a drawing analysis result;
the data storage module is used for reading the drawing analysis result to obtain drawing analysis data when the message queue server receives the second task message, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file;
and the model creation module is used for reading all the IFC data files corresponding to the two-dimensional CAD drawing and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method described in the above-mentioned technical solution.
A fourth aspect of the present invention is to provide a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method in the above technical solution when the program is executed.
Compared with the prior art, the method and the system for converting the two-dimensional CAD drawing into the BIM model have the beneficial effects that:
the target shift task is generated based on a data source of the two-dimensional CAD drawing, the target shift task is ordered in a total task list, when the target shift task is executed, the data source of the two-dimensional CAD drawing is analyzed to obtain a drawing analysis result, and a second task message of a professional subtask of the target shift task is sent to a message queue server based on the drawing analysis result, so that drawing analysis data can be obtained based on the drawing analysis result when the second task message is received, and a single professional two-dimensional CAD drawing is packaged into an IFC data file and stored, and the IFC data file is read to automatically create a corresponding BIM model. By adopting the technical scheme, the conversion of the two-dimensional CAD drawing into the BIM model is completely and automatically carried out in a network environment, no manual assistance is needed any more, and the technical problems that BIM modeling in the prior art mainly depends on manual mode turning based on the two-dimensional CAD drawing, and the input labor cost and time cost are high can be solved.
Drawings
FIG. 1 is a flow chart of a method for converting a two-dimensional CAD drawing into a BIM model according to a first embodiment of the present invention;
fig. 2 is a block diagram of a system for converting a two-dimensional CAD drawing into a BIM model according to a first embodiment of the present invention.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, a first embodiment of the present invention is to provide a method for converting a two-dimensional CAD drawing into a BIM model, which includes steps S10-S50:
step S10, a two-dimensional CAD drawing to be shifted is obtained, a shift shifting instruction for controlling the two-dimensional CAD drawing to shift is received, and a target shift shifting task is generated;
firstly, it should be noted that the two-dimensional CAD drawing to be shifted refers to an editable drawing under a two-dimensional view, and in this embodiment, the two-dimensional CAD drawing is a building drawing, such as a two-dimensional CAD drawing in terms of structure, water supply and drainage, and heating and ventilation of a building.
In this embodiment, the conversion of the two-dimensional CAD drawing to the BIM model is performed based on the SaaS platform, which is software as a service (Software as a service), that is, the software service is provided through a network. Compared with the traditional software service, the user of the SaaS platform can acquire and serve by self as required, and service expansion and system upgrading do not affect the use of the user.
Specifically, when a user uploads a two-dimensional CAD drawing to be shifted, after the user determines that the two-dimensional CAD drawing is shifted in the system, namely after the user intention is clear, the shift shifting instruction for controlling the two-dimensional CAD drawing to shift is received, and a target shift shifting task is generated based on the shift shifting instruction and the two-dimensional CAD drawing uploaded in advance.
The task name of the target shift task is a file name of a two-dimensional CAD drawing to be shifted, and of course, the task name of the target shift task can also be a task name set by other users. The task name of the target shift task is set so as to facilitate searching the target shift task and facilitate a user to know the shift process of the two-dimensional CAD drawing.
Step S20, a first task message of the target shift task is sent to a queue server, so that the target shift task is ordered in a total task list of the queue server;
the first task message of the target shift task, namely the prompt message sent by the system after the target shift task is generated, is used for information feedback in the system.
Specifically, a first task message of a target shift task is sent to a queue server, and after the first task message is received, the queue server sorts the target shift task based on the task name of the target shift task and the time of receiving the first task message, so as to sort the target shift task in the last position of a total task list according to time sorting.
Of course, when the situation of the target shift task is urgent, the user can set the priority of the target shift task by himself, for example, the target shift task includes three priority levels, which are urgent, urgent and general. For example, when the priority levels of two or more shift tasks are the same, shift is still performed in the time axis order in the total task list; when the priority of any shift task is higher, the shift task with higher priority is executed preferentially. A certain sequencing time can be saved for the emergency shift task.
Step S30, when the task in the total task list is executed to the target shift task, the target shift task is extracted to analyze the two-dimensional CAD drawing, and a second task message of a professional subtask of the target shift task is sent to a message queue server according to a drawing analysis result;
when the tasks in the total task list are executed to the target shift task according to the time axis and/or the priority, in the embodiment, the target shift task is extracted based on the task name of the target shift task, and the two-dimensional CAD drawing is analyzed, including but not limited to drawing preprocessing, drawing frame analysis, component merging and classification, and primitive information processing of the two-dimensional CAD drawing. After the two-dimensional CAD drawing is analyzed, drawing analysis results can be obtained, and a second task message of the professional subtask of the target shift task is further sent to the message queue server according to the drawing analysis results.
In this embodiment, the message queue servers corresponding to the professional subtasks include building, structure, water supply and drainage, heating and ventilation, and electric message queue servers, that is, the target shift task is split according to the classification of the two-dimensional CAD drawing, and the split professional subtasks are respectively distributed to the message queue servers of each class for sorting.
For example, when a two-dimensional CAD drawing includes two types of drawings, namely, a building and a heating and ventilation drawing, after the two-dimensional CAD drawing is parsed, a target shift task of the two-dimensional CAD drawing is split based on a result of parsing the drawing, building professional subtasks of the target shift task are distributed to a building message queue server for sorting, and heating and ventilation professional subtasks of the target shift task are also distributed to the heating and ventilation message queue server for sorting, so that next processing is performed respectively.
Step S40, when the message queue server receives the second task message, reading the drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file;
when the message queue server receives a second task message of a professional subtask distributed by a target shift task, reading an analysis result related to the professional subtask from a database, carrying out reconstruction objectification of each professional, for example, reconstructing three-dimensional information data and attribute information data of a picture paper object according to picture layer data and line data combined with identification logic of a specific object, storing the three-dimensional information data and the attribute information data in a self-defined IFC format, packaging a single professional two-dimensional CAD drawing into an IFC data file, storing the IFC data file in the database, and finally sending the message of task completion to a general control service.
And S50, reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
And reading all IFC data files corresponding to the two-dimensional CAD drawing, namely, IFC data files corresponding to all professions, such as IFC data files corresponding to buildings, structures, water supply and drainage, heating and ventilation and electric professions in the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing based on all IFC data files.
Compared with the prior art, the method for converting the two-dimensional CAD drawing shown in the embodiment into the BIM model has the beneficial effects that:
the target shift task is generated based on a data source of the two-dimensional CAD drawing, the target shift task is ordered in a total task list, when the target shift task is executed, the data source of the two-dimensional CAD drawing is analyzed to obtain a drawing analysis result, and a second task message of a professional subtask of the target shift task is sent to a message queue server based on the drawing analysis result, so that drawing analysis data can be obtained based on the drawing analysis result when the second task message is received, and a single professional two-dimensional CAD drawing is packaged into an IFC data file and stored, and the IFC data file is read to automatically create a corresponding BIM model. By adopting the technical scheme, the conversion of the two-dimensional CAD drawing into the BIM model is completely and automatically carried out in a network environment, no manual assistance is needed any more, and the technical problems that BIM modeling in the prior art mainly depends on manual mode turning based on the two-dimensional CAD drawing, and the input labor cost and time cost are high can be solved.
Example two
The second embodiment of the invention provides a method for converting a two-dimensional CAD drawing into a BIM model, which comprises the following steps:
in this embodiment, when the task in the total task list executes to the target shift task, the step of extracting the target shift task to parse the two-dimensional CAD drawing and sending, according to a drawing parsing result, a second task message of a professional subtask of the target shift task to a message queue server specifically includes:
when the task in the total task list is executed to the target shift task, determining a task identification of the target shift task, and extracting the target shift task based on the task identification;
analyzing the two-dimensional CAD drawing in the target shift task to obtain a drawing analysis result of the two-dimensional CAD drawing;
and respectively sending second task messages of the professional subtasks of the target shift task to corresponding message queue servers according to the drawing analysis result.
In this embodiment, in the step of analyzing the two-dimensional CAD drawing in the target shift task to obtain a drawing analysis result of the two-dimensional CAD drawing, analyzing the two-dimensional CAD drawing includes:
preprocessing a drawing, analyzing a drawing frame, combining components, classifying and processing primitive information;
after the step of obtaining the drawing analysis result of the two-dimensional CAD drawing, the method further comprises the following steps:
and storing the drawing analysis result of the two-dimensional CAD drawing in a preset database.
In this embodiment, when the message queue server receives the second task message, the step of reading the drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file specifically includes:
when the message queue server receives the second task message, reading the drawing analysis result to acquire drawing analysis data;
carrying out professional class reorganization objectification on the two-dimensional CAD drawing according to the drawing analysis data to obtain three-dimensional information data and attribute information data of the identification object;
and storing the three-dimensional information data and the attribute information data in an IFC format so as to package the two-dimensional CAD drawing into an IFC data file and store the IFC data file.
In this embodiment, the step of reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files specifically includes:
after the recombination objectification of all professional categories of the target shift task is completed, forwarding the target shift task to a shift server;
when the turning server receives the target shift task, reading all IFC data files under the target shift task to automatically create a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
In this embodiment, after the steps of reading all IFC data files corresponding to the two-dimensional CAD drawing and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files, the method further includes:
invoking a GLB server, and importing the BIM model into the GLB server;
in the GLB server, performing light weight processing on the BIM model to generate a light weight GLB model;
and storing the light GLB model into a preset database.
Wherein the method further comprises:
establishing communication connection between the GLB server and a Web server, and establishing communication connection between the GLB server and a preset database;
and when a preset consulting condition is met, a consulting request is initiated to the GLB server through the Web port, so that the light GLB model stored in the preset database is consulted through the GLB server at the Web server.
Specifically, after all specialized objectification services of the target shift task are completed, the turnover module server reads all IFC files under the task to automatically create a BIM model. Meanwhile, the GLB server is called to convert the BIM model into a light GLB model for online viewing, and the result is fed back to the master control service after the completion. And the master control service returns a Web service display result, so that the task of intelligently converting the BIM model is completed.
After the task is completed, a BIM model downloading button and an online viewing button are displayed in an interface for initiating the task, the BIM model can be downloaded by clicking the BIM model downloading button, the online viewing button can be clicked, and the GLB model can be viewed at a Web page end.
Compared with the prior art, the method for converting the two-dimensional CAD drawing shown in the embodiment into the BIM model has the advantages that:
the target shift task is generated based on a data source of the two-dimensional CAD drawing, the target shift task is ordered in a total task list, when the target shift task is executed, the data source of the two-dimensional CAD drawing is analyzed to obtain a drawing analysis result, and a second task message of a professional subtask of the target shift task is sent to a message queue server based on the drawing analysis result, so that drawing analysis data can be obtained based on the drawing analysis result when the second task message is received, and a single professional two-dimensional CAD drawing is packaged into an IFC data file and stored, and the IFC data file is read to automatically create a corresponding BIM model. By adopting the technical scheme, the conversion of the two-dimensional CAD drawing into the BIM model is completely and automatically carried out in a network environment, no manual assistance is needed any more, and the technical problems that BIM modeling in the prior art mainly depends on manual mode turning based on the two-dimensional CAD drawing, and the input labor cost and time cost are high can be solved.
Example III
Referring to fig. 2, a third embodiment of the present invention provides a system for converting a two-dimensional CAD drawing into a BIM model, the system comprising: the system comprises a task generating module 10, a task ordering module 20, a drawing analyzing module 30, a data storage module 40 and a model creating module 50.
The task generating module 10 is used for acquiring a two-dimensional CAD drawing to be shifted, receiving a shift shifting instruction for controlling the two-dimensional CAD drawing to shift, and generating a target shift shifting task;
the task ordering module 20 is configured to send a first task message of the target shift task to a queue server, so as to order the target shift task in a total task list of the queue server;
the drawing analysis module 30 is configured to extract the target shift task to analyze the two-dimensional CAD drawing when the task in the total task list is executed to the target shift task, and send a second task message of a professional subtask of the target shift task to a message queue server according to a drawing analysis result;
the data storage module 40 is configured to read the drawing analysis result to obtain drawing analysis data when the message queue server receives the second task message, and package a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and store the IFC data file;
the model creation module 50 is configured to read all IFC data files corresponding to the two-dimensional CAD drawing, and automatically create a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
Compared with the prior art, the two-dimensional CAD drawing-to-BIM model system based on SaaS shown in the embodiment is adopted, and has the beneficial effects that:
the target shift task is generated based on a data source of the two-dimensional CAD drawing, the target shift task is ordered in a total task list, when the target shift task is executed, the data source of the two-dimensional CAD drawing is analyzed to obtain a drawing analysis result, and a second task message of a professional subtask of the target shift task is sent to a message queue server based on the drawing analysis result, so that drawing analysis data can be obtained based on the drawing analysis result when the second task message is received, and a single professional two-dimensional CAD drawing is packaged into an IFC data file and stored, and the IFC data file is read to automatically create a corresponding BIM model. By adopting the technical scheme, the conversion of the two-dimensional CAD drawing into the BIM model is completely and automatically carried out in a network environment, no manual assistance is needed any more, and the technical problems that BIM modeling in the prior art mainly depends on manual mode turning based on the two-dimensional CAD drawing, and the input labor cost and time cost are high can be solved.
Example IV
A fourth embodiment of the invention provides a computer readable storage medium having stored thereon computer instructions which when executed by a processor perform the steps of the method described in the above embodiments.
Example five
A fifth embodiment of the invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, said processor implementing the steps of the method in the above-mentioned technical solution when said program is executed.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. A method for converting a two-dimensional CAD drawing into a BIM model, the method comprising:
acquiring a two-dimensional CAD drawing to be shifted, receiving a shift shifting instruction for controlling the two-dimensional CAD drawing to shift, and generating a target shift shifting task;
sending a first task message of the target shift task to a queue server so as to sort the target shift task in a total task list of the queue server;
when the tasks in the total task list are executed to the target shift task, extracting the target shift task to analyze the two-dimensional CAD drawing to obtain a classification result of the two-dimensional CAD drawing, splitting the target shift task according to the classification of the two-dimensional CAD drawing, and respectively distributing the professional subtasks obtained by splitting to the message queue servers of all the categories for sorting;
when the message queue server receives a second task message, reading the drawing analysis result to obtain drawing analysis data, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file;
reading all IFC data files corresponding to the two-dimensional CAD drawing, and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files;
the message queue server corresponding to the professional subtask comprises a building, a structure, water supply and drainage, heating and ventilation and electric message queue server.
2. The method for converting two-dimensional CAD drawing into BIM model according to claim 1, wherein when the task in the total task list is executed to the target shift task, the step of extracting the target shift task to parse the two-dimensional CAD drawing and sending the second task message of the professional subtask of the target shift task to the message queue server according to the drawing parsing result specifically includes:
when the task in the total task list is executed to the target shift task, determining a task identification of the target shift task, and extracting the target shift task based on the task identification;
analyzing the two-dimensional CAD drawing in the target shift task to obtain a drawing analysis result of the two-dimensional CAD drawing;
according to the drawing analysis result, respectively sending second task messages of the professional subtasks of the target shift task to corresponding message queue servers;
the message queue server corresponding to the professional subtask comprises a building, a structure, water supply and drainage, heating and ventilation and electric message queue server.
3. The method for converting two-dimensional CAD drawing into BIM model according to claim 2, wherein in the step of analyzing the two-dimensional CAD drawing in the target shift task to obtain the drawing analysis result of the two-dimensional CAD drawing, analyzing the two-dimensional CAD drawing includes:
preprocessing a drawing, analyzing a drawing frame, combining components, classifying and processing primitive information;
after the step of obtaining the drawing analysis result of the two-dimensional CAD drawing, the method further comprises the following steps:
and storing the drawing analysis result of the two-dimensional CAD drawing in a preset database.
4. The method for converting two-dimensional CAD drawing into BIM model according to claim 1, wherein when the message queue server receives the second task message, the method reads the drawing analysis result to obtain drawing analysis data, and encapsulates a single-specialized two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and stores the IFC data file, specifically comprising:
when the message queue server receives the second task message, reading the drawing analysis result to acquire drawing analysis data;
carrying out professional class reorganization objectification on the two-dimensional CAD drawing according to the drawing analysis data to obtain three-dimensional information data and attribute information data of the identification object;
and storing the three-dimensional information data and the attribute information data in an IFC format so as to package the two-dimensional CAD drawing into an IFC data file and store the IFC data file.
5. The method for converting a two-dimensional CAD drawing into a BIM model according to claim 4, wherein the steps of reading all IFC data files corresponding to the two-dimensional CAD drawing and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files specifically include:
after the recombination objectification of all professional categories of the target shift task is completed, forwarding the target shift task to a shift server;
when the turning server receives the target shift task, reading all IFC data files under the target shift task to automatically create a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files.
6. The method for converting a two-dimensional CAD drawing into a BIM model according to claim 1, wherein after the steps of reading all IFC data files corresponding to the two-dimensional CAD drawing and automatically creating a BIM model corresponding to the two-dimensional CAD drawing from the IFC data files, the method further comprises:
invoking a GLB server, and importing the BIM model into the GLB server;
in the GLB server, performing light weight processing on the BIM model to generate a light weight GLB model;
and storing the light GLB model into a preset database.
7. The method for converting a two-dimensional CAD drawing into a BIM model according to claim 6, further comprising:
establishing communication connection between the GLB server and a Web server, and establishing communication connection between the GLB server and a preset database;
and when a preset consulting condition is met, a consulting request is initiated to the GLB server through the Web port, so that the light GLB model stored in the preset database is consulted through the GLB server at the Web server.
8. A SaaS-based two-dimensional CAD drawing to BIM model system, the system comprising:
the task generating module is used for acquiring a two-dimensional CAD drawing to be shifted, receiving a shift shifting instruction for controlling the two-dimensional CAD drawing to shift, and generating a target shift shifting task;
the task ordering module is used for sending the first task message of the target shift task to a queue server so as to order the target shift task in a total task list of the queue server;
the drawing analysis module is used for extracting the target shift task to analyze the two-dimensional CAD drawing to obtain a classification result of the two-dimensional CAD drawing when the task in the total task list is executed to the target shift task, splitting the target shift task according to the classification of the two-dimensional CAD drawing, and respectively distributing the professional subtasks obtained by splitting to the message queue servers of all the categories for sorting;
the data storage module is used for reading the drawing analysis result to obtain drawing analysis data when the message queue server receives the second task message, and packaging a single professional two-dimensional CAD drawing into an IFC data file based on the drawing analysis data and storing the IFC data file;
the model creation module is used for reading all IFC data files corresponding to the two-dimensional CAD drawing and automatically creating a BIM model corresponding to the two-dimensional CAD drawing according to the IFC data files;
the message queue server corresponding to the professional subtask comprises a building, a structure, water supply and drainage, heating and ventilation and electric message queue server.
9. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any of claims 1-7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-7 when the program is executed.
CN202310244918.XA 2023-03-15 2023-03-15 Method and system for converting two-dimensional CAD drawing into BIM model Active CN115935493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310244918.XA CN115935493B (en) 2023-03-15 2023-03-15 Method and system for converting two-dimensional CAD drawing into BIM model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310244918.XA CN115935493B (en) 2023-03-15 2023-03-15 Method and system for converting two-dimensional CAD drawing into BIM model

Publications (2)

Publication Number Publication Date
CN115935493A CN115935493A (en) 2023-04-07
CN115935493B true CN115935493B (en) 2023-05-23

Family

ID=85825564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310244918.XA Active CN115935493B (en) 2023-03-15 2023-03-15 Method and system for converting two-dimensional CAD drawing into BIM model

Country Status (1)

Country Link
CN (1) CN115935493B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116110072B (en) * 2023-04-12 2023-08-15 江西少科智能建造科技有限公司 CAD drawing analysis method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386145A (en) * 2021-12-31 2022-04-22 广州市城市规划勘测设计研究院 Building index statistical method and device based on heterogeneous BIM (building information modeling)
CN114722963A (en) * 2022-04-26 2022-07-08 中铁二院华东勘察设计有限责任公司 Legend identification method and system for generating three-dimensional BIM (building information modeling) model by using two-dimensional drawing of subway station

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100956416B1 (en) * 2008-07-30 2010-05-06 (주) 우대칼스 3 dimensional geographical information client apparatus, server apparatus and 3 dimensional geographical information system having the same
US9465801B2 (en) * 2013-01-29 2016-10-11 Transbit Technologies Software Private Limited Method and system for automatic processing and management of technical digital documents and drawings
CN112818457A (en) * 2021-02-26 2021-05-18 万翼科技有限公司 BIM (building information modeling) model intelligent generation method and system based on CAD (computer-aided design) drawing
CN112613112A (en) * 2021-03-08 2021-04-06 巧夺天宫(深圳)科技有限公司 BIM development-based CAD (computer aided design) construction drawing reverse modeling method
CN113140041A (en) * 2021-04-29 2021-07-20 安徽省绿安建筑信息模型咨询有限公司 Cloud-based three-dimensional automatic modeling system and modeling method for building field
WO2023275833A1 (en) * 2021-07-02 2023-01-05 Ganesh Balasubramanian Automatic conversion of 2d schematics to 3d models
CN113849886A (en) * 2021-09-13 2021-12-28 上海金曲信息技术有限公司 Power transmission and transformation engineering design three-dimensional modeling method based on GIM technology
CN114972659B (en) * 2022-07-28 2022-11-01 江西少科智能建造科技有限公司 Method and system for converting two-dimensional drawing into three-dimensional model for drawing examination
CN115291842B (en) * 2022-08-24 2024-01-30 金航数码科技有限责任公司 CAD structural member lightweight conversion and online browsing method and system
CN115510545A (en) * 2022-10-14 2022-12-23 北京市建筑工程设计有限责任公司 BIM-based three-dimensional building model splitting processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386145A (en) * 2021-12-31 2022-04-22 广州市城市规划勘测设计研究院 Building index statistical method and device based on heterogeneous BIM (building information modeling)
CN114722963A (en) * 2022-04-26 2022-07-08 中铁二院华东勘察设计有限责任公司 Legend identification method and system for generating three-dimensional BIM (building information modeling) model by using two-dimensional drawing of subway station

Also Published As

Publication number Publication date
CN115935493A (en) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2018036342A1 (en) Csar-based template design visualization method and device
CN115935493B (en) Method and system for converting two-dimensional CAD drawing into BIM model
CN103984818A (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN109816114B (en) Method and device for generating machine learning model
CN105893259A (en) Code detection system, method and device
CN112148926A (en) Graph data stream processing method, processing device and storage medium
CN113760464A (en) Artificial intelligence model development platform based on deep learning
CN114416049B (en) Configuration method and device of service interface combining RPA and AI
CN113468261B (en) Method and system for constructing entity relationship of Internet of things based on graphic editing engine
CN109302459B (en) Service compiling device and method of service-oriented intelligent power grid dispatching control system
JP2019174894A (en) Workshop support system and workshop support method
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
CN116069303A (en) Code generation method, device, equipment and storage medium
CN107505852B (en) Method for constructing cloud manufacturing service description file containing simulation information
CN113805886A (en) Page creating method, device and system, computer device and storage medium
CN114358158B (en) Model training method, device, equipment and storage medium
CN111783391A (en) Online artificial text marking system and method
CN111242468A (en) Distributed automatic evaluation report generation method
JP3716091B2 (en) Requirement specification model / other format model conversion apparatus and method
JP2001076046A (en) Device and method for automatically supplying work flow work item
CN113411841A (en) 5G slice cutting and joining method and device and computing equipment
CN113806596B (en) Operation data management method and related device
CN113722341B (en) Operation data processing method and related device
US20240169665A1 (en) Decentralized Digitalization of Physical Objects
WO2023032226A1 (en) Function adding device, function adding method, and function adding program

Legal Events

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