Automatic drafting method for high-pile wharf component construction drawing, and electronic device
By creating a resource library of high-pile wharf hydraulic components on the Revit platform and using a parametric driver to automatically obtain design parameters, efficient and accurate drawing of high-pile wharf component construction drawings is achieved, solving the problem of insufficient data sharing in existing technologies.
Patent Information
- Application Number
- PCT/CN2024/127472
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-10-12
- Filing Date
- 2024-10-25
- Publication Date
- 2026-04-16
AI Technical Summary
Existing technologies cannot achieve automatic data sharing for construction drawings of high-pile wharf components, resulting in poor drawing efficiency and accuracy.
Create a resource library of hydraulic components for high-pile wharves on the Revit platform, and automatically obtain design parameters through parametric drivers to enable rapid drawing of component construction drawings.
It enables efficient and accurate drawing of construction drawings for high-pile wharf components, improves data sharing efficiency and quality, and solves the problem of poor drawing efficiency and accuracy in existing technologies.
Smart Images

Figure CN2024127472_16042026_PF_FP_ABST
Abstract
Description
An automatic drawing method and electronic equipment for construction drawings of high-pile wharf components Technical Field
[0001] This invention relates to the field of BIM technology for high-pile wharves, and in particular to an automatic drawing method and electronic equipment for construction drawings of high-pile wharf components. Background Technology
[0002] As the market places increasingly higher technical demands on waterway engineering, design firms need to provide high-quality technical services and design products in a short period. As a crucial port facility, the quality and efficiency of construction drawing design for high-pile wharves are vital to the entire project. Traditional construction drawing methods suffer from inefficiency and inaccurate information transmission. BIM technology, with its advantages of visualization, parametric design, drawing output capability, and coordination, has been widely applied in the field of waterway engineering. Utilizing BIM technology to achieve automatic data sharing in the construction drawing of high-pile wharf components, thereby improving the efficiency and accuracy of construction drawing creation, is a problem that needs to be addressed in the digital design of waterway engineering.
[0003] Currently, BIM technology has been used to a certain extent in the design of high-pile wharves. When using BIM technology to draw construction drawings for high-pile wharf components, the process usually involves first creating a BIM model of the high-pile wharf, manually extracting the component model, and then completing the three-dimensional reinforcement model of the component by laying out the three-dimensional steel bars in the model. After that, the construction drawings of the component are completed through a series of operations such as creating views and improving annotations.
[0004] CN2012102130054.4 discloses an automatic method for generating drawings of 3D reinforced concrete structures. This method imports a pre-configured 3D reinforced concrete model, and improves the accuracy and efficiency of 3D reinforced concrete structure drawing production through operations such as defining drawing information, renumbering reinforcing bars, defining drawings, material statistics, drawing annotations, annotation optimization, and drawing layout. While this method can quickly generate drawings using BIM models, the above operations still need to be repeated for generating drawings of components of the same type but different dimensions, resulting in non-reusability of model resources and relatively low design efficiency. CN201811138398.6 discloses an automatic method, device, and storage medium for generating detailed drawings of BIM 3D models. This method includes importing a pre-designed BIM model drawing and automatically generating a dimensional parameter statistics table, then importing user-input information to generate a new dimensional parameter statistics table, and generating a 2D or 3D detailed drawing of the 3D model with annotated dimensions and a model data statistics table based on the BIM model and the new dimensional parameter statistics table. Some designers record the design parameters of components in new projects and, based on existing 3D reinforcement models of components, manually modify the geometric and reinforcement parameters of the models one by one to complete the target design drawings through parameter-driven methods. However, this method may cause errors in the design drawings due to the failure to modify all design parameters in a timely manner.
[0005] Summary of the Invention
[0006] In view of this, it is necessary to provide an automatic drawing method and electronic device for high-pile wharf components to solve the problem of poor efficiency and accuracy of construction drawing due to the inability of existing technology to achieve automatic sharing of construction drawing data.
[0007] To address the above problems, this invention provides an automatic drawing method for construction drawings of high-pile wharf components, comprising:
[0008] In the Revit platform, a component construction drawing model library for the high-pile wharf structure is created based on a pre-established resource library of high-pile wharf hydraulic component models.
[0009] Based on Revit secondary development, a parametric driver program is developed for each component construction drawing model in the component construction drawing model library;
[0010] The design parameters of the target components are obtained based on the pre-established BIM model of the high-pile wharf.
[0011] The construction drawing model and parameterized driver of the target component are invoked, and the construction drawing of the target component is completed through parameter driving and the design parameters.
[0012] In one possible implementation, the construction process of the high-pile wharf hydraulic structure component model resource library includes:
[0013] Based on the structural type and composition of the high-pile wharf, the typical structural components of the high-pile wharf are determined, including: panel, surface layer, platform crossbeam, longitudinal beam, track beam, front beam, rear beam, mooring beam, berthing components, and pile foundation.
[0014] Determine the parameters of the typical components of the high-pile wharf structure;
[0015] In the Revit platform, select a family template file. In the family template file, select the structural frame family template for beam components, the structural column template for pile foundations, and the metric conventional model template for panels and surface layers.
[0016] The family template file is processed by creating family parameters, constructing geometry, and setting family parameters to obtain several family files;
[0017] The aforementioned family files are organized to obtain the resource library of hydraulic structure components for the high-pile wharf.
[0018] In one possible implementation, the creation of a component construction drawing model library for the high-pile wharf structure based on a pre-established resource library of high-pile wharf hydraulic component models in the Revit platform includes:
[0019] Step 1: Save the font file Revit.ttf to the preset storage path;
[0020] Step 2: Create a project file using Revit's structural template and load the individual family files into the project file;
[0021] Step 3: Create and load the rebar shape family file. In the project file, change HPB235 to $, HRB335 to %, HRB400 to &, and RRB400 to # in the rebar type name.
[0022] Step 4: Set the thickness of the concrete protective layer in the high-pile wharf hydraulic component model;
[0023] Step 5: Place steel bars in the hydraulic component model of the high-pile wharf in sequence and specify the steel bar reinforcement rules, constraint rules and list markings. Among them, the top and bottom longitudinal bars, stirrup bars and structural bars are arranged according to quantity, and the stirrups and tie bars are arranged according to spacing.
[0024] Step 6: Add coding parameters to the rebar model by creating the project parameter "RebarCode", and assign different position codes to the top longitudinal bars, bottom longitudinal bars, stirrup bars, ties, and structural bars to complete the creation of the three-dimensional reinforcement model of the component;
[0025] Step 7: Create the component's template drawing and reinforcement drawing by creating the component's elevation drawing, plan drawing, cross-section drawing, reinforcement detail drawing, and reinforcement material list, respectively. Then, load the template drawing and reinforcement drawing with a drawing frame, set the view style, reinforcement annotation, dimension annotation, and text annotation to complete the component's construction drawing model.
[0026] Step 8: Create component construction drawing models for all high-pile wharf hydraulic components according to steps 1 to 7, forming a component construction drawing model library.
[0027] In one possible implementation, the parametric driver program for each component construction drawing model in the component construction drawing model library, developed based on Revit secondary development, includes:
[0028] Step 1: Use .NET technology and Revit API for secondary development. In the development program, define the component geometric parameters, protective layer thickness parameters, and the codes, lengths, diameters, quantities, and spacings of various types of reinforcement in the component in sequence.
[0029] Step 2: Obtain the initial values of each parameter in the three-dimensional reinforcement model of the component through coding;
[0030] Step 3: When the parameters in the three-dimensional reinforcement model of the component change, the three-dimensional reinforcement model of the component is driven by parameterization.
[0031] Step 4: Using the component's geometric 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 generate a dynamic link library (DLL) file to complete the development of the parameterized driver program for the component's construction drawing model.
[0032] Step 5: Develop parametric drivers for the construction drawing models of all high-pile wharf hydraulic components, following steps 1 to 4 respectively.
[0033] In one possible implementation, the design parameters of the component include at least one of the following: concrete cover thickness, reinforcement rules and grades, and the number and spacing of the reinforcing bars.
[0034] In one possible implementation, obtaining the design parameters of the target component based on a pre-established BIM model of the high-pile wharf includes:
[0035] When the mouse selects any component in the BIM model of the high-pile wharf, the component information is identified, wherein the component information includes at least one of the following: the component's family type name, family file name, code, and geometric information;
[0036] 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.
[0037] In one possible implementation, the step of calling the component construction drawing model and parameterized driver of the target component, and completing the drawing of the target component construction drawing through parameter driving and the design parameters, includes:
[0038] Based on the family file name in the component information, start the parameterized driver program 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;
[0039] The interface function drives the component construction drawing model to update the 3D component accessory model and the target component construction drawing in real time according to the design parameters, thus completing the drawing of the target component construction drawing.
[0040] In one possible implementation, after the step of completing the drawing of the target component construction drawing through parameter-driven and design parameters, the following steps are further included:
[0041] Export the construction drawings of the target component as DWG drawings.
[0042] In one possible implementation, exporting the construction drawings of the target component as DWG drawings includes:
[0043] In the DWG export settings, you can set options such as linetype, layers, fill pattern, mapped font, color, units, and coordinate system;
[0044] Perform the export DWG operation to export DWG drawings.
[0045] The present invention also provides an electronic device, comprising:
[0046] Memory, used to store programs;
[0047] A processor, coupled to the memory, is configured to execute the program stored in the memory to implement the steps in the automatic drawing method for construction drawings of high-pile wharf components as described in any of the above method items.
[0048] The beneficial effects of this invention are as follows: This invention provides an automatic drawing method for construction drawings of high-pile wharf components. By creating a resource library of high-pile wharf hydraulic structure component models and a component construction drawing model library, and developing a parameterized driver for component construction drawings, this method automatically acquires the design parameters of high-pile wharf components through software development and transmits them to the parameterized driver for component construction drawings, quickly updating the corresponding component construction drawing models. This achieves efficient and accurate drawing of construction drawings for high-pile wharf structural components. This invention realizes the automatic transfer and sharing of BIM model information for high-pile wharves in construction drawing, improving the efficiency and quality of drawing high-pile wharf component construction drawings, thus effectively solving the problem of poor efficiency and accuracy in construction drawing due to the inability to automatically share construction drawing data in existing technologies. Attached Figure Description
[0049] Figure 1 is a flowchart of an embodiment of the automatic drawing method for construction drawings of high-pile wharf components provided by the present invention;
[0050] Figure 2 is a flowchart of an embodiment of the construction process of the high-pile wharf hydraulic structure component model resource library provided by the present invention;
[0051] Figure 3 is a flowchart of a method for an embodiment of step S101 in Figure 1;
[0052] Figure 4 is a schematic diagram of the modified rebar type name in the Revit project file provided by the present invention;
[0053] Figure 5 is a schematic diagram of the attribute window showing the arrangement of longitudinal reinforcement bars of the component according to quantity provided by the present invention;
[0054] Figure 6 is a schematic diagram of the attribute window for the arrangement of stirrups in the component according to the spacing provided by the present invention;
[0055] Figure 7 is a structural schematic diagram of the three-dimensional reinforcement model of the component provided by the present invention;
[0056] Figure 8 is a cross-sectional view of the three-dimensional reinforcement model of the component provided by the present invention;
[0057] Figure 9 is a table of steel reinforcement materials for the three-dimensional reinforcement model of the component provided by the present invention;
[0058] Figure 10 is a flowchart of a method for an embodiment of step S102 in Figure 1;
[0059] Figure 11 is a flowchart of a method for an embodiment of step S103 in Figure 1;
[0060] Figure 12 is a flowchart of a method for an embodiment of step S104 in Figure 1;
[0061] Figure 13 is a structural schematic diagram of an embodiment of the device provided by the present invention. Detailed Implementation
[0062] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form 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 intended to limit the scope of the present invention.
[0063] In the description of the embodiments of the present invention, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0064] The terms "first," "second," etc., used in the embodiments of this invention are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a technical feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature.
[0065] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0066] To address the aforementioned problems, as shown in Figure 1, this invention provides an automatic drawing method for construction drawings of high-pile wharf components, comprising:
[0067] S101. Create a component construction drawing model library for the high-pile wharf structure based on the pre-established high-pile wharf hydraulic component model resource library in the Revit platform.
[0068] S102. Parametric driver program for each component construction drawing model in the Revit secondary development component construction drawing model library;
[0069] S103. Obtain the design parameters of the target components based on the pre-established BIM model of the high-pile wharf;
[0070] In one possible implementation, the design parameters of the component include at least one of the following: concrete cover thickness, reinforcement rules and grades, and the number and spacing of the reinforcing bars.
[0071] Specifically, in step S103, the design parameters of the target component can be automatically obtained from the BIM model of the high-pile wharf through software development, and the reinforcement parameters of the component can be obtained based on the internal force calculation.
[0072] S104. Call the component construction drawing model and parameterized driver of the target component, and complete the drawing of the target component construction drawing through parameter driving and design parameters.
[0073] Compared with existing technologies, this invention provides an automatic drawing method for construction drawings of high-pile wharf components. By creating a resource library of high-pile wharf hydraulic structure component models and a component construction drawing model library, and developing a parametric driver for component construction drawings, this method automatically acquires the design parameters of high-pile wharf components through software development and transmits them to the parametric driver for component construction drawings, rapidly updating the corresponding component construction drawing models. This achieves efficient and accurate drawing of construction drawings for high-pile wharf structural components. This invention realizes the automatic transfer and sharing of BIM model information for high-pile wharves in construction drawing, improving the efficiency and quality of high-pile wharf component construction drawing drawing. It effectively solves the problem of poor efficiency and accuracy in construction drawing drawing caused by the inability to automatically share construction drawing data in existing technologies, and is also applicable to the digital design of high-pile wharves.
[0074] As shown in Figure 2, in one possible implementation, the process of constructing the resource library of hydraulic structure components for high-pile wharves includes:
[0075] S201. Determine the typical structural components of the high-pile wharf based on its structural type and composition.
[0076] Specifically, typical structural components of a high-pile wharf include: panels, surface layers, platform crossbeams, longitudinal beams, track beams, front beams, rear beams, mooring beams, berthing components, and pile foundations.
[0077] S202. Determine the parameters of typical components of a high-pile wharf structure;
[0078] It should be noted that, in this embodiment, the parameters of typical components of a high-pile wharf structure can be determined in accordance with the relevant requirements of the industry standard "Application Standard for Information Modeling of Waterway Engineering Design" (JTS / T 198-2).
[0079] S203. Select the family template file in the Revit platform;
[0080] Specifically, the beam system 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.
[0081] S204. Create family parameters, construct geometry, and set family parameters for each family template file to obtain several family files;
[0082] S205. Organize several family files to obtain a resource library of hydraulic structure components for high-pile wharves.
[0083] As shown in Figure 3, in one possible implementation, step S101 includes:
[0084] S301. Save the font file Revit.ttf to the preset storage path;
[0085] S302. Create a project file using Revit's structural template and load individual family files into the project file;
[0086] S303. Create and load the rebar shape family file. In the project file, change HPB235 to $, HRB335 to %, HRB400 to &, and RRB400 to # in the rebar type name.
[0087] Specifically, the project file after modifying the rebar type name is shown in Figure 4.
[0088] S304. Set the thickness of the concrete protective layer in the hydraulic component model of the high-pile wharf;
[0089] Specifically, the thickness of the protective layer can be set for the top, bottom, side and other surfaces of the component.
[0090] S305. Place steel bars sequentially in the hydraulic component model of the high-pile wharf and specify the reinforcement rules, constraint rules and schedule markings.
[0091] Specifically, as shown in Figure 5, the top and bottom longitudinal bars, stirrup bars, and structural bars are arranged according to quantity, and as shown in Figure 6, the stirrups and tie bars are arranged according to spacing.
[0092] S306. Add coding parameters to the steel reinforcement model by creating the project parameter "RebarCode", and assign different position codes to the top longitudinal bars, bottom longitudinal bars, stirrup bars, ties, structural bars, etc., to complete the creation of the three-dimensional reinforcement model of the component.
[0093] Specifically, the three-dimensional reinforcement model of the component is shown in Figure 7.
[0094] S307. Create the component's formwork drawing and reinforcement drawing by creating the component's elevation drawing, plan drawing, section drawing, reinforcement detail drawing, and reinforcement material list, and load the drawing frame, set the view style, reinforcement annotation, dimension annotation, and text annotation on the formwork drawing and reinforcement drawing to complete the component's construction drawing model;
[0095] The cross-sectional view of the three-dimensional reinforcement model of the component is shown in Figure 8, and the steel reinforcement material table of the three-dimensional reinforcement model of the component is shown in Figure 9.
[0096] S308. Create component construction drawing models for all high-pile wharf hydraulic components according to steps S301 to S307, forming a component construction drawing model library.
[0097] As shown in Figure 10, in one possible implementation, step S102 includes:
[0098] S1001. Use .NET technology and Revit API for secondary development. In the development program, define the component geometric parameters, protective layer thickness parameters, and the code, length, diameter, quantity and spacing of various types of reinforcement in the component in sequence.
[0099] S1002. Obtain the initial values of each parameter in the three-dimensional reinforcement model of the component through coding;
[0100] S1003. When the parameters in the three-dimensional reinforcement model of the component change, the three-dimensional reinforcement model of the component is driven by parameters.
[0101] Specifically, the main functions used in parameterized driving are as follows:
[0102] / / Convert external units to Revit's internal inch units
[0103] UnitUtils.ConvertToInternalUnits(double value,DisplayUnitType displayUnit);
[0104] / / Assigning geometric parameters to components
[0105] fi.LookupParameter(string name).Set(double value);
[0106] / / Find the protection layer type by protection layer name
[0107] FilteredElementCollectorcollector=new FilteredElementCollector(doc);
[0108] collector.OfClass(typeof(RebarCoverType));
[0109] collector.OfCategory(BuiltInCategory.OST_CoverType);
[0110] RebarCoverType type=collector.FirstOrDefault(t=>t.Name==name)as RebarCoverType;
[0111] / / Find and retrieve rebar based on rebar code parameters
[0112] FilteredElementCollectorcollector=new FilteredElementCollector(doc);
[0113] collector.OfClass(typeof(Rebar));
[0114] collector.OfCategory(BuiltInCategory.OST_Rebar);
[0115] var query=from element in collector
[0116] where element.LookupParameter(param).AsString()==value
[0117] select element;
[0118] select element;
[0119] Rebar rebar=query.Cast <rebar>().ToList <rebar>()[0];
[0120] / / Modify rebar type
[0121] rebar.ChangeTypeId(ElementId typeId)
[0122] / / Modify the quantity of reinforcing bars
[0123] rebar.NumberOfBarPositions=n1;
[0124] / / Modify the spacing of reinforcing bars
[0125] rebar.MaxSpacing = dis;
[0126] S1004. Using the component's geometric 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 generate a dynamic link library (DLL) file to complete the development of the parameterized driver program for the component's construction drawing model.
[0127] S1005. Develop parameterized driver programs for the construction drawing models of all high-pile wharf hydraulic components, following the steps in S1201 to S1204 respectively.
[0128] As shown in Figure 11, in one possible implementation, step S103 includes:
[0129] S1101. When the mouse selects any component in the BIM model of the high-pile wharf, the component information is identified.
[0130] The component information includes: the component's family type name, family file name, encoding, and geometric information;
[0131] S1102. Based on the component information and the reinforcement scheme of the component designed after the verification of the high-pile wharf structure, obtain the design parameters of the component.
[0132] As shown in Figure 12, in one possible implementation, step S104 includes:
[0133] S1201. Based on the family file name in the component information, start the parameterized driver program 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.
[0134] S1202. The component construction drawing model is driven by the interface function to update the three-dimensional accessory model of the component and the construction drawing of the target component in real time according to the design parameters, so as to complete the drawing of the construction drawing of the target component.
[0135] In one possible implementation, the following steps are included after step S104:
[0136] S105. Export the construction drawings of the target component as DWG drawings.
[0137] In one possible implementation, step S105 includes:
[0138] In the DWG export settings, set the linetype, layers, fill pattern, mapped font, color, units, and coordinate system options;
[0139] Export DWG drawings.
[0140] Alternatively, in another possible implementation, S103, S104, and S105 can be developed through software. When the target component of the BIM model of the high-pile wharf is selected by the mouse, the construction drawing of the target component can be automatically created. The main functions used include the following.
[0141] / / Get drawings
[0142] FilteredElementCollectorcollector=new FilteredElementCollector(doc);
[0143] collector.OfClass(typeof(ViewSheet));
[0144] List <elementid>viewIds = collector.ToElementIds().ToList();
[0145] / / Export the drawing
[0146] doc.Export(string folder, string name, ICollection <elementid>viewIds,DWGExportOptions options)
[0147] As shown in Figure 13, the present invention also provides an electronic device 130, comprising:
[0148] Memory 1310 is used to store programs;
[0149] The processor 1320, coupled to the memory 1310, is used to execute the program stored in the memory 1310 to implement the steps in the automatic drawing method for construction drawings of high-pile wharf components as described in any of the above embodiments.
[0150] Figure 13 shows only some of the components of the electronic device 130, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
[0151] In some embodiments, processor 1320 may be a central processing unit (CPU), microprocessor, or other data processing chip, used to run program code stored in memory 1310 or process data, such as the automatic drawing method for construction drawings of high-pile wharf components in this invention.
[0152] In some embodiments, processor 1320 may be a single server or a group of servers. The server group may be centralized or distributed. In some embodiments, processor 1320 may be local or remote. In some embodiments, processor 1320 may be implemented on a cloud platform. In one embodiment, the cloud platform may include a private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, internal cloud, multi-cloud, etc., or any combination thereof.
[0153] In some embodiments, memory 1310 may be an internal storage unit of electronic device 130, such as a hard disk or memory of electronic device 130. In other embodiments, memory 1310 may also be an external storage device of electronic device 130, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on electronic device 130.
[0154] Furthermore, the memory 1310 may include both internal storage units of the electronic device 130 and external storage devices. The memory 1310 is used to store application software and various types of data installed on the electronic device 130.
[0155] In one embodiment, when the processor 1320 executes the automatic drawing program for the construction drawings of the high-pile wharf components stored in the memory 1310, the following steps can be implemented:
[0156] In the Revit platform, a component construction drawing model library for the high-pile wharf structure is created based on a pre-established resource library of high-pile wharf hydraulic component models.
[0157] Based on Revit secondary development, a parametric driver program is developed for each component construction drawing model in the component construction drawing model library;
[0158] The design parameters of the target components are obtained based on the pre-established BIM model of the high-pile wharf.
[0159] The construction drawing model and parameterized driver of the target component are invoked, and the construction drawing of the target component is completed through parameter driving and the design parameters.
[0160] Furthermore, the embodiments of the present invention do not specifically limit the type of electronic device 130 mentioned. Electronic device 130 can be a mobile phone, tablet computer, personal digital assistant (PDA), wearable device, laptop computer, or other portable device. Exemplary embodiments of portable devices include, but are not limited to, portable devices running iOS, Android, Microsoft, or other operating systems. The aforementioned portable device can 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, electronic device 130 may not be a portable device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0161] The present invention also provides a storage medium for storing a computer-readable program or instruction, which, when executed by a processor, enables the automatic drawing method for construction drawings of high-pile wharf components as described in any one of the above-mentioned methods.
[0162] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware (such as a processor, controller, etc.), and the computer program can be stored in a computer medium. The computer medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0163] The above provides a detailed description of the automatic drawing method and electronic equipment for high-pile wharf component construction drawings provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of 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: In the Revit platform, a component construction drawing model library for the high-pile wharf structure is created based on a pre-established resource library of high-pile wharf hydraulic component models. Based on Revit secondary development, a parametric driver program for a single component construction drawing model in the component construction drawing model library is developed. The design parameters of the target components are obtained based on the pre-established BIM model of the high-pile wharf. The construction drawing model and parameterized driver of the target component are invoked, and the construction drawing of the target component is completed through parameter driving and the design parameters.
2. The method for automatically drawing construction drawings of high-pile wharf components according to claim 1, characterized in that, The construction process of the high-pile wharf hydraulic structure component model resource library includes: Based on the structural type and composition of the high-pile wharf, the typical structural components of the high-pile wharf are determined, including: panel, surface layer, platform crossbeam, longitudinal beam, track beam, front beam, rear beam, mooring beam, berthing components, and pile foundation. Determine the parameters of the typical components of the high-pile wharf structure; In the Revit platform, select a family template file. In the family template file, select the structural frame family template for beam components, the structural column template for pile foundations, and the metric conventional model template for panels and surface layers. The family template file is processed by creating family parameters, constructing geometry, and setting family parameters to obtain several family files; The aforementioned family files are organized to obtain the resource library of hydraulic structure components for the high-pile wharf.
3. The method for automatically drawing construction drawings of high-pile wharf components according to claim 2, characterized in that, The process of creating a component construction drawing model library for a high-pile wharf structure based on a pre-established resource library of high-pile wharf hydraulic component models in the Revit platform includes: Step 1: Save the font file Revit.ttf to the preset storage path; Step 2: Create a project file using Revit's structural template and load the individual family files into the project file; Step 3: Create and load the rebar shape family file. In the project file, change HPB235 to $, HRB335 to %, HRB400 to &, and RRB400 to # in the rebar type name. Step 4: Set the thickness of the concrete protective layer in the high-pile wharf hydraulic component model; Step 5: Place steel bars in the hydraulic component model of the high-pile wharf in sequence and specify the steel bar reinforcement rules, constraint rules and list markings. Among them, the top and bottom longitudinal bars, stirrup bars and structural bars are arranged according to quantity, and the stirrups and tie bars are arranged according to spacing. Step 6: Add coding parameters to the rebar model by creating the project parameter "RebarCode", and assign different position codes to the top longitudinal bars, bottom longitudinal bars, stirrup bars, ties, and structural bars to complete the creation of the three-dimensional reinforcement model of the component; Step 7: Create the component's template drawing and reinforcement drawing by creating the component's elevation drawing, plan drawing, section drawing, reinforcement detail drawing, and reinforcement material list, respectively. Then, load the template drawing and reinforcement drawing with a drawing frame, set the view style, reinforcement annotation, dimension annotation, and text annotation to complete the component's construction drawing model. Step 8: Create component construction drawing models for all high-pile wharf hydraulic components according to steps 1 to 7, forming a component construction drawing model library.
4. The method for automatically drawing construction drawings of high-pile wharf components according to claim 3, characterized in that, The parametric driver program for each component construction drawing model in the component construction drawing model library, developed based on Revit secondary development, includes: Step 1: Use .NET technology and Revit API for secondary development. In the development program, define the component geometric parameters, protective layer thickness parameters, and the codes, lengths, diameters, quantities, and spacings of various types of reinforcement in the component in sequence. Step 2: Obtain the initial values of each parameter in the three-dimensional reinforcement model of the component through coding; Step 3: When the parameters in the three-dimensional reinforcement model of the component change, the three-dimensional reinforcement model of the component is driven by parameterization. Step 4: Using the component's geometric 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 generate a dynamic link library (DLL) file to complete the development of the parameterized driver program for the component's construction drawing model. Step 5: Develop parametric drivers for the construction drawing models of all high-pile wharf hydraulic components, following steps 1 to 4 respectively.
5. The method for automatically drawing construction drawings of high-pile wharf components according to claim 3, characterized in that, The design parameters of the component include at least one of the following: concrete cover thickness, reinforcement rules and grade, and the number and spacing of the reinforcing bars.
6. The method for automatically drawing construction drawings of high-pile wharf components according to claim 5, characterized in that, The process of obtaining design parameters for target components based on a pre-established BIM model of a high-pile wharf includes: When the mouse selects any component in the BIM model of the high-pile wharf, the component information is identified, wherein the component information includes at least one of the following: the component's 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.
7. The method for automatically drawing construction drawings of high-pile wharf components according to claim 6, characterized in that, The process of 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 driving and the design parameters, includes: Based on the family file name in the component information, start the parameterized driver program 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. The interface function drives the component construction drawing model to update the 3D component accessory model and the target component construction drawing in real time according to the design parameters, thus completing the drawing of the target component construction drawing.
8. The method for automatically drawing construction drawings of high-pile wharf components according to claim 1, characterized in that, After the step of completing the construction drawing of the target component through parameter-driven design and the design parameters, the method further includes: Export the construction drawings of the target component as DWG drawings.
9. The method for automatically drawing construction drawings of high-pile wharf components according to claim 8, characterized in that, The process of exporting the construction drawings of the target component as DWG drawings includes: In the DWG export settings, set the linetype, layers, fill pattern, mapped font, color, units, and coordinate system options; Export DWG drawings.
10. An electronic device, characterized in that, include: Memory, used to store programs; A processor, coupled to the memory, is configured to execute the program stored in the memory to implement the steps in the automatic drawing method for construction drawings of high-pile wharf components as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Parametric modeling production method for precast beam
CN107315876A
Method for constructing tunnel BIM model based on Revit platform
CN110750831A
Revit-based building structure BIM forward automatic design method
CN112257137A
Revit platform-based variable cross-section box girder BIM (Building Information Modeling) automatic modeling method and system
CN116595607A
Pile foundation buried depth calculation method based on three-dimensional geology and high-pile wharf BIM model
CN117195560A