Automatic drawing method and electronic device for construction drawing of high-pile wharf components

By creating a high-pile wharf hydraulic structure component model resource library and a component construction drawing model library on the Revit platform, developing a parameterized driver program for component construction drawings, and using the BIM model to automatically obtain component design parameters, realizing the creation of high-pile wharf component construction drawings. Automatic drawing solves the problem of poor efficiency and accuracy in drawing construction drawings in the existing technology, and realizes efficient and accurate drawing of construction drawings.

CN118940388BActive Publication Date: 2025-01-21CCCC SECOND HARBOR CONSULTANTS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411422584.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-21
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

The prior art cannot realize automatic data sharing in the drawing of high pile wharf components, resulting in poor drawing efficiency and accuracy.

Method used

By creating high -pile terminal aquatic structural component model resource libraries and component construction graph model libraries on the Revit platform, the development of component construction graph parameterization drivers, and the BIM model automatically obtains component design parameters to realize the automatic drawing of the component construction diagram.

Benefits of technology

The efficient and accurate drawing of the construction diagram of the high pile terminal structure component, improved design efficiency and quality, and solved the problem of automatic sharing of construction data drawing data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940388B_ABST
    Figure CN118940388B_ABST
Patent Text Reader

Abstract

The present invention relates to an automatic drawing method and electronic device for high-pile wharf component construction drawings, belonging to the field of high-pile wharf BIM technology, wherein the automatic drawing method for high-pile wharf component construction drawings comprises: creating a component construction drawing model library of high-pile wharf structure based on a pre-established high-pile wharf hydraulic component model resource library on a Revit platform; secondary development of a parametric driver of a single component construction drawing model in the component construction drawing model library based on Revit; obtaining design parameters of a target component based on a pre-established high-pile wharf BIM model; calling the component construction drawing model and parametric driver of the target component, and completing the drawing of the target component construction drawing through parameter drive and design parameters. The present invention effectively solves the problem that the prior art cannot realize automatic sharing of construction drawing drawing data, resulting in poor efficiency and accuracy in construction drawing drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of high-pile wharf BIM, and in particular to an automatic drawing method and electronic equipment for high-pile wharf component construction drawings. Background Art

[0002] As the market places higher and higher technical demands on the development of water transport engineering, design units need to provide high-quality technical services and design products in a short period of time. As an important port facility, the quality and efficiency of the construction drawing design of the high-pile wharf are crucial to the entire project. Traditional construction drawing methods have problems such as low efficiency and inaccurate information transmission. BIM technology has the advantages of visualization, parameterization, plotting, and coordination, and has been widely used in the field of water transport engineering. Using BIM technology to realize the automatic sharing of construction drawing data of high-pile wharf components and improve the efficiency and accuracy of construction drawing are issues that need to be solved in the digital design of water transport engineering.

[0003] At present, BIM technology has been used to a certain extent in the design of high-pile wharves. When using BIM technology to draw construction drawings of high-pile wharf components, it is usually necessary to first create a BIM model of the high-pile wharf, manually extract the component model, and then perform three-dimensional steel bar layout in the model to complete the three-dimensional reinforcement model of the component. After that, the construction drawing of the component is completed through a series of operations such as creating views and completing annotations.

[0004] CN2012102130054.4 discloses a method for automatically generating drawings of reinforcement of three-dimensional concrete structures, which imports a configured three-dimensional reinforcement model into the model, and improves the accuracy and efficiency of making three-dimensional concrete structure reinforcement drawings by defining drawing information, renumbering steel bars, defining drawings, counting materials, drawing annotations, optimizing annotations, and typesetting drawings. Although this method can use the BIM model to quickly produce drawings, it still needs to repeat the above operations for the production of components of the same type and different sizes, and the model resources cannot be reused, and the design efficiency is relatively low. CN201811138398.6 discloses a method, device and storage medium for automatically generating a detailed drawing of a BIM three-dimensional model, which includes importing a pre-designed BIM model drawing and automatically generating a dimension parameter statistical table, then importing user input information to generate a new dimension parameter statistical table, and generating a two-dimensional or three-dimensional detailed drawing of a three-dimensional model with annotated dimensions and a model data statistical table according to the BIM model and the new dimension parameter statistical table. Some designers also record the design parameters of components in the new project, and based on the existing 3D reinforcement model of the components, manually modify the geometric parameters and reinforcement parameters of the model one by one, and complete the target design drawings through parameter-driven methods. This method may cause errors in the design drawing information because the design parameters are not modified in time. Summary of the invention

[0005] In view of this, it is necessary to provide an automatic drawing method and electronic equipment for high-pile wharf component construction drawings to solve the problem of poor efficiency and accuracy of construction drawing drawing due to the inability to realize automatic sharing of construction drawing drawing data in the prior art.

[0006] In order to solve the above problems, the present invention provides a method for automatically drawing construction drawings of high-pile wharf components, comprising:

[0007] Create a component construction drawing model library of the high-pile wharf structure based on the pre-established high-pile wharf hydraulic component model resource library on the Revit platform;

[0008] Secondarily developing a parametric driver program for each component construction drawing model in the component construction drawing model library based on Revit;

[0009] Obtain the design parameters of the target components based on the pre-established high-pile wharf BIM model;

[0010] The component construction drawing model and the parametric driver of the target component are called, and the drawing of the target component construction drawing is completed through the parameter drive and the design parameters.

[0011] In a possible implementation, the process of constructing the high-pile wharf hydraulic structure component model resource library includes:

[0012] Determine typical structural components of the high-pile wharf according to the structural type and composition of the high-pile wharf, wherein the typical structural components of the high-pile wharf include: panels, surface layers, platform beams, longitudinal beams, track beams, front side beams, rear side beams, mooring beams, mooring components and pile foundations;

[0013] Determine the parameters of typical component objects of the high-pile wharf structure;

[0014] Select the family template file on the Revit platform. In the family template file, the beam components in the family template file use the structural frame family template, the pile foundation uses the structural column template, and the panel and surface layer use the metric conventional model template;

[0015] Creating family parameters, constructing geometric bodies, and setting family parameters for the family template files respectively to obtain a plurality of family files;

[0016] The plurality of family files are sorted to obtain the high-pile wharf hydraulic structure component model resource library.

[0017] In a possible implementation, creating a component construction drawing model library of a high-pile wharf structure based on a pre-established high-pile wharf hydraulic component model resource library on a Revit platform includes:

[0018] Step 1. Save the font file Revit.ttf to the preset storage path;

[0019] Step 2: Create a project file using the Revit structural template, and load the single family file into the project file;

[0020] Step 3, create and load the steel bar shape family file, and modify the steel bar type name HPB235 to $, HRB335 to %, HRB400 to &, and RRB400 to # in the project file;

[0021] Step 4: setting the thickness of the concrete protective layer in the high-pile wharf hydraulic component model;

[0022] Step 5: placing steel bars in the high-pile wharf hydraulic component model in sequence and specifying steel bar arrangement rules, constraint rules and detailed list marks, wherein top and bottom longitudinal bars, frame bars and structural bars are arranged according to quantity, and stirrups and tension bars are arranged according to spacing;

[0023] Step 6. Create the project parameter "RebarCode" to add coding parameters to the steel bar model, and assign different position codes to the top longitudinal bars, bottom longitudinal bars, frame bars, stirrups, tension bars, and structural bars to complete the creation of the 3D reinforcement model of the component.

[0024] Step 7: Create the component template and reinforcement drawing by creating the component elevation, plan, section, reinforcement detail drawing, and reinforcement material table, and load the drawing frame, set the view style, reinforcement annotation, dimension annotation, and text annotation on the template and reinforcement drawing to complete the component construction drawing model;

[0025] Step 8: Create component construction drawing models for all high-pile wharf hydraulic components according to steps 1 to 7 to form a component construction drawing model library.

[0026] In a possible implementation, the secondary development of the parametric driver of each component construction drawing model in the component construction drawing model library based on Revit includes:

[0027] Step 1: Use .NET technology to perform secondary development using Revit API. In the development program, define the component geometry parameters, cover thickness parameters, and the code, length, diameter, quantity, and spacing of each type of reinforcement in the component.

[0028] Step 2: Obtaining the initial values ​​of various parameters in the three-dimensional reinforcement model of the component by coding;

[0029] Step 3: when each parameter in the three-dimensional reinforcement model of the component changes, the three-dimensional reinforcement model of the component is parameter-driven;

[0030] Step 4: Use component geometry parameters, concrete cover thickness, and reinforcement parameters as driving parameters, develop an interface function that can be called by an external program, and compile and produce a dynamic link library dll file to complete the development of a parametric driver for the component construction drawing model;

[0031] Step 5: Develop the parametric driver programs of the construction drawing models of all high-pile wharf hydraulic components according to steps 1 to 4.

[0032] In a possible implementation, the design parameters of the component include at least one of the following information: the thickness of the concrete cover, the rule and level of the reinforcement, and the number and spacing of the reinforcements.

[0033] In a possible implementation, the obtaining of design parameters of a target component based on a pre-established high-pile wharf BIM model includes:

[0034] When the mouse selects any component in the high-pile wharf BIM model, the component information is identified, wherein the component information includes: at least one of the component family type name, family file name, code, and geometric information;

[0035] Based on the component information and the component reinforcement scheme designed after the high-pile wharf structure verification, the design parameters of the component are obtained.

[0036] In a possible implementation, calling the component construction drawing model and the parametric driver of the target component and completing the drawing of the target component construction drawing through the parameter drive and the design parameters includes:

[0037] According to the family file name in the component information, the parametric driver of the corresponding component construction drawing model is started, and the corresponding interface function and the corresponding component construction drawing model in the component construction drawing model library are called;

[0038] The component construction drawing model is driven by the interface function to instantly update the component three-dimensional accessory model and the target component construction drawing according to the design parameters, thereby completing the drawing of the target component construction drawing.

[0039] In a possible implementation, after the step of completing the drawing of the construction drawing of the target component by parameter driving and the design parameters, the following steps are also included:

[0040] The construction drawing of the target component is exported as a DWG drawing.

[0041] In a possible implementation, exporting the construction drawing of the target component into a DWG drawing includes:

[0042] In the DWG export settings, set options such as line type, layer, fill pattern, mapping font, color, unit and coordinate system;

[0043] Execute the export DWG operation to export the DWG drawing.

[0044] The present invention also provides an electronic device, comprising:

[0045] Memory, used to store programs;

[0046] A processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the method for automatically drawing construction drawings of high-pile wharf components as described in any one of the above method items.

[0047] The beneficial effects of the present invention are as follows: the present invention provides a method for automatically drawing construction drawings of high-pile wharf components, by creating a high-pile wharf hydraulic structure component model resource library and a component construction drawing model library, and developing a component construction drawing parametric driver. This method of automatically acquiring high-pile wharf component design parameters through software development and passing them to the component construction drawing parametric driver, and quickly updating the corresponding component construction drawing model, realizes efficient and accurate drawing of high-pile wharf structural component construction drawings. The present invention realizes the automatic transmission and sharing of high-pile wharf BIM model information in construction drawing drawing, improves the drawing efficiency and quality of high-pile wharf component construction drawings, and thus effectively solves the problem of poor efficiency and accuracy of construction drawing drawing due to the inability to realize automatic sharing of construction drawing drawing data in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A method flow chart of an embodiment of a method for automatically drawing construction drawings of high-pile wharf components provided by the present invention;

[0049] Figure 2 A method flow chart of an embodiment of a process for constructing a high-pile wharf hydraulic structure component model resource library provided by the present invention;

[0050] Figure 3 for Figure 1 A method flow chart of step S101 in an embodiment;

[0051] Figure 4 A schematic diagram of the modified steel bar type name in the Revit project file provided by the present invention;

[0052] Figure 5 A schematic diagram of a property window for arranging longitudinal ribs of a component according to quantity provided by the present invention;

[0053] Figure 6 A schematic diagram of a property window for arranging component stirrups according to spacing provided by the present invention;

[0054] Figure 7 A schematic diagram of the structure of a three-dimensional reinforcement model of a component provided by the present invention;

[0055] Figure 8 A cross-sectional view of the three-dimensional reinforcement model of a component provided by the present invention;

[0056] Fig. 9 A steel bar material table diagram of a three-dimensional reinforcement model of a component provided by the present invention;

[0057] Fig.10 for Figure 1 A method flow chart of an embodiment of step S102;

[0058] Fig.11 for Figure 1 A method flow chart of an embodiment of step S103;

[0059] Fig.12 for Figure 1 A method flow chart of an embodiment of step S104;

[0060] Fig.13 A schematic structural diagram of an embodiment of a device provided by the present invention. DETAILED DESCRIPTION

[0061] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0062] In the description of the embodiments of the present invention, unless otherwise specified, "multiple" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone.

[0063] The descriptions of "first", "second", etc. involved in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the technical features defined as "first" and "second" may explicitly or implicitly include at least one of the features.

[0064] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0065] In order to solve the above problems, Figure 1 As shown, the present invention provides a method for automatically drawing a construction drawing of a high-pile wharf component, comprising:

[0066] S101. Create a component construction drawing model library of the high-pile wharf structure based on the pre-established high-pile wharf hydraulic component model resource library on the Revit platform;

[0067] S102. Develop a parametric driver for each component construction drawing model in the component construction drawing model library based on Revit secondary development;

[0068] S103, obtaining design parameters of target components based on a pre-established high-pile wharf BIM model;

[0069] In a possible implementation, the design parameters of the component include at least one of the following information: the thickness of the concrete cover, the rule and level of the reinforcement, and the number and spacing of the reinforcements.

[0070] Specifically, in step S103, the target component design parameters can be automatically obtained from the high-pile wharf BIM model through software development, and the component reinforcement parameters can be obtained based on internal force verification.

[0071] S104, calling the component construction drawing model and parametric driver of the target component, and completing the drawing of the target component construction drawing through parameter drive and design parameters.

[0072] Compared with the prior art, the present invention provides a method for automatically drawing construction drawings of high-pile wharf components, by creating a high-pile wharf hydraulic structure component model resource library and a component construction drawing model library, and developing a component construction drawing parametric driver. This method of automatically acquiring high-pile wharf component design parameters through software development and passing them to the component construction drawing parametric driver, and quickly updating the corresponding component construction drawing model, realizes efficient and accurate drawing of high-pile wharf structural component construction drawings. The present invention realizes the automatic transmission and sharing of high-pile wharf BIM model information in construction drawing drawing, improves the drawing efficiency and quality of high-pile wharf component construction drawings, thereby effectively solving the problem of poor efficiency and accuracy of construction drawing drawing due to the inability to realize automatic sharing of construction drawing drawing data in the prior art, and is also applicable to the digital design of high-pile wharfs.

[0073] like Figure 2 In a possible implementation, the construction process of the high-pile wharf hydraulic structure component model resource library includes:

[0074] S201. Determine typical structural components of the high-pile wharf according to the structural type and composition of the high-pile wharf;

[0075] Specifically, typical components of high-pile wharf structures include: panels, surface layers, platform beams, longitudinal beams, track beams, front side beams, rear side beams, mooring beams, mooring components and pile foundations;

[0076] S202, determining parameters of typical component objects of high-pile wharf structures;

[0077] It should be noted that, in this embodiment, the parameters of the typical component objects of the high-pile wharf structure can be determined according to the relevant requirements of the industry standard "Application Standard of Water Transport Engineering Design Information Model" (JTS / T 198-2).

[0078] S203. Select the family template file in the Revit platform;

[0079] Specifically, the beam components in the family template file use the structural frame family template, the pile foundation uses the structural column template, and the panel and surface layer use the metric conventional model template;

[0080] S204, creating family parameters, constructing geometric bodies, and setting family parameters for the family template files respectively to obtain a plurality of family files;

[0081] S205. Arrange a number of family files to obtain a model resource library of high-pile wharf hydraulic structure components.

[0082] like Figure 3 In a possible implementation, step S101 includes:

[0083] S301, storing the font file Revit.ttf to a preset storage path;

[0084] S302. Create a project file using the Revit structural template and load a single family file into the project file;

[0085] S303, create and load a reinforcement shape family file, and modify HPB235 in the reinforcement type name to $, HRB335 to %, HRB400 to &, and RRB400 to # in the project file;

[0086] Specifically, the project file after modifying the steel bar type name is as follows Figure 4 shown.

[0087] S304, setting the thickness of the concrete protective layer in the high-pile wharf hydraulic component model;

[0088] Specifically, the thickness of the protective layer may be set for the top surface, bottom surface, side surface and other surfaces of the component respectively.

[0089] S305. Place steel bars in sequence in the high-pile wharf hydraulic component model and specify steel bar reinforcement rules, constraint rules, and detailed list markings.

[0090] Specifically, Figure 5 As shown in the figure, the top and bottom longitudinal reinforcements, frame reinforcements, and structural reinforcements are arranged according to the quantity, such as Figure 6 As shown, stirrups and tie bars are arranged according to the spacing;

[0091] S306, adding coding parameters to the steel bar model by creating a project parameter "RebarCode", and assigning different position codes to the top longitudinal bars, bottom longitudinal bars, frame bars, stirrups, tension bars, structural bars, etc., to complete the creation of a three-dimensional reinforcement model of the component;

[0092] Specifically, the three-dimensional reinforcement model of the component is as follows: Figure 7 shown.

[0093] S307, creating a component elevation view, a plan view, a cross-section view, a steel bar detail view, and a steel bar material table, respectively creating a component template view and a reinforcement view, and loading a drawing frame, setting a view style, steel bar annotation, dimension annotation, and text annotation on the template view and the reinforcement view to complete the component construction drawing model;

[0094] Among them, the cross-section diagram of the three-dimensional reinforcement model of the component is as follows Figure 8 As shown in the figure, the steel bar material table of the component three-dimensional reinforcement model is as follows Fig. 9 shown.

[0095] S308. Create component construction drawing models for all high-pile wharf hydraulic components according to steps S301 to S307 to form a component construction drawing model library.

[0096] like Fig.10 In a possible implementation, step S102 includes:

[0097] S1001. Use .NET technology to carry out secondary development using Revit API. In the development program, define the component geometry parameters, cover thickness parameters, and the code, length, diameter, quantity, and spacing of various types of reinforcement in the component in sequence;

[0098] S1002, obtaining initial values ​​of various parameters in the three-dimensional reinforcement model of the component through coding;

[0099] S1003, when each parameter in the component three-dimensional reinforcement model changes, the component three-dimensional reinforcement model is parameter-driven;

[0100] Specifically, the main functions used by parameterized drivers are as follows:

[0101] / / Convert external units to inches in Revit

[0102] UnitUtils.ConvertToInternalUnits(double value, DisplayUnitTypedisplayUnit);

[0103] / / Component geometry parameter assignment

[0104] fi.LookupParameter(string name).Set(double value);

[0105] / / Find and get the protection layer type according to the protection layer name

