A method for rendering a three-dimensional pipe

By combining the 3D pipeline tool with reference axes and vertex auxiliary lines, three-dimensional pipelines can be drawn quickly and accurately, solving the problems of non-intuitive drawing and high cost in existing technologies, and achieving the effect of simplifying processes and reducing costs.

CN119963764BActive Publication Date: 2025-10-10BEIJING GUORUI ZHIXIN WATER SAVING TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510046687.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-10-10
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

In the existing technology, displaying the pipeline network layout and water flow direction through flat CAD drawings is not intuitive, and using virtual simulation methods requires the cooperation of multiple professionals, which is cumbersome and costly.

Method used

Using 3D pipeline tools, combined with reference axes, plane auxiliary and other vertex auxiliary lines, the reference axis can be adsorbed by mouse clicks to quickly and accurately draw three-dimensional pipelines, providing auxiliary drawing information to achieve orderly creation of three-dimensional pipelines.

Benefits of technology

It enables the rapid and accurate drawing of horizontal and vertical three-dimensional line segments in three-dimensional space, solves the problem of being unable to quickly draw intersecting, parallel, vertical, specified angle, and specified length three-dimensional pipelines in three-dimensional space by dragging the mouse and using a small amount of keyboard, simplifies the drawing process and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119963764B_ABST
    Figure CN119963764B_ABST
Patent Text Reader

Abstract

The application discloses a kind of three-dimensional pipeline drawing method in pipeline drawing technical field, including 3D pipeline tool, the mode of drawing three-dimensional pipeline uses existing broken line drawing mode, when drawing each vertex of three-dimensional pipeline, according to drawing requirement, provide auxiliary drawing information, specifically following steps, S1: 3D pipeline tool is according to the reference axis established according to current pipeline vertex position, the drawing method of this kind of three-dimensional pipeline is based on the reference mode of reference axis, plane auxiliary and other vertex auxiliary line, cooperate with the mode that mouse clicks adsorbs reference axis can quickly and accurately draw horizontal vertical three-dimensional line segment, realize orderly creation 3D line segment, solve the problem that cannot be drawn in three-dimensional space by mouse drag and a small amount of keyboard, quickly draw intersecting, parallel, perpendicular, specified angle, specified length three-dimensional pipeline, and cannot be drawn in three-dimensional pipeline on the facade of space arbitrary angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a three-dimensional pipeline drawing method, in particular to the technical field of pipeline drawing. Background Art

[0002] Construction drawings use 2D planes, which are not user-friendly for viewing water pipe network diagrams. It can even require analyzing multiple drawings to understand the entire pipeline network. In virtual simulation, the pipelines are 3D, which effectively conveys the entire pipeline network. However, this is expensive to produce and requires modelers to build and programmers to implement.

[0003] Two approaches are used to address this problem. One is to create continuous polyline points on a plane using the left mouse button in a CAD drawing, modifying the color, style, and thickness of the line segments to represent the pipelines. Text is used to indicate whether the drawing is an elevation or a plan, and then the pipeline network diagram is constructed through association. The other approach utilizes virtual simulation, where a professional pipeline draftsman draws a diagram and gives it to a modeler. The modeler uses professional 3D software to create a polygon mesh, perform UV expansion, and apply pipeline mapping. This is then given to a programmer, who imports it into the engine system to create a 3D effect and writes code to implement the pipeline network diagram.

[0004] Therefore, in the existing technology, the first method is to display through flat CAD drawings, which is not intuitive for the pipeline network layout and water flow direction; the second method requires the cooperation of pipeline draftsmen, modelers, and programmers, which is not only cumbersome but also costly. Summary of the Invention

[0005] The purpose of the present invention is to provide a three-dimensional pipeline drawing method to solve the problems raised in the above background technology. In the prior art, the first method is to display the pipeline network arrangement and water flow direction through a plane CAD drawing, which is not intuitive; the second method requires the cooperation of pipeline draftsmen, modelers, and programmers, which is not only cumbersome but also costly.

[0006] To achieve the above objectives, the present invention provides the following technical solutions: including a 3D pipeline tool, wherein the mode for drawing a 3D pipeline adopts the existing polyline drawing mode, and when drawing each vertex of the 3D pipeline, auxiliary drawing information is provided according to the drawing requirements, specifically the following steps:

[0007] S1: The 3D pipeline tool establishes a reference axis based on the current pipeline vertex position;

[0008] S2: In 3D space, the auxiliary lines and auxiliary lines intersect the vertex based on the current vertex reference axis, the coordinate axis matrix of itself and other reference vertices;

[0009] S3: In the specified plane, draw the next vertex of the pipeline according to the specified line segment angle, line segment height or specified length;

[0010] S4: Create vertex coordinates in an orderly manner according to specific conditions. The drawing steps are as follows;

[0011] Reference axis creation: Create under other existing "pipe objects" as reference objects. Sweep the mouse over the existing pipe vertices to generate the reference axis. Change the reference axis position by sweeping over other pipe vertices.

[0012] Create under the existing "building area object" as a reference object. Sweep the mouse over the existing building area object vertices to generate a reference axis. Change the reference axis position by sweeping over other building area object vertices.

[0013] To create a reference axis on a blank map, click on a blank area of ​​the map;

[0014] Activate the pipeline drawing command;

[0015] Reference axis;

[0016] Reference axis lock: press A to lock the reference axis angle and position. The reference axis position and angle will not change when the mouse moves over other reference object vertices.

[0017] Adsorption function, including the function of drawing a vertex to adsorb itself to its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb reference matrix auxiliary lines and edge extensions, and the function of drawing a vertex to adsorb the eight vertices where reference matrix auxiliary lines intersect;

[0018] Reference axis angle adjustment;

[0019] To manually rotate the axis angle, press the W key and use the mouse to rotate the reference axis angle;

[0020] Lock the drawing plane;

[0021] Set the drawing vertex height and create the first pipe vertex. By default, the vertex is created on the horizontal plane of the reference axis. Use the shortcut key to enter the reference plane of the reference axis to create a vertex. Use the shortcut key L to create a vertex according to the set length and mouse position. With the angle information, you can set a line segment with a specified angle and length. Use the shortcut key H to create a vertex according to the set height and mouse position. You can use the adsorption height axis to create a vertical line at a specific height.

[0022] Set the length of the drawing line segment, create line segments based on other pipeline vertices, draw matrix auxiliary lines and reference axes between the previous pipeline vertex and the reference pipeline vertex; create reference axes and matrix auxiliary lines between the last created pipeline vertex and the reference pipeline vertex swept by the mouse;

[0023] End pipeline creation: Press the Enter key to end pipeline creation; click the previous vertex to end pipeline creation;

[0024] It also includes creation under an existing "building area object" as a reference object: move the mouse close to the existing building area vertex to generate a reference axis;

[0025] Activate the pipeline drawing command;

[0026] Self-reference axis;

[0027] Self-reference axis locking;

[0028] The function of snapping the reference axis to an existing vertex;

[0029] Get the reference axis of the existing vertex that the mouse is moving over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, and the positive value of the reference axis X-axis is the extension line of the reference vertex and the previous vertex in the same line segment in the horizontal plane. If the reference vertex has no previous vertex, the reference axis takes the direction of the world coordinate axis;

[0030] Auxiliary matrix: After drawing one or more vertices, the reference vertex and the last vertex drawn by itself are drawn with matrix auxiliary lines in the world space according to the reference axis angle of the reference vertex;

[0031] Draw a vertex that can be adsorbed to its own axis and axis edge;

[0032] Draw the function of absorbing the reference axis and axis edge to the vertex;

[0033] Draw vertex adsorption reference matrix auxiliary lines and edge extension lines;

[0034] Draw multiple vertices where vertex snapping reference matrix auxiliary lines intersect;

[0035] Axis angle adjustment: Manually rotate the axis angle to generate multiple perpendicular planes of the axis according to the current axis angle. Use shortcut keys and the mouse to select a single plane to draw line segments. Use shortcut keys to set the vertex height and the line segment length according to the numerical value.

[0036] Preferably, the drawing information includes own axis, matrix auxiliary lines, vertices, polyline adsorption, reference matrix auxiliary line adsorption, axis angle control, arbitrary angle facade drawing and facade angle control.

[0037] Preferably, after the reference axis activation command in S1 is activated, if there are reference vertices such as pipes or buildings in the scene, the nearby vertices will be adsorbed to create a reference axis. If there are no reference pipes and buildings in the scene, click a blank point to create the first reference axis on the ground.

[0038] Preferably, the reference axis locking in S4 means that the reference axis position and angle can be locked by pressing the A key on the keyboard. After locking, the axis will not be adsorbed to the vertex over which the mouse passes.

