CN-121997441-A - Campus model light-weight method and device, electronic equipment and storage medium
Abstract
The application provides a park model-based light-weight method and device, electronic equipment and storage medium, and relates to the technical field of engineering modeling processing, wherein the method comprises the steps of obtaining an initial park model comprising a building structure layout model and an initial electromechanical system model; according to the model precision simplification requirement and the space layout information, extracting core component characteristics and secondary component characteristics from component attribute information of an initial electromechanical system model, carrying out light weight on the initial electromechanical system model based on fixed contour characterization information obtained by carrying out necessary contour locking on the core component characteristics and simplified contour characterization information obtained by carrying out secondary contour simplification on the secondary component characteristics, and integrating a building structure layout model and a target electromechanical system model after light weight processing to obtain a target park model. The method can effectively avoid excessive simplification of key parts of the electromechanical system while reducing the whole data volume of the park model, and improves the usability of the lightweight park model in an operation and maintenance scene.
Inventors
- LIU WEI
- CHEN HONG
- HUANG XIAOXUAN
Assignees
- 深圳泛和科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260410
Claims (10)
- 1. A method for lightening a campus model, the method comprising: Acquiring an initial park model corresponding to a target park and a model precision simplification requirement, wherein the initial park model comprises a building structure layout model and an initial electromechanical system model; extracting spatial layout information from the building structure layout model; analyzing component attribute of the initial electromechanical system model to obtain component attribute information; performing component characteristic discrimination on the component attribute information according to the model precision simplification requirement and the spatial layout information so as to extract core component characteristics and secondary component characteristics from the component attribute information; performing necessary contour boundary locking on the initial electromechanical system model based on the core member characteristics to obtain fixed contour characterization information; Performing secondary contour simplification processing on the initial electromechanical system model based on the secondary component characteristics to obtain simplified contour characterization information; performing light weight processing on the initial electromechanical system model based on the fixed profile characterization information and the simplified profile characterization information to obtain a target electromechanical system model; And integrating the building structure layout model and the target electromechanical system model to obtain a target park model.
- 2. The method of claim 1, wherein the component attribute information comprises component geometry parameters, the core component features comprise core component appearance features, the secondary component features comprise secondary component appearance features; and performing component feature discrimination on the component attribute information according to the model precision simplification requirement and the spatial layout information to extract core component features and secondary component features from the component attribute information, wherein the method comprises the following steps of: Acquiring an appearance characteristic distinguishing problem, and acquiring a component geometric category and a component geometric element of the component geometric parameter based on the appearance characteristic distinguishing problem; Performing visual analysis constraint on the component geometric elements according to the space layout information and the component geometric categories to obtain geometric visual constraint information; Performing main contour analysis constraint on the component geometric elements according to the model precision simplification requirement and the component geometric category to obtain main contour constraint information; Constructing a prompt according to the geometric visual constraint information and the main contour constraint information to obtain a component appearance judging prompt; And carrying out appearance feature discrimination on the appearance feature discrimination problem based on the component appearance discrimination prompt indicating a pre-trained component feature discrimination model so as to extract the core component appearance feature and the secondary component appearance feature from the component geometric parameters.
- 3. The method of claim 2, wherein the component attribute information comprises a component usage parameter, the core component feature comprises a core component usage feature, the secondary component feature comprises a secondary component usage feature; and performing component feature discrimination on the component attribute information according to the model precision simplification requirement and the spatial layout information to extract core component features and secondary component features from the component attribute information, wherein the method comprises the following steps of: acquiring a purpose characteristic distinguishing problem, and acquiring a component function class of the component purpose parameter based on the purpose characteristic distinguishing problem; performing redundant parameter identification constraint on the component use parameters according to the component function category and the spatial layout information to obtain redundant component parameter constraint information; Performing trunk function analysis constraint on the component use parameters according to the component function category and the model precision simplification requirement to obtain trunk component function constraint information; constructing a prompt according to the redundant component parameter constraint information and the main component function constraint information to obtain a component use judgment prompt; And based on the component use distinguishing prompt, indicating the component feature distinguishing model to distinguish the use feature from the use feature distinguishing problem number so as to extract the core component use feature and the secondary component use feature from the component use parameter.
- 4. A method according to claim 3, wherein said performing secondary contour reduction processing on said initial electromechanical system model based on said secondary component features to obtain reduced contour characterization information comprises: If the secondary component features are the secondary component appearance features, performing geometric appearance simplification operation on the initial electromechanical system model according to the secondary component appearance features to obtain simplified appearance profile representation information; If the secondary component feature is the secondary component use feature, performing use component simplification operation on the initial electromechanical system model according to the secondary component use feature to obtain simplified component profile characterization information; and integrating the simplified appearance contour representation information and the simplified component contour representation information to obtain the simplified contour representation information.
- 5. The method of claim 4, wherein the initial electromechanical system model is comprised of a plurality of target grids, and each of the target grids is comprised of a plurality of target triangular patches; performing geometric appearance simplification operation on the initial electromechanical system model according to the appearance characteristics of the secondary component to obtain simplified appearance profile representation information, wherein the geometric appearance simplification operation comprises the following steps: According to a preset initial simplification strategy, performing triangle edge folding processing on the target triangle patches in the target grid corresponding to each secondary component characteristic to obtain initial simplified triangle patches; In the process of executing the triangle edge folding processing, carrying out appearance error accumulation on each target grid according to the initial simplified triangle face piece and the target triangle face piece to obtain an appearance error accumulation value; adjusting the initial simplification strategy according to a preset simplified appearance error constraint condition and the appearance error accumulated value to obtain a target simplification strategy; And carrying out simplification updating on the initial simplified triangular patch according to the target simplification strategy to obtain a target simplified triangular patch, and integrating the target simplified triangular patch to obtain the simplified appearance profile representation information.
- 6. The method of claim 1, wherein said performing a necessary contour boundary lock on the initial electromechanical system model based on the core component features results in fixed contour characterization information, comprising: carrying out geometric boundary analysis on the core component characteristics to obtain component boundary line characteristics; Vertex sampling is carried out on the component boundary line to obtain a boundary triangle vertex; Obtaining vertex coordinates of the boundary triangle vertexes, and locking the boundary triangle vertexes according to the vertex coordinates to obtain locked vertexes; And determining the fixed profile characterization information according to the locking vertex.
- 7. The method of claim 6, further comprising, after the lightweight processing of the initial electromechanical system model based on the fixed profile characterizing information and the reduced profile characterizing information to obtain a target electromechanical system model: Detecting boundary appearance defects of the target electromechanical system model to obtain boundary appearance defect data; Obtaining initial boundary data corresponding to the boundary appearance defect data from the initial electromechanical system model, and performing defect deviation calculation according to the boundary appearance defect data and the initial boundary data to obtain boundary defect deviation data; Generating a repairing triangle vertex according to the boundary defect deviation data; And filling the triangular patches of the boundary appearance defects according to the repairing triangular vertexes to obtain a repairing electromechanical system model, and determining the repairing electromechanical system model as the target electromechanical system model.
- 8. A campus model lightweight device, comprising: The system comprises a park model and a simplified demand acquisition module, wherein a user acquires an initial park model corresponding to a target park and a model precision simplified demand, and the initial park model comprises a building structure layout model and an initial electromechanical system model; the layout information extraction module is used for extracting space layout information from the building structure layout model; the component attribute analysis module is used for analyzing the component attribute of the initial electromechanical system model to obtain component attribute information; The component characteristic judging module is used for judging component characteristics of the component attribute information according to the model precision simplification requirement and the space layout information so as to extract core component characteristics and secondary component characteristics from the component attribute information; The contour boundary locking module is used for carrying out necessary contour boundary locking on the initial electromechanical system model based on the characteristics of the core component to obtain fixed contour characterization information; The secondary contour simplification processing module is used for carrying out secondary contour simplification processing on the initial electromechanical system model based on the secondary component characteristics to obtain simplified contour characterization information; the light-weight processing module is used for carrying out light-weight processing on the initial electromechanical system model based on the fixed profile representation information and the simplified profile representation information to obtain a target electromechanical system model; And the model integration module is used for integrating the building structure layout model and the target electromechanical system model to obtain a target park model.
- 9. An electronic device comprising a memory, a processor, the memory storing a computer program, the processor implementing the method of campus model lightening as claimed in any one of claims 1 to 7 when the computer program is executed.
- 10. A computer-readable storage medium storing a program for execution by a processor to implement the method of campus model lightening as claimed in any one of claims 1 to 7.
Description
Campus model light-weight method and device, electronic equipment and storage medium Technical Field The embodiment of the application relates to the technical field of engineering modeling processing, in particular to a park model light-weight method and device, electronic equipment and a storage medium. Background At present, the traditional park model light-weight method mainly adopts a general three-dimensional model simplification technology, the model surface sheets of the park building are pruned through a geometric simplification algorithm, and repeated components are subjected to instantiation processing to reduce the data volume, so that the building is simplified. However, because the campus not only relates to the building system but also relates to the electromechanical system, the traditional method for lightening the campus model generally performs building simplification operation based on geometric error measurement standards, and is difficult to identify key parts such as main pipeline connection parts and equipment interfaces of the electromechanical system in the campus, so that the key parts of the content of the campus are easy to excessively simplify in the simplification process, and further the simplified campus electromechanical system model is easy to have the problems of important electromechanical component characteristic loss, contour distortion and the like, so that the usability of the lightened campus model in an operation and maintenance scene is obviously reduced. Therefore, how to improve the usability of the park model after light weight is a technical problem to be solved. Disclosure of Invention The present application aims to solve at least one of the technical problems existing in the prior art. Therefore, the application provides a method and a device for lightening a park model, electronic equipment and a storage medium, and the usability of the park model after lightening is improved. To achieve the above object, a first aspect of an embodiment of the present application provides a method for lightening a campus model, the method including: Acquiring an initial park model corresponding to a target park and a model precision simplification requirement, wherein the initial park model comprises a building structure layout model and an initial electromechanical system model; extracting spatial layout information from the building structure layout model; analyzing component attribute of the initial electromechanical system model to obtain component attribute information; performing component characteristic discrimination on the component attribute information according to the model precision simplification requirement and the spatial layout information so as to extract core component characteristics and secondary component characteristics from the component attribute information; performing necessary contour boundary locking on the initial electromechanical system model based on the core member characteristics to obtain fixed contour characterization information; Performing secondary contour simplification processing on the initial electromechanical system model based on the secondary component characteristics to obtain simplified contour characterization information; performing light weight processing on the initial electromechanical system model based on the fixed profile characterization information and the simplified profile characterization information to obtain a target electromechanical system model; And integrating the building structure layout model and the target electromechanical system model to obtain a target park model. In some embodiments, the component attribute information includes component geometry parameters, the core component features include core component appearance features, the secondary component features include secondary component appearance features; and performing component feature discrimination on the component attribute information according to the model precision simplification requirement and the spatial layout information to extract core component features and secondary component features from the component attribute information, wherein the method comprises the following steps of: Acquiring an appearance characteristic distinguishing problem, and acquiring a component geometric category and a component geometric element of the component geometric parameter based on the appearance characteristic distinguishing problem; Performing visual analysis constraint on the component geometric elements according to the space layout information and the component geometric categories to obtain geometric visual constraint information; Performing main contour analysis constraint on the component geometric elements according to the model precision simplification requirement and the component geometric category to obtain main contour constraint information; Constructing a prompt according to the geometric visual constraint information and the main c