CN113886907A - Firewall parameter control method and device, computer equipment and storage medium - Google Patents

Firewall parameter control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113886907A
CN113886907A CN202110950499.2A CN202110950499A CN113886907A CN 113886907 A CN113886907 A CN 113886907A CN 202110950499 A CN202110950499 A CN 202110950499A CN 113886907 A CN113886907 A CN 113886907A
Authority
CN
China
Prior art keywords
firewall
model
dimensional
target
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110950499.2A
Other languages
Chinese (zh)
Inventor
蔡蒂
汪创
刘福来
王伟光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Guangzhou Power Supply Bureau of Guangdong Power Grid 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 Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Guangzhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202110950499.2A priority Critical patent/CN113886907A/en
Publication of CN113886907A publication Critical patent/CN113886907A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to a firewall parameter control method, a firewall parameter control device, computer equipment and a storage medium. The method comprises the following steps: and receiving a firewall model modification instruction, searching the target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameters of the target firewall component to obtain the modified target firewall model. By adopting the method, the existing target firewall model in the firewall model library can be called, and on the basis of the existing target firewall model, the size parameters of the target firewall component in the constructed target firewall model are modified through the Revit platform, so that a new target firewall model meeting engineering requirements can be quickly and conveniently obtained, the whole firewall model is prevented from being redrawn, and the design efficiency of a firewall drawing is improved.

Description