[0039] Preferably, the adsorption function in S4 means that the vertex of the created pipeline can adsorb pipeline vertices, building vertices, reference line segment intersection vertices, reference line segments, reference matrix auxiliary lines, building line segments and pipeline line segments.

[0040] Preferably, the reference axis angle adjustment in S4 means that the angle of the current reference axis will automatically adjust the rotation direction with reference to the coordinate angle of the vertex passed by the mouse.

[0041] Preferably, manually rotating the axis angle in S4 refers to entering the axis rotation mode by pressing the W key on the keyboard, rotating the axis by using the mouse on the coordinates of the axis horizontal plane, and clicking the W key again to exit the axis rotation mode.

[0042] Preferably, locking the drawing plane in S4 means that there are multiple reference planes at the center of the reference coordinates. Hover the mouse over a reference plane, click the space bar on the keyboard to enter the reference plane to draw the vertex, and click the space bar again to exit the plane drawing.

[0043] Preferably, setting the drawing vertex height in S4 refers to calling out a vertex height setting panel by pressing the H key on the keyboard, and creating a vertex with the set height value at the current mouse position.

[0044] Preferably, setting the length of the drawn line segment in S4 refers to calling out a panel for setting the line segment length by pressing the L key on the keyboard, and creating a line segment on the vector line segment between the current mouse position and the previous vertex according to the value of the length panel.

[0045] Compared with the prior art, the present invention has the following beneficial effects:

[0046] This three-dimensional pipeline drawing method is based on the reference method of reference axis, plane auxiliary and other vertex auxiliary lines, and can quickly and accurately draw horizontal and vertical three-dimensional line segments in combination with the method of clicking the mouse to adsorb the reference axis, and realize the orderly creation of 3D line segments. It solves the problem that it is impossible to quickly draw intersecting, parallel, vertical, specified angle and specified length three-dimensional pipelines in three-dimensional space by dragging and dropping the mouse and a small amount of keyboard, and it is impossible to draw three-dimensional pipelines on the facade at any angle in space. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A schematic diagram of creating a reference axis by adsorbing nearby vertices in a method for drawing a three-dimensional pipeline according to the present invention;

[0048] Figure 2 When the scene of the three-dimensional pipeline drawing method of the present invention does not have a reference pipeline and a building, a schematic diagram of a first reference axis is created;

[0049] Figure 3 A schematic diagram of locking the reference axis position and angle in the three-dimensional pipeline drawing method of the present invention;

[0050] Figure 4 A schematic diagram of adsorbing vertices of a created pipeline in the method for drawing a three-dimensional pipeline of the present invention;

[0051] Figure 5 A schematic diagram of reference axis angle adjustment in the three-dimensional pipeline drawing method of the present invention;

[0052] Figure 6 A schematic diagram of the manual rotation axis angle of the three-dimensional pipeline drawing method of the present invention;

[0053] Figure 7 A schematic diagram of a locked drawing plane of a three-dimensional pipeline drawing method according to the present invention;

[0054] Figure 8 A schematic diagram of vertex heights for setting a three-dimensional pipeline drawing method according to the present invention;

[0055] Figure 9 A schematic diagram of setting the length of a drawing line segment in a method for drawing a three-dimensional pipeline according to the present invention;

[0056] Figure 10 A schematic diagram of a generation reference axis for a method for drawing a three-dimensional pipeline according to the present invention;

[0057] Figure 11 A schematic diagram of a second reference axis generated by the method for drawing a three-dimensional pipeline according to the present invention;

[0058] Figure 12 Schematic diagram of generating reference axis three of the method for drawing a three-dimensional pipeline according to the present invention;

[0059] Figure 13 Schematic diagram of locked reference axis for the method for drawing a three-dimensional pipeline according to the present invention;

[0060] Figure 14 A schematic diagram of the method for drawing a three-dimensional pipeline according to the present invention, wherein the A key is pressed to lock the reference axis angle and position;

[0061] Figure 15 A schematic diagram of creating vertices on a horizontal plane of a reference axis by default in a method for drawing a three-dimensional pipeline according to the present invention;

[0062] Figure 16 A schematic diagram of creating vertices on a reference plane entering a reference axis in a method for drawing a three-dimensional pipeline according to the present invention;

[0063] Figure 17 A schematic diagram of setting a line segment with a specified angle and length in the method for drawing a three-dimensional pipeline of the present invention;

