CN108595858B - BIM-based lightweight advanced treatment working method - Google Patents

BIM-based lightweight advanced treatment working method Download PDF

Info

Publication number
CN108595858B
CN108595858B CN201810403228.3A CN201810403228A CN108595858B CN 108595858 B CN108595858 B CN 108595858B CN 201810403228 A CN201810403228 A CN 201810403228A CN 108595858 B CN108595858 B CN 108595858B
Authority
CN
China
Prior art keywords
point
data
grid
geometric
bim
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
CN201810403228.3A
Other languages
Chinese (zh)
Other versions
CN108595858A (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.)
SIMUTECH INC.
Original Assignee
SIMUTECH Inc
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 SIMUTECH Inc filed Critical SIMUTECH Inc
Priority to CN201810403228.3A priority Critical patent/CN108595858B/en
Publication of CN108595858A publication Critical patent/CN108595858A/en
Application granted granted Critical
Publication of CN108595858B publication Critical patent/CN108595858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Structural Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a BIM-based lightweight advanced treatment working method, which comprises the following steps: s1, acquiring BIM original data and attribute information needing light weight, and setting light weight working parameters for conversion; s2, reading each geometric figure original data and geometric figure attribute information in BIM original data, analyzing the geometric figure original data by the light-weight working parameters, and analyzing the geometric figure attribute information, thereby optimizing the quantities of the geometric figure original data and the geometric figure attribute information; and S3, optimizing and calculating the original data of the geometric figure and the attribute information of the geometric figure, obtaining a BIM lightweight advanced processing file for format conversion, and meeting the display requirements of users.

Description

BIM-based lightweight advanced treatment working method
Technical Field
The invention relates to the field of BIM software optimization, in particular to a light weight advanced processing working method based on BIM.
Background
In the large-scale engineering construction field, the BIM software is used for engineering planning construction in the aspect of more and more engineering construction, so that the utilization rate of the BIM is improved, and sufficient theoretical support is provided for actual construction, but in the current BIM using process, a plurality of technical problems occur:
1. the existing light-weight technology focuses on a certain specialty of the civil engineering industry, and a BIM model light-weight technology platform aiming at multiple specialties of the civil engineering industry is not provided;
2. the current lightweight BIM platform does not deeply relate to the reprocessing technology of the lightweight BIM model, such as re-chartlet rendering, model display optimization setting and the like;
3. the light-weight technology aiming at the BIM three-dimensional model with various source formats is not provided.
Based on the above-mentioned situations, it is necessary for those skilled in the art to solve the corresponding technical problems.
Disclosure of Invention
The invention aims to at least solve the technical problems in the prior art, and particularly creatively provides a light weight advanced treatment working method based on BIM.
In order to achieve the above object, the present invention provides a light weight advanced treatment method based on BIM, comprising the steps of:
s1, acquiring BIM original data and attribute information needing light weight, and setting light weight working parameters for conversion;
s2, reading each geometric figure original data and geometric figure attribute information in BIM original data, analyzing the geometric figure original data by the light-weight working parameters, and analyzing the geometric figure attribute information, thereby optimizing the quantities of the geometric figure original data and the geometric figure attribute information;
and S3, optimizing and calculating the original data of the geometric figure and the attribute information of the geometric figure, obtaining a BIM lightweight advanced processing file for format conversion, and meeting the display requirements of users.
Preferably, the BIM-based lightweight advanced treatment method in the S1 includes:
s1-1, adopting a modeling kernel with a three-dimensional geometric modeling component ACIS and a 3D solid modeling component Parasolidd for BIM original geometric primitives, acquiring discrete data and organizing a data structure through an application program interface API; the data structure is adaptive to different versions, Business logic function Interface Business Interface interfaces are defined, working modules of different versions inherit and realize the Business Interface interfaces, and corresponding working modules are instantiated according to different versions through an internal matching method;
s1-2, dividing the geometric data into point sets and point indexes forming a patch;
s1-3, if the obtained patch is not a triangular patch, splitting the existing data and remapping the point index, otherwise, directly storing the point set and the index data of the patch;
polyhedral grid consisting of mixed patches, polygonal patches (n) of different numbers of edges>3, n is the number of edges), there is a set of vertices (pt)1、pt2、pt3……ptn) To find out
Figure BDA0001646233220000021
And
Figure BDA0001646233220000022
and vector angles, and reorganizing the main index data structure of the patch from small to large according to the magnitude of the vector angles: {3, 0, 1, 2 …..3, 15, 17, 20 … … 3, n-3, n-2, n-1}, 3 denotes a triangular patch, followed by three numbers indicating the indices of its vertices in the set of principal points;
and (3) carrying out grid vector distribution adjustment on the data so as to ensure the consistency of the front side and the back side:
A. the vectors are distributed according to each patch forming the grid, and then the original data is directly adopted; for the mesh subjected to splitting processing, vector data is associated to each new triangular patch;
B. the vectors are distributed according to each surface of the grid, if the number of the grid point sets is greater than the number of the vector distribution, the vectors at the last position of the vector set are adopted for completion, otherwise, if the number of the grid point sets is less than the number of the vector distribution, the rear-end vectors are directly abandoned, and if the number of the grid point sets is equal to the number of the vector distribution, the original data are directly adopted;
s1-4, calculating two-dimensional horizontal and vertical coordinate system UV information of the grid patch;
s1-5, extracting material information attached to the geometric surface, and analyzing the material information, including color, illumination and texture pictures;
s1-6, dispersing a NURBS curved surface (a non-uniform rational B spline surface), and setting parameters of a precision range, a pitch and a vector angle, so as to control the appearance of the NURBS curved surface to avoid distortion;
s1-7, the storage mode and the structure type of the BIM attribute information have diversity, so that the attribute extraction needs to be respectively processed according to different conditions;
aiming at the difference of storage modes and structure types, a label data processing module, a link data processing module and an extended attribute XAttributes processing module are respectively created, and after data are extracted by each module, the data are associated with geometric primitives and model tree nodes according to unique identifiers;
and S1-8, for the diversity of data types, extracting the attributes and methods of the data types by adopting a net reflection mechanism, and finally converting the finally obtained value information into character string types and outputting the character string types.
Preferably, the BIM-based lightweight advanced treatment method in the S2 includes:
s2-1, performing discrete sampling on the geometric point set data which cannot be processed in S1 to establish a basic data point model, substituting different calculation methods for different characteristics of the basic data point model to obtain a regular data point set and a patch index array;
and (3) carrying out data optimization on the basic data point model by adopting a point cloud self-adaptive slicing method:
determining the thickness of each layer of slices according to a given error, carrying out preliminary slicing on a point cloud model at a characteristic point, dividing the point cloud into a plurality of intervals, and then determining whether the interval needs to be subdivided according to the maximum distance from the point to a B spline curve, wherein the method relates to the fitting of the B spline curve;
II, reading all point cloud data into a linked list Plist, and performing space secondary grid division and K neighbor calculation;
III, the scattered point clouds have no obvious set distribution information and present a scattered disordered state, so that a topological relation among data points must be established to search K neighbors of each point;
in a point Cloud model generated by setting BIM original data and attribute information, a formed measuring point set is Cloud ═ p1,p2,......,pn},pnE is R3, if any measuring point p is E is Cloud, the k point closest to the measuring point p is called as the k neighborhood of p; wherein R3 refers to the minimum volume of the grid bounding box;
s2-2, calculating the side length L' of the grid by the point cloud data point, wherein the calculation formula is as follows,
Figure BDA0001646233220000041
wherein alpha 1 is a control factor, the lengths of the point cloud minimum bounding boxes on the xyz axis are lx, ly and lz respectively, and N is the total number of pointsCounting;
estimating average point distance d by using number of non-empty grids, dividing side length L' and number of data pointsavgAdopting the average point distance to perform quadratic rasterization, calculating the final grid side length L, and classifying each data point into a corresponding grid on the basis of the final grid side length L, thereby calculating
Figure BDA0001646233220000042
According to K neighbor, solving neighborhood curvature value K (p) of each pointi) And according to k (p) of each pointi) Sequentially classifying the points into four point sets respectively, and then marking the points as S1, S2 and S3 respectively according to the intervals; find out
Figure BDA0001646233220000043
The subscript i, j is a positive integer, v is a function of solving an absolute value by referring to a feature vector and fabs, and the precision is a double-precision floating point type;
according to the neighborhood curvature of the point cloud midpoint calculated by the K neighbor, respectively storing the points with the neighborhood curvatures larger or smaller than gamma,
the formula for gamma is
Figure BDA0001646233220000051
γ is a reference threshold value for the defined approximate feature point, and σ is an adjustment factor.
Preferably, the BIM-based lightweight advanced treatment method in the S3 includes:
s3-1, the control formula of the triangle B spline curve type of any topology is as follows:
Figure BDA0001646233220000052
the determinant function of the above-mentioned point distance formula d (·.,..,) verifies the linear combination of the control points (); judging according to the series to obtain a triangular B spline curve control point set of the complex model curved surface; c represents a control point; t represents the proximity point around the control point, β is used to mark points at different positions in the linear group;
s3-2, processing of different grid patterns:
optimizing a Grid data conversion Grid into a triangular patch, wherein the Grid pattern comprises a multi-surface Grid Multi (n >4), a triangular Grid Triangle (n is 3), a quadrilateral Grid Quad and an array with 3 logically formed vertexes as a line, each line represents a trilateral Grid Triangle List, 4 logically formed vertexes as an array with a line, each line represents a quadrilateral Grid Quad List, and because the expression forms are inconsistent and the data organization modes are different, the program can cope with the situation of variable patterns by combining the program structure with the design mode, the self-adaptive respective processing is realized, and the unified data format is finally output;
s3-3, dividing the face slice into minimum units:
according to the point set and the indexes of the points forming the surface in the point set, remapping the points according to the rule of a triangular surface patch to obtain the main index data of a new surface patch;
s3-4, attribute:
due to the diversity of formats, the association relation between the attributes and the geometric primitives is not uniform; and after all the attributes are taken out in a self-adaptive manner through the corresponding module, writing the attributes into a sqlite lightweight database of the relational database management system, creating a corresponding table, and setting related main keys in the table, so that the association between the geometric primitives and the attributes is facilitated during later-period display.
Preferably, the BIM-based lightweight advanced treatment method, in which the step S3 further includes:
layering the three-dimensional model into a group of horizontal contour lines, filling the contour line regions in various modes to form thin layers, and superposing the thin layers in the height direction to generate a physical model; one triangular mesh in the scattered triangular set after model discretization always has three edges shared by only three other adjacent triangles; searching a group of triangles intersected with a certain horizontal section plane from the scattered triangle set in sequence, and respectively calculating the section lines of the triangles to form one or more closed polygons;
the triangular edge is represented as: one isThree z-coordinate values of the triangle are respectively zmax,zminAnd zmidThere are three distributions: the z values of the three vertexes are different from each other; there are two vertices of maximum z-value; there are two minimum z-value vertices; the correlation formula used is:
Figure BDA0001646233220000061
Figure BDA0001646233220000062
the light weight advanced treatment working method based on BIM preferably further comprises the following steps:
many models are complete and complex space curved surfaces, a single curved surface is often difficult to meet the requirement of describing complex shapes, the traditional method generally adopts a B-spline surface technology to construct the model, however, N edges cannot be used to construct a transitional N edge region under some conditions, the traditional construction method cannot be applied under the conditions, and therefore, a combined curved surface must be adopted; a synthetic curved surface with a smooth degree is constructed by the method, so that the purpose of designing the appearance of any curved surface is achieved; the related API can freely adjust the shape of the splicing curved surface by adjusting 2 set parameters and keep G2Continuously;
g of curved surfacenThe equation of the spliced curved surface is as follows:
φx=S(s,t)=f(t)S1(S,t)+(1-f(t))S2(s,t),
t∈[0,1],s∈[S1,S2],
the control point is corrected to satisfy G1One condition in succession:
Figure BDA0001646233220000071
satisfies G2One condition in succession:
Figure BDA0001646233220000072
the control point b can be calculated according to the geometric property of the triangle3Coordinate values of
Figure BDA0001646233220000073
And storing the corrected information from the control point to the topological structure for later-stage triangle B-threads type control processing.
In the method for performing light weight advanced treatment based on BIM, it is preferable that the sampling mode in S1 is to selectively sample mountains, depressions, bottlenecks, and boundary feature points; and the light weight effect is achieved through special treatment on the regular grid model, the contour line model and the irregular triangular net model.
In the BIM-based lightweight advanced processing method, preferably, the obtained lightweight file is a lightweight model file in a suffix-3 gd format.
In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:
the invention has the advantages that the BIM technology is taken as a basis, the light-weight technical thought and method are taken as a center, the problem of a light-weight multi-professional BIM model is solved, the BIM model with large data volume is analyzed according to a geometric algorithm, and meanwhile, the corresponding attribute information data is integrated and managed, so that the light weight of the BIM model is realized. The BIM model of realizing many professions fast, many formats is lightweight, improves the efficiency of lightweight model simultaneously, satisfies different configuration user's browsing demand and data management demand, improves the work efficiency of BIM data show for the engineering construction progress.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a general schematic of the present invention;
fig. 2 is a schematic view of the present invention for weight reduction.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
As shown in fig. 1 and 2, the invention provides a light weight advanced treatment working method based on BIM, comprising the following steps:
the method comprises the steps of obtaining BIM original data and attribute information which need to be light-weighted for one imported BIM original data, setting and matching the converted light-weighted data, importing working parameters, conducting reading operation and geometric figure attribute information reading operation on each geometric figure original data in the BIM original data, analyzing the geometric figure original data by the light-weighted working parameters, analyzing the geometric figure attribute information, optimizing the quantities of the geometric figure original data and the geometric figure attribute information, optimizing and calculating the geometric figure original data and the geometric figure attribute information, obtaining a BIM light-weighted depth processing file for format conversion, and meeting the display requirements of users.
Preferably, the S1 includes:
s1-1, adopting a modeling kernel with a three-dimensional geometric modeling component ACIS and a 3D solid modeling component Parasolidd for BIM original geometric primitives, acquiring discrete data and organizing a data structure through an application program interface API; the data structure is adaptive to different versions, Business logic function Interface Business Interface interfaces are defined, working modules of different versions inherit and realize the Business Interface interfaces, and corresponding working modules are instantiated according to different versions through an internal matching method;
s1-2, dividing the geometric data into point sets and point indexes forming a patch;
s1-3, if the obtained patch is not a triangular patch, splitting the existing data and remapping the point index;
polyhedral grid consisting of mixed patches, polygonal patches (n) of different numbers of edges>3, n is the number of edges), there is a set of vertices (pt)1、pt2、pt3……ptn) To find out
Figure BDA0001646233220000091
And
Figure BDA0001646233220000092
and (3) vector angles, and reorganizing the main index data structure of the patch from small to large according to the magnitude of the vector angles as follows: (e.g., 3, 1, 0, 3), 3 represents a triangular patch, followed by three numbers representing the indices of its vertices in the set of principal points;
adjusting the distribution of the grid vectors:
the vectors are distributed according to each patch forming the grid, and then the original data is directly adopted; for the mesh subjected to splitting processing, vector data is associated to each new triangular patch; 2. the vectors are distributed according to each surface of the grid, and if the number of the grid point sets is greater than the number of the vector distribution, the vectors at the last position of the vector set are adopted for completion;
s1-4, calculating two-dimensional horizontal and vertical coordinate system UV information of the grid patch;
s1-5, extracting material information attached to the geometric surface, and analyzing the material information, including color, illumination and texture pictures;
s1-6, dispersing the non-uniform rational B-spline surface NURBS surface, setting parameters of the depth of the precision range and the vector angle, and controlling the appearance of the NURBS surface to avoid distortion;
s1-7, the storage mode and the structure type of the BIM attribute information are various, so that the attribute extraction needs to be carried out according to different conditions;
creating a tag data processing module, a link data processing module and an extended attribute XAttributes processing module, wherein after each module extracts data, each module is associated with a geometric primitive and a model tree node according to a unique identifier;
and S1-8, for the diversity of data types, extracting the attributes and methods of the data types by adopting a net reflection mechanism, and finally converting the finally obtained value information into character string types and outputting the character string types.
Preferably, the BIM-based lightweight advanced treatment method in the S2 includes:
s2-1, performing discrete sampling on the geometric point set data which cannot be processed in S1 to establish a basic data point model, substituting different calculation methods for different characteristics of the basic data point model to obtain a regular data point set and a patch index array.
By using the point cloud adaptive slicing method,
determining the thickness of each layer of slices according to a given error, carrying out preliminary slicing on a point cloud model at a characteristic point, dividing the point cloud into a plurality of intervals, and then determining whether the interval needs to be subdivided or not according to the maximum distance from the point to a B spline curve, wherein the method relates to the fitting of the B spline curve;
reading all point cloud data into a linked list Plist, and performing space secondary grid division and K nearest neighbor calculation;
the scattered point cloud has no obvious set distribution information and presents a scattered disordered state, so that a topological relation among data points must be established to search K neighbors of each point;
in a point Cloud model generated by setting BIM original data and attribute information, a formed measuring point set is Cloud ═ p1,p2,......,pn},pnE is R3, if any measuring point p is E is Cloud, the k point closest to the measuring point p is called as the k-neighborhood of p; wherein R3 refers to the minimum volume of the grid bounding box
S2-2, calculating the side length L' of the grid by the point cloud data point, wherein the calculation formula is as follows,
Figure BDA0001646233220000111
wherein alpha 1 is a control factor, the lengths of the point cloud minimum bounding boxes on an xyz axis are lx, ly and lz respectively, and N is the total number of points;
estimating average point distance d by using number of non-empty grids, dividing side length L' and number of data pointsavgAdopting the average point distance to perform quadratic rasterization, calculating the final grid side length L, and classifying each data point into a corresponding grid on the basis of the final grid side length L, thereby calculating
Figure BDA0001646233220000112
According to K neighbor, solving neighborhood curvature value K (p) of each pointi) And according to k (p) of each pointi) Sequentially classifying the points into four point sets respectively, and then marking the points as S1, S2, S3 and S4 respectively according to the intervals; find out
Figure BDA0001646233220000113
The subscript i, j is a positive integer, v is a function of solving an absolute value by referring to a feature vector and fabs, and the precision is a double-precision floating point type;
according to the neighborhood curvature of the point cloud midpoint calculated by the K neighbor, respectively storing the points with the neighborhood curvatures larger or smaller than gamma,
is calculated by the formula
Figure BDA0001646233220000114
Gamma is a reference threshold value of the defined approximate characteristic point, and sigma is an adjusting factor;
preferably, the BIM-based lightweight advanced treatment method in the S3 includes:
s3-1, the control formula of the triangle B spline curve type of any topology is as follows:
Figure BDA0001646233220000121
the above-described point-distance formula d (·. ) a determinant function verifies a linear combination of control points (). Judging according to the series to obtain a triangular B spline curve control point set of the complex model curved surface; c represents a control point; t represents the proximity point around the control point, β is used to mark points at different positions in the linear group;
s3-2, processing of different grid patterns:
optimizing Grid data conversion Grid to be Triangle patch, Grid style has multiaspect net multiple (n >4), Triangle Grid (n is 3), quadrilateral mesh Quad Grid, 3 summits that constitute logically are the array of a line, each line represents a trilateral mesh Triangle List, 4 summits that constitute logically are the array of a line, each line represents a quadrilateral mesh Quad List, because the presentation form is inconsistent, the organization mode of data is different, therefore the procedure is coping with the situation that the style is changeable, combine the design mode through the program structure, accomplish self-adaptation and handle respectively, and finally output unified data format
S3-3, dividing the face slice into minimum units:
and remapping the point sets according to the point sets and indexes of the points forming the surface in the point sets according to the rule of the triangular surface patch to obtain the main index data of the new surface patch.
S3-4, attribute:
due to the diversity of formats, the association relationship between the attributes and the geometric primitives is not uniform. And after all the attributes are taken out in a self-adaptive manner through the corresponding module, writing the attributes into a sqlite lightweight database of the relational database management system, creating a corresponding table, and setting related main keys in the table, so that the association between the geometric primitives and the attributes is facilitated during later-period display.
Preferably, the BIM-based lightweight advanced treatment method, in which the step S3 further includes:
the three-dimensional model is layered into a group of horizontal contour lines, the contour line areas are filled in various modes to form thin layers, and the thin layers are overlapped in the height direction to generate the physical model. One triangular mesh in the discretized model discretized triangulated triangle set always has only three other adjacent triangles sharing its three edges. A group of triangles intersected with a certain horizontal section plane is searched from the scattered triangle set in sequence, and the section lines of the triangles are respectively calculated to form one or more closed polygons.
The triangular edge is represented as: three z-coordinate values of a triangle are zmax,zminAnd zmidThere are three distributions: z values of three vertices each otherDifferent; there are two vertices of maximum z-value; there are two minimum z-value vertices; the correlation formula used is:
Figure BDA0001646233220000131
Figure BDA0001646233220000132
the light weight advanced treatment working method based on BIM preferably further comprises the following steps:
many models are complete and complex space curved surfaces, a single curved surface often cannot meet the requirement of describing complex shapes, the traditional method generally adopts a B-spline surface technology to construct the model, however, N edges cannot be used for constructing a transitional N edge region in some cases, the traditional construction method cannot be applied in the case, and therefore, a combined curved surface is required to be adopted. The synthetic curved surface with smooth degree is constructed to achieve the purpose of designing the appearance of any curved surface. The relevant API was able to freely adjust the shape of the curved surface of the splice by adjusting 2 set parameters and keep G2 continuous.
The equation of the Gn splicing curved surface of the curved surface is as follows:
φx=S(s,t)=f(t)S1(S,t)+(1-f(t))S2(s,t),
t∈[0,1],s∈[S1,S2],
the control point is corrected to satisfy G1One condition in succession:
Figure BDA0001646233220000141
satisfies G2One condition in succession:
Figure BDA0001646233220000142
the control point b can be calculated according to the geometric property of the triangle3Coordinate values of
Figure BDA0001646233220000143
And storing the corrected information from the control point to the topological structure for later-stage triangle B-threads type control processing.
Preferably, the sampling mode in S1 is to selectively sample peaks, depressions, bottlenecks and boundary feature points; and achieving the lightweight effect by special processing of the regular grid model, the contour line model and the irregular triangulation network model, wherein the obtained lightweight file is a suffix-3 gd-format lightweight model file.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (6)