Firewall parameter control method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of engineering and construction technologies, and in particular, to a method and an apparatus for controlling parameters of a firewall, a computer device, and a storage medium.
Background
The fire wall is a building structure which is arranged on a plane and used for dividing a fire-proof section aiming at different positions inside and outside a transformer substation and a fire spreading path, and is a main fire-proof partition of a horizontal fire-proof partition. The firewall can reasonably divide the interior or the external space of the transformer substation into a plurality of fireproof areas while meeting the use requirement, and therefore casualties and fire loss are effectively reduced. Therefore, before engineering construction, a firewall drawing needs to be designed according to engineering requirements so as to reasonably construct the firewall.
The traditional firewall design adopts a two-dimensional design mode, such as AutoCAD and the like, and still stays at the stage of manual drawing and marking, once the design process is changed, the modification engineering quantity of the drawing is huge, and some errors can be caused. Therefore, the traditional firewall drawing design efficiency is low, and the labor cost is high.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method and an apparatus for controlling parameters of a firewall, a computer device, and a storage medium.
A method of controlling parameters of a firewall, the method comprising:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching the target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
In one embodiment, the receiving the firewall model modification instruction includes:
receiving the firewall model modification instruction based on a firewall component parameter modification interface;
the firewall component parameter modification interface comprises an input area for inputting firewall component parameters and a positioning control of a firewall model.
In one embodiment, the method further comprises:
acquiring parameters of each firewall component in a two-dimensional firewall drawing through the Revit platform, wherein the parameters of the firewall components comprise attribute information and position coordinates of the firewall components, and the attribute information comprises size parameters of the firewall components;
constructing a three-dimensional contour model of the firewall according to the position coordinates of each firewall component;
and associating the size parameters of each firewall component to the three-dimensional outline model to obtain the three-dimensional firewall model.
In one embodiment, the associating the size parameter of each firewall component into the three-dimensional contour model to obtain the three-dimensional firewall model includes:
and according to a preset association sequence, associating the size parameters of all firewall components to the three-dimensional outline model to obtain the three-dimensional firewall model.
In one embodiment, the method further comprises:
and storing the three-dimensional firewall models into the firewall model library in a classified manner according to the names of the firewalls in the two-dimensional firewall drawing and the types of the firewalls in the two-dimensional firewall drawing.
In one embodiment, the method further comprises:
receiving a firewall component name setting instruction based on a firewall component name setting interface, wherein the firewall component name setting instruction carries a target name of a firewall component in the three-dimensional firewall model;
and if the default name of each firewall component in the three-dimensional firewall model added by the family type is different from the target name, modifying the default name of each firewall component into the target name.
In one embodiment, the attribute information of the firewall component further comprises a quality parameter, a price parameter, an electrical parameter and a material parameter of the firewall component; the method further comprises the following steps:
correlating the quality parameters, price parameters, electrical parameters, and material parameters of each firewall component into the three-dimensional firewall model.
A parameter control apparatus of a firewall, the apparatus comprising:
the instruction receiving module is used for receiving a firewall model modification instruction, and the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
the model searching module is used for searching the target firewall model from a firewall model library according to the name of the target firewall model and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching the target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching the target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
According to the firewall parameter control method and device, the computer equipment and the storage medium, the computer equipment receives the firewall model modification instruction, searches the target firewall model from the firewall model library according to the name of the target firewall model, and modifies the target firewall model according to the size parameter of the target firewall component to obtain the modified target firewall model. By adopting the method, the existing target firewall model in the firewall model library can be called, and on the basis of the existing target firewall model, the size parameters of the target firewall component in the constructed target firewall model are modified through the Revit platform, so that a new target firewall model meeting engineering requirements can be quickly and conveniently obtained, the whole firewall model is prevented from being redrawn, and the design efficiency of a firewall drawing is improved.
Drawings
FIG. 1 is a diagram illustrating an internal structure of a computer device according to an embodiment;
FIG. 2 is a flowchart illustrating a method for controlling parameters of a firewall according to an embodiment;
FIG. 3 is a schematic flow chart illustrating a method for constructing a three-dimensional firewall model, according to one embodiment;
FIG. 4 is a flow diagram illustrating a method for modifying a destination name of a firewall component in accordance with another embodiment;
fig. 5 is a block diagram illustrating a parameter control apparatus of a firewall according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The firewall parameter control method provided by the application can be applied to the computer equipment shown in fig. 1. In this embodiment, the computer device may be equipped with a Revit platform, and the computer device constructs a three-dimensional firewall model based on the Revit platform, and modifies size parameters of firewall components in the three-dimensional firewall model to quickly obtain three-dimensional target firewall models of different sizes and different types. The Revit platform can be understood as Revit series software and is used for constructing a three-dimensional building information model. As shown in fig. 1, the computer apparatus includes a processor, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing a firewall model library. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling parameters of a firewall.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 2, a method for controlling parameters of a firewall is provided, which is described by taking the method as an example applied to the computer device in fig. 1, and includes the following steps:
s100, receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in the target firewall model and the name of the target firewall model.
Specifically, the computer device may receive a firewall model modification instruction input by a user through the Revit platform. The firewall model modification instruction may be a command input by a user through a mouse input method, a keyboard input method, a voice input method, a touch method, and the like, and the touch method may be a method for performing a touch operation based on a touch screen of a computer device. The firewall model modification instruction may also be understood as a firewall component modification instruction in the firewall model.
The firewall model modification instruction can carry different parameters of each firewall component in the firewall model and the name of the firewall model needing to be searched. The different parameters of the firewall member can be size parameters, material parameters, price parameters, quality parameters, structural parameters and the like of the firewall member, and the different parameters of the firewall member can be represented by numerical values or letters without limitation. In this embodiment, the firewall model modification instruction may carry a size parameter of the target firewall component in the target firewall model and a name of the target firewall model. The target firewall model can be a firewall model acquired according to engineering requirements.
S200, searching the target firewall model from the firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameters of the target firewall component to obtain the modified target firewall model.
The firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
Specifically, a plurality of different types of three-dimensional firewall models can be stored in the firewall model library, and the size of the three-dimensional firewall model in the firewall model library and the size of the target firewall model can be the same or different. The computer equipment can search the target firewall model from the firewall model library through the Revit platform according to the name of the target firewall model, and if the size of the three-dimensional firewall model in the firewall model library is determined to be different from the size of the target firewall model, the size parameter of the firewall component in the searched target firewall model can be modified according to the size parameter of the target firewall component required by engineering so as to obtain the three-dimensional firewall model required by engineering, namely the modified target firewall model.
It can be understood that the name of the three-dimensional firewall model in the firewall model library may include the name of the target firewall model, and the name of the three-dimensional firewall model may be the same as the name of the two-dimensional firewall model in the two-dimensional firewall drawing corresponding to the three-dimensional firewall model. The method comprises the steps of defining the type of a two-dimensional firewall model according to the trends, the setting positions and the like of the firewall, then defining the name of the two-dimensional firewall model according to the type of the two-dimensional firewall model, for example, defining the name of the two-dimensional firewall model as a longitudinal firewall or a transverse firewall according to the trend of the firewall, defining the name of the two-dimensional firewall model as an inner wall firewall, an outer wall firewall or an outdoor independent firewall according to the setting position of the firewall, and not limiting the definition mode.
In this embodiment, when the size of the firewall component in the target firewall model does not conform to the size of the firewall component in the target firewall model, the Revit platform may modify the size parameter of the firewall component; when the size of the firewall component in the target firewall model meets the size of the firewall component in the target firewall model, the Revit platform may not modify the size parameters of the firewall component.
When the three-dimensional firewall model is constructed, the Revit platform can load all firewall component parameters contained in each two-dimensional firewall drawing subjected to unified processing so as to construct the three-dimensional firewall model corresponding to each two-dimensional firewall drawing. The unification process may be understood as a process of converting parameters of the firewall components in different size ratios into parameters of the firewall components in the same size ratio, that is, converting parameters of the firewall components in different measurement units into parameters of the firewall components in the same measurement unit.
In the firewall parameter control method, the computer equipment can receive a firewall model modification instruction, then search a target firewall model from a firewall model library according to the name of the target firewall model, and modify the target firewall model according to the size parameters of a target firewall component to obtain a modified target firewall model; the method can call the existing target firewall model in the firewall model library, on the basis of the existing target firewall model, the Revit platform is used for modifying the size parameters of the target firewall component in the constructed target firewall model so as to quickly and conveniently obtain a new target firewall model meeting engineering requirements and avoid redrawing the whole firewall model, thereby improving the design efficiency of a firewall drawing, meanwhile, the process of modifying the target firewall model is executed through the Revit platform on computer equipment, the target firewall model does not need to be manually modified, the error rate of manually designed drawing can be avoided, and the labor cost is saved.
As an embodiment, the step of receiving the firewall model modification instruction in S100 may specifically include: receiving a firewall model modification instruction based on a firewall component parameter modification interface; the firewall component parameter modification interface comprises an input area for inputting firewall component parameters and a positioning control of the firewall model.
Specifically, the Revit platform on the computer device may receive a firewall component parameter modification interface opening instruction, respond to the firewall component parameter modification interface opening instruction, and then open the firewall component parameter modification interface. Based on the triggered firewall component parameter modification interface, a firewall model modification instruction can be input, so that the Revit platform receives the firewall model modification instruction.
The input area of the firewall component parameters in the firewall component parameter modification interface can input different parameters of the firewall component, such as size parameters, material parameters, price parameters, quality parameters, structure parameters and the like of the firewall component. The positioning control of the firewall model in the firewall component parameter modification interface may include a determination control that generates a modified target firewall model after the firewall component parameter modification is completed, a cancellation control corresponding to the firewall component parameter modification, a storage control after the firewall component parameter modification is completed, and the like.
The firewall parameter control method can receive a firewall model modification instruction based on a firewall component parameter modification interface, further respond to the firewall model modification instruction, modify the firewall component parameter of the searched target firewall model, quickly and conveniently obtain a new target firewall model meeting engineering requirements, and avoid redrawing the whole firewall model, thereby improving the design efficiency of a firewall drawing, meanwhile, the size parameter of the firewall component is modified by the method to obtain different types of modified target firewall models, the target firewall model is not required to be manually modified, the error rate of the manual design drawing can be avoided, the labor cost is saved, in addition, the method can obtain the new target firewall model meeting the engineering requirements only by modifying the parameter, the bottom technology of a Revit platform is not required to be learnt again, and the whole firewall model does not need to be redrawn, so that the code learning cost of a user can be reduced.
In some scenarios, in order to make some simple modifications on the existing three-dimensional firewall model and quickly obtain different types of modified target firewall models of engineering requirements, the present embodiment may pre-construct different types of three-dimensional firewall models, and therefore, as shown in fig. 3, the method for controlling parameters of a firewall before S100 may further include the following steps:
s300, obtaining parameters of each firewall component in the two-dimensional firewall drawing through a Revit platform, wherein the parameters of the firewall components comprise attribute information and position coordinates of the firewall components, and the attribute information comprises size parameters of the firewall components.
Specifically, before the three-dimensional firewall model is constructed, a user may collect different types of two-dimensional firewall drawings, collect size parameters of each firewall component in the two-dimensional firewall drawings, names of firewall models in the two-dimensional firewall drawings, names of firewall components, and position coordinates of firewall components, store the collected information in a memory of the computer device, or store the collected information in a local file of the computer device, and the storage location is not limited.
The two-dimensional firewall drawing comprises firewall members, a plurality of firewall members and a plurality of information storage units, wherein model proportions in the two-dimensional firewall drawings of different types are possibly different, after size parameters of the firewall members are collected, the size parameters of the firewall members can be unified, so that three-dimensional firewall models of different types in the same proportion can be constructed, the size parameters of the firewall members, names of the firewall models in the two-dimensional firewall drawings, names of the firewall members and position coordinates of the firewall members after unified processing are stored, and the stored information can be stored in a form of a table or a text. The collected information storage form can be that the name of the firewall model corresponding to a two-dimensional firewall drawing corresponds to the size parameter, the name and the position coordinate of each firewall component in the two-dimensional firewall drawing, that is, the name of the firewall model corresponding to each two-dimensional firewall drawing is stored in association with the size parameter, the name and the position coordinate of each firewall component in the two-dimensional firewall drawing. The stored position coordinates of each firewall member may also be position coordinates after the unification processing.
When the three-dimensional firewall model is constructed, the computer equipment can upload the collected position coordinates of each firewall component in each two-dimensional firewall drawing to the Revit platform. The position coordinates of the firewall components can be uploaded once for one two-dimensional firewall drawing, and the position coordinates of the firewall components uploaded once can comprise the position coordinates of all the firewall components in the same two-dimensional firewall drawing. The number of collected two-dimensional firewall drawings may be equal to the number of uploads of location coordinates of the firewall component. The position coordinates of the firewall components may be two-dimensional position coordinates of each firewall component in a two-dimensional firewall drawing.
S400, building a three-dimensional outline model of the firewall according to the position coordinates of each firewall component.
Specifically, the Revit platform on the computer device can select an appropriate group template file according to the characteristics of the firewall in each two-dimensional firewall drawing, arrange a reference plane according to project requirements in a group editor, then start annotation, load the stored position coordinates of each firewall component, and automatically generate the three-dimensional contour model of the firewall corresponding to each two-dimensional firewall drawing by acquiring the position coordinates of all firewall components in each two-dimensional firewall drawing. The three-dimensional contour model can be understood as a three-dimensional model constructed by the position coordinate points of all firewall components in each two-dimensional firewall drawing, different position coordinate points can be connected by dotted lines, and each dotted line in the model can be called as a dimension line.
Meanwhile, the Revit platform can also add a transverse reference line and a longitudinal reference line to the position coordinate points of each firewall component in the three-dimensional contour model so as to conveniently and visually determine the specific position of the position coordinate points of each firewall component and further conveniently construct the three-dimensional firewall model.
And S500, associating the size parameters of all the firewall components to the three-dimensional outline model to obtain the three-dimensional firewall model.
It can be understood that the length of each dimension line in the three-dimensional contour model may not conform to the edge dimension of each firewall component in the actual two-dimensional firewall drawing, and therefore, the actual edge dimension of each firewall component in the two-dimensional firewall drawing needs to be further associated to the three-dimensional contour model to obtain the three-dimensional firewall model of the firewall in the two-dimensional firewall drawing. In this embodiment, the Revit platform on the computer device may associate the size parameter of each firewall component in each two-dimensional firewall drawing to the three-dimensional contour model corresponding to the firewall in each two-dimensional firewall drawing, and determine the distance between two adjacent position coordinate points in the three-dimensional contour model, thereby constructing the three-dimensional firewall model corresponding to the firewall in each two-dimensional firewall drawing. The three-dimensional firewall model is constructed in a three-dimensional drawing, and the three-dimensional drawing can be displayed through a Revit platform.
In S500, the step of associating the size parameter of each firewall component to the three-dimensional contour model to obtain the three-dimensional firewall model may specifically include: and according to a preset association sequence, associating the size parameters of each firewall component to the three-dimensional outline model to obtain the three-dimensional firewall model.
Specifically, the size parameters of each firewall component are associated into the three-dimensional contour model, specifically, the distance between two adjacent position coordinate points in the three-dimensional contour model may be associated, and the preset association sequence of the size parameters may be from top to bottom and from left to right, from bottom to top and from right to left, from top to bottom and from right to left, or from bottom to top and from left to right. In the present embodiment, however, the size parameters may be generally associated in order from top to bottom and from left to right.
In this embodiment, after the Revit platform generates the three-dimensional profile model, a user can click each dimension line in the three-dimensional profile model through a mouse, then click a right button of the mouse to pop out attribute information of the dimension line, continue to select an addition dimension parameter from the attribute information, then the Revit platform can pop out an addition dimension parameter interface, input the dimension parameter of each firewall component on the addition dimension parameter interface, click a confirmation control after inputting the dimension parameter, and the Revit platform can generate the three-dimensional firewall model corresponding to the three-dimensional profile model. In addition, the three-dimensional firewall model comprises a firewall component model, the firewall component model can be stored in a classified mode according to the type of the firewall component model on a family attribute panel by clicking the type, a parameter formula is input in a formula column, specific relation can be formed among different family parameters through the parameters, and meanwhile corresponding instance parameters which are not collected can be calculated according to requirements.
According to the embodiment, the size parameters of all firewall components are associated to the three-dimensional outline model according to the preset association sequence, and the corresponding three-dimensional firewall model in the two-dimensional firewall drawing can be obtained, so that the three-dimensional firewall model with the same proportion as the two-dimensional firewall drawing can be directly called when the engineering requirement is met, and the three-dimensional firewall model is not deformed.
Further, the attribute information of the firewall component further includes a quality parameter, a price parameter, an electrical parameter, and a material parameter of the firewall component, and therefore, the method for controlling the firewall parameter may further include: and associating the quality parameters, the price parameters, the electrical parameters and the material parameters of each firewall component into the three-dimensional firewall model.
Specifically, before the three-dimensional firewall model is constructed, the user may also collect quality parameters, price parameters, electrical parameters, and material parameters of each firewall component in different types of two-dimensional firewall drawings, and store the collected information in a memory of the computer device or a local file, where the storage location is not limited.
In this embodiment, the quality parameter, the price parameter, the electrical parameter, and the material parameter of each firewall component in each three-dimensional firewall model can be used as additional information of the three-dimensional firewall model, and after the three-dimensional firewall model is constructed, the additional information is associated with the three-dimensional firewall model. The result of this correlation may be understood as listing additional information for the three-dimensional firewall model in the form of a list in the three-dimensional firewall model to control the overall construction cost when engineering the three-dimensional firewall model. The specific listed positions may be set arbitrarily, and are not limited thereto, as long as the specific listed positions do not overlap with the three-dimensional firewall model. In addition, in the three-dimensional drawing, in addition to listing additional information of the three-dimensional firewall model, position coordinates of each firewall component can also be listed. The Revit platform can list the additional information of the three-dimensional firewall model in the three-dimensional drawing of the three-dimensional firewall model so as to control the whole construction cost when the three-dimensional firewall model is designed in engineering.
The embodiment associates the quality parameters, the price parameters, the electrical parameters and the material parameters of each firewall component with the three-dimensional firewall model, so that a user can visually know the structure, the quality, the construction cost and other conditions of the whole three-dimensional firewall model, the optimal three-dimensional firewall model is determined when the three-dimensional firewall model is designed in engineering, and the whole engineering construction cost can be controlled.
In addition, after the step of S500, the method for controlling a firewall parameter may further include: and storing the three-dimensional firewall models into a firewall model library in a classified manner according to the names of the firewalls in the two-dimensional firewall drawing and the types of the firewalls in the two-dimensional firewall drawing.
The three-dimensional firewall model can be stored in a firewall model library in a file form, the file name of each file can be defined as the name of a firewall, namely the type of the firewall, and the specific name format is not limited. Illustratively, the type of the firewall in the two-dimensional firewall drawing is an inner wall firewall or an outer wall firewall, the inner wall firewall may be divided into firewall 1 and firewall 2, and the firewall may also be divided into firewall 1 and firewall 2, where firewall 1 and firewall 2 may be referred to as the names of firewalls. If the specific three-dimensional firewall model is searched only according to the name of the firewall 1, two three-dimensional firewall models can be searched, and therefore the corresponding three-dimensional firewall model can be searched together according to the name of the firewall and the type of the firewall. If the name of the firewall is firewall 1 and the type of the firewall is an inner wall firewall, the three-dimensional firewall model searched according to the name of the firewall and the type of the firewall can be firewall 1 corresponding to the lower part of the inner wall firewall.
The name of preventing the hot wall in this embodiment according to the two-dimensional firewall drawing and the type of preventing the hot wall, with three-dimensional firewall model classification save to prevent the hot wall model storehouse, can be convenient for categorised present three-dimensional firewall model of looking for, obtain present three-dimensional firewall model fast, on the basis of present target firewall model, can accelerate the design efficiency who prevents the hot wall drawing.
According to the parameter control method of the firewall, the size parameters of the target firewall component in the constructed target firewall model can be further modified through the Revit platform on the basis of the existing target firewall model through the parameter component three-dimensional firewall model of each firewall component in the two-dimensional firewall drawing, so that a new target firewall model meeting engineering requirements can be quickly and conveniently obtained, and the design efficiency of the firewall drawing is improved.
As an embodiment, after the step of storing the three-dimensional firewall model into the firewall model library in a classified manner, as shown in fig. 4, the method for controlling parameters of the firewall may include:
s600, receiving a firewall component name setting instruction based on a firewall component name setting interface, wherein the firewall component name setting instruction carries a target name of a firewall component in the three-dimensional firewall model.
Specifically, the Revit platform on the computer device may receive the family type opening command, respond to the family type opening command, and then open the family type setting interface, that is, open the firewall component name setting interface. Based on the triggered firewall component name setting interface, the default names of the firewall components in the family types can be added, namely the default names of all the firewall components in the three-dimensional firewall model, and meanwhile, the Revit platform can receive a firewall component name setting instruction carrying the target names of the firewall components in the three-dimensional firewall model. The default name of the firewall component may be a name of a firewall component preset in a family type of the Revit platform, and the name may be represented by a numeric value, a letter, or other symbols.
S700, if the default name of each firewall component in the three-dimensional firewall model added through the family type is different from the target name, modifying the default name of each firewall component into the target name.
It can be understood that after adding the default name of the firewall component in the family type, the computer device can determine whether the default name of each firewall component in the three-dimensional firewall model added by the family type is the same as the target name of the firewall component in the three-dimensional firewall model, if so, the computer device can trigger the confirmation control to confirm that the name of the firewall component stored on the Revit platform is consistent with the actual name of the firewall component in the three-dimensional firewall model, if not, the computer device can continuously modify the current default name of the firewall component into the target name of the firewall component in the three-dimensional firewall model, and then trigger the confirmation control to find the specific firewall component in the three-dimensional firewall model for parameter modification when modifying the parameter of the firewall component in the existing three-dimensional firewall model next time, so as to avoid parameter dislocation modification, the parameter modification accuracy is improved. The target name of the firewall member in the three-dimensional firewall model can be understood as the actual name of the firewall member in the three-dimensional firewall model.
For example, if the default name of the firewall component in the family type is door 1 and the target name of the firewall component in the corresponding three-dimensional firewall model is outer door 1, in this case, the default name of the firewall component in the family type may be modified to "outer door 1", and the confirmation control may be triggered after the modification is completed.
The firewall parameter control method can modify the default name of each firewall component in the three-dimensional firewall model added by the family type into the actual name of the firewall component in the three-dimensional firewall model, so that when the parameter of a specific firewall component in the three-dimensional firewall model is modified, the firewall component needing to be modified can be quickly found, the firewall component parameter modification efficiency is improved, and the firewall drawing design efficiency is further improved; meanwhile, the firewall component needing to be modified can be accurately found, the accuracy of parameter modification is improved, and the correctness of firewall drawing design is improved.
In order to facilitate understanding of those skilled in the art, the method for controlling parameters of a firewall provided by the present application is described by taking an execution subject as a computer device as an example, and specifically, the method includes:
(1) the method comprises the steps of obtaining parameters of each firewall component in a two-dimensional firewall drawing through a Revit platform, wherein the parameters of the firewall components comprise attribute information and position coordinates of the firewall components, and the attribute information comprises size parameters of the firewall components.
(2) And constructing a three-dimensional contour model of the firewall according to the position coordinates of each firewall component.
(3) And according to a preset association sequence, associating the size parameters of each firewall component to the three-dimensional outline model to obtain the three-dimensional firewall model.
(4) The attribute information of the firewall component also comprises a quality parameter, a price parameter, an electrical parameter and a material parameter of the firewall component; and associating the quality parameters, the price parameters, the electrical parameters and the material parameters of each firewall component into the three-dimensional firewall model.
(5) And storing the three-dimensional firewall models into a firewall model library in a classified manner according to the names of the firewalls in the two-dimensional firewall drawing and the types of the firewalls in the two-dimensional firewall drawing.
(6) And receiving a firewall component name setting instruction based on the firewall component name setting interface, wherein the firewall component name setting instruction carries the target name of the firewall component in the three-dimensional firewall model.
(7) And if the default name of each firewall component in the three-dimensional firewall model added through the family type is different from the target name, modifying the default name of each firewall component into the target name.
(8) And receiving a firewall model modification instruction based on a firewall component parameter modification interface, wherein the firewall component parameter modification interface comprises an input area for inputting firewall component parameters and a positioning control of the firewall model, and the firewall model modification instruction carries the size parameter of a target firewall component in the target firewall model and the name of the target firewall model.
(9) Searching a target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
For the implementation processes of (1) to (9), reference may be specifically made to the description of the above embodiments, and the implementation principles and technical effects thereof are similar and will not be described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a parameter control apparatus of a firewall, including: an instruction receiving module 11 and a model searching module 12, wherein:
the instruction receiving module 11 is configured to receive a firewall model modification instruction, where the firewall model modification instruction carries a size parameter of a target firewall component in a target firewall model and a name of the target firewall model;
the model searching module 12 is used for searching the target firewall model from the firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain the modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the instruction receiving module 11 is specifically configured to receive a firewall model modification instruction based on a firewall component parameter modification interface;
the firewall component parameter modification interface comprises an input area for inputting firewall component parameters and a positioning control of the firewall model.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the parameter control apparatus of the firewall further includes: the system comprises a component parameter acquisition module, a contour model construction module and a first parameter association module, wherein:
the component parameter acquisition module is used for acquiring parameters of each firewall component in a two-dimensional firewall drawing through a Revit platform, wherein the parameters of the firewall components comprise attribute information and position coordinates of the firewall components, and the attribute information comprises size parameters of the firewall components;
the contour model building module is used for building a three-dimensional contour model of the firewall according to the position coordinates of each firewall component;
and the first parameter association module is used for associating the size parameters of all the firewall components to the three-dimensional outline model to obtain the three-dimensional firewall model.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the first parameter association module is specifically configured to associate the size parameters of each firewall component to the three-dimensional contour model according to a preset association sequence, so as to obtain the three-dimensional firewall model.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the parameter control apparatus of the firewall further includes a firewall model storage module, wherein:
and the firewall model storage module is used for storing the three-dimensional firewall models to a firewall model library in a classified manner according to the names of the firewalls in the two-dimensional firewall drawing and the types of the firewalls in the two-dimensional firewall drawing.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the parameter control apparatus of the firewall further includes: name setting instruction receiving module and component name modification module, wherein:
the firewall component name setting instruction receiving module is used for receiving a firewall component name setting instruction based on a firewall component name setting interface, and the firewall component name setting instruction carries a target name of a firewall component in the three-dimensional firewall model;
and the component name modification module is used for modifying the default name of each firewall component into the target name when the default name of each firewall component in the three-dimensional firewall model added by the family type is different from the target name.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the attribute information of the firewall component further includes a quality parameter, a price parameter, an electrical parameter, and a material parameter of the firewall component; the parameter control device of the firewall further comprises: a second parameter association module, wherein:
and the second parameter association module is used for associating the quality parameter, the price parameter, the electrical parameter and the material parameter of each firewall component into the three-dimensional firewall model.
The firewall parameter control apparatus provided in this embodiment may implement the method embodiments described above, and its implementation principle and technical effect are similar, which are not described herein again.
For the specific definition of the firewall parameter control device, reference may be made to the above definition of the firewall parameter control method, and details are not described here. The modules in the parameter control device of the firewall can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching a target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
In one embodiment, a storage medium is provided having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching a target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for controlling parameters of a firewall, the method comprising:
receiving a firewall model modification instruction, wherein the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
searching the target firewall model from a firewall model library according to the name of the target firewall model, and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
2. The method of claim 1, wherein receiving a firewall model modification instruction comprises:
receiving the firewall model modification instruction based on a firewall component parameter modification interface;
the firewall component parameter modification interface comprises an input area for inputting firewall component parameters and a positioning control of a firewall model.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
acquiring parameters of each firewall component in a two-dimensional firewall drawing through the Revit platform, wherein the parameters of the firewall components comprise attribute information and position coordinates of the firewall components, and the attribute information comprises size parameters of the firewall components;
constructing a three-dimensional contour model of the firewall according to the position coordinates of each firewall component;
and associating the size parameters of each firewall component to the three-dimensional outline model to obtain the three-dimensional firewall model.
4. The method of claim 3, wherein said associating a dimensional parameter of each firewall component into the three-dimensional profile model, obtaining the three-dimensional firewall model, comprises:
and according to a preset association sequence, associating the size parameters of all firewall components to the three-dimensional outline model to obtain the three-dimensional firewall model.
5. The method of claim 3, further comprising:
and storing the three-dimensional firewall models into the firewall model library in a classified manner according to the names of the firewalls in the two-dimensional firewall drawing and the types of the firewalls in the two-dimensional firewall drawing.
6. The method of claim 5, further comprising:
receiving a firewall component name setting instruction based on a firewall component name setting interface, wherein the firewall component name setting instruction carries a target name of a firewall component in the three-dimensional firewall model;
and if the default name of each firewall component in the three-dimensional firewall model added by the family type is different from the target name, modifying the default name of each firewall component into the target name.
7. The method of claim 3, wherein the attribute information of the firewall member further includes a quality parameter, a price parameter, an electrical parameter, and a material parameter of the firewall member; the method further comprises the following steps:
correlating the quality parameters, price parameters, electrical parameters, and material parameters of each firewall component into the three-dimensional firewall model.
8. A firewall parameter control apparatus, comprising:
the instruction receiving module is used for receiving a firewall model modification instruction, and the firewall model modification instruction carries the size parameter of a target firewall component in a target firewall model and the name of the target firewall model;
the model searching module is used for searching the target firewall model from a firewall model library according to the name of the target firewall model and modifying the target firewall model according to the size parameter of the target firewall component to obtain a modified target firewall model;
the firewall model library comprises a plurality of three-dimensional firewall models, and the three-dimensional firewall models are firewall models constructed based on a Revit platform according to parameters of firewall components in a two-dimensional firewall drawing.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method according to any one of claims 1 to 7.
CN202110950499.2A 2021-08-18 2021-08-18 Firewall parameter control method and device, computer equipment and storage medium Pending CN113886907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110950499.2A CN113886907A (en) 2021-08-18 2021-08-18 Firewall parameter control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110950499.2A CN113886907A (en) 2021-08-18 2021-08-18 Firewall parameter control method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113886907A true CN113886907A (en) 2022-01-04