[0064] Figure 18 Create a vertical line diagram of a specific height for the adsorption height axis of the three-dimensional pipeline drawing method of the present application;

[0065] Figure 19 Create a reference axis and matrix auxiliary line diagram for the three-dimensional pipeline drawing method of the present application;

[0066] Figure 20 Draw a diagram of drawing the top point adsorbing its own axis center for the three-dimensional pipeline drawing method of the present application;

[0067] Figure 21 Draw a diagram of drawing the top point adsorbing its own axis edge for the three-dimensional pipeline drawing method of the present application;

[0068] Figure 22 Draw a diagram of drawing the top point adsorbing the reference top point for the three-dimensional pipeline drawing method of the present application;

[0069] Figure 23 Draw a diagram of drawing the top point adsorbing the reference top point axis for the three-dimensional pipeline drawing method of the present application;

[0070] Figure 24 Draw a diagram of drawing the top point adsorbing the auxiliary rectangle edge for the three-dimensional pipeline drawing method of the present application;

[0071] Figure 25 Draw a diagram of drawing the top point adsorbing the auxiliary rectangle edge extension line for the three-dimensional pipeline drawing method of the present application;

[0072] Figure 26 Draw a diagram of drawing the top point adsorbing the 8 top points intersected by the auxiliary rectangle edge for the three-dimensional pipeline drawing method of the present application;

[0073] Figure 27 Draw a diagram of generating a reference axis under the condition that an existing "building area object" is taken as a reference object for the three-dimensional pipeline drawing method of the present application. DETAILED DESCRIPTION

[0074] In the description of the present application, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like indicate the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application.

[0075] In the description of the present invention, “plurality” means two or more than two, unless otherwise clearly defined.

[0076] In the description of the present invention, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "provided with," "mounted / connected," and "connected" should be understood in a broad sense. For example, "connected" can mean a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be internal communication between two components. Those skilled in the art will be able to understand the specific meanings of the above terms in the present invention in specific circumstances.

[0077] The present invention provides a technical solution. Based on the reference method of reference axis, plane auxiliary and other vertex auxiliary lines, combined with the method of mouse clicking to absorb reference axis, it can quickly and accurately draw horizontal and vertical three-dimensional line segments, realize the orderly creation of 3D line segments, and solve the problem of not being able to quickly draw intersecting, parallel, perpendicular, specified angle and specified length three-dimensional pipes in three-dimensional space by dragging the mouse and a small amount of keyboard, and not being able to draw three-dimensional pipes on the facade at any angle in space. Please refer to Figures 1 to 27 The method includes a 3D pipeline tool. The mode of drawing the three-dimensional pipeline adopts the existing polyline drawing mode. When drawing each vertex of the three-dimensional pipeline, auxiliary drawing information is provided according to the drawing requirements. Specifically, the following steps are performed:

[0078] S1: The 3D pipeline tool establishes a reference axis based on the current pipeline vertex position;

[0079] S2: In 3D space, the auxiliary lines and auxiliary lines intersect the vertex based on the current vertex reference axis, the coordinate axis matrix of itself and other reference vertices;

[0080] S3: In the specified plane, draw the next vertex of the pipeline according to the specified line segment angle, line segment height or specified length;

[0081] S4: Create vertex coordinates in an orderly manner according to specific conditions. The drawing steps are as follows;

[0082] Reference axis creation: Create under other existing "pipe objects" as reference objects. Sweep the mouse over the existing pipe vertices to generate the reference axis. Change the reference axis position by sweeping over other pipe vertices.

[0083] Create under the existing "building area object" as a reference object. Sweep the mouse over the existing building area object vertices to generate a reference axis. Change the reference axis position by sweeping over other building area object vertices.

[0084] To create a reference axis on a blank map, click on a blank area of ​​the map;

[0085] Activate the pipeline drawing command;

[0086] Reference axis;

[0087] Reference axis lock: press A to lock the reference axis angle and position. The reference axis position and angle will not change when the mouse moves over other reference object vertices.

[0088] Adsorption function, including the function of drawing a vertex to adsorb itself to its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb reference matrix auxiliary lines and edge extensions, and the function of drawing a vertex to adsorb the eight vertices where reference matrix auxiliary lines intersect;

[0089] Reference axis angle adjustment;

[0090] To manually rotate the axis angle, press the W key and use the mouse to rotate the reference axis angle;

[0091] Lock the drawing plane;

