Method for automatic transformation from building 3ds max geometric model to revit information model

By using the secondary development of MaxScript and Revit API on the 3DS Max and Revit software platforms, the automatic conversion from 3DS MAX geometric models to the REVIT information model is achieved. Modeling work and increase the application value of the model.

WO2025020603A1PCT designated stage expired Publication Date: 2025-01-30SHANGHAI CONSTRUCTION FOURTH CONSTRUCTION GROUP CO LTD

Patent Information

Application Number
PCT/CN2024/089950
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-26
Filing Date
2024-04-26
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve effective transformation from 3ds Max geometric model to Revit information model, resulting in an increase in the workload of repeated modeling in different software, losing the core advantages of Revit form files.

Method used

Through component type recognition, geometric parameter classification, geometric information extraction, and parameter automation modeling algorithm, use MaxScript and REVIT API for secondary development to achieve automatic conversion from 3DS MAX geometric models to the REVIT information model.

Benefits of technology

The automatic transformation of the three -dimensional geometric model to the information management model has been implemented, reducing the duplicate modeling work of the same building under different functional applications, and supports information integration, object management and BIM application expansion with components. The actual application value in life management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024089950_30012025_PF_FP_ABST
    Figure CN2024089950_30012025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a method for automatic transformation from a building 3ds Max geometric model to a Revit information model. On the basis of 3ds Max and Revit software platforms, by making use of secondary development of Maxscript and Revit API, and by means of component type identification, component parameter classification, geometric information extraction, and parameter automatic modeling algorithms, a method for automatic transformation from a building 3ds Max geometric model to a Revit information model is provided, so as to achieve automatic transformation from a three-dimensional geometric model to an information management model, reduce repeated modeling work for a same building under different functional applications, perfect effective transformation methods for two types of models in current building industry, and lay a foundation for universality and expandability of a building three-dimensional model.
Need to check novelty before this filing date? Find Prior Art

Description

Automatic conversion method of architectural 3ds Max geometric model to Revit information model Technical Field

[0001] The invention relates to an automatic conversion method from a building 3ds Max geometric model to a Revit information model. Background Art

[0002] The three-dimensional model of the building is the model base for realizing the digital twin of the building. On this basis, combined with the application of digital information technology, the virtual and real combination of the model and the entity is achieved. Among them, the model base is the core and foundation of the digital twin.

[0003] At present, there are two main methods for constructing 3D architectural models:

[0004] The first type is usually based on digital surveying and mapping data, and uses 3D geometric modeling software such as 3ds Max and SketchUp to build models of building entities, environments, and scenes. Its advantages lie in the construction of complex objects and the expansion of display effects.

[0005] The other type is usually based on design drawings. It uses architectural parametric modeling software represented by Revit to conveniently model components based on the axis grid, elevation, size and other annotations in the drawings and based on flexibly expandable parametric component families. It also supports information integration and object management based on components. Its advantage lies in efficient model construction and unit management, and supports subsequent BIM application expansion based on the IFC standard.

[0006] From the above analysis, it can be seen that the core difference between the two types of model construction methods lies in the source of modeling data and the focus of subsequent applications. Both have corresponding value in the wide range of application scenarios of building digital twins. If the efficient conversion method between the two types of models can be improved, the workload of repeated modeling in different software will be avoided.

[0007] Taking the most typical software of the two types of model building methods as an example, 3ds Max supports direct import of rvt format files created by Revit or indirect import using fbx format files as the medium, which can be subsequently processed and applied in 3ds Max after import; while Revit also supports the import of fbx format files and can indirectly import files created by 3ds Max, the model is imported in the form of reference blocks and does not support subsequent information integration, object management and BIM applications based on component units, losing the core advantage of Revit format files, so in fact it cannot achieve effective conversion from 3ds Max models to Revit models.

[0008] Summary of the Invention

[0009] The purpose of the present invention is to provide a method for automatically converting a building 3ds Max geometric model into a Revit information model.

[0010] To solve the above problems, the present invention provides a method for automatically converting a building 3ds Max geometric model into a Revit information model, comprising:

[0011] A method for automatically converting a building 3ds Max geometric model into a Revit information model, comprising:

[0012] Identify component types based on the data features of different geometric bodies in the building 3ds Max geometric model;

[0013] Obtaining the geometric parameter values ​​of each component type, and converting the geometric parameter values ​​of components of the same type whose errors are within a preset prefabrication range into unified geometric parameter values ​​corresponding to the components of that type;

[0014] Based on the unified geometric parameter values ​​corresponding to each type of component, the geometric information of each type of component is obtained;

[0015] Export the geometric information of each type of component to a text file, and call the corresponding creation statement in the Revit API based on the geometric information to automatically reconstruct the building components.

[0016] Furthermore, in the above method, the component types include: main structural components created based on standard primitives, common family library components spliced ​​and modified based on standard primitives, and other special objects.

[0017] Furthermore, in the above method, component type identification is performed based on the data features of different geometric bodies in the architectural 3ds Max geometric model, including:

[0018] The structural types of the main structural components include: beams, columns, walls and plates, and the component types of the main structural components are determined by judging the geometric body type and geometric size.

[0019] Furthermore, in the above method, component type identification is performed based on the data features of different geometric bodies in the architectural 3ds Max geometric model, including:

[0020] The component types of the common family library components include: doors and windows, roofs, and tables and chairs. The component types of the common family library components are identified by the names of the objects.

[0021] Furthermore, in the above method, component type identification is performed based on the data features of different geometric bodies in the architectural 3ds Max geometric model, including:

[0022] The other special objects include decorative parts, and the component types of the other special objects are classified by manual selection.

[0023] Furthermore, in the above method, obtaining the geometric parameter values ​​of each component type and converting the geometric parameter values ​​of components of the same type whose errors are within a preset prefabrication range into unified geometric parameter values ​​corresponding to the components of that type include:

[0024] The geometric parameter values ​​of the same type of components with an error of no more than 5% are converted into the unified geometric parameter values ​​corresponding to the components of this type.

[0025] Furthermore, in the above method, based on the unified geometric parameter values ​​corresponding to the components of each type, the geometric information of each type of component is obtained, including:

[0026] Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data of the components in 3ds Max according to the definition of the base primitives.

[0027] Furthermore, in the above method, based on the unified geometric parameter values ​​corresponding to the components of each type, the geometric information of each type of component is obtained, including:

[0028] Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the standard primitive objects in 3ds Max according to the data required for creating the corresponding components in RevitAPI.

[0029] Furthermore, in the above method, based on the unified geometric parameter values ​​corresponding to the components of each type, the geometric information of each type of component is obtained, including:

[0030] Based on the unified geometric parameter values ​​corresponding to common family library components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the object in 3ds Max according to the data required for creating the corresponding component in RevitAPI.

[0031] Furthermore, in the above method, the wall information in the text file is stored in the following manner: the first line contains the total number of walls, and each line starting from the second line contains the 9 data required to create one wall;

[0032] Export the geometric information of each type of component to a text file, and call the corresponding creation statement in the Revit API based on the geometric information to automatically reconstruct the building components, including:

[0033] Read the first line of data in the text file, convert it into int type and store it as the total number of walls;

[0034] Define a two-dimensional array with a total of 9 columns for the behavior wall, which is used to store the creation data of all walls. The first dimension represents the wall number, and the second dimension represents the creation information number of the specified wall.

[0035] By reading the text file line by line and separating the data with commas, all the data can be extracted and stored in the corresponding positions of the two-dimensional array. Finally, the wall creation statement is called according to the obtained information to complete the construction of the wall model.

[0036] Compared with the prior art, the present invention has the following beneficial effects:

[0037] (1) The method for automatically converting a building 3ds Max geometric model into a Revit information model provided by the present invention is based on secondary development of Maxscript and Revit API. Through algorithms for component type identification, component parameter classification, geometric information extraction, and parameter automated modeling, the method realizes the automatic conversion of a three-dimensional geometric model into an information management model, thereby reducing the repeated modeling work for the same building under different functional applications.

[0038] (2) The present invention provides a method for automatically converting a geometric model, which is usually based on reverse modeling, into an information model. The subsequent model can support component-based information integration, object management, and BIM application expansion, thereby enhancing the practical application value of the model in building life cycle management.

[0039] (3) As an exploration of data transmission between files of different formats, the present invention improves the effective conversion method between the two types of models in the current construction industry, conforms to the development trend of building digitalization, and lays the foundation for the versatility and scalability of building three-dimensional models. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] FIG1 is a flow chart of a method for automatically converting a building 3ds Max geometric model into a Revit information model according to an embodiment of the present invention;