Family

ID=79010722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110950499.2A Pending CN113886907A (en) 2021-08-18 2021-08-18 Firewall parameter control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113886907A (en)

Similar Documents

Publication Publication Date Title
CN109697500B (en) Data processing method and device, electronic equipment and storage medium
JP6493506B1 (en) INDUSTRIAL CONTROL SYSTEM, ITS SUPPORT DEVICE, CONTROL SUPPORT METHOD AND PROGRAM
CN111539060B (en) BIM-based building masonry construction method, device, equipment and medium
US9984179B2 (en) Providing building information modeling data
KR20160055717A (en) Integrated analysis system and integrated analysis method for interpretting environmental performance·energy of apartment
US9658834B2 (en) Program visualization device, program visualization method, and program visualization program
JP6523188B2 (en) Work procedure generation support device, work procedure generation support method, and program
KR20170042464A (en) A batch processing system for properties of the Building Information Modeling library
CN112567476A (en) Device for representing and utilizing the overall layout of a nuclear power plant
CN113886907A (en) Firewall parameter control method and device, computer equipment and storage medium
JP7441366B1 (en) Information processing device, information processing method, and computer program
CN112365944A (en) Tree-shaped data node processing system, method, electronic equipment and storage medium
CN112182886A (en) Engineering model generation method and device, computer equipment and storage medium
Mitterhofer et al. Semantics for assembling modular components in a scalable building performance simulation
CN113158281A (en) Pipeline arrangement model generation method and device, computer equipment and storage medium
CN113642090B (en) Building layout generation method and device, computer equipment and storage medium
US11847310B2 (en) System and method for auto binding graphics to components in a building management system
CN114840251A (en) Script processing method, terminal, storage medium and program product
CN110795811B (en) MEP pipeline adjusting method and device, computer equipment and storage medium
CN110648400B (en) Space quantization method of model, mapping relation establishment method, device and equipment
CN111190574B (en) Method, device, equipment and storage medium for selecting options of multi-stage linkage assembly
CN107105052A (en) Heuristic web service composition method based on figure planning
US20190163166A1 (en) Information processing device
US20060291718A1 (en) Method for generating grid using computer
WO2015000126A1 (en) Enriching building information modeling data

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