[0092] Set the drawing vertex height and create the first pipe vertex. By default, the vertex is created on the horizontal plane of the reference axis. Use the shortcut key to enter the reference plane of the reference axis to create a vertex. Use the shortcut key L to create a vertex according to the set length and mouse position. With the angle information, you can set a line segment with a specified angle and length. Use the shortcut key H to create a vertex according to the set height and mouse position. You can use the adsorption height axis to create a vertical line at a specific height.

[0093] Set the length of the drawing line segment, create line segments based on other pipeline vertices, draw matrix auxiliary lines and reference axes between the previous pipeline vertex and the reference pipeline vertex; create reference axes and matrix auxiliary lines between the last created pipeline vertex and the reference pipeline vertex swept by the mouse;

[0094] End pipeline creation: Press the Enter key to end pipeline creation; click the previous vertex to end pipeline creation;

[0095] It also includes creation under an existing "building area object" as a reference object: move the mouse close to the existing building area vertex to generate a reference axis;

[0096] Activate the pipeline drawing command;

[0097] Self-reference axis;

[0098] Self-reference axis locking;

[0099] The function of snapping the reference axis to an existing vertex;

[0100] Get the reference axis of the existing vertex that the mouse is moving over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, and the positive value of the reference axis X-axis is the extension line of the reference vertex and the previous vertex in the same line segment in the horizontal plane. If the reference vertex has no previous vertex, the reference axis takes the direction of the world coordinate axis;

[0101] Auxiliary matrix: After drawing one or more vertices, the reference vertex and the last vertex drawn by itself are drawn with matrix auxiliary lines in the world space according to the reference axis angle of the reference vertex;

[0102] Draw a vertex that can be adsorbed to its own axis and axis edge;

[0103] Draw the function of absorbing the reference axis and axis edge to the vertex;

[0104] Draw vertex adsorption reference matrix auxiliary lines and edge extension lines;

[0105] Draw multiple vertices where vertex snapping reference matrix auxiliary lines intersect;

[0106] Axis angle adjustment: Manually rotate the axis angle, generate 3 perpendicular planes of the axis according to the current axis angle, and use shortcut keys and mouse to select a single plane to draw line segments. Use shortcut keys to set the vertex height according to the numerical value, and use shortcut keys to set the line segment length according to the numerical value.

[0107] At the same time, the drawing information includes its own axis, reference matrix auxiliary line, vertex, polyline adsorption, reference matrix auxiliary line adsorption, axis angle control, arbitrary angle facade drawing and facade angle control. After the reference axis command is activated in S1, if there are reference vertices such as pipes or buildings in the scene, the nearby vertices will be adsorbed to create a reference axis. If there are no reference pipes and buildings in the scene, just click a blank point to create the first reference axis on the ground. The reference axis lock in S4 means that the reference axis position and angle can be locked by pressing the A key on the keyboard. After locking, the axis will not be adsorbed to the vertex over which the mouse passes. The adsorption function in S4 means that the vertex of the created pipeline can adsorb pipeline vertices, building vertices, reference line intersection vertices, reference line segments, reference matrix auxiliary lines, building line segments and pipeline line segments. The reference axis angle adjustment in S4 means that the angle of the current reference axis will refer to the coordinate angle of the vertex over which the mouse passes, and automatically adjust the rotation direction. Manually rotating the axis angle in S4 means entering the axis rotation mode by pressing the W key on the keyboard, rotating the axis by the coordinate of the mouse in the horizontal plane of the axis, and clicking the W key again to exit. In the axis rotation mode, locking the drawing plane in S4 means that there are multiple reference planes at the center of the reference coordinates. Hover the mouse over a reference plane, click the space bar on the keyboard to enter the reference plane to draw the vertex, and click the space bar again to exit the plane drawing. Setting the drawing vertex height in S4 means pressing the H key on the keyboard to call out the set vertex height panel, which will create a vertex with the set height value at the current mouse position. Setting the drawing line segment length in S4 means pressing the L key on the keyboard to call out the set line segment length panel, which will create a line segment on the vector line segment between the current mouse position and the previous vertex according to the length panel value.

[0108] Example 1

[0109] Including 3D pipeline tools, the mode of drawing 3D pipelines adopts the existing polyline drawing mode. When drawing each vertex of the 3D pipeline, auxiliary drawing information is provided according to the drawing requirements. The specific steps are as follows:

