CN117521221A - Building model conversion method, device, equipment and storage medium - Google Patents

Building model conversion method, device, equipment and storage medium Download PDF

Info

Publication number
CN117521221A
CN117521221A CN202311556479.2A CN202311556479A CN117521221A CN 117521221 A CN117521221 A CN 117521221A CN 202311556479 A CN202311556479 A CN 202311556479A CN 117521221 A CN117521221 A CN 117521221A
Authority
CN
China
Prior art keywords
component
converted
information
modeling software
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311556479.2A
Other languages
Chinese (zh)
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.)
China Design Digital Technology Co ltd
Original Assignee
China Design Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Design Digital Technology Co ltd filed Critical China Design Digital Technology Co ltd
Priority to CN202311556479.2A priority Critical patent/CN117521221A/en
Publication of CN117521221A publication Critical patent/CN117521221A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Abstract

The application provides a conversion method, a conversion device, conversion equipment and storage media for a building model, wherein the method comprises the following steps: basic information of a component to be converted in a model to be converted in first modeling software is obtained; converting the component to be converted into a standard component in second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component; determining a coordinate corresponding relation between a first coordinate system of the first modeling software and a second coordinate system of the second modeling software; and generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the coordinate corresponding relation. The technical effect that this application had is: the workload of a designer is reduced, and the waste of design resources is avoided.

Description