1. A BIM-based lightweight advanced treatment working method is characterized by comprising the following steps:
s1, acquiring BIM original data and attribute information needing light weight, and setting light weight working parameters for conversion;
s2, reading each geometric figure original data and geometric figure attribute information in BIM original data, analyzing the geometric figure original data by the light-weight working parameters, and analyzing the geometric figure attribute information, thereby optimizing the quantities of the geometric figure original data and the geometric figure attribute information;
the S2 includes:
s2-1, performing discrete sampling on the geometric point set data which cannot be processed in S1 to establish a basic data point model, substituting different calculation methods for different characteristics of the basic data point model to obtain a regular data point set and a patch index array;
and (3) carrying out data optimization on the basic data point model by adopting a point cloud self-adaptive slicing method:
determining the thickness of each layer of slices according to a given error, carrying out preliminary slicing on a point cloud model at a characteristic point, dividing the point cloud into a plurality of intervals, and then determining whether the interval needs to be subdivided according to the maximum distance from the point to a B spline curve, wherein the method relates to the fitting of the B spline curve;
II, reading all point cloud data into a linked list Plist, and performing space secondary grid division and K neighbor calculation;
III, the scattered point clouds have no obvious set distribution information and present a scattered disordered state, so that a topological relation among data points must be established to search K neighbors of each point;
in a point Cloud model generated by setting BIM original data and attribute information, a formed measuring point set is Cloud ═ p1,p2,......,pn},pnE is R3, if any measuring point p is E is Cloud, the k point closest to the measuring point p is called as the k neighborhood of p; wherein R3 refers to the minimum volume of the grid bounding box;
s2-2, calculating the side length L' of the grid by the point cloud data point, wherein the calculation formula is as follows,
Figure FDA0003307677820000021
wherein alpha 1 is a control factor, the lengths of the point cloud minimum bounding boxes on an xyz axis are lx, ly and lz respectively, and N is the total number of points;
estimating average point distance d by using number of non-empty grids, dividing side length L' and number of data pointsavgAdopting the average point distance to perform quadratic rasterization, calculating the final grid side length L, and classifying each data point into a corresponding grid on the basis of the final grid side length L, thereby calculating
Figure FDA0003307677820000022
According to K neighbor, solving neighborhood curvature value K (p) of each pointi) And according to k (p) of each pointi) Sequentially classifying the points into four point sets respectively, and then marking the points as Z1, Z2 and Z3 respectively according to the intervals; find out
Figure FDA0003307677820000023
The subscript i, j is a positive integer, v is a function of solving an absolute value by referring to a feature vector and fabs, and the precision is a double-precision floating point type;
according to the neighborhood curvature of the point cloud midpoint calculated by the K neighbor, respectively storing the points with the neighborhood curvatures larger or smaller than gamma,
the formula for gamma is
Figure FDA0003307677820000024
Gamma is a reference threshold value of the defined approximate characteristic point, and sigma is an adjusting factor;
and S3, optimizing and calculating the original data of the geometric figure and the attribute information of the geometric figure, obtaining a BIM lightweight advanced processing file for format conversion, and meeting the display requirements of users.
2. The BIM-based lightweight advanced treatment work method according to claim 1, wherein the S1 includes:
s1-1, adopting a modeling kernel with a three-dimensional geometric modeling component ACIS and a 3D solid modeling component Parasolidd for BIM original geometric primitives, acquiring discrete data and organizing a data structure through an application program interface API; the data structure is adaptive to different versions, Business logic function Interface Business Interface interfaces are defined, working modules of different versions inherit and realize the Business Interface interfaces, and corresponding working modules are instantiated according to different versions through an internal matching method;
s1-2, dividing the geometric data into point sets and point indexes forming a patch;
s1-3, if the obtained patch is not a triangular patch, splitting the existing data and remapping the point index, otherwise, directly storing the point set and the index data of the patch;
a multi-face grid composed of mixed patches, n-edge patches with different edge numbers, wherein n is more than 3, n is the edge number, and there is a vertex set (pt)1、pt2、pt3……ptn) To find out
Figure FDA0003307677820000031
And
Figure FDA0003307677820000032
and vector angles, and reorganizing the main index data structure of the patch from small to large according to the magnitude of the vector angles: {3, 0, 1, 2 … … 3, 15, 17, 20 … … 3, n-3, n-2, n-1}, 3 denotes a triangular patch, followed by three numbers indicating the indices whose vertices are in the set of principal points;
and (3) carrying out grid vector distribution adjustment on the data so as to ensure the consistency of the front side and the back side:
A. the vectors are distributed according to each patch forming the grid, and then the original data is directly adopted; for the mesh subjected to splitting processing, vector data is associated to each new triangular patch;
B. the vectors are distributed according to each surface of the grid, if the number of the grid point sets is greater than the number of the vector distribution, the vectors at the last position of the vector set are adopted for completion, otherwise, if the number of the grid point sets is less than the number of the vector distribution, the rear-end vectors are directly abandoned, and if the number of the grid point sets is equal to the number of the vector distribution, the original data are directly adopted;
s1-4, calculating two-dimensional horizontal and vertical coordinate system UV information of the grid patch;
s1-5, extracting material information attached to the geometric surface, and analyzing the material information, including color, illumination and texture pictures;
s1-6, dispersing a NURBS curved surface (a non-uniform rational B spline surface), and setting parameters of a precision range, a pitch and a vector angle, so as to control the appearance of the NURBS curved surface to avoid distortion;
s1-7, the storage mode and the structure type of the BIM attribute information have diversity, so that the attribute extraction needs to be respectively processed according to different conditions;
aiming at the difference of storage modes and structure types, a label data processing module, a link data processing module and an extended attribute XAttributes processing module are respectively created, and after data are extracted by each module, the data are associated with geometric primitives and model tree nodes according to unique identifiers;
and S1-8, for the diversity of data types, extracting the attributes and methods of the data types by adopting a net reflection mechanism, and finally converting the finally obtained value information into character string types and outputting the character string types.
3. The BIM-based lightweight advanced treatment work method according to claim 1, wherein the S3 includes:
s3-1, the control formula of the triangle B spline curve type of any topology is as follows:
Figure FDA0003307677820000041
the determinant function of the point distance formula d (·.,..,.) verifies the linear combination of the control points; judging according to the series to obtain a triangular B spline curve control point set of the complex model curved surface; c represents a control point; t represents the proximity point around the control point, β is used to mark points at different positions in the linear group;
s3-2, processing of different grid patterns:
optimizing a grid data conversion grid into a triangular patch, wherein the grid has a multi-surface grid Polyface, and n is more than 4; triangle Grid, n is 3; the method comprises the following steps that a Quad mesh Quad Grid and 3 logically formed vertexes are an array of a row, each row represents a tri-edge mesh Triangle List, 4 logically formed vertexes are an array of a row, each row represents a Quad mesh Quad List, and due to the fact that the expression forms are inconsistent and the data organization modes are different, a program can deal with the situation of changeable styles by combining the program structure with the design mode, self-adaptive respective processing is achieved, and a unified data format is finally output;
s3-3, dividing the face slice into minimum units:
according to the point set and the indexes of the points forming the surface in the point set, remapping the points according to the rule of a triangular surface patch to obtain the main index data of a new surface patch;
s3-4, attribute:
due to the diversity of formats, the association relation between the attributes and the geometric primitives is not uniform; and after all the attributes are taken out in a self-adaptive manner through the corresponding module, writing the attributes into a sqlite lightweight database of the relational database management system, creating a corresponding table, and setting related main keys in the table, so that the association between the geometric primitives and the attributes is facilitated during later-period display.
4. The BIM-based lightweight advanced treatment work method according to claim 1, wherein the S3 further comprises:
layering the three-dimensional model into a group of horizontal contour lines, filling the contour line regions in various modes to form thin layers, and superposing the thin layers in the height direction to generate a physical model; one triangular mesh in the scattered triangular set after model discretization always has three edges shared by only three other adjacent triangles; searching a group of triangles intersected with a certain horizontal section plane from the scattered triangle set in sequence, and respectively calculating the section lines of the triangles to form one or more closed polygons;
the triangular edge is represented as: three z-coordinate values of a triangle are zmax,zminAnd zmidThere are three distributions: the z values of the three vertexes are different from each other; there are two vertices of maximum z-value; there are two minimum z-value vertices; the correlation formula used is:
Figure FDA0003307677820000061
Figure FDA0003307677820000062
5. the BIM-based lightweight advanced treatment work method according to claim 1, further comprising:
the sampling mode in the S1 is to selectively sample mountain peaks, pits, bottlenecks and boundary characteristic points; and the light weight effect is achieved through special treatment on the regular grid model, the contour line model and the irregular triangular net model.
6. The BIM-based lightweight advanced processing method as claimed in claim 1, wherein the lightweight file is a suffix-3 gd-format lightweight model file.
CN201810403228.3A 2018-04-28 2018-04-28 BIM-based lightweight advanced treatment working method Active CN108595858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810403228.3A CN108595858B (en) 2018-04-28 2018-04-28 BIM-based lightweight advanced treatment working method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810403228.3A CN108595858B (en) 2018-04-28 2018-04-28 BIM-based lightweight advanced treatment working method

