CN111046472B - Method, device, computer equipment and storage medium for displaying model component information - Google Patents

Method, device, computer equipment and storage medium for displaying model component information Download PDF

Info

Publication number
CN111046472B
CN111046472B CN201911311577.3A CN201911311577A CN111046472B CN 111046472 B CN111046472 B CN 111046472B CN 201911311577 A CN201911311577 A CN 201911311577A CN 111046472 B CN111046472 B CN 111046472B
Authority
CN
China
Prior art keywords
component
model
component information
display
field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911311577.3A
Other languages
Chinese (zh)
Other versions
CN111046472A (en
Inventor
张开剑
王广斌
乔壮
马心将
张晓文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Architecture Design and Research Institute of Tongji University Group Co Ltd
Original Assignee
Architecture Design and Research Institute of Tongji University Group 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 Architecture Design and Research Institute of Tongji University Group Co Ltd filed Critical Architecture Design and Research Institute of Tongji University Group Co Ltd
Priority to CN201911311577.3A priority Critical patent/CN111046472B/en
Publication of CN111046472A publication Critical patent/CN111046472A/en
Application granted granted Critical
Publication of CN111046472B publication Critical patent/CN111046472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/08Construction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Geometry (AREA)
  • Computer Graphics (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present application relates to the field of computer technologies, and in particular, to a method and apparatus for displaying model member information, a computer device, and a storage medium. The method comprises the following steps: receiving a selection instruction of the displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component; obtaining the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software; selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component; and determining a corresponding display part according to the model type of the model component and the acquired component information, and displaying the component information of the model component through the display part. The method can solve the problem of component information loss of the model component.

Description

Method, device, computer equipment and storage medium for displaying model component information
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for displaying model member information, a computer device, and a storage medium.
Background
With building informatization model (Building Information Modeling, BIM) technology is to build a virtual three-dimensional building engineering model, and to provide a complete building engineering information base consistent with practical situations for the model by utilizing a digitizing technology.
However, in VR, AR or other applications combined with BIM developed based on the illusion Engine (UE 4), most of the emphasis is on the performance of materials, lighting effects, and the like, but the component information included in the BIM technology is not effectively utilized. For the UE4, there is a case where the component information is lost.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and storage medium for displaying model component information that can solve the problem of component information loss.
A display method of model member information, the method comprising:
receiving a selection instruction of the displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component;
obtaining the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software;
selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component;
and determining a corresponding display part according to the model type of the model component and the acquired component information, and displaying the component information of the model component through the display part.
In one embodiment, the construction method of the component information data table includes:
establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file;
creating a blank member information data table, and building an association relationship between the blank member information data table and the analysis template;
and acquiring a component information file of the model component, analyzing the component information file through an analysis template, and storing the component information obtained through analysis into a blank component information data table to obtain a component information data table.
In one embodiment, after obtaining the component information of the model component corresponding to the component identifier from the component information data table, the method further includes:
carrying out field identification on the component information to obtain a component information field;
judging whether the component information field is a null field or not;
when the component information field is a non-empty field, the component information of the model component is continued to be displayed by the display means.
In one embodiment, determining a corresponding display part according to a model category of a model member and acquired member information includes:
determining the number of display items of the display part according to the model type;
determining a display type of each display item in the display part based on a field type of each component information field in the component information;
displaying, by a display section, component information of a model component, comprising:
and displaying each component information field of the corresponding field type through the display item corresponding to each display type.
In one embodiment, the method further comprises:
obtaining model components output by model creation software, and performing model deletion and combination treatment on each model component based on preset display resolution requirements to obtain a treated model component;
and obtaining the processed model member and displaying the model member through a display interface.
A display device of model member information, the device comprising:
the selection instruction receiving module is used for receiving a selection instruction of the displayed model component through the display interface, wherein the selection instruction carries a component identifier of the model component;
the component information acquisition module is used for acquiring the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software;
the model type determining module is used for selecting a corresponding model component according to the selection instruction and determining the model type of the selected model component;
and the display component determining module is used for determining a corresponding display component according to the model type of the model component and the acquired component information and displaying the component information of the model component through the display component.
In one embodiment, the apparatus further includes:
the analysis module is used for carrying out field identification on the component information after the component information acquisition module acquires the component information of the model component corresponding to the component identifier from the component information data table to obtain a component information field;
and the field judging module is used for judging whether the component information field is a null field, and continuously displaying the component information of the model component through the display part determined by the display part determining module when the component information field is a non-null field.
In one embodiment, a display component determination module includes:
a display item number determination submodule for determining the display item number of the display part according to the model category;
a display type determination sub-module for determining a display type of each display item in the display section based on a field type of each component information field in the component information;
and the display sub-module is used for displaying each component information field of the corresponding field type through the display item corresponding to each display type.
A computer device comprising a memory storing a computer program and a processor implementing the steps of any of the methods when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the claims.
The method, the device, the computer equipment and the storage medium for displaying the model component information are characterized in that the selection instruction of the model component received by a display interface is obtained, the selection instruction carries the component identification of the model component, the component information of the model component corresponding to the component identification is obtained from a component information data table, the component information data table is generated according to a component information file output by model creation software, the corresponding model component is further selected according to the selection instruction, the model type of the selected model component is determined, the corresponding display part is determined according to the model type of the model component and the obtained component information, and the component information of the model component is displayed through the display part. Therefore, after the model component is displayed, the corresponding component information can be obtained according to the selection of the displayed model component, and then the displayed component information is displayed through the corresponding display part, so that the problem that the component information of the model component cannot be displayed due to the loss of the component information in the traditional method is solved.
Drawings
FIG. 1 is a flow chart of a method for displaying model component information in one embodiment;
FIG. 2 is a diagram showing the result of displaying the model component information in one embodiment;
FIG. 3 is a block diagram showing the structure of a display device of model component information in one embodiment;
fig. 4 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The display method of the model component information provided by the application can be operated in a server. The server acquires the model components output by the model creation software for display, receives a selection instruction of the displayed model components through the display interface, and the selection instruction carries component identifications of the model components. Then, the server may acquire the component information of the model component corresponding to the component identification from a component information data table generated from the component information file output by the model creation software. Further, the server selects the corresponding model component according to the selection instruction, determines the model type of the selected model component, further determines the corresponding display part, and displays the component information of the model component through the determined display part, so that the problem of component information loss of the model component is solved. In particular, the server may be implemented as a stand-alone server or as a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 1, a method for displaying information of a model member is provided, which may include the steps of:
step S102, receiving a selection instruction of the displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component.
The display interface refers to an interface for displaying data, and may include, but is not limited to, various display screens, presentation screens, and the like. Or the display interface may be an interface of model display software, for example, a display interface of a virtual Engine (UE 4) software designed for a developer and integrating functions such as game making, simulation, and visual analysis.
The model member refers to a model member created from model creation software and corresponding to a different professional field, for example, a model member corresponding to a building professional field or an electromechanical professional field, or the like. Or the model member may refer to each structural component constituting the overall model, for example, for a house model, the model member may include a roof member, a roof rail member, a wall member, a window member, a door member, a pole member, a lamp member, and the like constituting a house.
The model creation software is software for designing a model, and may be, for example, BIM design software such as Revit, navisworks, bentley Navigator, tekla Structures, arch CAD, etc., and the model designed and outputted by the model creation software may be a three-dimensional model.
The component identifier refers to a unique identifier for identifying each model component in the same model, and it will be understood by those skilled in the art that how many model components can be corresponding to how many component identifiers in the same model.
The selection instruction refers to an instruction generated when a model component displayed in the model display interface is subjected to a selection operation, and the selection instruction can carry a component identifier of the selected model component and also can include information such as a selection time, a selection position and the like.
Specifically, a user selects a model component displayed in a display interface of model display software through a mouse, when the server detects the click of the mouse, the coordinate position of the mouse on the display interface when the mouse clicks is obtained, and then the corresponding model component is determined according to the coordinate position, and the component identifier of the corresponding model component is determined.
Step S104, obtaining the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by the model creation software.
The component information refers to information of each model component, such as a component name of the model component, length, width and height information of the model component, and a professional field to which the model component belongs.
The component information file is a file for storing component information of a model component that is output by the model creation software after creating the three-dimensional model. Specifically, the component information file output by the model creation software may include files of different data formats, for example, comma Separated Values (CSV) format, separator separated values (delimiter separated values, DSV) format, tab Separated Values (TSV) format, and the like.
The component information data table refers to a table file in the model display software for storing component information of model components, the component information data table stores component information of all model components of the model displayed by the model display software in the display interface, and the component information in the component information data table can be obtained from the component information file output by the model creation software.
Specifically, the model component information stored in the component information data table corresponds to the model components one by one, and the server can search and acquire the corresponding component information from the component information data table according to the component identification of the model components.
Step S106, selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component.
The model class is a class for indicating different specialized fields of the model, and as described above, the model components include different model components in the electromechanical specialized field and the building specialized field, that is, the model class is a model component for indicating that the model component is in the electromechanical specialized field or the building specialized field.
Specifically, after selecting the corresponding model component, the server can determine whether the model component is a model in the electromechanical professional field or a model in the building professional field, or a model in other professional fields, and the like according to the model component.
Step S108, according to the model type of the model component and the acquired component information, a corresponding display part is determined, and the component information of the model component is displayed through the display part.
The display part refers to a part for displaying component information of a model component in a display interface of the model display software. The model members corresponding to different model categories may differ in display parts, and in particular, the differences in display parts refer to differences in the overall size, display position, displayable content, and the like of the display parts. The size of the display area of the component information may be different for different component information, for example, a larger display area is required if a component information content is large.
Specifically, the server may obtain the selected model member and the member information of the model member according to the received selection instruction, and further determine an appropriate display component according to the model type and the member information of the model member, so as to display the corresponding member information.
In the method for displaying model component information, the selection instruction of the model component received by the display interface is obtained, the selection instruction carries the component identifier of the model component, and component information of the model component corresponding to the component identifier is obtained from the component information data table, the component information data table is generated according to the component information file output by the model creation software, the corresponding model component is further selected according to the selection instruction, the model type of the selected model component is determined, the corresponding display component is determined according to the model type of the model component and the obtained component information, and the component information of the model component is displayed through the display component. Therefore, after the model component is displayed, the corresponding component information can be obtained according to the selection of the displayed model component, and then the displayed component information is displayed through the corresponding display part, so that the problem that the component information of the model component cannot be displayed due to the loss of the component information in the traditional method is solved.
As described above, in the model presentation software, the component information data table is generated from the component information file output from the model creation software.
In one embodiment, the construction manner of the component information data table may include: establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file; creating a blank member information data table, and building an association relationship between the blank member information data table and the analysis template; and acquiring a component information file of the model component, analyzing the component information file through an analysis template, and storing the component information obtained through analysis into a blank component information data table to obtain a component information data table.
The analysis template is used for analyzing the component information file and extracting the component information in the component information file. Specifically, the parsing templates may be structures (structures) created in the model exhibition software, and the parsing templates may be different for component information files of different data formats, for example, for CSV format files, DSV format files, TSV format files, and the like, and the corresponding parsing templates thereof are different.
The blank component information data table refers to a newly built component information data table, the table structure of the blank component information data table is consistent with the table structure of the component information data table for finally storing component information, and the table data content is empty.
Specifically, when the server creates the blank member information data table, a corresponding analysis template can be determined according to the file format of the analyzed member information file, and the analysis template is associated to the created blank member information data table, so as to obtain the association relationship between the analysis template and the blank member information data table.
Further, when analyzing the component information file, the server analyzes and reads the component information of the component information file through an analysis template associated with the blank component information data table, and then stores the acquired component information into the blank component information data table according to the storage requirement of the blank component information data table so as to obtain the component information data table.
In the above embodiment, the component information data table is obtained by establishing the analysis template for analyzing the component information file, analyzing the component information file of the obtained model component, and storing the component information obtained by analysis into the blank component information data table, so that the component information in the model creation software can be stored into the model display software, and the problem of component information loss is solved.
In one embodiment, after the server obtains the component information of the model component corresponding to the component identifier from the component information data table, the method may further include: carrying out field identification on the component information to obtain a component information field; judging whether the component information field is a null field or not; when the component information field is a non-empty field, the component information of the model component is continued to be displayed by the display means.
The component information field refers to fields of different information contents in component information, such as a component name, a component size, a component identification (component ID), power, and elevation. The null field refers to a field containing no information content.
Specifically, after the server obtains the component information of the model component corresponding to the component identifier from the component information data table according to the component identifier, the field identification may be performed on the obtained component information, or the field matching may also be performed through the field identification template, so as to obtain the component information field in the component information. For example, by field recognition of the component information, a component name of "basic rooftop", a component ID of "243274", a component size of "1111×222", and the like are obtained.
Further, after the server performs the field identification, the obtained component information field does not necessarily include the field content, for example, in the previous example, for the model component with the component name of "basic roof", the field corresponding to the power may be an empty field, or when the component information field is identified, due to the identification error or other reasons, the component information field is not identified, and the corresponding field may also be an empty field. Thus, the server can determine whether or not each of the identified component information fields is a null field, and display a non-null field through the display means. Specifically, the display effect of the component information may be shown with reference to reference numeral 202 in fig. 2.
In the above embodiment, the field identification is performed on the component information, and whether the obtained component information field is the empty field is judged and then displayed, so that the display accuracy of the component information can be improved, and the display effect can be improved.
In one embodiment, determining the corresponding display component according to the model class of the model component and the acquired component information may include: determining the number of display items of the display part according to the model type; based on the field type of each component information field in the component information, the display type of each display item in the display section is determined.
As previously mentioned, models are of different classes and the areas of expertise to which the models belong are different. For model components in different professional fields, the number of component information fields of the component information can be different, and the number of display items corresponding to the display of each component information field can be different. For example, for a model component in the field of electromechanics, the component information field in the component information may be 5, the number of display items of the required display part is 5, while for a model component in the field of construction science, the component information field in the component information may be 6, the number of display items of the required display part is 6.
The field type is a type indicating a field format of the component information field, for example, a picture type field or a text type field, or the like. The display type refers to a type corresponding to each display item in the display unit, for example, a text type display item or a picture type display item.
Displaying the component information of the model component by the display means may include: and displaying each component information field of the corresponding field type through the display item corresponding to each display type.
Specifically, after determining the corresponding display component according to the model type of the model component and the component information, the server may display the component information field of the corresponding field type according to the display type of each display item in the display component, for example, display the text field through the display item of the text type, display the picture field through the display item of the picture type, and so on.
In the above embodiment, the number of display items of the display unit is determined by the model type, and the display type of each display item in the display unit is determined based on the field type, so that the corresponding component information field can be displayed by the display item of the corresponding display type, avoiding that the display unit does not support display, and further improving the accuracy of component information display.
In one embodiment, the method may further include: obtaining model components output by model creation software, and performing model deletion and combination treatment on each model component based on preset display resolution requirements to obtain a treated model component; and obtaining the processed model member and displaying the model member through a display interface.
The display resolution requirement refers to a resolution requirement required when model display software performs model display, for example, when the model display is performed through the UE4, the model display is free of requirements such as saw teeth, smooth lines and the like.
Specifically, after the model creation software creates a model and outputs a corresponding model component, a corresponding display rendering effect, such as a lighting effect, a material effect, and the like, needs to be added. For the whole model, after adding the corresponding special effects, the data volume of the model becomes very huge, and especially for a large model, the model display software can be extremely blocked when the model is displayed, even can not be loaded, and the like.
Thus, after the model creation software generates and outputs the corresponding model component, the server may perform preprocessing operations on the output model component, such as pruning or merging points, lines, planes, etc. in the model component according to the presentation resolution requirement, so as to reduce the data amount of the model component.
For example, in one specific embodiment, the server may output the model created by the model creation software Revit as an FBX model file based on the user instruction, then read the FBX model file through 3Dmax and perform the pruning process and the merging process of the model, and then output the processed FBX model file for further presentation through the UE 4.
In the above embodiment, based on the preset display resolution requirement, the model component output by the model creation software is pruned and processed, so that the data volume of the processed model component is reduced on the basis of meeting the display requirement, and when the model component is displayed, the loading rate can be increased, the display katon problem is solved, and the model display is smoother.
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. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 3, there is provided a display device of model member information, including: a selection instruction receiving module 100, a component information acquiring module 200, a model category determining module 300, and a display part determining module 400, wherein:
the selection instruction receiving module 100 is configured to receive a selection instruction for the displayed model component through the display interface, where the selection instruction carries a component identifier of the model component.
The component information obtaining module 200 is configured to obtain component information of a model component corresponding to the component identifier from a component information data table, where the component information data table is generated according to a component information file output by the model creation software.
The model category determining module 300 is configured to select a corresponding model component according to the selection instruction, and determine a model category of the selected model component.
The display component determining module 400 is configured to determine a corresponding display component according to the model type of the model component and the acquired component information, and display the component information of the model component through the display component.
In one embodiment, the apparatus may further include:
the analysis module is configured to perform field identification on the component information after the component information obtaining module 200 obtains the component information of the model component corresponding to the component identifier from the component information data table, so as to obtain a component information field.
And the field judging module is used for judging whether the component information field is a null field, and continuously displaying the component information of the model component through the display part determined by the display part determining module when the component information field is a non-null field.
In one embodiment, the display component determination module 400 may include:
and the display item number determining submodule is used for determining the display item number of the display part according to the model category.
And the display type determining sub-module is used for determining the display type of each display item in the display part based on the field type of each component information field in the component information.
And the display sub-module is used for displaying each component information field of the corresponding field type through the display item corresponding to each display type.
In one embodiment, the apparatus may further include:
the analysis template establishing module is used for establishing an analysis template for analyzing the component information file, wherein the component information file stores component information.
The association relation establishing module is used for establishing a blank member information data table and establishing an association relation between the blank member information data table and the analysis template.
The component information data table generating module is used for acquiring the component information file of the model component, analyzing the component information file through the analysis template, and storing the analyzed component information into the blank component information data table to obtain the component information data table.
In one embodiment, the apparatus may further include:
the model component processing module is used for obtaining model components output by the model creation software, and performing model deletion and combination processing on each model component based on preset display resolution requirements to obtain processed model components.
And the model display module is used for acquiring the processed model component and displaying the processed model component through a display interface.
For specific limitations on the display means of the model member information, reference may be made to the above limitations on the display method of the model member information, and no further description is given here. The respective modules in the display device of the above-described model member information may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data such as component information, component information files, model components and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of displaying model component information.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 4 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of: receiving a selection instruction of the displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component; obtaining the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software; selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component; and determining a corresponding display part according to the model type of the model component and the acquired component information, and displaying the component information of the model component through the display part.
In one embodiment, the implementation of the construction of the component information data table when the processor executes the computer program may include the steps of: establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file; creating a blank member information data table, and building an association relationship between the blank member information data table and the analysis template; and acquiring a component information file of the model component, analyzing the component information file through an analysis template, and storing the component information obtained through analysis into a blank component information data table to obtain a component information data table.
In one embodiment, after the processor executes the computer program to obtain the component information of the model component corresponding to the component identifier from the component information data table, the following steps may be further implemented: carrying out field identification on the component information to obtain a component information field; judging whether the component information field is a null field or not; when the component information field is a non-empty field, the component information of the model component is continued to be displayed by the display means.
In one embodiment, the determining, by the processor, a corresponding display component according to the model class of the model component and the acquired component information when the processor executes the computer program may include: determining the number of display items of the display part according to the model type; based on the field type of each component information field in the component information, the display type of each display item in the display section is determined. The processor, when executing the computer program, may implement displaying the component information of the model component through the display part, and may include: and displaying each component information field of the corresponding field type through the display item corresponding to each display type.
In one embodiment, the processor when executing the computer program further performs the steps of: obtaining model components output by model creation software, and performing model deletion and combination treatment on each model component based on preset display resolution requirements to obtain a treated model component; and obtaining the processed model member and displaying the model member through a display interface.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: receiving a selection instruction of the displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component; obtaining the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software; selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component; and determining a corresponding display part according to the model type of the model component and the acquired component information, and displaying the component information of the model component through the display part.
In one embodiment, the construction of the component information data table when the computer program is executed by the processor may comprise the steps of: establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file; creating a blank member information data table, and building an association relationship between the blank member information data table and the analysis template; and acquiring a component information file of the model component, analyzing the component information file through an analysis template, and storing the component information obtained through analysis into a blank component information data table to obtain a component information data table.
In one embodiment, the computer program when executed by the processor may further implement the following steps after obtaining the component information of the model component corresponding to the component identifier from the component information data table: carrying out field identification on the component information to obtain a component information field; judging whether the component information field is a null field or not; when the component information field is a non-empty field, the component information of the model component is continued to be displayed by the display means.
In one embodiment, the computer program, when executed by the processor, implements determining a corresponding display component according to a model class of a model component and the acquired component information, and may include: determining the number of display items of the display part according to the model type; based on the field type of each component information field in the component information, the display type of each display item in the display section is determined. The computer program, when executed by the processor, enables displaying the component information of the model component via the display means, may include: and displaying each component information field of the corresponding field type through the display item corresponding to each display type.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining model components output by model creation software, and performing model deletion and combination treatment on each model component based on preset display resolution requirements to obtain a treated model component; and obtaining the processed model member and displaying the model member through a display interface.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A display method of model component information, characterized by comprising:
receiving a selection instruction of a displayed model component through a display interface, wherein the selection instruction carries a component identifier of the model component;
obtaining component information of a model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software;
selecting a corresponding model component according to the selection instruction, and determining the model category of the selected model component;
determining a corresponding display part according to the model type of the model component and the acquired component information, and displaying the component information of the model component through the display part;
the construction mode of the component information data table comprises the following steps: establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file; creating a blank member information data table, and building an association relationship between the blank member information data table and the analysis template; and acquiring a component information file of the model component, analyzing the component information file through the analysis template, and storing the component information obtained by analysis into the blank component information data table to obtain the component information data table.
2. The method according to claim 1, wherein after obtaining the component information of the model component corresponding to the component identifier from the component information data table, the method further comprises:
performing field identification on the component information to obtain a component information field;
judging whether the component information field is a null field or not;
and when the component information field is a non-empty field, continuing to display the component information of the model component through the display part.
3. The method according to claim 2, wherein the determining the corresponding display part according to the model class of the model member and the acquired member information includes:
determining the number of display items of the display part according to the model category;
determining a display type of each display item in the display part based on a field type of each component information field in the component information;
the displaying of the component information of the model component by the display means includes:
and displaying each component information field of the corresponding field type through the display item corresponding to each display type.
4. The method as recited in claim 1, further comprising:
obtaining model components output by the model creation software, and performing model deletion and combination treatment on each model component based on a preset display resolution requirement to obtain a treated model component;
and acquiring the processed model component and displaying the model component through the display interface.
5. A display device of model member information, characterized in that the device comprises:
the selection instruction receiving module is used for receiving a selection instruction of the displayed model component through the display interface, wherein the selection instruction carries a component identifier of the model component;
the component information acquisition module is used for acquiring the component information of the model component corresponding to the component identifier from a component information data table, wherein the component information data table is generated according to a component information file output by model creation software;
the model category determining module is used for selecting a corresponding model component according to the selection instruction and determining the model category of the selected model component;
a display part determining module, configured to determine a corresponding display part according to a model type of the model member and the acquired member information, and display the member information of the model member through the display part;
the analysis template establishing module is used for establishing an analysis template for analyzing a component information file, wherein component information is stored in the component information file;
the association relation establishing module is used for establishing a blank member information data table and establishing an association relation between the blank member information data table and the analysis template;
and the component information data table generation module is used for acquiring a component information file of the model component, analyzing the component information file through the analysis template, and storing the analyzed component information into the blank component information data table to obtain the component information data table.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the analysis module is used for analyzing the component information after the component information acquisition module acquires the component information of the model component corresponding to the component identifier from the component information data table to obtain a component information field;
and the field judging module is used for judging whether the component information field is an empty field or not, and continuously displaying the component information of the model component through the display part determined by the display part determining module when the component information field is a non-empty field.
7. The apparatus of claim 6, wherein the display component determination module comprises:
a display item number determination submodule for determining the display item number of the display part according to the model category;
a display type determination submodule for determining a display type of each display item in the display part based on a field type of each component information field in the component information;
and the display sub-module is used for displaying each component information field of the corresponding field type through the display item corresponding to each display type.
8. The apparatus of claim 5, wherein the apparatus further comprises:
the model component processing module is used for obtaining model components output by the model creation software, and performing model deletion and combination processing on each model component based on a preset display resolution requirement to obtain a processed model component;
and the model display module is used for acquiring the processed model component and displaying the processed model component through the display interface.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN201911311577.3A 2019-12-18 2019-12-18 Method, device, computer equipment and storage medium for displaying model component information Active CN111046472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911311577.3A CN111046472B (en) 2019-12-18 2019-12-18 Method, device, computer equipment and storage medium for displaying model component information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911311577.3A CN111046472B (en) 2019-12-18 2019-12-18 Method, device, computer equipment and storage medium for displaying model component information

Publications (2)

Publication Number Publication Date
CN111046472A CN111046472A (en) 2020-04-21
CN111046472B true CN111046472B (en) 2023-10-10

Family

ID=70237159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911311577.3A Active CN111046472B (en) 2019-12-18 2019-12-18 Method, device, computer equipment and storage medium for displaying model component information

Country Status (1)

Country Link
CN (1) CN111046472B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131626B (en) * 2020-09-16 2023-03-24 中国工程物理研究院计算机应用研究所 CAD model geometric feature interaction method oriented to UnrealEngine
CN114677317A (en) * 2020-12-24 2022-06-28 广东博智林机器人有限公司 Component type selection method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257852A (en) * 2010-06-07 2011-12-22 Ricoh Co Ltd Parts information browsing program, parts information browsing device, parts information browsing system and parts information for browsing
CN105468793A (en) * 2016-01-20 2016-04-06 北京华如科技股份有限公司 Automated management method for simulation model data
CN107957867A (en) * 2017-10-30 2018-04-24 中国电力科学研究院有限公司 A kind of Electricity retail market model modelling approach and system
CN109800445A (en) * 2018-11-22 2019-05-24 深圳市建设工程交易服务中心 The processing method and system of the visualization auxiliary assessment of bids are realized based on BIM technology
CN110135070A (en) * 2019-05-16 2019-08-16 深圳天际云数字技术有限公司 A kind of method and device of BIM model creation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257852A (en) * 2010-06-07 2011-12-22 Ricoh Co Ltd Parts information browsing program, parts information browsing device, parts information browsing system and parts information for browsing
CN105468793A (en) * 2016-01-20 2016-04-06 北京华如科技股份有限公司 Automated management method for simulation model data
CN107957867A (en) * 2017-10-30 2018-04-24 中国电力科学研究院有限公司 A kind of Electricity retail market model modelling approach and system
CN109800445A (en) * 2018-11-22 2019-05-24 深圳市建设工程交易服务中心 The processing method and system of the visualization auxiliary assessment of bids are realized based on BIM technology
CN110135070A (en) * 2019-05-16 2019-08-16 深圳天际云数字技术有限公司 A kind of method and device of BIM model creation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟辉等.面向BIM模型二次开发数据提取与应用技术.《沈阳建筑大学学报(自然科学版)》.2019,(第03期), *

Also Published As

Publication number Publication date
CN111046472A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN110706345A (en) Railway BIM model lightweight method and system based on component instance combination
CN107944187B (en) Revit-based steel bar calculation method and device, terminal equipment and medium
CN107273104B (en) Processing method and device for configuration data structure
CN110335345B (en) Curtain wall node rendering method and device, computer equipment and storage medium
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN111046472B (en) Method, device, computer equipment and storage medium for displaying model component information
CN111694565A (en) Data visualization application development method and system
CN109683858B (en) Data processing method and device
CN111240669B (en) Interface generation method and device, electronic equipment and computer storage medium
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN111026670B (en) Test case generation method, test case generation device and storage medium
CN116821223B (en) Industrial visual control platform and method based on digital twinning
CN112835577A (en) Data processing method, data processing device, computer equipment and readable storage medium
CN117725767B (en) Automatic generation method, plug-in, system, terminal and medium for parameterized component model
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN114693611A (en) Rendering quality evaluation method, device, computer equipment and medium
CN108053459B (en) Signature file synthesis method, application server and computer readable storage medium
US20180365341A1 (en) Three-Dimensional Cad System Device, and Knowledge Management Method Used in Three-Dimensional Cad
CN111753349A (en) Dimension modification method of structural member, Revit platform and storage medium
CN111753763A (en) Method and device for identifying table content of construction drawing and computer equipment
CN111752958A (en) Intelligent associated label method, device, computer equipment and storage medium
CN115756692A (en) Method for automatically combining and displaying pages based on style attributes and related equipment thereof
CN111343502B (en) Video processing method, electronic device and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant