A revit-based sewage treatment plant process flow chart creation method
By creating a wastewater treatment plant process flow diagram in Revit software and using 3D model information to draw and update the flow diagram, the problems of low drawing efficiency and cumbersome modification in the existing technology are solved, and efficient flow diagram generation and elevation annotation are achieved.
Patent Information
- Application Number
- CN202211151174.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-21
- Publication Date
- 2026-03-20
- Estimated Expiration
- 2042-09-21
AI Technical Summary
In the existing technology, drawing the process flow diagram of a wastewater treatment plant manually in CAD is inefficient, cumbersome to modify, and cannot utilize Revit model information, resulting in time-consuming and labor-intensive drawing and modification.
The method for creating process flow diagrams for wastewater treatment plants based on Revit involves creating sectional views based on the existing Revit 3D model of the plant, adjusting the positions of individual process units in Revit software, drawing process flow lines using detail lines, adding and modifying annotation information, and finally exporting 2D drawings.
It enables rapid drawing and dynamic updating of flowcharts, reduces the tedious process of manual modification, improves drawing efficiency and elevation annotation efficiency, and makes full use of the data information of the 3D model.
Smart Images

Figure CN115330906B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of municipal design, and particularly relates to a method for creating a process flow chart of a sewage treatment plant based on Revit. BACKGROUND
[0002] The process flow chart of a sewage treatment plant is an important achievement in the design process of the sewage treatment plant. The process flow chart directly and effectively reflects the process flow of sewage treatment, including sewage treatment units, fluid flow direction, hydraulic elevation and the like. The sewage treatment units cover all process treatment units of the sewage treatment plant, such as primary treatment, secondary treatment, tertiary treatment and the like, and mainly represent sectional view diagrams of the units. The fluid flow direction includes sewage flow direction, sludge flow direction, medicament flow direction, air flow direction, vent line flow direction, recycled water flow direction, internal reflux flow direction and overflow pipeline flow direction. The hydraulic elevation includes liquid surface elevation, pool top and pool bottom elevation of each unit, ground elevation and the like. The process flow chart is the core content of the process drawing of the sewage treatment plant, and the drawing has a large amount of information. At present, no related software is used to assist in drawing, and it is time-consuming and laborious to draw.
[0003] At present, the process flow chart is mainly manually drawn in CAD. This method has the following disadvantages:
[0004] Firstly, the drawing efficiency is low. The structure of each unit needs to be drawn separately, and the elevation information needs to be checked one by one. The material flow direction needs to be manually numbered and interrupted, which is time-consuming and laborious.
[0005] Secondly, the modification is complicated. When the process flow chart is modified, the structure of the unit, the elevation and the material flow direction number need to be redrawn, and the process is complicated.
[0006] Thirdly, the model information in Revit cannot be used. The Revit model contains a lot of information of the process drawing, and the information of the model cannot be fully utilized. SUMMARY
[0007] In order to improve the drawing efficiency of the process flow chart, the present application provides a method for creating a process flow chart of a sewage treatment plant based on Revit.
[0008] The technical scheme adopted by the present application to solve the above problems is:
[0009] A method for creating a process flow chart of a sewage treatment plant based on Revit, comprising:
[0010] Step 1. On the basis of an existing plant Revit three-dimensional model, sectional views of each process unit are created.
[0011] Step 2. A process flow chart is created in Revit software, and the sectional views of each process unit are adjusted in position according to the process flow sequence.
[0012] Step 3, define different types of detail lines and draw process flow lines with them;
[0013] Step 4, add and modify annotation information and export two-dimensional drawings.
[0014] Further, the detail lines are distinguished by line width and / or color.
[0015] Further, the specific steps of step 3 to draw process flow lines are:
[0016] Step A1, determine whether it is the first time to draw, if yes, go to step A3, otherwise go to step A2;
[0017] Step A2, determine whether the graphic element information has changed: if the graphic element information has not changed, the drawing is complete;
[0018] If the graphic element information has changed, determine whether the position of the sectional view has changed:
[0019] If the position of the sectional view has changed, determine the offset vector according to the starting point position before the sectional view changes and the ending point position after the sectional view changes, offset the starting point and / or ending point of the process flow line along the offset vector to obtain a new starting point and / or ending point, and then execute step A3;
[0020] If the position of the sectional view has not changed, update the latest graphic element information and execute step A4;
[0021] Step A3, calculate the distance between the starting point and the ending point of each pair of process flow lines newly established or with changes and sort them, and execute step A4;
[0022] Step A4, draw the process flow lines in order:
[0023] Step A41, according to the position of the starting point Q of the process flow line on each sectional view, extend a distance X from the starting point Q to the A1 point in a direction perpendicular to the edge where it is located and away from the sectional view;
[0024] Step A42, according to the position of the ending point Z of the process flow line on each sectional view, extend a distance X from the ending point Z to the C1 point in a direction perpendicular to the edge where it is located and away from the sectional view;
[0025] Step A43, determine the intermediate connection point B1 according to the positions of A1 and C1;
[0026] Step A44, connect the starting point Q, A1, B1, C1 and ending point Z in order using the detail lines, and record the graphic element information.
[0027] Further, the method for determining the intermediate connection point B1 according to the positions of A1 and C1 is:
[0028] Step A431, from A1 point, extend to M point along horizontal direction: if x2>x1, extend to right; otherwise, extend to left; the extend distance is |x2-x1|;
[0029] Step A432, from A1 point, extend to M point along vertical direction: if y2>y1, extend upward; otherwise, extend downward; the extend distance is |y2-y1|; wherein, A1 coordinate is (x1, y1), C1 coordinate is (x2, y2);
[0030] Step A433, respectively calculate the number of intersection points of the line formed by M point determined by step A431 and step A432 and A1 and C1 and the existing profile and process flow line, and compare their sizes;
[0031] Step A434, define the M point corresponding to the smaller number of intersection points as B1 point; if the number of intersection points is the same, define the M point of points Q, A1, M or points Z, C1, M on a straight line as B1 point.
[0032] Further, before the step A41, it further includes: judging the starting point Q and the ending point Z of the process flow line on which edge of the starting profile and the ending profile, the principle of judgment is: calculating the distance of the user selected point to each edge of the profile, the shortest edge, the starting point Q or the ending point Z is defined on the edge.
[0033] Further, the step A4 further includes:
[0034] Step A45, if the detail line has intersection with other profile, offset the boundary line of the intersected profile outward by distance Y, generate a new line based on the offset boundary line and the two intersection points of the detail line and the line, and the line meets the shortest principle.
[0035] Further, X=(n-1)×0.1w+0.2w, Y=(m-1)×0.1w+0.2w, wherein, n is the nth starting point being drawn on the current edge, w is the width of the current profile, and m is the cumulative intersection number of the current detail line and the profile.
[0036] Further, the step A4 further includes:
[0037] Step A46, if the currently drawn detail line has intersection with the existing detail line, then:
[0038] If the currently drawn detail line is a horizontal line, no line or a curve is drawn between the two end points obtained by the intersection horizontal coordinate ±d;
[0039] If the currently drawn detail line is a vertical line, no line or a curve is drawn between the two end points obtained by the intersection vertical coordinate ±d; d is a distance defined by the user.
[0040] Further, the step A4 further comprises:
[0041] Step A47, draw the flow line by using the detail line straight family, add arrow symbol at the end. Set the color of the flow line according to the preset color of the flow line.
[0042] Further, the label information is the elevation label value, and the elevation label is added in the profile drawing. The elevation label can be modified according to needs.
[0043] Further, the specific steps of modifying the elevation label value are:
[0044] The original elevation of a certain profile drawing is H1, the new elevation is H2, and the attribute value of the profile drawing relative to the base surface is elevation 1.
[0045] A reference elevation H is established, and the elevation value of H is equal to the height of elevation 1 plus H2-H1.
[0046] The attribute value relative to the base surface in all elevation labels in the current view is modified to the reference elevation.
[0047] Compared with the prior art, the present application has the beneficial effects that the data information of the three-dimensional model is fully utilized, the flowchart flow line is quickly drawn, and the position follows the profile drawing dynamic update, avoiding tedious manual modification; the related elevation label can be efficiently generated, and the efficiency of the elevation label is improved. BRIEF DESCRIPTION OF DRAWINGS
[0048] Figure 1 A flowchart for a Revit-based sewage treatment plant process flowchart creation method;
[0049] Figure 2 A flowchart for process flow line drawing;
[0050] Figure 3 A flowchart for modifying elevation labels;
[0051] Figure 4 A process flow line schematic diagram. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical scheme and advantages of the present application clearer, the present application will be further described in detail below with examples. It should be understood that the specific examples described herein are only used to explain the present application, and are not used to limit the present application.
[0053] As shown in Figure 1 A Revit-based sewage treatment plant process flowchart creation method, comprising:
[0054] Step 1, on the basis of the existing plant Revit three-dimensional model, create each process monomer profile.
[0055] Step 2, create process flow chart in Revit software, and adjust the position of each process monomer profile according to the process flow order.
[0056] Step 3, define different types of detail lines and draw process flow lines with them; in this embodiment, the detail lines are distinguished by line width and / or color.
[0057] As shown in Figure 2 , the specific steps of drawing process flow lines are as follows:
[0058] Step A1, judge whether it is the first time to draw, if yes, go to step A3, otherwise go to step A2;
[0059] Step A2, judge whether the graph element information has changed: if the graph element information has not changed, the drawing is finished;
[0060] If the graph element information has changed, judge whether the profile position has changed:
[0061] If the profile position has changed, determine the offset vector according to the start position before the profile changes and the end position after the profile changes, offset the start and / or end of the process flow line along the offset vector to get the new start and / or end, and then execute step A3;
[0062] If the profile position has not changed, update the latest graph element information and execute step A4;
[0063] Step A3, calculate the distance between the start and end of each pair of process flow lines newly established or changed and sort them, and execute step A4;
[0064] Step A4, draw the process flow lines in order:
[0065] Step A41, according to the position of the start point Q of the process flow line on each profile, extend a distance X from the start point Q to the A1 point in the direction perpendicular to the edge where it is located and away from the profile;
[0066] Step A42, according to the position of the end point Z of the process flow line on each profile, extend a distance X from the end point Z to the C1 point in the direction perpendicular to the edge where it is located and away from the profile;
[0067] Step A43, determine the intermediate connection point B1 according to the positions of A1 and C1;
[0068] Step A44, connect the start point Q, A1, B1, C1 and end point Z in turn using the detail lines, and record the graph element information.
[0069] Wherein, the method for determining the intermediate connection point B1 according to the positions of A1 and C1 is as follows:
[0070] Step A431, extending from A1 to M in horizontal direction: extending rightward if x2>x1, or leftward if x2
[0071] Step A432, extending from A1 to M in vertical direction: extending upward if y2>y1, or downward if y2
[0072] Step A433, respectively calculating the number of intersection points of the line formed by M and A1 or C1 and the existing profile and process flow line, and comparing the number of intersection points;
[0073] Step A434, defining the M point corresponding to the smaller number of intersection points as B1; if the number of intersection points is the same, defining the M point of the points Q, A1, M or the points Z, C1, M on a straight line as B1.
[0074] Drawing the process flow line in order can make the line arrangement clearer and facilitate the relevant personnel to identify the drawing.
[0075] When the user selects the starting point or the ending point, only the approximate position is determined. In order to facilitate the determination of the extension direction of the detail line, before step A41, it further includes: judging the starting point Q and the ending point Z of the process flow line on which edge of the starting profile drawing and the ending profile drawing, respectively, and the principle of judgment is: calculating the distance of the selected point to each edge of the profile drawing, and defining the starting point Q or the ending point Z on the edge with the shortest distance.
[0076] Further, the step A4 further includes:
[0077] Step A45, if the detail line intersects with other profile drawings, offsetting the boundary line of the intersecting profile drawing outward by a distance Y, generating a new line based on the offset boundary line and the two intersection points of the detail line and the line, and the line meets the shortest principle, as shown in Figure 4 .
[0078] Specifically, X=(n-1)×0.1w+0.2w, Y=(m-1)×0.1w+0.2w, wherein n is the nth starting point being drawn on the current edge, w is the width of the current profile drawing, and m is the cumulative intersection number of the current detail line and the profile drawing. The offset distance can also be modified according to the actual situation, which is not limited here.
[0079] Preferably, the step A4 further includes:
[0080] Step A46: If the currently drawn detail line intersects with an existing detail line, then:
[0081] If the currently drawn detail line is a horizontal line, then there is no connection between the two endpoints obtained by the x-coordinate ±d of the intersection point, or the connection is a curve;
[0082] If the currently drawn detail line is a vertical line, then the two endpoints obtained by the intersection point's ordinate ±d are either not connected by a line or the line is a curve; d can be set by the user according to the drawing needs, and in this embodiment, it is taken as 5mm.
[0083] Step 4: Add annotation information and export 2D drawings; the annotation information is elevation annotation values. When the elevation annotation value of a certain section changes, the elevation annotation values of other sections change accordingly. The specific steps for changing the elevation annotation values are as follows... Figure 3 As shown, it is:
[0084] The original elevation of a certain profile is H1, the new elevation is H2, and the attribute value of the profile "relative to the base plane" is elevation 1;
[0085] Establish a reference elevation H, where the elevation value of H = elevation 1 height + H2 - H1;
[0086] Change the "Relative to base plane" attribute value to the reference elevation in all elevation annotations in the current view.
[0087] By recording the starting and ending points of the process flow line and the position of the cross-sectional view, and binding the positional relationships, the process line is updated synchronously when the position of the cross-sectional view changes; if the elevation of a certain position in the cross-sectional view is modified, the elevations of other positions in the cross-sectional view are automatically calculated.
Claims
1. A method for creating a wastewater treatment plant process flow diagram based on Revit, characterized in that, include: Step 1: Based on the existing Revit 3D model of the plant, create cross-sectional views of each process unit; Step 2: Create process flow drawings in Revit software and adjust the positions of the section views of each process unit according to the process flow sequence; Step 3: Define different types of detail lines and use them to draw process flow lines; Specifically, it includes: Step A1: Determine if this is the first time drawing. If yes, proceed to step A3; otherwise, proceed to step A2. Step A2: Determine if the graphic element information has changed: If the graphic element information has not changed, the drawing ends; If the graphic element information changes, determine whether the position of the cross-sectional view has changed: If the position of the cross-section changes, the offset vector is determined based on the starting position before the change and the ending position after the change. The starting point and / or ending point of the process flow line are offset along the offset vector to obtain the new starting point and / or ending point. Then, step A3 is executed. If the position of the cross-section view has not changed, update the latest element information and proceed to step A4; Step A3: Calculate and sort the distance between the start and end points of each newly established or changed pair of process flow lines, and then proceed to step A4; Step A4: Draw the process flow lines in sequence: Step A41: Based on the position of the starting point Q of the process flow line on each cross-sectional view, extend a distance X from the starting point Q in a direction perpendicular to its side and away from the cross-sectional view to point A1. Step A42: Based on the position of the endpoint Z of the process flow line on each cross-sectional view, extend a distance X from the endpoint Z in a direction perpendicular to its side and away from the cross-sectional view to point C1. Step A43: Determine the intermediate connection point B1 based on the positions of A1 and C1; Step A44: Use detail lines to connect the starting point Q, A1, B1, C1 and the ending point Z in sequence, and record the element information; Step 4: Add and modify annotation information and export 2D drawings.
2. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 1, characterized in that, The detail lines are distinguished by their line width and / or color.
3. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 1, characterized in that, The method for determining the intermediate connection point B1 based on the positions of A1 and C1 is as follows: Step A431: Starting from point A1, extend horizontally to point M: if x2 > x1, extend to the right; otherwise, extend to the left; the extension distance is: ; Step A432: Starting from point A1, extend vertically to point M: if y2 > y1, extend upwards; otherwise, extend downwards; the extension distance is: Where A1 has coordinates (x1, y1) and C1 has coordinates (x2, y2). Step A433: Calculate the number of intersections between the line connecting point M, determined in steps A431 and A432, and A1 and C1, and the existing cross-sectional view and process flow line, and compare their values. Step A434: Define the M point corresponding to the smaller number of intersection points as point B1; if the number of intersection points is the same, define the M point that is on a straight line with points Q, A1, M or points Z, C1, M as point B1.
4. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 1, characterized in that, Before step A41, the method further includes: determining which side of the starting point Q and ending point Z of the process flow line are on in the starting point profile and ending point profile, respectively. The principle for determining this is: calculating the distance from the point selected by the user to each side of the profile, and defining the starting point Q or ending point Z as the side with the shortest distance.
5. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 1, characterized in that, Step A4 further includes: Step A45: If the detail line intersects with other section views, the boundary line of the intersecting section view is offset outward by a distance Y. A new connection is generated based on the offset boundary line and its two intersections with the detail line, and the connection conforms to the shortest principle.
6. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 5, characterized in that, X = (n-1) × 0.1w + 0.2w, Y = (m-1) × 0.1w + 0.2w, where n is the nth starting point being drawn on a certain edge, w is the width of the current profile, and m is the cumulative number of intersections between the current detail line and the profile.
7. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 5, characterized in that, Step A4 further includes: Step A46: If the currently drawn detail line intersects with an existing detail line, then: If the currently drawn detail line is a horizontal line, then there is no connection between the two endpoints obtained by the x-coordinate ±d of the intersection point, or the connection is a curve. If the currently drawn detail line is a vertical line, then the two endpoints obtained by the intersection point's ordinate ± d will have no connection or the connection will be a curve; d is a user-defined distance.
8. A method for creating a wastewater treatment plant process flow diagram based on Revit according to any one of claims 1-7, characterized in that, The annotation information is the elevation annotation value. When the elevation annotation value of a certain profile changes, the elevation annotation values of other profiles change accordingly.
9. The method for creating a wastewater treatment plant process flow diagram based on Revit according to claim 8, characterized in that, The specific steps for modifying elevation label values are as follows: The original elevation of a certain profile is H1, the new elevation is H2, and the attribute value of the profile relative to the base plane is elevation 1. Establish a reference elevation H, where the elevation value of H = elevation 1 height + H2 - H1; Modify the attribute value relative to the base plane in all elevation annotations in the current view to the reference elevation.