Publications (2)

Publication Number Publication Date
CN108595858A CN108595858A (en) 2018-09-28
CN108595858B true CN108595858B (en) 2022-03-18

Family

ID=63619305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810403228.3A Active CN108595858B (en) 2018-04-28 2018-04-28 BIM-based lightweight advanced treatment working method

Country Status (1)

Country Link
CN (1) CN108595858B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109920026A (en) * 2019-02-28 2019-06-21 杭州品茗安控信息技术股份有限公司 A kind of vector graphics light weight is drawn and BIM cooperative achievement method and device thereof
CN110543670A (en) * 2019-07-25 2019-12-06 中国市政工程中南设计研究总院有限公司 3 DEXPERIIENCE platform-based rapid BIM modeling method for urban underground pipelines
CN110414148B (en) * 2019-07-30 2023-03-24 中北大学 Open BIM (building information modeling) cross-platform online visualization method based on WebGL (WebGL)
CN110503718B (en) * 2019-08-20 2023-12-05 上海航空工业(集团)有限公司 Three-dimensional engineering model lightweight display method
CN110990467B (en) * 2019-11-11 2023-06-16 中国铁道科学研究院集团有限公司电子计算技术研究所 BIM model format conversion method and conversion system
CN111210521B (en) * 2020-01-06 2022-09-16 江南造船(集团)有限责任公司 Ship giant data model lightweight method, system, terminal and medium for VR
CN111930816B (en) * 2020-07-16 2024-06-07 深圳市万翼数字技术有限公司 Data processing method and related device
CN112231800B (en) * 2020-09-25 2022-06-21 深圳市华阳国际工程设计股份有限公司 BIM graph optimization method and device and computer storage medium
CN112214557B (en) * 2020-10-21 2023-08-22 中国银行股份有限公司 Data matching classification method and device
CN112199758B (en) * 2020-10-30 2024-07-16 华中科技大学 BIM technology-based foundation pit engineering design and dynamic risk analysis method and system
CN112509102B (en) * 2020-12-02 2023-05-02 国网江西省电力有限公司建设分公司 BIM model data light-weight visualization method
CN112380611B (en) * 2020-12-04 2022-11-15 江南造船(集团)有限责任公司 Method, device, equipment and medium for designing perforated steel plate of ship outfitting platform channel
CN113297400B (en) * 2021-05-31 2024-04-30 西北工业大学 Metadata extraction method of 3D printing model
CN113868861A (en) * 2021-09-27 2021-12-31 中国核电工程有限公司 Lightweight description method and loading method of nuclear power three-dimensional model
CN114386145B (en) * 2021-12-31 2023-04-18 广州市城市规划勘测设计研究院 Building index statistical method and device based on heterogeneous BIM (building information modeling)
CN114565718B (en) * 2022-02-25 2024-04-02 上海市隧道工程轨道交通设计研究院 BIM model face reduction method based on vertex normal angle calculation
CN114756555B (en) * 2022-06-14 2022-08-26 浙江华东工程数字技术有限公司 Multi-source heterogeneous three-dimensional model data processing method and system
CN117173370B (en) * 2023-11-03 2024-03-01 北京飞渡科技股份有限公司 Method for maintaining object boundary in light weight process
CN117785869B (en) * 2023-12-04 2024-08-27 中国航空发动机研究院 Grid data processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701295A (en) * 2016-01-14 2016-06-22 昆明安泰得软件股份有限公司 Method for rapid integrated presentation of BIM model and three-dimensional geographical information system
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN106909640A (en) * 2017-02-16 2017-06-30 杭州新迪数字工程系统有限公司 Threedimensional model lightweight display technique based on webgl
CN107247822A (en) * 2017-05-10 2017-10-13 南京戎光软件科技有限公司 One kind makes the light-weighted method of BIM models

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10190791B2 (en) * 2016-04-27 2019-01-29 Crestron Electronics, Inc. Three-dimensional building management system visualization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701295A (en) * 2016-01-14 2016-06-22 昆明安泰得软件股份有限公司 Method for rapid integrated presentation of BIM model and three-dimensional geographical information system
CN106909640A (en) * 2017-02-16 2017-06-30 杭州新迪数字工程系统有限公司 Threedimensional model lightweight display technique based on webgl
KR101741038B1 (en) * 2017-04-25 2017-06-15 한국건설기술연구원 BIM data lightweight method and apparatus for BIM model application based on HTML5 WebGL
CN107247822A (en) * 2017-05-10 2017-10-13 南京戎光软件科技有限公司 One kind makes the light-weighted method of BIM models

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A Study on Light-weight Algorithm of Large scale BIM data for Visualization on Web based GIS Platform;Kim, Ji Eun;《Korea Spatial Information Society》;20150228;第23卷(第1期);P41-48 *
基于云渲染的三维BIM模型可视化技术研究;刘北胜;《北京交通大学学报》;20171231;第41卷(第6期);P107-113 *