Building model conversion method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of architectural structural design technologies, and in particular, to a method, an apparatus, a device, and a storage medium for converting an architectural model.
Background
The building information model (BIM, building Information Model) expresses physical information and functional characteristics of building components through a digital technology, changes the traditional working mode of the building industry, and greatly improves project design quality and efficiency in the building field.
In the early stage of building design, a designer draws a sketch model of a building through Sketchup, and the sketch model is often only used for conceptual design, scheme push and model display, so that the sketch model only contains geometric information of simple lines, planes and three-dimensional graphics and lacks detailed building component attribute parameters.
The sketch model cannot be directly used for construction drawing design due to lack of detailed building element attribute parameters. At the later stage of the project, the building model which can be used for the design of the construction drawing is redrawn through Revit modeling software. The repeated design process increases the workload of designers, and causes work redundancy and design resource waste.
Disclosure of Invention
The application provides a conversion method, a conversion device, conversion equipment and a storage medium of a building model, which are used for reducing the workload of a designer and avoiding the waste of design resources. In a first aspect, the present application provides a method for converting a building model, the method comprising: basic information of a component to be converted in a model to be converted in first modeling software is obtained; converting the component to be converted into a standard component in second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component; determining a coordinate corresponding relation between a first coordinate system of the first modeling software and a second coordinate system of the second modeling software; and generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the coordinate corresponding relation.
By adopting the technical scheme, the components to be converted in the model to be converted in the first modeling software can be rapidly and accurately identified and extracted by acquiring the basic information of the components to be converted in the model to be converted. The complex work of re-creating the component is avoided, the conversion process is simplified, the workload of a designer is reduced, and the waste of design resources is avoided. The basic information of the component to be converted is converted into the standard component in the second modeling software, and the component parameters and the position information of the standard component are generated, so that the consistency and the accuracy of the data can be ensured. Avoiding introducing errors or losing critical information during the conversion process. The corresponding relation between the coordinate systems is determined, so that the positions of components in the model to be converted can be accurately mapped to the correct positions in the second modeling software, and the generated building model and the model to be converted are ensured to be consistent in space.
Optionally, the component to be converted includes an entity component and a non-entity component, and the obtaining basic information of the component to be converted in the model to be converted in the first modeling software includes: acquiring first basic information of the entity component in a model to be converted in the first modeling software; acquiring second basic information of the non-entity components in the to-be-converted model in the first modeling software; and combining the first basic information and the second basic information to obtain the basic information of the component to be converted.
By adopting the technical scheme, the basic information of the entity component and the non-entity component is acquired, the attribute and the characteristic of the component to be converted can be comprehensively and accurately described, and the key information of the original model can be accurately presented and reserved in the second modeling software by the converted component.
Optionally, the basic information includes tag information and geometric parameter information, and the converting the component to be converted into a standard component in the second modeling software according to the basic information of the component to be converted includes: and converting the component to be converted into a standard component in second modeling software according to the label information and the geometric parameter information of the component to be converted.
By adopting the technical scheme, through the extraction of the tag information in the conversion process, the annotation, the mark and other tag information of the component to be converted are ensured to be reserved after the conversion, the consistency of the identification and the description of the component is maintained, and the understanding and the use of the converted building model are facilitated.
Optionally, the tag information includes valid tag information, and the converting the component to be converted into a standard component in the second modeling software according to the tag information and the geometric parameter information of the component to be converted includes: acquiring a component of which the label information is the effective label information in the component to be converted to obtain a first component to be converted; obtaining the geometric parameter information of the first component to be converted; and converting the first component to be converted into a standard component in the second modeling software according to the geometric parameter information of the first component to be converted.
By adopting the technical scheme, the components with effective label information are screened out, so that the converted components can be ensured to have clear identifications and descriptions, and a user can better understand and use the component library in modeling software. By extracting the geometric parameter information of the first component to be converted and accurately converting the geometric parameter information into the standard component in the second modeling software, the geometric attributes such as the shape, the size and the position of the component are reserved, the converted building model is ensured to be consistent with the original model in the second modeling software, and the workload of manual adjustment and correction is reduced.
Optionally, the label information includes no label information, and the converting the component to be converted into a standard component in the second modeling software according to the label information and the geometric parameter information of the component to be converted includes: acquiring the components with label information being the label-free information in the components to be converted to obtain a second component to be converted; acquiring label information of a related structure of the second component to be converted, and acquiring the label information of the second component to be converted according to the label information of the related structure; obtaining geometric parameter information of the second component to be converted; and converting the second component to be converted into a standard component in the second modeling software according to the label information of the second component to be converted and the geometric parameter information of the second component to be converted.
By adopting the technical scheme, the label-free information is processed: components with label-free information are selected through screening and processed, so that the converted components can be ensured to have more accurate, standard and proper label information, the quality and consistency of modeling data can be improved, and misunderstanding or confusion can be reduced.
Optionally, the converting the component to be converted into a standard component in the second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component, including: classifying the components to be converted according to the basic information of the components to be converted to obtain a plurality of groups; converting the components in each group into standard components in the second modeling software respectively; and calculating component parameters of each component to be converted in each group into a standard component and position information of the standard component according to preset rules corresponding to each group.
By adopting the technical scheme, the components to be converted are classified, and can be divided into a plurality of groups according to different attributes and characteristics. The flexibility of this classification allows for better handling of the various different types of components and design of specific transformation rules and calculation methods for each group.
Optionally, after the second modeling software generates the building model corresponding to the model to be converted according to the component parameters of the standard component, the position information of the standard component, and the coordinate correspondence, the method further includes: and generating a conversion result of the building model corresponding to the model to be converted on the second modeling software through popup window display, so that a user manually adjusts the building model according to the conversion result.
By adopting the technical scheme, the conversion result is displayed through the popup window, so that a user can immediately see the conversion effect of the model to be converted in the second modeling software. This real-time feedback allows the user to better understand the converted building model and discover potential problems or dissatisfaction in time.
In a second aspect, the present application provides a conversion device for a building model, the device comprising: the device comprises an acquisition module, a generation module, a determination module and a conversion module; the acquisition module is used for acquiring basic information of a component to be converted in a model to be converted in the first modeling software; the generating module is used for converting the component to be converted into a standard component in second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component; the determining module is used for determining the coordinate corresponding relation between the first coordinate system of the first modeling software and the second coordinate system of the second modeling software; the conversion module is used for generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the coordinate corresponding relation.
By adopting the technical scheme, the components to be converted in the model to be converted in the first modeling software can be rapidly and accurately identified and extracted by acquiring the basic information of the components to be converted in the model to be converted. The complex work of re-creating the component is avoided, the conversion process is simplified, the workload of a designer is reduced, and the waste of design resources is avoided. The basic information of the component to be converted is converted into the standard component in the second modeling software, and the component parameters and the position information of the standard component are generated, so that the consistency and the accuracy of the data can be ensured. Avoiding introducing errors or losing critical information during the conversion process. The corresponding relation between the coordinate systems is determined, so that the positions of components in the model to be converted can be accurately mapped to the correct positions in the second modeling software, and the generated building model and the model to be converted are ensured to be consistent in space.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme: the system comprises a processor, a memory, a user interface and a network interface, wherein the memory is used for storing instructions, the user interface and the network interface are used for communicating with other devices, and the processor is used for executing the instructions stored in the memory so as to enable the electronic device to execute a computer program of a conversion method of any building model.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical solutions: a computer program capable of being loaded by a processor and executing the conversion method of any one of the building models described above is stored.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the complex work of re-creating the component is avoided, the conversion process is simplified, the workload of a designer is reduced, and the waste of design resources is avoided;
2. the conversion result is displayed through the popup window, so that a user can immediately see the conversion effect of the to-be-converted model in the second modeling software, and the real-time feedback enables the user to better understand the converted building model and timely find potential problems or dissatisfaction.
Drawings
Fig. 1 is a schematic flow chart of a method for converting a building model according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a conversion device of a building model according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals illustrate: 1. an acquisition module; 2. a generating module; 3. a determining module; 4. a conversion module; 1000. an electronic device; 1001. a processor; 1002. a communication bus; 1003. a user interface; 1004. a network interface; 1005. a memory.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
In the description of embodiments of the present application, words such as "exemplary," "such as" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "illustrative," "such as" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "illustratively," "such as" or "for example," etc., is intended to present related concepts in a concrete fashion.
The building information model (BIM, building Information Model) expresses physical information and functional characteristics of building components through a digital technology, changes the traditional working mode of the building industry, and greatly improves project design quality and efficiency in the building field.
In actual production, a designer firstly passes through BIM modeling software, which can be SketchUp, sketchUp, and provides an intuitive and easy-to-use tool for creating, editing and sharing three-dimensional models, and drawing a building plan sketch model through Sketchup, wherein the building plan sketch model only comprises simple lines, planes and geometric information of three-dimensional graphics and does not comprise detailed building component parameters; the architectural plan sketch is often only used for conceptual design, plan push, model display and the like. In the stage of formal design modeling, a designer needs to use BIM modeling software capable of drawing building elements, which can be Revit, wherein Revit is a piece of professional Building Information Modeling (BIM) software which plays an important role in the process of building design, construction and operation, and a three-dimensional parameterized building element model (such as a Revit model) capable of being directly used for construction is formed by drawing building elements (such as walls, beams, plates, columns, doors, windows, railings and the like) with complete semantic information through Revit.
The solution sketch model constructed by Sketchup cannot be directly used for construction drawing design due to lack of detailed building element attribute parameters and material information. In the later stage of the project, the building scheme model is further deepened and designed, and the three-dimensional parameterized component model which can be used for construction is redrawn by Revit. The repeated design process increases the workload of a designer on one hand, and on the other hand, the scheme sketch model is not put into the formal design stage to be used, and the three-dimensional parameterized component model needs to be drawn again, so that the working redundancy and the design resource waste are caused.
Aiming at the problems, the application provides a semantic recognition method of a building scheme model, which is used for realizing effective utilization of the building scheme model by carrying out semantic recognition on a scheme sketch model constructed by SketchUp, converting the scheme sketch model into a building component with complete semantic information drawn by Revit. The semantic recognition algorithm comprises a model semantic recognition module, a set of model tag recognition and mapping rules and a model parameter analysis mapping module for mapping parameters of the building scheme model into three-dimensional parameterized component model parameters; the semanteme recognition algorithm also supports importing a SketchUp model and can perform semanteme recognition on the SketchUp model; the Sketchup model is a building plan model, and the model only contains label information, basic geometric data and material information of a building.
In this application, skchup and Revit are taken as examples for convenience of explanation, but the present application is equally applicable to other modeling software.
Fig. 1 is a schematic flow chart of a semantic identification method for a building scheme according to an embodiment of the present application. It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows; the steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders; and at least some of the steps in fig. 1 may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor does the order in which the sub-steps or stages are performed necessarily occur in sequence, but may be performed alternately or alternately with at least some of the other steps or sub-steps of other steps.
The application discloses a semantic identification method of a building scheme, which comprises S101-S104 as shown in FIG. 1.
S101, basic information of a component to be converted in a model to be converted in first modeling software is obtained.
In one example, the first modeling software herein may include, but is not limited to, sketchUp modeling software, which is illustrated herein as SketchUp for ease of description. The solution sketch model constructed by skschup cannot be directly used for the construction drawing design due to lack of detailed building element attribute parameters and material information, and therefore the model drawn by skschup needs to be converted.
The model to be converted may be one component to be converted or a plurality of components to be converted. For example, the model to be converted can be a building, and the building is composed of a plurality of components to be converted, and the components to be converted can be basic geometrical bodies of three-dimensional layers, such as cubes, cuboids, spheres, cones, prisms, truncated cones and the like; the component may also be a two-dimensional geometry, such as rectangular, trapezoidal, circular, oval, etc.
The basic information here is tag information and geometric parameter information of the component to be converted. The tag information is information which is actively input by a user or automatically generated by a system. For example, in skchup, when a user indicates a wall in a building with a cuboid, the label of the cuboid may be "wall" or "wall", and each component to be converted may be given a label according to the actual situation.
The geometric parameter information may be understood as information of the geometric shape, size, and position of the component to be converted in sknchup. In the practical application process, the label information and the geometric parameter information are generally bound, so that the subsequent model conversion is facilitated.
The to-be-converted component comprises an entity component and a non-entity component, and the obtaining of the basic information of the to-be-converted component in the to-be-converted model in the first modeling software comprises the following steps: acquiring first basic information of entity components in a model to be converted in first modeling software; acquiring second basic information of non-entity components in a to-be-converted model in the first modeling software; and combining the first basic information and the second basic information to obtain the basic information of the component to be converted.
In one example, the first basic information and the second basic information may be understood as label information and geometric parameter information of the component to be converted, but the manner of acquisition is different. A physical component is understood to mean a component of which the tag information is a wall, beam, plate, column, etc. Non-physical components can be understood as those whose underlying primitives (e.g., points, lines, planes) cannot form closed unique physical components, which are identified as conventional components, resulting in identification errors, so that all non-physical components are broken down into physical components, which are then subjected to tag information reading and binding operations.
S102, converting the component to be converted into a standard component in the second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component.
In one example, the basic information includes tag information and geometric parameter information, and the tag information and the geometric parameter information may be bound. And the tag information includes valid tag information and no tag information. Acquiring the label information of the components to be converted as the effective label information, namely a first component to be converted; after the first component to be converted is obtained, the first component to be converted is regarded as a corresponding building component by combining the geometric parameter information of the first component to be converted, the label is directly used for establishing a corresponding relation with the Revit model parameter, the Revit can be second modeling software, and after the operation is finished, the first component to be converted is converted into a standard component in the second modeling software.
For the component with label information being label-free information, namely the second component to be converted, label-free information can be understood as the component without label information. Aiming at the components with label information being label-free information, the related information of the related components of the second component to be converted needs to be acquired, the label information of the second component to be converted is supplemented through the related information of the related components, and then a corresponding relation is established with the Revit model parameters. The geometric information (e.g., facets) within it is analyzed, and standard components are generated using the analysis structure.
The detailed steps for generating the component parameters of the standard component and the position information of the standard component according to the basic information (label information and geometric parameter information) of the component to be converted are as follows: and converting the label information of the component to be converted into the component parameters of the standard component. For example, if the tag information of the component to be converted contains material and model information, the information is mapped to the material and model parameters of the standard component. The geometric parameter information of the component to be converted is applied to the component parameters of the standard component, and the geometric parameters (such as length, width, height and the like) of the component to be converted are directly assigned to the standard component. And determining the position information of the standard component in the second modeling software by using the position information and the coordinate corresponding relation of the component to be converted.
And applying the generated component parameters and position information of the standard component to second modeling software. By calling an API of modeling software or using modeling tools, corresponding types of component elements are created and component parameters are set to component parameter values of the generated standard components.
After building models of the standard components are generated, verification and adjustment are performed to ensure that the generated models conform to expectations. Verification may include checking whether the size, material, and location of the generated component are consistent with standard components. Necessary adjustments and corrections are made as needed to ensure the accuracy and consistency of the generated building model.
In general, the component parameters of the standard component and the position relation of the standard component can be calculated, the components to be converted can be classified according to the label information, and then further calculation is performed on the classified parameter information, so that all the parameters required by generating the standard component are calculated. The parameter analysis mapping module classifies the entity parameters transmitted by the semantic recognition module into three types according to the tag characteristics: the first type is a wall, the label information of a wall in a SkektchUp model is a wall, and the label information of a continuous multi-section wall is a wall, so that a parameter analysis mapping module firstly divides a plurality of continuous geometric bodies into single entities according to the connectivity of the geometric bodies, then splits the continuous geometric bodies into single walls and holes (door and window positions) on the walls, and finally calculates the geometric properties of each wall, such as height, thickness and the like; the second type is plates and columns, which are also divided into a plurality of entities according to geometrical connectivity, and each entity calculates the minimum convex hull of the entity, so as to calculate the outer contour of the component; the third type of entity is a door and a window, and the internal geometric construction of such solid members is complex, so that each geometric body is a solid member, and the length, height and thickness of the solid member are calculated according to the outer bounding box.
S103, determining the coordinate corresponding relation between the first coordinate system of the first modeling software and the second coordinate system of the second modeling software.
In one example, different modeling software may use different coordinate systems, such as a Cartesian coordinate system, a local coordinate system, or a global coordinate system. And determining information such as an origin, coordinate axis directions, units and the like in each modeling software. If a certain corresponding relation exists between the coordinate systems of the first modeling software and the second modeling software, the original corresponding relation can be directly used for coordinate conversion. For example, two modeling software use the same coordinate system or have a predefined coordinate correspondence. If the coordinate systems of the first modeling software and the second modeling software do not match, a conversion relationship between them needs to be determined. This may involve transformation operations such as rotation, translation, and scaling to ensure consistency between the coordinate systems. By aligning and matching the coordinates of known points or specific references, a transformation relationship between the coordinate systems can be deduced.
S104, generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the corresponding relation of coordinates.
In one example, component parameter information of a standard component is obtained, where the parameter information includes attributes related to the component, such as length, width, height, material, model, and the like. And using the position information of the standard component in the first modeling software, and converting the position information into the position information in the second modeling software according to the coordinate corresponding relation. Corresponding geometric elements are created in the second modeling software according to the component parameters and the position information of the standard component. Setting parameter values of corresponding components generated in the second modeling software according to component parameters of the standard components may be achieved by modifying properties or parameters of the component elements. After the corresponding building model is generated, verification and adjustment are performed to ensure that the generated model meets expectations, and verification may include checking whether the size, material and position of the generated component are consistent with standard components, and performing necessary adjustment and correction as needed to ensure the accuracy and consistency of the generated building model.
According to the component parameters of the standard component, the position information of the standard component and the corresponding relation of coordinates, after the second modeling software generates the building model corresponding to the model to be converted, the method further comprises the following steps: and generating a conversion result of the building model corresponding to the model to be converted in the second modeling software through popup window display, so that a user manually adjusts the building model according to the conversion result.
In one example, the identified component data to be converted is consolidated into an identification list, which is displayed to the user through a system pop-up window. The components which are not successfully identified are marked in the list and are uniformly classified as a conventional model. And prompting whether the user is satisfied with the recognition result of the algorithm program through the popup window. If the user is not satisfied with the recognition result, the recognition can be carried out again, and the geometrical entity category which is not recognized by the manual assignment algorithm can also be selected; if the recognition result is satisfied, completing recognition and generating a model parameter file capable of importing Revit software.
The whole scheme can be understood as a semantic recognition method of a building scheme model, and the semantic recognition method can be used for carrying out semantic recognition on a component to be converted in a model to be converted constructed by SketchUp, converting the component to be converted into a building component with complete semantic information drawn by Revit, so that the building scheme model can be effectively utilized. The semantic recognition algorithm comprises a model semantic recognition module, a set of model tag recognition and mapping rules and a model parameter analysis mapping module for mapping parameters of the building scheme model into three-dimensional parameterized component model parameters; the semanteme recognition algorithm also supports importing a SketchUp model and can perform semanteme recognition on the SketchUp model; the Sketchup model is a building plan model, and the model only contains label information, basic geometric data and material information of a building.
The module semantic recognition module can be understood as a module to be converted in SketchUp model files imported into the algorithm program is read recursively by taking the entity group and the entity module as minimum recognition units; and reading the label information of all the components to be converted according to a set of model label identification and mapping rules in the identification process, and establishing a binding relationship between the basic geometric data of the components to be converted and the corresponding label information. After the operation is finished, the identified geometric parameters of the component with the label information type to be converted are transmitted to a model parameter analysis mapping module. The solid groups and solid components are usually basic geometric shapes in three-dimensional layers, such as cubes, cuboids, spheres, cones, prisms, truncated cones, and the like, and geometric figures in two-dimensional layers, such as rectangles, trapezoids, circles, ovals, and the like.
The model tag recognition rule can be understood as that when a semantical recognition algorithm program of a scheme sketch model constructed by Sketchup runs, firstly recursively reading tag information of components to be converted in a model file to be converted, if the tag information of the components to be converted is of a valid component recognition type (such as a wall, a beam, a plate, a column and the like), binding the tag information of each component to be converted with basic geometric data thereof to form geometric parameters with tag information, and analyzing the geometric information (such as a surface) inside the geometric parameters to generate components of corresponding types.
The model parameter analysis mapping module can be understood as classifying the received model to be converted constructed by SketchUp according to the label type, then further calculating the classified parameter information, and calculating all parameters required for generating the corresponding model converted into Revit. After calculating the geometric parameters of all the components in the model to be converted constructed by SketchUp, the parameter analysis mapping module continues to calculate the relation parameters of doors and windows and walls according to the position relation between components to be converted, such as the position relation between wall holes and doors and windows, deduces the elevation of the whole model according to the elevation of plates and walls, and simultaneously establishes the relation between building components and auxiliary components (such as the doors and windows on the walls). And finally, the parameter analysis mapping module creates a coordinate system corresponding relation between the to-be-converted model and the building model corresponding to the to-be-converted model, and creates three-dimensional parameterized building components such as elevation, wall, plate, column and the like according to the mapping rule to complete component identification.
Before the parameters of the building model corresponding to the model to be converted are created, a recognition list which is well arranged by an algorithm is displayed on an algorithm program interface in a popup mode, unidentified entities at the positions are marked and are uniformly labeled as a conventional model group, the recognition is completed when the user is satisfied with the recognition result, and the mapping rule can be manually changed to be re-recognized or directly re-recognized when the user is not satisfied with the recognition result. The identification result is imported into BIM software capable of drawing building elements, and the three-dimensional parameterized building element model with the same modeling as the building scheme model can be directly generated.
Based on the above method, the application also discloses a conversion device of the building model, as shown in fig. 2, and fig. 2 is a schematic structural diagram of the conversion device of the building model provided in the embodiment of the application.
A conversion device of a building model, comprising: the device comprises an acquisition module 1, a generation module 2, a determination module 3 and a conversion module 4; the acquisition module 1 is used for acquiring basic information of a component to be converted in a model to be converted in the first modeling software; the generating module 2 is used for converting the component to be converted into a standard component in the second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component; a determining module 3, configured to determine a coordinate correspondence between a first coordinate system of the first modeling software and a second coordinate system of the second modeling software; and the conversion module 4 is used for generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the corresponding relation of coordinates.
In one example, the obtaining module 1 is further configured to obtain first basic information of an entity component in a model to be converted in the first modeling software; acquiring second basic information of non-entity components in a to-be-converted model in the first modeling software; and combining the first basic information and the second basic information to obtain the basic information of the component to be converted.
In one example, the obtaining module 1 is further configured to obtain first basic information of an entity component in a model to be converted in the first modeling software; acquiring second basic information of non-entity components in a to-be-converted model in the first modeling software; and combining the first basic information and the second basic information to obtain the basic information of the component to be converted.
In one example, the generating module 2 is further configured to convert the component to be converted into a standard component in the second modeling software according to the label information and the geometric parameter information of the component to be converted.
In one example, the generating module 2 is further configured to obtain a component in which the tag information in the component to be converted is valid tag information, so as to obtain a first component to be converted; obtaining geometric parameter information of a first component to be converted; and converting the first component to be converted into a standard component in the second modeling software according to the geometric parameter information of the first component to be converted.
In one example, the generating module 2 is further configured to obtain a component with label information being no label information in the component to be converted, so as to obtain a second component to be converted; acquiring label information of a related structure of the second component to be converted, and acquiring the label information of the second component to be converted according to the label information of the related structure; obtaining geometric parameter information of a second component to be converted; and converting the second component to be converted into a standard component in the second modeling software according to the label information of the second component to be converted and the geometric parameter information of the second component to be converted.
In one example, the generating module 2 is further configured to classify the components to be converted according to the basic information of the components to be converted, so as to obtain a plurality of groups; respectively converting the components in each group into standard components in second modeling software; and calculating the component parameters of each component to be converted in each group into the standard component and the position information of the standard component according to the preset rules corresponding to each group.
In one example, the apparatus is further configured to generate a conversion result of the building model corresponding to the model to be converted in the second modeling software through a popup window display, so that the user manually adjusts the building model according to the conversion result.
It should be noted that: in the device provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
Referring to fig. 3, a schematic structural diagram of an electronic device is provided in an embodiment of the present application. As shown in fig. 3, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002.
Wherein the communication bus 1002 is used to enable connected communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 1001 may include one or more processing cores. The processor 1001 connects various parts within the entire server using various interfaces and lines, performs various functions of the server and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1001 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1001 and may be implemented by a single chip.
The Memory 1005 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 1005 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like involved in the above respective method embodiments. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 3, an operating system, a network communication module, a user interface module, and an application program of a conversion method of a building model may be included in the memory 1005 as a computer storage medium.
In the electronic device 1000 shown in fig. 3, the user interface 1003 is mainly used for providing an input interface for a user, and acquiring data input by the user; and processor 1001 may be used to invoke an application in memory 1005 that stores a method of converting a building model, which when executed by one or more processors, causes the electronic device to perform the method as described in one or more of the embodiments above.
An electronic device readable storage medium storing instructions. When executed by one or more processors, cause an electronic device to perform the method as described in one or more of the embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on 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 application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A method of converting a building model, the method comprising:
basic information of a component to be converted in a model to be converted in first modeling software is obtained;
converting the component to be converted into a standard component in second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component;
determining a coordinate corresponding relation between a first coordinate system of the first modeling software and a second coordinate system of the second modeling software;
And generating a building model corresponding to the model to be converted in the second modeling software according to the component parameters of the standard component, the position information of the standard component and the coordinate corresponding relation.
2. The method for transforming a building model according to claim 1, wherein the components to be transformed include physical components and non-physical components, and the obtaining basic information of the components to be transformed in the model to be transformed in the first modeling software includes:
acquiring first basic information of the entity component in a model to be converted in the first modeling software;
acquiring second basic information of the non-entity components in the to-be-converted model in the first modeling software;
and combining the first basic information and the second basic information to obtain the basic information of the component to be converted.
3. The method for converting building models according to claim 1, wherein the basic information includes tag information and geometric parameter information, and the converting the component to be converted into a standard component in the second modeling software according to the basic information of the component to be converted includes:
and converting the component to be converted into a standard component in second modeling software according to the label information and the geometric parameter information of the component to be converted.
4. A method of converting a building model according to claim 3, wherein the tag information comprises valid tag information, and the converting the component to be converted into a standard component in second modeling software according to the tag information and the geometric parameter information of the component to be converted comprises:
acquiring a component of which the label information is the effective label information in the component to be converted to obtain a first component to be converted;
obtaining the geometric parameter information of the first component to be converted;
and converting the first component to be converted into a standard component in the second modeling software according to the geometric parameter information of the first component to be converted.
5. A method of converting a building model according to claim 3, wherein the tag information includes no tag information, and the converting the component to be converted into a standard component in second modeling software according to the tag information and the geometric parameter information of the component to be converted includes:
acquiring the components with label information being the label-free information in the components to be converted to obtain a second component to be converted;
acquiring label information of a related structure of the second component to be converted, and acquiring the label information of the second component to be converted according to the label information of the related structure;
Obtaining geometric parameter information of the second component to be converted;
and converting the second component to be converted into a standard component in the second modeling software according to the label information of the second component to be converted and the geometric parameter information of the second component to be converted.
6. The method for converting building models according to claim 1, wherein the converting the component to be converted into a standard component in the second modeling software based on the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component, comprises:
classifying the components to be converted according to the basic information of the components to be converted to obtain a plurality of groups;
converting the components in each group into standard components in the second modeling software respectively;
and calculating component parameters of each component to be converted in each group into a standard component and position information of the standard component according to preset rules corresponding to each group.
7. The method according to claim 1, wherein after the second modeling software generates the building model corresponding to the model to be converted according to the component parameters of the standard component, the position information of the standard component, and the coordinate correspondence relationship, the method further comprises:
And generating a conversion result of the building model corresponding to the model to be converted on the second modeling software through popup window display, so that a user manually adjusts the building model according to the conversion result.
8. A conversion device for a building model, the device comprising: the device comprises an acquisition module (1), a generation module (2), a determination module (3) and a conversion module (4); wherein,
the acquisition module (1) is used for acquiring basic information of a component to be converted in a model to be converted in the first modeling software;
the generating module (2) is used for converting the component to be converted into a standard component in second modeling software according to the basic information of the component to be converted, and generating component parameters of the standard component and position information of the standard component;
the determining module (3) is used for determining the coordinate correspondence between a first coordinate system of the first modeling software and a second coordinate system of the second modeling software;
the conversion module (4) is configured to generate, in the second modeling software, a building model corresponding to the model to be converted according to the component parameters of the standard component, the position information of the standard component, and the coordinate correspondence.
9. An electronic device comprising a processor (1001), a memory (1005), a user interface (1003) and a network interface (1004), the memory (1005) being configured to store instructions, the user interface (1003) and the network interface (1004) being configured to communicate to other devices, the processor (1001) being configured to execute the instructions stored in the memory to cause the electronic device to perform the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which performs the method according to any of claims 1-7.
CN202311556479.2A 2023-11-18 2023-11-18 Building model conversion method, device, equipment and storage medium Pending CN117521221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311556479.2A CN117521221A (en) 2023-11-18 2023-11-18 Building model conversion method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311556479.2A CN117521221A (en) 2023-11-18 2023-11-18 Building model conversion method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117521221A true CN117521221A (en) 2024-02-06

Family

ID=89758326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311556479.2A Pending CN117521221A (en) 2023-11-18 2023-11-18 Building model conversion method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117521221A (en)

Similar Documents

Publication Publication Date Title
JP7280039B2 (en) Generation of 3D models representing buildings
JP7376233B2 (en) Semantic segmentation of 2D floor plans using pixel-wise classifiers
US10937211B2 (en) Automated parametrization of floor-plan sketches for multi-objective building optimization tasks
US11222148B2 (en) Space profile interpreter framework for a computer file
US9665667B1 (en) Methods and systems for converting select features of a computer-aided design (CAD) model to direct-edit features
JP4893148B2 (en) Shape simplification device and program used therefor
CN104346769A (en) Lossless compression of a 3D mesh including transforming of the mesh to an image
US9824494B2 (en) Hybrid surfaces for mesh repair
US8694286B2 (en) Modifying a parametrically defined model with an explicit modeler
CN113724401A (en) Three-dimensional model cutting method and device, computer equipment and storage medium
JP2003288372A (en) Analytic result data processor for cad, analytic result data processing method for cad, and analytic result data processing program for cad
US10943037B2 (en) Generating a CAD model from a finite element mesh
Mirzaei et al. Automatic generation of structural geometric digital twins from point clouds
WO2020023811A1 (en) 3d object design synthesis and optimization using existing designs
KR20150081992A (en) Method for generating template of building component, method for generating primitive, and apparatus for modelling bulding component
CN117521221A (en) Building model conversion method, device, equipment and storage medium
Cembranos et al. Supporting the automatic extraction of HBIM elements from point clouds
US7304642B2 (en) Analysis model producing/assisting apparatus
Gehre et al. Feature Curve Co‐Completion in Noisy Data
CN114283441B (en) Two-dimensional drawing recognition modeling method and device suitable for railway passenger station
US11710295B2 (en) Storage medium, shape data output method, and information processing device
CN113010946B (en) Data analysis method, electronic equipment and related products
Lerones et al. Supporting the Automatic Extraction of HBIM Elements from Point Clouds
CN113987651A (en) Method and device for generating plate model and computer equipment
Gupta A Comprehensive Study on Feature Detection Algorithms and Fine-Tuning Methods for Efficient Metadata Extraction in Construction Drawings

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