[0106] FilteredElementCollectorcollector = new FilteredElementCollector(doc);

[0107] collector.OfClass(typeof(RebarCoverType));

[0108] collector.OfCategory(BuiltInCategory.OST_CoverType);

[0109] RebarCoverType type = collector.FirstOrDefault(t =>t.Name == name) asRebarCoverType;

[0110] / / Find and get the steel bars according to the steel bar coding parameters

[0111] FilteredElementCollectorcollector = new FilteredElementCollector(doc);

[0112] collector.OfClass(typeof(Rebar));

[0113] collector.OfCategory(BuiltInCategory.OST_Rebar);

[0114] var query = from element in collector

[0115] where element.LookupParameter(param).AsString() == value

[0116] select element;

[0117] select element;

[0118] Rebar rebar = query.Cast <rebar>().ToList <rebar>() [0];

[0119] / / Modify the steel bar type

[0120] rebar.ChangeTypeId(ElementId typeId)

[0121] / / Modify the number of steel bars

[0122] rebar.NumberOfBarPositions = n1;

[0123] / / Modify the spacing of the steel bars

[0124] rebar.MaxSpacing=dis;

[0125] S1004. Develop an interface function that can be called by an external program by using component geometric parameters, concrete cover thickness, and reinforcement parameters as driving parameters, and compile and produce a dynamic link library dll file to complete the development of a parametric driver for the component construction drawing model;

[0126] S1005. Develop parameterized driver programs for construction drawing models of all high-pile wharf hydraulic components according to steps S1201 to S1204.

[0127] like Fig.11 In a possible implementation, step S103 includes:

[0128] S1101. When the mouse selects any component in the high-pile wharf BIM model, the component information is identified;

[0129] The component information includes: the component family type name, family file name, code, and geometric information;

[0130] S1102. Based on the component information and the component reinforcement scheme designed after the high-pile wharf structure verification, obtain the design parameters of the component.

[0131] like Fig.12 In a possible implementation, step S104 includes:

[0132] S1201, according to the family file name in the component information, start the parametric driver of the corresponding component construction drawing model, and call the corresponding interface function and the corresponding component construction drawing model in the component construction drawing model library;

[0133] S1202. Drive the component construction drawing model through the interface function to instantly update the component three-dimensional accessory model and the target component construction drawing according to the design parameters, and complete the drawing of the target component construction drawing.

[0134] In a possible implementation, step S104 further includes the following steps:

[0135] S105. Export the construction drawing of the target component as a DWG drawing.

[0136] In a possible implementation, step S105 includes:

[0137] In the DWG export settings, set the line type, layer, fill pattern, mapping font, color, unit and coordinate system options;

[0138] Export DWG drawings.

[0139] In addition, in another possible implementation, S103, S104, and S105 can also be developed through software. When the target component of the high-pile wharf BIM model is selected by the mouse, the construction drawing of the target component can be automatically created. The main functions used include the following.

[0140] / / Get the drawing

[0141] FilteredElementCollectorcollector = new FilteredElementCollector(doc);

[0142] collector.OfClass(typeof(ViewSheet));

[0143] List <elementid>viewIds = collector.ToElementIds().ToList();

[0144] / / Export drawings

[0145] doc.Export(string folder, string name, ICollection <elementid>viewIds,DWGExportOptions options)

[0146] like Fig.13 As shown, the present invention further provides an electronic device 130, including:

[0147] A memory 1310, used for storing programs;

[0148] The processor 1320 is coupled to the memory 1310 and is used to execute the program stored in the memory 1310 to implement the steps of the method for automatically drawing the construction drawing of high-pile wharf components described in any one of the above embodiments.

[0149] Fig.13 Only some of the components of the electronic device 130 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0150] In some embodiments, the processor 1320 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 1310, such as the automatic drawing method of the high-pile wharf component construction drawing of the present invention.

[0151] In some embodiments, the processor 1320 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 1320 may be local or remote. In some embodiments, the processor 1320 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.

[0152] In some embodiments, the memory 1310 may be an internal storage unit of the electronic device 130, such as a hard disk or memory of the electronic device 130. In other embodiments, the memory 1310 may also be an external storage device of the electronic device 130, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the electronic device 130.

[0153] Furthermore, the memory 1310 may include both an internal storage unit of the electronic device 130 and an external storage device. The memory 1310 is used to store application software installed in the electronic device 130 and various data.

[0154] In one embodiment, when the processor 1320 executes the automatic drawing program of the high-pile wharf component construction drawing in the memory 1310, the following steps may be implemented:

[0155] Create a component construction drawing model library of the high-pile wharf structure based on the pre-established high-pile wharf hydraulic component model resource library on the Revit platform;

[0156] Secondarily developing a parametric driver program for each component construction drawing model in the component construction drawing model library based on Revit;

[0157] Obtain the design parameters of the target components based on the pre-established high-pile wharf BIM model;

[0158] The component construction drawing model and the parametric driver of the target component are called, and the drawing of the target component construction drawing is completed through the parameter drive and the design parameters.

[0159] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 130 mentioned, and the electronic device 130 may be a portable device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, or the like. Exemplary embodiments of portable devices include, but are not limited to, portable devices equipped with IOS, Android, Microsoft, or other operating systems. The above-mentioned portable devices may also be other portable devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 130 may not be a portable device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0160] The present invention also provides a storage medium for storing a computer-readable program or instruction, which, when executed by a processor, can implement the method for automatically drawing construction drawings of high-pile wharf components as described in any one of the above-mentioned method items.

[0161] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer medium, wherein the computer medium is a disk, an optical disk, a read-only storage memory, or a random access storage memory, etc.

[0162] The above is a detailed introduction to the automatic drawing method and electronic device for high-pile wharf component construction drawings provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.< / elementid> < / elementid> < / rebar> < / rebar>

Claims

1. A method for automatically drawing construction drawings of high-pile wharf components, characterized in that: include: Create a component construction drawing model library of the high-pile wharf structure based on the pre-established high-pile wharf hydraulic component model resource library on the Revit platform; Secondarily developing a parametric driver for a single component construction drawing model in the component construction drawing model library based on Revit; Obtain the design parameters of the target components based on the pre-established high-pile wharf BIM model; Calling the component construction drawing model and the parametric driving program of the target component, and completing the drawing of the target component construction drawing through the parameter driving and the design parameters; The construction process of the high-pile wharf hydraulic component model resource library includes: Determine typical structural components of the high-pile wharf according to the structural type and composition of the high-pile wharf, wherein the typical structural components of the high-pile wharf include: panels, surface layers, platform beams, longitudinal beams, track beams, front side beams, rear side beams, mooring beams, mooring components and pile foundations; Determine the parameters of typical component objects of the high-pile wharf structure; Select the family template file on the Revit platform. In the family template file, the beam components in the family template file use the structural frame family template, the pile foundation uses the structural column template, and the panel and surface layer use the metric conventional model template; Creating family parameters, constructing geometric bodies, and setting family parameters for the family template files respectively to obtain a plurality of family files; Arrange the plurality of family files to obtain the high-pile wharf hydraulic component model resource library; The method of creating a component construction drawing model library of a high-pile wharf structure based on a pre-established high-pile wharf hydraulic component model resource library on the Revit platform includes: Step 1. Save the font file Revit.ttf to the preset storage path; Step 2: Create a project file using the Revit structural template, and load the single family file into the project file; Step 3, create and load the steel bar shape family file, and modify the steel bar type name HPB235 to $, HRB335 to %, HRB400 to &, and RRB400 to # in the project file; Step 4: setting the thickness of the concrete protective layer in the high-pile wharf hydraulic component model; Step 5: placing steel bars in the high-pile wharf hydraulic component model in sequence and specifying steel bar arrangement rules, constraint rules and detailed list marks, wherein top and bottom longitudinal bars, frame bars and structural bars are arranged according to quantity, and stirrups and tension bars are arranged according to spacing; Step 6. Create the project parameter "RebarCode" to add coding parameters to the steel bar model, and assign different position codes to the top longitudinal bars, bottom longitudinal bars, frame bars, stirrups, tension bars, and structural bars to complete the creation of the 3D reinforcement model of the component. Step 7: Create the component template and reinforcement drawing by creating the component elevation, plan, section, reinforcement detail drawing, and reinforcement material table, and load the drawing frame, set the view style, reinforcement annotation, dimension annotation, and text annotation on the template and reinforcement drawing to complete the component construction drawing model; Step 8: Create component construction drawing models for all high-pile wharf hydraulic components according to steps 1 to 7 to form a component construction drawing model library; The parametric driver program of the single component construction drawing model in the component construction drawing model library is developed based on Revit, including: Step 1: Use .NET technology to perform secondary development using Revit API. In the development program, define the component geometry parameters, cover thickness parameters, and the code, length, diameter, quantity, and spacing of each type of reinforcement in the component. Step 2: Obtaining the initial values ​​of various parameters in the three-dimensional reinforcement model of the component by coding; Step 3: when each parameter in the three-dimensional reinforcement model of the component changes, the three-dimensional reinforcement model of the component is parameter-driven; Step 4: Use component geometry parameters, concrete cover thickness, and reinforcement parameters as driving parameters, develop an interface function that can be called by an external program, and compile and produce a dynamic link library dll file to complete the development of a parametric driver for the component construction drawing model; Step 5: Develop the parametric driver programs of the construction drawing models of all high-pile wharf hydraulic components according to steps 1 to 4.

2. The method for automatically drawing construction drawings of high-pile wharf components according to claim 1 is characterized in that: The design parameters of the component include at least one of the following information: the thickness of the concrete cover, the rule and level of the reinforcement, and the number and spacing of the reinforcements.

3. The method for automatically drawing construction drawings of high-pile wharf components according to claim 2 is characterized in that: The method of obtaining the design parameters of the target component based on the pre-established high-pile wharf BIM model includes: When the mouse selects any component in the high-pile wharf BIM model, the component information is identified, wherein the component information includes: at least one of the component family type name, family file name, code, and geometric information; Based on the component information and the component reinforcement scheme designed after the high-pile wharf structure verification, the design parameters of the component are obtained.

4. The method for automatically drawing construction drawings of high-pile wharf components according to claim 3 is characterized in that: The calling of the component construction drawing model and the parametric driver of the target component, and completing the drawing of the target component construction drawing through the parameter drive and the design parameters, includes: According to the family file name in the component information, the parametric driver of the corresponding component construction drawing model is started, and the corresponding interface function and the corresponding component construction drawing model in the component construction drawing model library are called; The component construction drawing model is driven by the interface function to instantly update the component three-dimensional accessory model and the target component construction drawing according to the design parameters, thereby completing the drawing of the target component construction drawing.

5. The method for automatically drawing construction drawings of high-pile wharf components according to claim 1 is characterized in that: After the step of completing the drawing of the target component construction drawing by parameter driving and the design parameters, the method further includes: The construction drawing of the target component is exported as a DWG drawing.

6. The method for automatically drawing construction drawings of high-pile wharf components according to claim 5 is characterized in that: The exporting of the target component construction drawing into a DWG drawing includes: In the DWG export settings, set the line type, layer, fill pattern, mapping font, color, unit and coordinate system options; Export DWG drawings.

7. An electronic device, characterized in that: include: Memory, used to store programs; A processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the method for automatically drawing construction drawings of high-pile wharf components as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • A portable microbial sampling box capable of ensuring microbial activity

    CN109207347A

  • Parametric modeling production method for precast beam

    CN107315876A