[0041] FIG2 is a flow chart of a component parameter classification algorithm according to an embodiment of the present invention;

[0042] FIG3 is a flow chart of an algorithm for extracting elevation geometric information according to an embodiment of the present invention;

[0043] FIG4 is a flow chart of a wall geometry information extraction algorithm according to an embodiment of the present invention;

[0044] 5 is a flow chart of an algorithm for extracting geometric information of windows on a wall according to an embodiment of the present invention;

[0045] FIG6 is a flow chart of a wall information transmission algorithm according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0047] As shown in FIG1 , the present invention provides a method for automatically converting a building 3ds Max geometric model into a Revit information model, comprising:

[0048] Step S1, identifying component types based on data features of different geometric bodies in the building 3ds Max geometric model;

[0049] Step S2, obtaining geometric parameter values ​​of each component type, and converting the geometric parameter values ​​of components of the same type whose errors are within a preset prefabrication range into unified geometric parameter values ​​corresponding to the components of that type;

[0050] Step S3, obtaining geometric information of each type of component based on the unified geometric parameter value corresponding to each type of component;

[0051] Step S4: Export the geometric information of each type of component into a text file, and call the corresponding creation statement in the Revit API based on the geometric information to automatically reconstruct the building component.

[0052] MAXScript is a scripting language native to 3ds Max that can access and modify internal data within 3ds Max software and interact with text files. This invention uses MAXScript as a tool and text files as a medium to implement three major functions in 3ds Max models: component type identification, component parameter classification, and geometric information extraction.

[0053] The Revit API is a secondary development tool for Revit software. It provides a wide range of methods for creating and modifying family documents, enabling interaction and management between family types and Revit documents, as well as the reading, creation, and modification of data within Revit software. This paper uses the Revit API as a tool and text files as a medium to implement Revit's parametric automated modeling capabilities.

[0054] To address the issue of efficient conversion between model files, this paper proposes an automated conversion method for architectural 3ds Max geometric models to Revit information models. This method, with its core focus on transferring valid data between model files, primarily includes component type identification, component geometry parameter classification, geometric information extraction, and automated parametric modeling. The overall technical architecture of this invention is shown in Figure 1.

[0055] In response to the above-mentioned problem that architectural three-dimensional geometric models cannot be effectively converted into information management models, the present invention is based on the 3ds Max and Revit software platforms, utilizes Maxscript and Revit API secondary development, and proposes an automatic conversion method for architectural 3ds Max geometric models to Revit information models through algorithms for component type identification, component parameter classification, geometric information extraction, and parameter automatic modeling, so as to realize the automatic conversion of three-dimensional geometric models into information management models, reduce the repeated modeling work of the same building under different functional applications, improve the effective conversion method between the two types of models in the current construction industry, and lay the foundation for the versatility and scalability of architectural three-dimensional models.

[0056] By leveraging the excellent format versatility of 3ds Max in three-dimensional geometric modeling software, the present invention can support common geometric model formats such as 3ds, skp, fbx, and obj, improve the effective conversion method between the two types of models in the current construction industry, and lay the foundation for the versatility and scalability of architectural three-dimensional models.

[0057] In one embodiment of the method for automatically converting a building 3ds Max geometric model to a Revit information model of the present invention, the component types include: main structural components created based on standard primitives, common family library components spliced ​​and modified based on standard primitives, and other special objects.

[0058] In 3ds Max, different types of building components are represented by overlays of different geometric entities, lacking any type information. To meet the object classification modeling requirements of Revit, component types must first be identified based on the data characteristics of different geometric entities. Building components can be categorized into primary structural components based on standard primitives, common family library components constructed by combining and modifying standard primitives, and other special objects, depending on how they are created in 3ds Max. Intelligent component identification can be achieved through various methods.

[0059] In one embodiment of the method for automatically converting a building 3ds Max geometric model to a Revit information model of the present invention, step S1, based on the data features of different geometric bodies in the building 3ds Max geometric model, identifies the component type, including:

[0060] The structural types of the main structural components include: beams, columns, walls and plates, and the component types of the main structural components are determined by judging the geometric body type and geometric size.

[0061] The main structural components of a building include beams, columns, walls, and slabs, which generally exhibit regular geometric shapes. During the modeling process in 3ds Max, these components are created using standard geometric bodies. For example, circular columns and beams are created using cylinders, while square columns, walls, slabs, and rectangular beams are created using cuboids. These structural components also have distinct geometric dimensions, and their type can be determined by judging their geometric body type and size.

[0062] For example, a wall object in 3ds Max has the following characteristics: the wall is created as a cuboid, its width is generally less than 300mm, and its height is greater than 1000mm. Considering the possibility of length and width values ​​being reversed in 3ds Max, the smaller value of the object's length and width is defined as the wall's width. The MAXScript code is as follows:

[0063] wall=for iin objects collect--traverse all objects in the scene

[0064] if classof i==box and amin i.length i.width<300*0.0393701and i.height>1000*0.0393701

[0065] --If the object's data type is Box and the object's width is less than 300mm and its height is greater than 1000mm (unit conversion from meters to inches is required), collect the object into the wall array and define it as a wall;

[0066] then i

[0067] else DontCollect--If not satisfied, do not collect

[0068] Therefore, this method can be used to identify other structural components with the same characteristics in the architectural 3ds Max model. The only things that need to be changed are the array name, the geometry type in the judgment statement, and the geometry size.

[0069] In one embodiment of the method for automatically converting a building 3ds Max geometric model to a Revit information model of the present invention, step S1, based on the data features of different geometric bodies in the building 3ds Max geometric model, identifies the component type, including:

[0070] The component types of the common family library components include: doors and windows, roofs, and tables and chairs. The component types of the common family library components are identified by the names of the objects.

[0071] Buildings also include common library components (Revit typically has pre-set libraries for these components), such as various doors, windows, roofs, tables, and chairs. These components are complex in form, with varying model properties and data characteristics, making them difficult to identify simply by geometry type and size. Instead, they can be identified by their names. The following MAXScript code iterates through all objects in the scene, identifying objects with names containing "door" or "window" and assigning them to corresponding arrays, thus enabling the identification of common library components:

[0072] gate = $*gate*as array;

[0073] window = $*window*as array.

[0074] In one embodiment of the method for automatically converting a building 3ds Max geometric model to a Revit information model of the present invention, step S1, based on the data features of different geometric bodies in the building 3ds Max geometric model, identifies the component type, including:

[0075] The other special objects include decorative parts, and the component types of the other special objects are classified by manual selection.

[0076] Architectural components are diverse, and some may not be included in the component family library. These objects often have complex geometries, unknown data types, and properties, making them difficult to identify through computer intelligence. They typically need to be consistent with the actual objects, and can be manually categorized. Taking "decorative components" as an example, the following MAXScript code manually selects each decorative component and assigns it to the corresponding array, where $ represents all currently selected objects:

[0077] Decorative components = $as array.

[0078] In one embodiment of the method for automatically converting a building 3ds Max geometric model to a Revit information model of the present invention, step S2, obtaining geometric parameter values ​​of various component types, and converting the geometric parameter values ​​of components of the same type whose errors are within a preset prefabrication range into unified geometric parameter values ​​corresponding to the components of the same type, includes:

[0079] The geometric parameter values ​​of the same type of components with an error of no more than 5% are converted into the unified geometric parameter values ​​corresponding to the components of this type.

[0080] Here, for different components with the same design geometric parameter values, possible construction errors, measurement errors, or modeling errors may lead to discrete geometric dimension data. Components with the same parameter values ​​may exhibit numerically different dimensional parameters with minimal differences. This not only fails to meet the application requirements of the model but also introduces difficulties in model creation. Therefore, the data needs to be modularized and categorized. By consulting relevant standard materials, geometric parameter values ​​with an error of no more than 5% are classified as a unified module. The definition of the 5% allowable deviation can also be modified based on the actual results of the modularization operation.

[0081] For a certain geometric parameter value type, by traversing the data in the geometric parameter value array, the data with a deviation of less than 5% are classified into one category, and the average value of the data in the same category is taken and rounded off. The obtained integer is used as the type design value to replace the original discrete data as the basis for modeling. The flow chart is shown in Figure 2.

[0082] In one embodiment of the method for automatically converting a building 3ds Max geometric model into a Revit information model of the present invention, step S3, based on the unified geometric parameter values ​​corresponding to each type of component, obtains geometric information of each type of component, including:

[0083] Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data of the components in 3ds Max according to the definition of the base primitives.

[0084] Here, geometric information extraction is performed for each identified component type. For additional, specialized objects, since they cannot be parametrically constructed using the existing Revit family library, geometric information extraction is not required. Furthermore, component positioning in Revit is based on fundamental elements such as elevations and grids, requiring additional extraction of relevant base element information.

[0085] Based on the definition of the base element, the relevant geometric information is extracted by analyzing the coordinate data of the components in 3ds Max. The information extraction algorithm of the base element is explained by taking the elevation as an example. The same is true for other base elements. The elevation is a limited horizontal plane in Revit, which serves as a reference for the "elevation managed" element (including the main components of the building in Revit). The most important attribute is the elevation value, which is used to determine the relative elevation of the elevation. The Z coordinates of the main structural components, beams, columns, slabs, and walls, are traversed and the non-duplicate values ​​are filtered out to form an array of elevation values. The algorithm flow chart is shown in Figure 3, which includes:

[0086] Step S311, traverse the Z coordinates of beams, columns, slabs and walls respectively and add them to the elevation array;

[0087] Step S312, filtering out non-repeated geometric parameter values ​​in the elevation array and sorting them;

[0088] Step S3313, output the elevation array number and output the geometric parameter value text file in sequence.

[0089] In one embodiment of the method for automatically converting a building 3ds Max geometric model into a Revit information model of the present invention, step S3, based on the unified geometric parameter values ​​corresponding to each type of component, obtains geometric information of each type of component, including:

[0090] Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the standard primitive objects in 3ds Max according to the data required for creating the corresponding components in RevitAPI.

[0091] Here, based on the data required to create the corresponding component in Revit API, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the standard primitive objects in 3ds Max. The information extraction algorithm of the standard primitive objects is analyzed using the wall as an example, and the same is true for other standard primitive objects. By analyzing the statement in Revit API for creating components based on model lines for the wall class, for each rectangular block identified as a wall in 3ds Max, it is necessary to extract the coordinates of the midpoints of the two short sides of the bottom surface of the rectangular block (a total of 6 values), the width and height of the rectangular block, and the elevation number corresponding to the Z coordinate of the rectangular block position, a total of 9 data.

[0092] The call to the cuboid's attribute parameters can only extract the length, width, height, and the coordinates of the origin of the local coordinate system. However, it is still cumbersome to calculate the midpoint coordinates of the two short sides of the bottom of the cuboid based solely on these data. If the cuboid is converted into an editable mesh composed of points, lines, and faces, the position coordinates of the vertices can be called. Not only can the midpoint coordinates of the short sides be calculated, but the width and height data of the cuboid can also be calculated through the vertex distance. The Z coordinate of the cuboid position can also be extracted through the vertex position coordinates, solving the problem of extracting 9 data of the cuboid. The algorithm flow chart is shown in Figure 4, including:

[0093] Step S321, traverse the wall and store the geometric parameter value of the wall height into the wall height array;

[0094] Step S322, converting all walls into editable grids;

[0095] Step S323, traverse the wall to determine the elevation number corresponding to the Z coordinate;

[0096] Step S324, comparing the distances to determine the vertex numbers corresponding to the short edges;

[0097] Step S325, storing the midpoint coordinates of the two short sides into the model line array;

[0098] Step S326, storing the wall thickness data into the wall thickness array;

[0099] Step S327, traverse the wall and output the geometric thank you to a text file.

[0100] In one embodiment of the method for automatically converting a building 3ds Max geometric model into a Revit information model of the present invention, step S3, based on the unified geometric parameter values ​​corresponding to each type of component, obtains geometric information of each type of component, including:

[0101] Based on the unified geometric parameter values ​​corresponding to common family library components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the object in 3ds Max according to the data required for creating the corresponding component in RevitAPI.

[0102] Here, based on the data required to create the corresponding component in the Revit API, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the object in 3ds Max. Taking the wall window as an example, the information extraction algorithm of the common family library component object is analyzed. The same is true for other family library component objects. By analyzing the host-based instance creation statements such as the wall window in the Revit API, each object defined as a window in 3ds Max needs to extract its position coordinates (a total of 3 values), the length, width and height of the window, the number of the host wall to which the window belongs, and the elevation number of the host wall. A total of 8 data points.

[0103] When it comes to extracting information about complex geometric objects, we can convert them into editable meshes consisting of points, lines, and surfaces, and call the coordinates of the vertices to solve the problem of extracting geometric data. The algorithm flow chart is shown in Figure 5, including:

[0104] Step S331, converting all the windows on the wall into editable grids;

[0105] Step S332, obtaining the object's X, Y, and Z direction extents as length, width, and height;

[0106] Step S333, obtaining the wall number corresponding to the host wall;

[0107] Step S334, obtaining the location coordinates of the host wall;

[0108] Step S335: traverse the windows on the wall and output the geometric information to a text file.

[0109] In one embodiment of the method for automatically converting a building 3ds Max geometric model into a Revit information model of the present invention, the wall information in the text file is stored in the following manner: the first line contains the total number of walls, and each line starting from the second line contains 9 data required to create one wall;

[0110] Step S4: Export the geometric information of each type of component to a text file, and call the corresponding creation statement in the Revit API based on the geometric information to automatically reconstruct the building component, including:

[0111] Read the first line of data in the text file, convert it into int type and store it as the total number of walls;

[0112] Define a two-dimensional array with a total of 9 columns for the behavior wall, which is used to store the creation data of all walls. The first dimension represents the wall number, and the second dimension represents the creation information number of the specified wall.

[0113] By reading the text file line by line and separating the data with commas, all the data can be extracted and stored in the corresponding positions of the two-dimensional array. Finally, the wall creation statement is called according to the obtained information to complete the construction of the wall model.

[0114] The geometry extraction algorithm in step 3 allows you to export the geometry of most components in 3ds Max into a text file. This allows you to automatically reconstruct building components simply by calling the corresponding creation statements within the Revit API based on this geometry. This section uses the creation of a wall as an example, explaining how to use C# to read the text file, extract the corresponding information, and create a wall model. The same approach can be applied to other components.

[0115] The wall information in the text file is stored as follows: the first line contains the total number of walls, and starting from the second line, each line contains the nine pieces of data required to create a single wall. Using C#, the text file's data can be read line by line, separated by commas. Therefore, the first line of data is read, converted to an int type, and stored as the total number of walls. Next, a two-dimensional array with nine rows representing the total number of walls is defined to store the creation data for all walls. The first dimension represents the wall's serial number, and the second dimension represents the serial number of the creation information for a specific wall. By reading the text file line by line and separating the data with commas, all data can be extracted and stored in the corresponding positions in the two-dimensional array. Finally, the wall creation statement is called based on the acquired information to complete the construction of the wall model. The algorithm flow chart is shown in Figure 6, which includes:

[0116] Step S41, opening a text file storing wall geometry information;

[0117] Step S42, reading the text file and storing the data as a two-dimensional array;

[0118] Step S43, creating a wall model line according to the coordinates of the two points;

[0119] Step S43, filtering the wall type according to the wall thickness data;

[0120] Step S45, obtaining the elevation ID according to the elevation number corresponding to the premise;

[0121] Step S46, calling the wall creation statement according to the acquired information;

[0122] Step S47: store the wall ID value into a designated array.

[0123] Compared with the prior art, the present invention has the following beneficial effects:

[0124] (1) The method for automatically converting a building 3ds Max geometric model into a Revit information model provided by the present invention is based on secondary development of Maxscript and Revit API. Through algorithms for component type identification, component parameter classification, geometric information extraction, and parameter automated modeling, the method realizes the automatic conversion of a three-dimensional geometric model into an information management model, thereby reducing the repeated modeling work for the same building under different functional applications.

[0125] (2) The present invention provides a method for automatically converting a geometric model, which is usually based on reverse modeling, into an information model. The subsequent model can support component-based information integration, object management, and BIM application expansion, thereby enhancing the practical application value of the model in building life cycle management.

[0126] (3) As an exploration of data transmission between files of different formats, the present invention improves the effective conversion method between the two types of models in the current construction industry, conforms to the development trend of building digitalization, and lays the foundation for the versatility and scalability of building three-dimensional models.

[0127] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0128] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0129] Obviously, those skilled in the art may make various changes and modifications to the invention without departing from the spirit and scope of the invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.

Claims

1. A method for automatically converting a building 3ds Max geometric model to a Revit information model, characterized in that: include: Identify component types based on the data features of different geometric bodies in the architectural 3ds Max geometric model; Obtaining geometric parameter values ​​of each component type, and converting geometric parameter values ​​of components of the same type whose errors are within a preset prefabrication range into unified geometric parameter values ​​corresponding to the components of that type; Based on the unified geometric parameter values ​​corresponding to the components of each type, the geometric information of each type of component is obtained; The geometric information of each type of component is exported to a text file, and the corresponding creation statement is called in the Revit API according to the geometric information to automatically reconstruct the building components.

2. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 1, characterized in that: The component types include: main structural components created based on standard primitives, common family library components spliced ​​and modified based on standard primitives, and other special objects.

3. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the data features of different geometric bodies in the architectural 3ds Max geometric model, component type identification is performed, including: The structural types of the main structural components include: beams, columns, walls and plates, and the component types of the main structural components are determined by judging the geometric body type and geometric size.

4. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the data features of different geometric bodies in the architectural 3ds Max geometric model, component type identification is performed, including: The component types of the common family library components include: doors and windows, roofs, and tables and chairs. The component types of the common family library components are identified by the names of the objects.

5. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the data features of different geometric bodies in the architectural 3ds Max geometric model, component type identification is performed, including: The other special objects include decorative parts, and the component types of other special objects are classified by manual selection.

6. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 1, characterized in that: Obtain the geometric parameter values ​​of each component type, and convert the geometric parameter values ​​of components of the same type whose errors are within the preset prefabrication range into the unified geometric parameter values ​​corresponding to the components of this type, including: The geometric parameter values ​​of the same type of components with an error error of no more than 5% are converted into the unified geometric parameter values ​​corresponding to the components of this type.

7. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the unified geometric parameter values ​​corresponding to each type of component, the geometric information of each type of component is obtained, including: Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data of the components in 3ds Max according to the definition of the base primitives.

8. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the unified geometric parameter values ​​corresponding to each type of component, the geometric information of each type of component is obtained, including: Based on the unified geometric parameter values ​​corresponding to the main structural components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the standard primitive objects in 3ds Max according to the data required for creating the corresponding components in Revit API.

9. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 2, characterized in that: Based on the unified geometric parameter values ​​corresponding to each type of component, the geometric information of each type of component is obtained, including: Based on the unified geometric parameter values ​​corresponding to common family library components, the corresponding geometric information is extracted by analyzing the coordinate data and size data of the object in 3ds Max according to the data required for creating the corresponding components in RevitAPI.

10. The method for automatically converting a building 3ds Max geometric model to a Revit information model as claimed in claim 1, characterized in that: The storage method of the wall information in the text file is: the first line is the total number of walls, and each line starting from the second line contains 9 data required to create a wall; Export the geometric information of each type of component to a text file, and call the corresponding creation statement in the Revit API based on the geometric information to automatically reconstruct the building components, including: Read the first line of data in the text file, convert it into int type and store it as the total number of walls; Define a two-dimensional array with a total number of 9 behavioral walls to store the creation data of all walls, where the first dimension represents the wall number and the second dimension represents the related creation information number of the specified wall; By reading the text file line by line and separating the data with commas, all data can be extracted and stored in the corresponding positions of the two-dimensional array. Finally, the wall creation statement is called according to the obtained information to complete the construction of the wall model.

Citation Information

Patent Citations

  • Method for simplifying vertex clustering of three-dimensional models with texture constraint

    CN102509339A

  • Automatic reconstruction method for pipeline facility BIM model based on point cloud data

    CN108898662A

  • BIM geometric model construction method for large-scale complex buildings

    CN108959694A

  • Model and data-based design result online delivery system and method

    CN112685816A

  • Automatic conversion method from building 3ds Max geometric model to Revit information model

    CN117456125A

Cited By

  • Method for managing three-dimensional drawings of building components

    CN120147575A

  • Fabricated building wall multi-robot collaborative small-scale customized production system and method

    CN121223786A

  • GNN-based BIM model intelligent labeling method and system

    CN121562426A

  • Material classification method and device, machine readable storage medium and electronic equipment

    CN121681904A

  • Method and equipment for generating operation and maintenance information of nuclear power station containment and medium

    CN121745919A