[go: up one dir, main page]

CN116385652B - Parameterized geometric multithreading discrete method and system - Google Patents

Parameterized geometric multithreading discrete method and system Download PDF

Info

Publication number
CN116385652B
CN116385652B CN202310377922.3A CN202310377922A CN116385652B CN 116385652 B CN116385652 B CN 116385652B CN 202310377922 A CN202310377922 A CN 202310377922A CN 116385652 B CN116385652 B CN 116385652B
Authority
CN
China
Prior art keywords
model
data
parameterized
rendering
triangular patch
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
CN202310377922.3A
Other languages
Chinese (zh)
Other versions
CN116385652A (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.)
Graphic Stone Co ltd
Original Assignee
Graphic Stone 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 Graphic Stone Co ltd filed Critical Graphic Stone Co ltd
Priority to CN202310377922.3A priority Critical patent/CN116385652B/en
Publication of CN116385652A publication Critical patent/CN116385652A/en
Application granted granted Critical
Publication of CN116385652B publication Critical patent/CN116385652B/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
    • 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/30Polynomial surface description
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Algebra (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Image Generation (AREA)

Abstract

The invention relates to the technical field of computer BIM graphics, in particular to a parameterized geometric multithreading discrete method and a parameterized geometric multithreading discrete system.

Description

Parameterized geometric multithreading discrete method and system
Technical Field
The invention relates to the technical field of computer BIM graphics, in particular to a parameterized geometric multithreading discrete method and a parameterized geometric multithreading discrete system.
Background
The building information model is abbreviated as BIM, which takes various relevant information data of building engineering projects as a model basis to build the building model, and the real information of the building is simulated by digital information. The method has the eight characteristics of information completeness, information relevance, information consistency, visualization, coordination, simulation, optimality and diagonability.
BIM model is usually a general volume model, the download model needs to be transmitted through a network, when the model is excessively large G, the download speed can greatly limit the experience of a user, the waiting time of tens of seconds is needed, and when the volume of the browser is excessively large, the limit of the memory of the browser 2G is easily exceeded, so that the program is crashed. When the BIM model is parameterized, the size of the parameterized model is greatly reduced, but the parameterized model is required to be discretized into triangular patches in real time and then uploaded to a display card during graphic rendering, the consumption of the process can lead to the reduction of the number of frames of model browsing, even the phenomena of interface blocking, unsmooth browsing, no response in clicking and the like, and further the model browsing experience is seriously affected for a user. Therefore, in order to solve the problems of overlarge data volume of the triangular patch model, slow transmission speed of the parameterized model and insufficient fluency during browsing, the application provides a parameterized geometric multithreading discrete method and a parameterized geometric multithreading discrete system.
Disclosure of Invention
The invention overcomes the defects of the prior art and provides a parameterized geometric multithreading discrete method and a parameterized geometric multithreading discrete system.
The technical scheme adopted by the invention for achieving the purpose is as follows:
the first aspect of the invention discloses a parameterized geometric multithreading discrete method, which comprises the following steps:
acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
and outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode.
Preferably, in a preferred embodiment of the present invention, parameter information of a browsing lens is obtained, and a parameterized geometry to be loaded is calculated based on the parameter information of the browsing lens and triangular patch data, specifically:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
and calculating the parameterized geometry to be loaded according to boundary information of the browse lens cutting frame and bounding boxes of preset nodes in the model structure tree.
Preferably, in a preferred embodiment of the present invention, the step after calculating the parameterized geometry to be loaded based on the parameter information of the browsing lens and the triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
Preferably, in a preferred embodiment of the present invention, model rendering is performed according to the triangle patch data after the completion of the discretization, so as to obtain a BIM model after the completion of rendering, which specifically includes:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
In a second aspect, the invention discloses a parameterized geometric multithreading discrete system comprising: the device comprises a memory and a processor, wherein the memory stores a parameterized geometric multithreading discrete method program, and when the parameterized geometric multithreading discrete method program is executed by the processor, the following steps are realized:
acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
and outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode.
Preferably, in a preferred embodiment of the present invention, parameter information of a browsing lens is obtained, and a parameterized geometry to be loaded is calculated based on the parameter information of the browsing lens and triangular patch data, specifically:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
and calculating the parameterized geometry to be loaded according to boundary information of the browse lens cutting frame and bounding boxes of preset nodes in the model structure tree.
Preferably, in a preferred embodiment of the present invention, the step after calculating the parameterized geometry to be loaded based on the parameter information of the browsing lens and the triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
Preferably, in a preferred embodiment of the present invention, model rendering is performed according to the triangle patch data after the completion of the discretization, so as to obtain a BIM model after the completion of rendering, which specifically includes:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
The invention solves the technical defects existing in the background technology, and has the following beneficial effects: the method uses a parameterization mode to express the model, so that the size of the model can be reduced by hundreds of times, the limit caused by network transmission is greatly reduced, the limit of slow network transmission of a large amount of models is greatly shortened, and the loading speed can be ensured when the large amount of BIM models are browsed; the multi-thread discrete mode is used for ensuring that when a large number of geometric discrete triangular patches are performed, the page can also keep fluency and high response speed, and the browsing experience of a user is improved; the multithreading discrete mode can ensure browsing fluency and frame number, and avoid the jamming influence caused by a large amount of calculation; the geometry outside the lens cutting frame can remove triangular patch data, only the parameterized data is reserved, and when needed, the triangle patch is formed by multilines Cheng Lisan, so that the memory is ensured not to exceed the limit, and the maximized limited memory is used; the discretization process of the parameterized model into the triangular patches can control the discretization precision, the multi-level detail is realized, the discretization precision is different under different distances, and the burden caused by the discretization is greatly reduced; the multithreading discrete does not need to wait for all the geometries to be loaded, a batch of geometries can be submitted to a display card through grouping, and the model can be rendered out through grouping without completing the whole rendering after all the discrete.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other embodiments of the drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is an overall process flow diagram of a parameterized geometric multithreading discrete process;
fig. 2 is a system block diagram of a parameterized geometric multithreading discrete system.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
As shown in fig. 1, the present aspect discloses a parameterized geometric multithreading discrete method, comprising the steps of:
s102: acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
s104: performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
s106: acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
s108: and outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode.
It should be noted that, the BIM model diagram to be parameterized is constructed in advance in three-dimensional modeling software by a designer. Firstly, analyzing and converting a BIM model diagram to be parameterized to obtain triangular patch data and attribute data, separating the triangular patch from the attribute data and storing the triangular patch data and the attribute data in a database, and thus obtaining a characteristic database. When a user browses a model, calculating parameterized geometry to be loaded according to a cutting frame of a lens and bounding boxes of preset nodes under a model structure tree, dispersing the parameterized geometry in the cutting frame in a multithread, moving data outside the cutting frame out of a video memory, ensuring that a memory does not exceed the limit of a browser, and maximizing the use of the memory; when the lens is scattered into triangular patches, the accuracy of the scattered triangular patches is modified in real time according to the distance of the lens, and the scattered calculated amount and the scattered data amount are greatly reduced. And then, the triangular patch data after the dispersion is finished are grouped and submitted to a display card in batches, and the display card performs rendering according to the triangular patch data, so that the model can be rendered in groups, and a user can see the model without waiting for all the dispersion.
Further, in a preferred embodiment of the present invention, a BIM model diagram to be parameterized is obtained, and data analysis and data conversion are performed on the BIM model diagram to be parameterized to obtain parameterized model data, which specifically includes:
acquiring a BIM model diagram to be parameterized, and dividing the BIM model diagram to be parameterized into a plurality of sub-model diagrams;
constructing a three-dimensional space coordinate system, importing the sub-model diagram into the three-dimensional space coordinate system for feature matching processing to obtain a plurality of feature matching points, and performing dense processing on the feature matching points to obtain dense feature matching points;
acquiring coordinate information corresponding to the dense feature matching points in a three-dimensional space coordinate system, and generating a coordinate data set of the dense feature matching points according to the coordinate information corresponding to the dense feature matching points in the three-dimensional space coordinate system;
converging the coordinate data sets of the dense feature matching points to obtain triangular patch data; and acquiring attribute data corresponding to the BIM model graph to be parameterized, and acquiring parameterized model data based on the triangular patch data and the attribute data.
It should be noted that, after obtaining the BIM model diagram to be parameterized, a three-dimensional space coordinate system is constructed through three-dimensional software, so that the BIM model diagram to be parameterized is analyzed and converted, parameterized model data is extracted, and the model is expressed in a parameterized mode, so that the size of the model is reduced by hundreds of times, the limitation brought by network transmission can be greatly reduced, and the loading speed of a large amount of BIM models can be ensured. And the BIM pattern to be parameterized is divided into a plurality of sub-pattern patterns for analysis and conversion and then integrated, so that the running load of the system can be reduced, and the occurrence of program breakdown can be reduced.
The triangular patch data is digital feature data, such as coordinate information, size information, and the like. The attribute data is feature data describing the space element, such as shape information, color information, and the like.
Further, in a preferred embodiment of the present invention, parameter information of a browsing lens is obtained, and a parameterized geometry to be loaded is calculated based on the parameter information of the browsing lens and triangle patch data, specifically:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
and calculating the parameterized geometry to be loaded according to boundary information of the browse lens cutting frame and bounding boxes of preset nodes in the model structure tree.
It should be noted that, the BIM model diagram to be browsed is a BIM model diagram browsed by clicking a webpage end or a browser by a user, wherein the BIM model diagram of the webpage end or the browser is displayed in a mode of pictures and names, and when the user screens out the BIM model diagram of interest according to the pictures and the names corresponding to the pictures, the user can further download or browse the BIM model diagram after clicking the picture area. The parameter information of the browsing lens comprises position information of a lens cutting frame, shape information of the lens cutting frame and the like, and the parameter information can be directly obtained by a computer terminal. After clicking the model to be browsed at the webpage end or the browser, the user moves the cropping frame of the browsing lens to a more specific part in the BIM model to be browsed currently, and the system can calculate parameterized geometry to be loaded according to the size and the position of the cropping frame of the lens in real time and the bounding boxes of preset nodes under the model structure tree. The parameterized geometry to be loaded is a BIM model of an internal area of the lens cutting frame, which can be understood as a BIM model part of interest to a user, for example, if the user clicks the lens cutting frame in a certain room of a certain building when browsing a BIM model diagram of the building, it is explained that the user is interested in specific information such as building characteristics, facility layout and the like of the room of the building, and at this time, the system marks the room area as the parameterized geometry to be loaded, so that the system loads specific information such as more detailed building characteristics, facility layout and the like of the room. The method can identify the model area of interest of the user so as to display the model area of interest of the user in detail, so that the webpage interface can keep fluency and high response speed when the user browses a large amount of BIM models, and the browsing experience of the user is improved.
Further, in a preferred embodiment of the present invention, the processing of the parameterized geometry to be loaded by multiline Cheng Lisan is performed to obtain the triangular patch data after the discrete completion, specifically:
constructing a multithreaded discrete model based on a convolutional neural network, dividing preset parameterized geometric data into a training set and a testing set, and importing the training set into the multithreaded discrete model;
performing reverse training on the data in the training set according to the cross entropy loss function, and storing model parameters after the training error converges to a preset value;
testing the multithreading discrete model through the test set, and extracting finally stored model parameters if the multithreading Cheng Lisan model meets the preset requirement to obtain a trained multithreading Cheng Lisan model;
and importing the parameterized geometry to be loaded into the trained multithreaded discrete model for discrete, and obtaining the triangular patch data after the discrete completion.
It should be noted that, the preset parameterized geometric data is formulated by a designer, and the multithreaded discrete model can be trained and verified through the preset parameterized geometric data, so as to ensure the operation precision of the model. After the parameterized geometry to be loaded is determined by browsing the lens position, the multithreading is started to carry out discrete processing on the parameterized geometry to be loaded, in the discrete process, the parameterized geometry in the lens cutting frame is dispersed in the multithreading, and triangular patch data dispersed by the parameterized model outside the lens cutting frame is removed, so that the memory of the browser is ensured not to exceed the limit size, and the memory is used to the maximum. By the method, triangular surface patch data of a geometric body outside the lens cutting frame can be removed, only parameterized data is reserved, and when needed, the triangular surface patch is formed by multilines Cheng Lisan, so that the memory of the browser 2g is prevented from exceeding, limited memory is used to the maximum extent, program breakdown is avoided, and reliability is improved.
In addition, when the triangular patches are scattered by the multithreaded scattering method, the message may be sent to the main thread by using the PostMessage method, or the message sent by the main thread may be received by using the on-message method, so as to scatter the triangular patches. And different parameterized geometric discretization into triangular patch algorithms, such as Delaunay triangulation algorithm, can be performed in the sub-threads, thereby realizing the effect of multithreading.
Further, in a preferred embodiment of the present invention, the step of calculating the parameterized geometry to be loaded based on the parameter information of the browsing lens and the triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
When the method is used for discretizing into triangular patches, the precision of the discrete triangular patches can be modified in real time according to the distance of a browsing lens, the discrete calculated amount and the discrete data amount can be greatly reduced, the discrete precision of a parameterized model can be controlled in the process of discretizing into triangular patches, multi-level details are realized, the discrete precision is different at different distances, and the load brought in the process of discretizing triangular patch data is greatly reduced by a system.
Further, in a preferred embodiment of the present invention, model rendering is performed according to the triangle patch data after the completion of the discretization, so as to obtain a BIM model after the completion of rendering, which specifically includes:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
It should be noted that, in the process of rendering the model, if the model deviation value of the important area (the user region of interest) of the BIM model is greater than the preset deviation value, it is noted that a larger deviation occurs in the color, shape, volume and the like of the model in the process of rendering, and at this time, the rendering model needs to be corrected; if the model deviation value of the secondary region (the region not of interest to the user) of the BIM model is greater than the preset deviation value, the model region may not be modified in order to ensure browsing smoothness. The method realizes the control of the rendering precision, realizes the multi-level detail, has different rendering precision in different areas, and greatly reduces the burden brought by the rendering model
As shown in fig. 2, a second aspect of the present invention discloses a parameterized geometric multithreading discrete system comprising: the device comprises a memory and a processor, wherein the memory stores a parameterized geometric multithreading discrete method program, and when the parameterized geometric multithreading discrete method program is executed by the processor, the following steps are realized:
acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
and outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode.
Preferably, in a preferred embodiment of the present invention, parameter information of a browsing lens is obtained, and a parameterized geometry to be loaded is calculated based on the parameter information of the browsing lens and triangular patch data, specifically:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
and calculating the parameterized geometry to be loaded according to boundary information of the browse lens cutting frame and bounding boxes of preset nodes in the model structure tree.
Preferably, in a preferred embodiment of the present invention, the step after calculating the parameterized geometry to be loaded based on the parameter information of the browsing lens and the triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
Preferably, in a preferred embodiment of the present invention, model rendering is performed according to the triangle patch data after the completion of the discretization, so as to obtain a BIM model after the completion of rendering, which specifically includes:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (4)

1. A parameterized geometric multithreading discrete method, comprising the steps of:
acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode;
the method comprises the steps of obtaining parameter information of a browsing lens, and calculating parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, wherein the parameterized geometry to be loaded is specifically as follows:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
calculating parameterized geometry to be loaded according to boundary information of a browse lens cutting frame and bounding boxes of preset nodes in a model structure tree;
performing model rendering according to the triangle patch data after the completion of the discretization to obtain a BIM model after the completion of rendering, wherein the BIM model specifically comprises:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
2. A parameterized geometric multithreading discrete method as recited in claim 1, wherein the step of calculating the parameterized geometry to be loaded based on the navigation shot parameter information and triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
3. A parameterized geometric multithreading discrete system, the system comprising: the device comprises a memory and a processor, wherein the memory stores a parameterized geometric multithreading discrete method program, and when the parameterized geometric multithreading discrete method program is executed by the processor, the following steps are realized:
acquiring a BIM model diagram to be parameterized, and carrying out data analysis and data conversion on the BIM model diagram to be parameterized to obtain parameterized model data;
performing data separation on the parameterized model data to obtain triangular patch data and attribute data of the BIM model, constructing a database, and importing the triangular patch data and the attribute data of the BIM model into the database to obtain a characteristic database;
acquiring parameter information of a browsing lens, calculating a parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, and performing multi-line Cheng Lisan processing on the parameterized geometry to be loaded to obtain triangular patch data after the completion of dispersion;
outputting the triangular patch data after the completion of the discretization in batches, performing model rendering according to the triangular patch data after the completion of the discretization to obtain a BIM model after the completion of the rendering, and displaying the BIM model after the completion of the rendering in a preset mode;
the method comprises the steps of obtaining parameter information of a browsing lens, and calculating parameterized geometry to be loaded based on the parameter information of the browsing lens and triangular patch data, wherein the parameterized geometry to be loaded is specifically as follows:
acquiring a BIM model diagram to be browsed, acquiring parameter information of a browsing lens, and determining boundary information of a browsing lens cutting frame based on the parameter information;
acquiring triangular patch data of a BIM model diagram to be browsed from the characteristic database, and constructing a geometric data model based on the triangular patch data of the BIM model diagram to be browsed;
analyzing the geometric data model based on a three-dimensional analysis method to obtain a model structure tree, and acquiring a bounding box of a preset node on the model structure tree;
calculating parameterized geometry to be loaded according to boundary information of a browse lens cutting frame and bounding boxes of preset nodes in a model structure tree;
performing model rendering according to the triangle patch data after the completion of the discretization to obtain a BIM model after the completion of rendering, wherein the BIM model specifically comprises:
obtaining a model diagram of a real-time rendering area in a model rendering process, and comparing the model diagram of the real-time rendering area with a preset model diagram to obtain a model deviation value;
judging whether the model deviation value is larger than a preset deviation value, and if so, marking the real-time rendering area as an abnormal area;
acquiring a discrete precision grade, and determining whether the abnormal region is a major region or a minor region based on the discrete precision grade;
if the region is the important region, generating rendering correction data based on the model difference value, and outputting the rendering correction data; if the area is the secondary area, no correction processing is performed.
4. A parameterized geometric multithreaded discrete system according to claim 3, wherein the step of calculating the parameterized geometry to be loaded based on the navigation lens parameter information and triangular patch data further comprises the steps of:
and acquiring distance information between the browsing lens and a preset position, determining the discrete precision grade of the triangular patch based on the distance information, and outputting the discrete precision grade.
CN202310377922.3A 2023-04-11 2023-04-11 Parameterized geometric multithreading discrete method and system Active CN116385652B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310377922.3A CN116385652B (en) 2023-04-11 2023-04-11 Parameterized geometric multithreading discrete method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310377922.3A CN116385652B (en) 2023-04-11 2023-04-11 Parameterized geometric multithreading discrete method and system

Publications (2)

Publication Number Publication Date
CN116385652A CN116385652A (en) 2023-07-04
CN116385652B true CN116385652B (en) 2024-02-20

Family

ID=86967276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310377922.3A Active CN116385652B (en) 2023-04-11 2023-04-11 Parameterized geometric multithreading discrete method and system

Country Status (1)

Country Link
CN (1) CN116385652B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117807648B (en) * 2024-01-09 2025-04-25 国网经济技术研究院有限公司 A discrete multiplexing method, device, equipment and medium for power grid components with openings

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074274A (en) * 2017-12-26 2018-05-25 深圳拎得清软件有限公司 BIM model real-time rendering method and devices based on browser
CN114186318A (en) * 2021-12-14 2022-03-15 博锐尚格科技股份有限公司 A Revit model lightweight rendering method and device
CN114241161A (en) * 2021-12-22 2022-03-25 中设数字技术股份有限公司 A BIM model rendering method and rendering system based on dual GPU
WO2022068430A1 (en) * 2020-09-30 2022-04-07 京东方科技集团股份有限公司 Display processing method and device
CN115512089A (en) * 2022-08-31 2022-12-23 同炎数智科技(重庆)有限公司 Rapid browsing method of BIM (building information modeling) model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074274A (en) * 2017-12-26 2018-05-25 深圳拎得清软件有限公司 BIM model real-time rendering method and devices based on browser
WO2022068430A1 (en) * 2020-09-30 2022-04-07 京东方科技集团股份有限公司 Display processing method and device
CN114186318A (en) * 2021-12-14 2022-03-15 博锐尚格科技股份有限公司 A Revit model lightweight rendering method and device
CN114241161A (en) * 2021-12-22 2022-03-25 中设数字技术股份有限公司 A BIM model rendering method and rendering system based on dual GPU
CN115512089A (en) * 2022-08-31 2022-12-23 同炎数智科技(重庆)有限公司 Rapid browsing method of BIM (building information modeling) model

Also Published As

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

Similar Documents

Publication Publication Date Title
CN112241565A (en) Modeling method and related device
CN111383303A (en) Method and device for automatically generating plane of residential building
CN110110829B (en) Two-dimensional code processing method and device
CN107220438B (en) CAE mechanical simulation method based on BIM information model
CN113689436A (en) Image semantic segmentation method, device, equipment and storage medium
CN113158292A (en) Component matching method, engineering quantity calculation method, device and electronic equipment
CN116385652B (en) Parameterized geometric multithreading discrete method and system
CN112507431A (en) Intelligent image examination method and device based on BIM model and storage medium
CN112528379A (en) Building model generation method and device and electronic equipment
CN112560308A (en) Automobile crash test platform construction method and device based on finite elements
CN113688552A (en) Camera module falling simulation method and device, electronic equipment and medium
CN113378864B (en) Method, device and equipment for determining anchor frame parameters and readable storage medium
CN110728333A (en) Sunshine duration analysis method and device, electronic equipment and storage medium
CN117523087A (en) Three-dimensional model optimization method based on content recognition
CN113868494A (en) Big data visualization display system
CN117371850A (en) Project cost evaluation method, system, electronic equipment and readable storage medium
Roullier et al. Automated visual quality assessment for virtual and augmented reality based digital twins
CN116109750B (en) A three-dimensional model rendering system and method
CN116661359A (en) Industrial equipment monitoring method and device based on industrial Internet
CN115658988A (en) Chart configuration method and device, electronic equipment and storage medium
CN113705686B (en) Image classification method, device, electronic equipment and readable storage medium
CN116778036A (en) Method and device for checking animation data, electronic equipment and medium
CN115170765A (en) Model processing system, method and device
CN116681792A (en) Subgraph generation method, device and equipment of vector drawing and readable storage medium
CN116956386A (en) Method, device, equipment and medium for generating three-dimensional model in CAD drawing

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