Also Published As

Publication number Publication date
CN108595858A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108595858B (en) BIM-based lightweight advanced treatment working method
US11361503B2 (en) Systems and methods for generating volumetric models
Jakob et al. Instant field-aligned meshes.
De Luca et al. Reverse engineering of architectural buildings based on a hybrid modeling approach
US10867435B2 (en) System and method for generating planar section 3D shape representations
Di Angelo et al. A new mesh-growing algorithm for fast surface reconstruction
US20240153123A1 (en) Isogeometric Analysis Method Based on a Geometric Reconstruction Model
CN109118588B (en) Automatic color LOD model generation method based on block decomposition
WO2005008547A1 (en) Method and program for generating volume data from boundary representation data
CN111462328B (en) Interpolation method for multiple three-dimensional grid models based on progressive interpolation subdivision surface
CN115661374B (en) Rapid retrieval method based on space division and model voxelization
CN116401904A (en) CAD digital-analog optimization method and visualization method
CN109983509A (en) A kind of instant boolean operation method using geometric surface
CN106960469B (en) A kind of smooth free-form deformation of Fast Segmentation triangle
CN109684656B (en) Assembly constraint inheritance method based on SolidWorks
Wang et al. Point cloud hole filling based on feature lines extraction
CN114119628B (en) Point cloud accurate segmentation method based on feature template
Garcia et al. Interactive applications for sketch-based editable polycube map
CN113888701A (en) Method and system for converting curved surface 3D model into mesh 3D model in Obj format
CN112819108B (en) Slice fusion method and system of multi-source heterogeneous model and storage medium
CN107633555A (en) The mutual cutting method of curved surface collection and system based on spacescan
Chang et al. Texture tiling on 3d models using automatic polycube-maps and wang tiles
CN109509249B (en) Virtual scene light source intelligent generation method based on components
Yan et al. UBMDP: Urban Building Mesh Decoupling and Polygonization
CN100440258C (en) System and method for automatic creating data gridding of stratum and fault

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20181112

Address after: 610000 9 floors, D5 Building, 216 Century City South Road, Chengdu High-tech Zone, Sichuan Province

Applicant after: SIMUTECH INC.

Address before: 610041 No. 901, Building 5, No. 599, South Century Road, Chengdu High-tech Zone, Sichuan Province

Applicant before: Chengdu Simu Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant