Structural information-oriented webpage side model generation method and equipment
By generating a web-based model, the problem of missing information in the conversion between BIM and FEM models is solved, accurate visualization and interaction of structural information is achieved, and complex mechanical behavior and safety analysis are supported.
Patent Information
- Application Number
- CN202510878710.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-09-26
AI Technical Summary
Existing technologies make it difficult to efficiently convert BIM and FEM models into web-based mesh models, and are unable to fully reflect the complex mechanical behavior and multifaceted information of the structure.
By extracting the geometric information of the BIM model, a web-based mesh model is generated. Structural mechanics information is extracted using Abaqus and Opensees models, and a web-based visualization environment is built to achieve accurate visualization and interaction of the model.
It achieves accurate and comprehensive display of the web-based model, can fully reflect the structural geometry information, local and overall structural mechanics information, and support complex mechanical behavior and safety analysis during the construction process.
Smart Images

Figure CN120705968A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of civil engineering structural model visualization, and in particular to a web page model generation method and device oriented to structural information. Background Art
[0002] With the rapid development of digital technology, the application scenarios of web applications continue to expand and extend in depth. In many fields such as architecture and engineering, the demand for displaying and analyzing complex models on the web is extremely urgent, so web-based mesh model construction technology has become key. Building Information Modeling (BIM) can integrate various types of information throughout the life cycle of a building, and Finite Element Models (FEM) are widely used in the engineering field to simulate and analyze structural mechanical behavior. Currently, converting BIM and FEM into mesh models that can be used on the web through specific conversion methods has become an academic hotspot.
[0003] Current research often focuses on single-model conversion, such as converting only BIM model geometry and some building attributes, or solely focusing on FEM mechanical performance characterization. An ideal web-based mesh model should not only accurately represent inherent structural characteristics such as load effects, stiffness distribution, and structural dynamics, but also fully reflect the complex mechanical behavior during construction, as well as aspects such as structural safety and comfort, and structural degradation performance. Therefore, in-depth research on the conversion interface between different models and web-based mesh models is essential. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a web page model generation method and device oriented to structural information to overcome the problems existing in the current prior art.
[0005] To achieve the above objectives, the present invention adopts the following technical solutions:
[0006] On the one hand, the present application provides a method for generating a web page model oriented to structural information, comprising:
[0007] Extracting BIM model geometric information, and generating a web-based grid model that can represent structural geometric information based on the BIM model geometric information;
[0008] By extracting structural information from the Abaqus local structural model and using mesh expansion and integration, a local web-based model that can represent the local structural mechanics information is generated;
[0009] By extracting the structural component composition information, geometric coordinate information and cross-sectional form information from the Opensees overall structural model, coordinate transformation is used to generate an overall web-based model that can represent the overall structural mechanical information;
[0010] Build a web page visualization environment, import the web page grid model, the local web page model and the overall web page model, construct a model interaction function module, and realize model visualization.
[0011] Furthermore, the method described above, wherein extracting BIM model geometric information and generating a web-side grid model capable of representing structural geometric information based on the BIM model geometric information, includes:
[0012] Extract Revit model information through GltfContextExporter function;
[0013] Converting entities in the Revit model information into a Brep format, and storing the components converted into the Brep format in the form of triangular facets;
[0014] Lightweighting of model information is achieved by deleting redundant vertices in the Brep format component;
[0015] The Revit model coordinate system is converted into the web page coordinate system through the Translation function, the Zoom function and the Rotate function, thereby generating the web page grid model that can represent the structural geometric information.
[0016] Furthermore, the method described above, wherein the lightweighting of model information is achieved by deleting redundant vertices in the Brep format component, includes:
[0017] Determine a target node and two nodes adjacent to the target node; wherein the two nodes adjacent to the target node are: a first adjacent node and a second adjacent node;
[0018] Determine a first vector of an edge formed by the target node and the first adjacent node;
[0019] Determine a second vector of an edge formed by the target node and the second adjacent node;
[0020] determining an angle between the first vector and the second vector;
[0021] If the angle is greater than a preset angle, the target node is a redundant vertex.
[0022] Furthermore, the method described above, wherein the structural information is extracted from the Abaqus local structural model, and mesh expansion and integration are used to generate a local web-based model capable of representing the local structural mechanical information, comprises:
[0023] Extract the information of the Inp file in the Abaqus local structure model through the modelParse module;
[0024] Determining beam elements and shell elements in mesh elements of the Abaqus local structural model based on the extracted information;
[0025] According to the cross-sectional information of the beam element and the shell element, the beam element and the shell element are respectively converted into a columnar rectangular structure with 8 nodes, thereby completing the mesh expansion of the Abaqus local structural model;
[0026] A local web page model capable of representing local structural mechanics information is generated based on the extracted information and the expanded grid cells of the Abaqus local structural model.
[0027] Furthermore, the above method, wherein the structural component composition information, geometric coordinate information, and cross-sectional form information are extracted from the Opensees overall structural model, and coordinate transformation is used to generate an overall web-based model that can represent the overall structural mechanical information, includes:
[0028] The Tcl file of the Opensees overall structural model is parsed by the model_Opensees_parse module to extract structural component composition information, geometric coordinate information and cross-sectional form information;
[0029] Convert the geometric coordinate information by using the geomTransfer function to convert the local coordinate system of the Opensees overall structural model into the global coordinate system;
[0030] The cross-sectional information includes dispBeamColumn cross-sectional information and Fiber_Section cross-sectional information.
[0031] According to the cross-sectional information of the dispBeamColumn form, the dispBeamColumn form is converted into a columnar rectangular structure with 8 nodes;
[0032] According to the cross-sectional information in the Fiber_Section format, each fiber cross-sectional area in the Fiber_Section format is expanded to eight-node information;
[0033] An overall web page model that can characterize the overall structural mechanics information is generated based on the structural component composition information, the converted geometric coordinate information and the expanded cross-sectional form information.
[0034] Furthermore, the method described above, wherein the webpage visualization environment is built, the webpage grid model, the local webpage model, and the overall webpage model are imported, and a model interaction function module is constructed to realize model visualization, includes:
[0035] Build a web-based visualization environment based on the Three.js framework;
[0036] Importing the web page grid model directly into the web page visualization environment through Gltfloader to achieve visualization of the web page grid model;
[0037] The Indicies function is used to compile component index numbers for the local web model and the overall web model respectively, and the local web model and the overall web model are imported into the web visualization environment and assigned material attributes through the SetAttribute function and the material function to realize visualization of the local web model and the overall web model;
[0038] Introducing the Controls function into the Three.js framework to implement model scaling, movement, and roaming functions;
[0039] By monitoring the changes of the Camera component, the perspective change is achieved, the Raycaster function is introduced to realize component selection, the Outlinepass function is used to realize component click highlighting, and the table function is written to realize the table display of component information when the component is clicked and highlighted, so as to realize the interactive visualization of the model.
[0040] On the other hand, the present application provides a web page model generation device for structural information, including a processor and a memory, wherein the processor is connected to the memory:
[0041] The processor is configured to call and execute the program stored in the memory;
[0042] The memory is used to store the program, and the program is at least used to execute any of the above-mentioned methods for generating a web page model oriented to structural information.
[0043] The beneficial effects of the present invention are:
[0044] The method in this application includes web-based model generation methods for geometric information, local structure, and overall structural mechanical information. This aims to establish a precise, comprehensive, and web-based mesh model visualization method system, laying the foundation for exploring the integration of structure, state, and form. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0046] Figure 1 This is a flowchart provided by an embodiment of a method for generating a web page model oriented to structural information of the present invention;
[0047] Figure 2 This is a redundant vertex diagram provided by an embodiment of a web page model generation method for structural information of the present invention;
[0048] Figure 3 This is a schematic diagram of hexahedral and tetrahedral unit expansion provided by an embodiment of a web-side model generation method for structural information of the present invention;
[0049] Figure 4 This is a schematic diagram of beam unit expansion provided by an embodiment of a web-side model generation method for structural information of the present invention;
[0050] Figure 5 This is a schematic diagram of shell element expansion provided by an embodiment of a web-side model generation method for structural information of the present invention;
[0051] Figure 6 This is a schematic diagram of component selection highlighting provided by an embodiment of a web page model generation method for structural information of the present invention;
[0052] Figure 7 This is a schematic diagram of displaying component selection table information provided by an embodiment of a web page model generation method for structural information of the present invention;
[0053] Figure 8 It is a structural diagram provided by an embodiment of a web page model generation device for structural information of the present invention. DETAILED DESCRIPTION
[0054] To make the objectives, technical solutions, and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other implementations obtained by those of ordinary skill in the art without inventive effort are within the scope of protection of the present invention.
[0055] Figure 1 This is a flowchart provided by an embodiment of a method for generating a web page model for structural information of the present invention. Figure 1 , this embodiment may include the following steps:
[0056] S1. Extracting BIM model geometric information and generating a web-based mesh model that can represent structural geometric information based on the BIM model geometric information;
[0057] S2. By extracting structural information from the Abaqus local structural model and using mesh expansion and integration, a local web-based model that can represent the local structural mechanical information is generated;
[0058] S3. By extracting the structural component composition information, geometric coordinate information and cross-sectional form information from the Opensees overall structural model, coordinate transformation is used to generate an overall web-based model that can represent the overall structural mechanical information;
[0059] S4. Build a web-side visualization environment, import the web-side grid model, the local web-side model and the overall web-side model description, construct the model interaction function module, and realize the visualization of the model.
[0060] It is understandable that although Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction for the execution of these steps, and these steps can be performed in other orders.
[0061] Preferably, step S1 includes:
[0062] Extract Revit model information through GltfContextExporter function;
[0063] Convert entities in Revit model information into Brep format, and store the converted Brep components in the form of triangular facets;
[0064] The model information is lightweight by deleting redundant vertices in Brep format components;
[0065] The Revit model coordinate system is converted to the web coordinate system through the Translation function, Zoom function, and Rotate function, thereby generating a web grid model that can represent the structural geometric information.
[0066] Preferably, the model information is lightweighted by deleting redundant vertices in the Brep format component, including:
[0067] Determine a target node and two nodes adjacent to the target node; wherein the two nodes adjacent to the target node are: a first adjacent node and a second adjacent node;
[0068] Determine a first vector of an edge formed by a target node and a first adjacent node;
[0069] Determine a second vector of an edge formed by the target node and the second adjacent node;
[0070] determining an angle between the first vector and the second vector;
[0071] If the angle is greater than the preset angle, the target node is a redundant vertex.
[0072] It can be understood that step S1 includes extracting Revit model information, lightweighting the model information, and converting the coordinates of the model information.
[0073] Extracting Revit model information involves writing a Revit model information storage module, GltfContextExporter, in C# based on Revit secondary development. This module primarily involves determining the Revit model's base coordinate system, traversing model instances (structural components), obtaining member information, and obtaining model geometry information, ultimately transforming the Revit model into a web-based mesh model file.
[0074] The GltfContextExporter function contains a series of custom sub-functions, such as OnViewBegin, OnElementBegin, OnMaterial, OnPolymesh, OnElementEnd, and OnViewEnd. These functions have clear divisions of labor: OnViewBegin initiates the information collection process, OnElementBegin prepares for member processing, OnMaterial handles material information processing, OnPolymesh parses polygon mesh data, OnElementEnd completes information verification, and OnViewEnd aggregates and integrates the information.
[0075] The specific method of lightweighting model information is to convert the entities in Revit into Brep format. The components converted into Brep format are stored in the form of triangular facets. The components in Brep format contain redundant vertices. The lightweighting of model information is achieved by deleting redundant vertices.
[0076] Redundant vertices include two types: overlapping vertices and irrelevant detail vertices, such as Figure 2 As shown, point E is a coincident node, and point F is an irrelevant detail vertex. Redundant vertices are deleted by traversing and comparing node information. Duplicate nodes and nodes with the same coordinates are redundant nodes. Redundant nodes are structural boundaries and nodes with large angles with adjacent nodes. By judging the vector of the edge formed between the vertex and the two surrounding points, The angle θ between the two vectors is:
[0077]
[0078] For θ greater than 175°, the vertices are considered redundant.
[0079] The Draco algorithm is used to further simplify the model.
[0080] Model information coordinate conversion specifically involves converting the model from the Revit coordinate system to the web page coordinate system. Key operations include translation, scaling, and rotation. Function modules Translation, Zoom, and Rotate are written to implement these operations.
[0081] Preferably, step S2 includes:
[0082] Extract the information of Inp file in Abaqus local structure model through modelParse module;
[0083] Based on the extracted information, beam elements and shell elements are determined in the mesh elements of the Abaqus local structural model;
[0084] Based on the cross-sectional information of beam and shell elements, the beam and shell elements are converted into cylindrical rectangular structures with 8 nodes, completing the mesh expansion of the Abaqus local structural model.
[0085] Based on the extracted information and the expanded mesh elements of the Abaqus local structural model, a local web-based model that can represent the local structural mechanics information is generated.
[0086] It is understandable that step S2 includes local structure information extraction and coordinate expansion
[0087] The local structure information extraction is specifically as follows:
[0088] Based on the Inp file in Abaqus, the information contained in the node data block, element data block, and local structure data block is extracted. The Python-based information acquisition module modelParse contains four core functions: parse_node_coordinates parses node numbers and coordinates from the Inp file, storing them in the dictionary format {node number:node coordinate}; parse_line_elements parses and stores beam element information in the dictionary format {beam element number:[node 1 number, node 2 number]}; parse_shell_elements extracts information from the Inp file and stores it in the format {shell element number:[node 1 coordinate, node 2 coordinate, node 3 coordinate, node 4 coordinate]}. The parse_nset function parses and stores set information in the structure in the array format [node 1 number, node 2 number, ...].
[0089] The modelParse module can be used to extract different Abaqus grid information.
[0090] The coordinate expansion is as follows:
[0091] The mesh elements in the Abaqus model mainly include hexahedral elements, tetrahedral elements, beam elements, and shell elements. This method will render beam elements, shell elements, hexahedral elements, and tetrahedral elements into three-dimensional web page solid graphics. Among them, hexahedral elements and tetrahedral elements have been rendered as three-dimensional solid graphics, so there is no need to perform further unit expansion rendering operations on their plates, such as Figure 3 As shown in the figure, the beam element itself only contains information about two nodes. During the element expansion process, an array function needs to be written to convert it into a columnar rectangular structure with 8 nodes based on the cross-section information, such as Figure 4 As shown in the figure, the shell element itself only contains information about four nodes. During the element expansion process, you need to write the array1 function to convert it into a cylindrical rectangular structure with 8 nodes based on the cross-section information, such as Figure 5 shown.
[0092] Preferably, step S3 includes:
[0093] The model_Opensees_parse module is used to parse the Tcl file of the Opensees overall structural model to extract the structural component composition information, geometric coordinate information and cross-sectional form information;
[0094] The geometric coordinate information is converted through the geomTransfer function to convert the local coordinate system of the Opensees overall structure model into the global coordinate system;
[0095] Section information includes dispBeamColumn and Fiber_Section.
[0096] According to the cross-sectional information of the dispBeamColumn form, the dispBeamColumn form is converted into a columnar rectangular structure with 8 nodes;
[0097] According to the cross-sectional information in the Fiber_Section format, each fiber cross-sectional area in the Fiber_Section format is expanded to eight-node information;
[0098] An overall web-based model that can represent the overall structural mechanics information is generated based on the structural component composition information, the converted geometric coordinate information and the expanded cross-sectional form information.
[0099] It can be understood that step S3 includes overall structural information extraction, node coordinate conversion and cross-section information conversion.
[0100] The overall structural information extraction is specifically as follows:
[0101] The model_Opensees_parse module, written in Python, parses Opensees Tcl files. It contains two core functions: parse_node_coordinates parses node numbers and coordinates from Tcl files and stores them in a dictionary format of {node number:node coordinate}. This facilitates the rapid extraction of large numbers of node coordinates from complex finite element models for subsequent analysis. The parse_elements function parses and stores component element information in a dictionary format of {component element number:[node 1 number, node 2 number]}, facilitating the understanding of component element connectivity.
[0102] The node coordinate transformation is as follows:
[0103] The coordinates of the Opensees model components are in the local coordinate system, and the model nodes on the web page are in the global coordinate system. The geomTransfer function is used to implement the coordinate conversion of the model nodes.
[0104] The specific conversion of cross-section information is as follows:
[0105] The Opensees model contains two cross-section types: dispBeamColumn and Fiber_Section. The dispBeamColumn type only contains information about two nodes. During element expansion, you need to write an array function to convert it into a cylindrical rectangular structure with eight nodes based on the cross-section information. The Fiber_Section type contains multiple fiber cross-sections, each of which contains only two nodes. This type needs to be expanded to eight nodes.
[0106] Preferably, step S4 includes:
[0107] Build a web-based visualization environment based on the Three.js framework;
[0108] Import the web page grid model directly into the web page visualization environment through Gltfloader to realize the visualization of the web page grid model;
[0109] Use the Indicies function to write component index numbers for the local web model and the overall web model respectively, and use the SetAttribute function and material function to import the local web model and the overall web model into the web visualization environment and assign material attributes to achieve visualization of the local web model and the overall web model;
[0110] Introducing the Controls function into the Three.js framework to implement model scaling, movement, and roaming functions;
[0111] By monitoring the changes of the Camera component, the perspective change is achieved, the Raycaster function is introduced to realize component selection, the Outlinepass function is used to realize component click highlighting, and the table function is written to realize the table display of component information when the component is clicked and highlighted, so as to realize the interactive visualization of the model.
[0112] It can be understood that step S4 includes setting up a web-side visualization environment, loading a model for the web-side visualization environment, and visualizing interactive models on the web-side.
[0113] The specific construction of the web-side visualization environment is as follows:
[0114] Build a web-based visualization environment based on the Three.js framework. The web-based visualization environment consists of multiple modules, including the Camera module, Light module, Loader module, and Render module. Import the corresponding modules into the front-end web framework to build the visualization environment.
[0115] The model loading for the web-based visualization environment is as follows:
[0116] For the web-based mesh model generated from the Revit model in S1, Gltfloader can be used to directly import it into the visualization environment, enabling geometric visualization of the web-based model. For the web-based models generated from the finite element model in S2 and S3, the Indicies function is used to set the component index number. Then, the SetAttribute and material functions are used to import it into the visualization environment and assign material properties to achieve visualization of the web-based model.
[0117] The interactive visualization of the web-side model is as follows:
[0118] In the Three.js framework, the Controls function is introduced to implement model scaling, movement, and roaming functions. The perspective change is achieved by monitoring the changes of the Camera component. The Raycaster function is introduced to implement component selection. The Outlinepass function is used to achieve component click highlighting. Figure 6 As shown; write the table function to realize the display of component information in the table when the component is clicked and highlighted, as shown Figure 7 shown.
[0119] The present invention also provides a web page model generation device oriented to structural information, which is used to implement the above method embodiment. Figure 8 This is a structural diagram of an embodiment of a web page model generation device for structural information provided by the present invention. Figure 8As shown, the web page model generation device for structural information of this embodiment includes a processor 21 and a memory 22, and the processor 21 is connected to the memory 22. The processor 21 is used to call and execute the program stored in the memory 22; the memory 22 is used to store the program, and the program is used to execute at least the web page model generation method for structural information of the above embodiment.
[0120] The specific implementation scheme of the structural information-oriented web page model generation device provided in the embodiment of the present application can refer to the implementation scheme of the structural information-oriented web page model generation method in any of the above embodiments, and will not be repeated here.
[0121] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0122] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" is at least two.
[0123] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.
[0124] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0125] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0126] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
[0127] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0128] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0129] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A web page model generation method for structural information, characterized in that: include: Extracting BIM model geometric information, and generating a web-based grid model that can represent structural geometric information based on the BIM model geometric information; By extracting structural information from the Abaqus local structural model and using mesh expansion and integration, a local web-based model that can represent the local structural mechanics information is generated; By extracting the structural component composition information, geometric coordinate information and cross-sectional form information from the Opensees overall structural model, coordinate transformation is used to generate an overall web-based model that can represent the overall structural mechanical information; Build a web page visualization environment, import the web page grid model, the local web page model and the overall web page model, construct a model interaction function module, and realize model visualization.
2. The method according to claim 1, characterized in that The step of extracting BIM model geometric information and generating a web-side grid model capable of representing structural geometric information according to the BIM model geometric information includes: Extract Revit model information through GltfContextExporter function; Converting entities in the Revit model information into a Brep format, and storing the components converted into the Brep format in the form of triangular facets; Lightweighting of model information is achieved by deleting redundant vertices in the Brep format component; The Revit model coordinate system is converted into the web page coordinate system through the Translation function, the Zoom function and the Rotate function, thereby generating the web page grid model that can represent the structural geometric information.
3. The method according to claim 2, characterized in that The lightweighting of model information by deleting redundant vertices in the Brep format component includes: Determine a target node and two nodes adjacent to the target node; wherein the two nodes adjacent to the target node are: a first adjacent node and a second adjacent node; Determine a first vector of an edge formed by the target node and the first adjacent node; Determine a second vector of an edge formed by the target node and the second adjacent node; determining an angle between the first vector and the second vector; If the angle is greater than a preset angle, the target node is a redundant vertex.
4. The method according to claim 3, characterized in that The method extracts structural information from the Abaqus local structural model and uses mesh expansion and integration to generate a local web-based model that can represent local structural mechanical information, including: Extract the information of the Inp file in the Abaqus local structure model through the modelParse module; Determining beam elements and shell elements in mesh elements of the Abaqus local structural model based on the extracted information; According to the cross-sectional information of the beam element and the shell element, the beam element and the shell element are respectively converted into a columnar rectangular structure with 8 nodes, thereby completing the mesh expansion of the Abaqus local structural model; A local web page model capable of representing local structural mechanics information is generated based on the extracted information and the expanded grid cells of the Abaqus local structural model.
5. The method according to claim 4, characterized in that The method extracts structural component composition information, geometric coordinate information, and cross-sectional form information from the Opensees overall structural model, and uses coordinate transformation to generate an overall web-based model that can represent overall structural mechanical information, including: The Tcl file of the Opensees overall structural model is parsed by the model_Opensees_parse module to extract structural component composition information, geometric coordinate information and cross-sectional form information; Convert the geometric coordinate information by using the geomTransfer function to convert the local coordinate system of the Opensees overall structural model into the global coordinate system; The cross-sectional information includes dispBeamColumn cross-sectional information and Fiber_Section cross-sectional information. According to the cross-sectional information of the dispBeamColumn form, the dispBeamColumn form is converted into a columnar rectangular structure with 8 nodes; According to the cross-sectional information in the Fiber_Section format, each fiber cross-sectional area in the Fiber_Section format is expanded to eight-node information; An overall web page model that can characterize the overall structural mechanics information is generated based on the structural component composition information, the converted geometric coordinate information and the expanded cross-sectional form information.
6. The method according to claim 5, characterized in that The web page visualization environment is constructed, the web page grid model, the local web page model and the overall web page model are imported, a model interaction function module is constructed, and model visualization is realized, including: Build a web-based visualization environment based on the Three.js framework; Importing the web page grid model directly into the web page visualization environment through Gltfloader to achieve visualization of the web page grid model; The Indicies function is used to compile component index numbers for the local web model and the overall web model respectively, and the local web model and the overall web model are imported into the web visualization environment and assigned material attributes through the SetAttribute function and the material function to realize visualization of the local web model and the overall web model; Introducing the Controls function into the Three.js framework to implement model scaling, movement, and roaming functions; By monitoring the changes of the Camera component, the perspective change is achieved, the Raycaster function is introduced to realize component selection, the Outlinepass function is used to realize component click highlighting, and the table function is written to realize the table display of component information when the component is clicked and highlighted, so as to realize the interactive visualization of the model.
7. A web page model generation device for structural information, characterized in that: The device comprises a processor and a memory, wherein the processor is connected to the memory: The processor is configured to call and execute the program stored in the memory; The memory is used to store the program, and the program is at least used to execute the web page model generation method for structural information according to any one of claims 1 to 6.