[0110] S1: The 3D pipeline tool establishes a reference axis based on the current pipeline vertex position;

[0111] S2: In 3D space, the auxiliary lines and auxiliary lines intersect the vertex based on the current vertex reference axis, the coordinate axis matrix of itself and other reference vertices;

[0112] S3: In the specified plane, draw the next vertex of the pipeline according to the specified line segment angle, line segment height or specified length;

[0113] S4: Create vertex coordinates in an orderly manner according to specific conditions. The drawing steps are as follows;

[0114] Reference axis creation: Create under other existing "pipe objects" as reference objects. Sweep the mouse over the existing pipe vertices to generate the reference axis. Change the reference axis position by sweeping over other pipe vertices.

[0115] Create under the existing "building area object" as a reference object. Sweep the mouse over the existing building area object vertices to generate a reference axis. Change the reference axis position by sweeping over other building area object vertices.

[0116] To create a reference axis on a blank map, click on a blank area of ​​the map;

[0117] Activate the pipeline drawing command;

[0118] Reference axis;

[0119] Reference axis lock: press A to lock the reference axis angle and position. The reference axis position and angle will not change when the mouse moves over other reference object vertices.

[0120] Adsorption function, including the function of drawing a vertex to adsorb itself to its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb reference matrix auxiliary lines and edge extensions, and the function of drawing a vertex to adsorb the eight vertices where reference matrix auxiliary lines intersect;

[0121] Reference axis angle adjustment;

[0122] To manually rotate the axis angle, press the W key and use the mouse to rotate the reference axis angle;

[0123] Lock the drawing plane;

[0124] Set the drawing vertex height and create the first pipe vertex. By default, the vertex is created on the horizontal plane of the reference axis. Use the shortcut key to enter the reference plane of the reference axis to create a vertex. Use the shortcut key L to create a vertex according to the set length and mouse position. With the angle information, you can set a line segment with a specified angle and length. Use the shortcut key H to create a vertex according to the set height and mouse position. You can use the adsorption height axis to create a vertical line at a specific height.

[0125] Set the length of the drawing line segment, create line segments based on other pipeline vertices, draw matrix auxiliary lines and reference axes between the previous pipeline vertex and the reference pipeline vertex; create reference axes and matrix auxiliary lines between the last created pipeline vertex and the reference pipeline vertex swept by the mouse;

[0126] End pipeline creation: Press the Enter key to end pipeline creation; click the previous vertex to end pipeline creation;

[0127] It also includes creation under an existing "building area object" as a reference object: move the mouse close to the existing building area vertex to generate a reference axis;

[0128] Activate the pipeline rendering command;

[0129] Self-reference axis;

[0130] Self-reference axis lock;

[0131] Reference axis adsorbed to the existing vertex function;

[0132] Get the mouse over the existing vertex reference axis and generate auxiliary matrix, reference axis direction: the reference vertex reference axis direction is the line segment between the reference vertex and the previous vertex in the same line segment in the horizontal plane, if the reference vertex has no previous vertex, the reference axis takes the world coordinate axis direction;

[0133] Auxiliary matrix: after drawing more than one vertex, the reference vertex and the last drawn vertex according to the reference axis angle of the reference vertex are drawn in the world space matrix auxiliary line;

[0134] Draw vertex adsorption of its own axis center and axis edge function;

[0135] Draw vertex adsorption of reference axis center and axis edge function;

[0136] Draw vertex adsorption of reference matrix auxiliary line and edge extension line function;

[0137] Draw vertex adsorption of reference matrix auxiliary line intersection multiple vertex function;

[0138] Axis angle adjustment: manually rotate the axis angle, generate three perpendicular planes of the axis according to the current axis angle, and enter the single plane drawing line segment through the shortcut key and mouse selection, set the drawing vertex height through the shortcut key, and set the drawing line segment length through the shortcut key;

[0139] Subsequently, the drawing information includes self-axis, reference matrix auxiliary line, vertex, polyline adsorption, reference matrix auxiliary line adsorption, axis angle control, arbitrary angle facade drawing and facade angle control.

[0140] Secondly, after the reference axis activation command in S1, the nearby vertex will be adsorbed to create a reference axis when there is a pipeline or building reference vertex in the scene, and the first reference axis will be created on the ground by clicking the blank point when there is no reference pipeline and building in the scene.

[0141] Next, the reference axis lock in S4 means that the reference axis position and angle can be locked through the keyboard A key, and after locking, the axis will not be adsorbed to the vertex drawn by the mouse.

[0142] At the same time, the adsorption function in S4 means that the vertices of the created pipeline can adsorb pipeline vertices, building vertices, reference line segment intersection vertices, reference line segments, reference matrix auxiliary lines, building line segments and pipeline line segments.

[0143] Next, the reference axis angle adjustment in S4 means that the angle of the current reference axis will refer to the coordinate angle of the vertex where the mouse passes over, and automatically adjust the rotation direction.

[0144] Subsequently, manually rotating the axis angle in S4 means entering the axis rotation mode by pressing the W key on the keyboard, rotating the axis using the mouse on the coordinates of the axis horizontal plane, and exiting the axis rotation mode by pressing the W key again;

[0145] Then, in S4, locking the drawing plane means that there are multiple reference planes at the center of the reference coordinates. Hover the mouse over a reference plane, press the space bar on the keyboard to enter the reference plane to draw the vertex, and press the space bar again to exit the plane drawing;

[0146] Next, setting the drawing vertex height in S4 means pressing the H key on the keyboard to call out the vertex height setting panel, which will create a vertex with the set height value at the current mouse position.

[0147] Finally, setting the length of the drawn line segment in S4 means using the L key on the keyboard to call out the line segment length setting panel. A line segment will be created on the vector segment between the current mouse position and the previous vertex according to the length panel value.

[0148] To sum up, the reference method based on reference axes, plane auxiliary and other vertex auxiliary lines, combined with the method of clicking the mouse to adsorb the reference axis, can quickly and accurately draw horizontal and vertical three-dimensional line segments, realize the orderly creation of 3D line segments, and solve the problem of not being able to quickly draw intersecting, parallel, vertical, specified angle, and specified length three-dimensional pipelines in three-dimensional space by dragging the mouse and a small amount of keyboard, and not being able to draw three-dimensional pipelines on facades at any angle in space.

[0149] Although the present invention has been described above with reference to exemplary embodiments, various modifications may be made thereto and equivalent components may be substituted without departing from the scope of the present invention. In particular, the various features of the embodiments disclosed herein may be combined with one another in any manner, provided no structural conflicts exist. The omission of an exhaustive description of these combinations in this specification is solely for the sake of space and resource conservation. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but encompasses all technical solutions within the scope of the claims.

Claims

1. A method for drawing a three-dimensional pipeline, characterized by: Including 3D pipeline tools, the mode of drawing 3D pipelines adopts the existing polyline drawing mode. When drawing each vertex of the 3D pipeline, auxiliary drawing information is provided according to the drawing requirements. The specific steps are as follows: S1: The 3D pipeline tool establishes a reference axis based on the current pipeline vertex position; S2: In 3D space, the auxiliary lines and auxiliary lines intersect the vertex based on the current vertex reference axis, the coordinate axis matrix of itself and other reference vertices; S3: In the specified plane, draw the next vertex of the pipeline according to the specified line segment angle, line segment height or specified length; S4: Create vertex coordinates in an orderly manner according to specific conditions. The drawing steps are as follows; Reference axis creation: Create under other existing "pipe objects" as reference objects. Sweep the mouse over the existing pipe vertices to generate the reference axis. Change the reference axis position by sweeping over other pipe vertices. Create under an existing "building area object" as a reference object. Sweep the mouse over the existing building area object's vertices to generate a reference axis. Sweep over other building area object vertices to change the reference axis position. To create a reference axis on a blank map, click on a blank area of ​​the map; Activate the pipeline drawing command; Reference axis; Reference axis lock: press A to lock the reference axis angle and position. The reference axis position and angle will not change when the mouse moves over other reference object vertices. Adsorption function, including the function of drawing a vertex to adsorb itself to its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb reference matrix auxiliary lines and edge extensions, and the function of drawing a vertex to adsorb the eight vertices where reference matrix auxiliary lines intersect; Reference axis angle adjustment; To manually rotate the axis angle, press the W key and use the mouse to rotate the reference axis angle; Lock the drawing plane; Set the drawing vertex height and create the first pipe vertex. By default, the vertex is created on the horizontal plane of the reference axis. Use the shortcut key to enter the reference plane of the reference axis to create a vertex. Use the shortcut key L to create a vertex according to the set length and mouse position. With the angle information, you can set a line segment with a specified angle and length. Use the shortcut key H to create a vertex according to the set height and mouse position. You can use the adsorption height axis to create a vertical line at a specific height. Set the length of the drawing line segment, create line segments based on other pipeline vertices, draw matrix auxiliary lines and reference axes between the previous pipeline vertex and the reference pipeline vertex; create reference axes and matrix auxiliary lines between the last created pipeline vertex and the reference pipeline vertex swept by the mouse; End pipeline creation: Press Enter to end pipeline creation. End pipeline creation by clicking the previous vertex with the mouse; It also includes creation under an existing "building area object" as a reference object: move the mouse close to the existing building area vertex to generate a reference axis; Activate the pipeline drawing command; Self-reference axis; Self-reference axis locking; The function of snapping the reference axis to an existing vertex; Get the reference axis of the existing vertex that the mouse is moving over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, and the positive value of the reference axis X-axis is the extension line of the reference vertex and the previous vertex in the same line segment in the horizontal plane. If the reference vertex has no previous vertex, the reference axis takes the direction of the world coordinate axis; Auxiliary matrix: After drawing one or more vertices, the reference vertex and the last vertex drawn by itself are drawn with matrix auxiliary lines in the world space according to the reference axis angle of the reference vertex; Draw a vertex that can be adsorbed to its own axis and axis edge; Draw the function of absorbing the reference axis and axis edge to the vertex; Draw vertex adsorption reference matrix auxiliary lines and edge extension lines; Draw multiple vertices where vertex snapping reference matrix auxiliary lines intersect; Axis angle adjustment: Manually rotate the axis angle to generate multiple perpendicular planes of the axis according to the current axis angle. Use shortcut keys and the mouse to select a single plane to draw line segments. Use shortcut keys to set the vertex height and the line segment length according to the numerical value.

2. The three-dimensional pipeline drawing method according to claim 1, characterized in that: The drawing information includes its own axis, reference matrix auxiliary lines, vertices, polyline adsorption, reference matrix auxiliary line adsorption, axis angle control, arbitrary angle facade drawing and facade angle control.

3. The three-dimensional pipeline drawing method according to claim 2, characterized in that: After activating the reference axis command in S1, if there are reference vertices such as pipes or buildings in the scene, the nearby vertices will be adsorbed to create a reference axis. If there are no reference pipes or buildings in the scene, click a blank point to create the first reference axis on the ground.

4. The three-dimensional pipeline drawing method according to claim 3, characterized in that: The reference axis lock in S4 means that the reference axis position and angle can be locked by pressing the A key on the keyboard. After locking, the axis will not be adsorbed to the vertex over which the mouse moves.

5. The three-dimensional pipeline drawing method according to claim 4, characterized in that: The adsorption function in S4 means that the vertex of the created pipeline can adsorb pipeline vertices, building vertices, reference line segment intersection vertices, reference line segments, reference matrix auxiliary lines, building line segments and pipeline line segments.

6. The three-dimensional pipeline drawing method according to claim 5, characterized in that: The reference axis angle adjustment in S4 means that the angle of the current reference axis will automatically adjust the rotation direction with reference to the coordinate angle of the vertex passed by the mouse.

7. The three-dimensional pipeline drawing method according to claim 6, characterized in that: Manually rotating the axis angle in S4 refers to entering the axis rotation mode by pressing the W key on the keyboard, rotating the axis on the axis horizontal plane coordinates with the mouse, and exiting the axis rotation mode by pressing the W key again.

8. The three-dimensional pipeline drawing method according to claim 7, characterized in that: Locking the drawing plane in S4 means that there are multiple reference planes at the center of the reference coordinates. Hover the mouse over a reference plane, click the space bar on the keyboard to enter the reference plane to draw vertices, and click the space bar again to exit the plane drawing.

9. The three-dimensional pipeline drawing method according to claim 8, characterized in that: Setting the drawing vertex height in S4 refers to calling out the vertex height setting panel by pressing the H key on the keyboard, and creating a vertex with the set height value at the current mouse position.

10. The three-dimensional pipeline drawing method according to claim 9, characterized in that: Setting the length of the drawn line segment in S4 refers to calling out the line segment length setting panel by pressing the L key on the keyboard, and creating a line segment on the vector segment between the current mouse position and the previous vertex according to the value in the length panel.

Citation Information

Patent Citations

  • Method and device for establishing three-dimensional model of long-distance pipeline

    CN113722841A

  • 3D scene drawing house type modeling method and system

    CN117934679A