Drawing method of three-dimensional pipeline
Through 3D pipeline tools and reference axis assistance technology, the rapid and accurate drawing of three-dimensional pipelines in three-dimensional space is achieved, solving the problems of unintuitive and costly drawing in the existing technology.
Patent Information
- Application Number
- CN202510046687.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-01-13
AI Technical Summary
In the prior art, the pipeline network is displayed through flat CAD drawings, and the pipeline network arrangement and water flow direction cannot be intuitively expressed; while using virtual simulation to create a three-dimensional pipeline network diagram requires the cooperation of multiple professionals, and the process is cumbersome and costly.
Provide a three-dimensional pipeline drawing method. Using 3D pipeline tools, reference methods of reference axis, plane assist and other vertex assist lines, combined with the mouse click to adsorb the reference axis, to quickly and accurately draw three-dimensional pipelines.
It realizes the rapid and accurate drawing of three-dimensional pipelines of intersection, parallel, vertical, specified angle, and specified length in three-dimensional space, solving the problem of being unable to quickly draw three-dimensional pipelines in three-dimensional space and reducing production costs.
Smart Images

Figure CN119963764A_ABST
Abstract
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] The construction drawings are drawn in 2D plane, which is not very user-friendly for viewing the water pipe network diagram. It is even necessary to analyze multiple drawings to associate the whole pipeline. In virtual simulation, the pipeline is 3D. It can effectively express the whole pipeline. However, the production cost is high, and it requires modelers to model and programmers to implement it.
[0003] In the face of this problem, there are two ways to use. One way is to use the left mouse button to create continuous polyline points on the plane of the CAD drawing, and modify the color, style and thickness of the line segment to express the pipeline. And use text to explain whether the drawing is a facade or a plane, and then form a pipeline network diagram through association; the other way is to use virtual simulation. Virtual simulation is to use a professional pipeline draftsman to draw a picture for the modeler. The modeler uses professional 3D software to create polygonal meshes, expand UV, and draw pipeline maps. Then give it to the programmer, import it into the engine system to make a 3D effect, and write code to implement the pipeline network diagram.
[0004] Therefore, in the prior art, the first method is to display the pipeline network layout and water flow direction through a flat CAD drawing, which is not intuitive; the second method requires cooperation between 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 object, the present invention provides the following technical solution: including a 3D pipeline tool, the mode of drawing a three-dimensional pipeline adopts the existing polyline drawing mode, when drawing each vertex of the three-dimensional pipeline, according to the drawing requirements, auxiliary drawing information is provided, 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, based on the current vertex reference axis, the matrix auxiliary lines of itself and other reference vertex coordinate axes, and the intersection vertex of the auxiliary lines;
[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: A drawing method that creates 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, and 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, and 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 its own axis, the function of drawing a vertex to adsorb a reference vertex and vertex axis, the function of drawing a vertex to adsorb the auxiliary rectangle edge and the extension line of the edge, and the function of drawing a vertex to adsorb multiple vertices at the intersection of the auxiliary rectangle edge;
[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, create the first pipeline vertex, and create the vertex on the horizontal plane of the reference axis by default. Use the shortcut key to enter the reference plane of the reference axis to create the vertex. Use the shortcut key L to create the vertex according to the set length and mouse position. With the angle information, you can set the line segment of the specified angle and length. Use the shortcut key H to create the vertex according to the set height and mouse position. You can create a vertical line of a specific height with the adsorption height axis.
[0022] Set the length of the drawing line segment, create line segments with reference to other pipeline vertices, draw the cube auxiliary line and reference axis between the last pipeline vertex and the reference pipeline vertex; create the reference axis and space matrix auxiliary line segment 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 slides over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, 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 more than one vertex, 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 to adsorb 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 auxiliary rectangle edges and edge extension lines;
[0034] Draw the 8 vertices function where the vertex adsorption assists the intersection of the rectangle edges;
[0035] Axis angle adjustment: Manually rotate the axis angle, generate multiple vertical planes of the axis according to the current axis angle, and enter a single plane to draw line segments through shortcut keys and mouse selection. Use shortcut keys to set the vertex height according to the numerical value, and use shortcut keys to set the length of the line segment according to the numerical value.
[0036] Preferably, the drawing information includes self-axis, reference axis, vertex, adsorption of polyline, adsorption of reference matrix extension line, axis angle control, arbitrary angle facade drawing and facade angle control.
[0037] Preferably, after the reference axis activation command in S4 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 axis segments, 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 coordinates of the axis horizontal plane with the mouse, and exiting the axis rotation mode by pressing the W key again.
[0042] Preferably, locking the drawing plane in S4 means that there are multiple reference planes at the center of the reference coordinates. The mouse hovers over a reference plane, clicks the space bar on the keyboard, enters the reference plane to draw vertices, and clicks 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 length panel value.
[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 conjunction with the method of clicking the mouse to absorb the reference axis, and realize the orderly creation of 3D line segments, solving the problem of not being able to quickly draw intersecting, parallel, vertical, specified angle, and specified length three-dimensional pipelines by dragging the mouse and a small amount of keyboard in three-dimensional space, and the problem of not being able to draw three-dimensional pipelines on facades at any angle in space. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of creating a reference axis for adsorbing nearby vertices in a method for drawing a three-dimensional pipeline of the present invention;
[0048] Figure 2 When there is no reference pipeline and building in the scene of the three-dimensional pipeline drawing method of the present invention, a schematic diagram of a first reference axis is created;
[0049] Figure 3 A schematic diagram of locking the reference axis position and angle of 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 adjusting the reference axis angle of the three-dimensional pipeline drawing method of the present invention;
[0052] Figure 6 It is a schematic diagram of the manual rotation axis angle of the three-dimensional pipeline drawing method of the present invention;
[0053] Figure 7 It is a schematic diagram of a locked drawing plane of the three-dimensional pipeline drawing method of the present invention;
[0054] Figure 8 A schematic diagram of vertex heights for setting a three-dimensional pipeline drawing method of the present invention;
[0055] Fig. 9 A schematic diagram of setting the length of a drawing line segment in a drawing method of a three-dimensional pipeline according to the present invention;
[0056] Fig.10 A schematic diagram of a generation reference axis of a three-dimensional pipeline drawing method of the present invention;
[0057] Fig.11 A schematic diagram of generating a second reference axis of the method for drawing a three-dimensional pipeline according to the present invention;
[0058] Fig.12 A schematic diagram of generating reference axes three of the method for drawing a three-dimensional pipeline according to the present invention;
[0059] Fig.13 A schematic diagram of a locked reference axis of a three-dimensional pipeline drawing method of the present invention;
[0060] Fig.14 A schematic diagram of locking the reference axis angle and position by pressing the A key in the method for drawing a three-dimensional pipeline of the present invention;
[0061] Fig.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 of the present invention;
[0062] Fig.16 A schematic diagram of creating vertices on a reference plane entering a reference axis in a method for drawing a three-dimensional pipeline of the present invention;
[0063] Fig.17 A schematic diagram of setting a line segment with a specified angle and length in a method for drawing a three-dimensional pipeline of the present invention;
[0064] Fig.18 Creating a vertical line schematic diagram of a specific height for the adsorption height axis of the three-dimensional pipeline drawing method of the present invention;
[0065] Fig.19 A schematic diagram of creating reference axes and space matrix auxiliary line segments for a three-dimensional pipeline drawing method of the present invention;
[0066] Fig. 20 A schematic diagram of a drawing vertex adsorbing its own axis in a drawing method of a three-dimensional pipeline according to the present invention;
[0067] Fig.21 A schematic diagram of a drawing vertex adsorbing its own axis edge in a drawing method of a three-dimensional pipeline according to the present invention;
[0068] Fig. 22 A schematic diagram of adsorbing a reference vertex to a drawing vertex in a three-dimensional pipeline drawing method of the present invention;
[0069] Fig.23 A schematic diagram of a drawing vertex adsorbing a reference vertex axis in a drawing method for a three-dimensional pipeline of the present invention;
[0070] Fig.24 A schematic diagram of drawing vertex adsorption auxiliary rectangular edges in the three-dimensional pipeline drawing method of the present invention;
[0071] Fig.25 It is a schematic diagram of the extension line of the side of the auxiliary rectangle for drawing the vertex adsorption of the three-dimensional pipeline drawing method of the present invention;
[0072] Fig.26 A schematic diagram of drawing eight vertices where the edges of a vertex adsorption auxiliary rectangle intersect in a method for drawing a three-dimensional pipeline of the present invention;
[0073] Fig. 27 The three-dimensional pipeline drawing method of the present invention is created under the existing "building area object" as a reference object to generate a schematic diagram of the reference axis. DETAILED DESCRIPTION
[0074] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0075] In the description of the present invention, “plurality” means two or more than two, unless otherwise clearly and specifically defined.
[0076] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "provided with", "mounted / connected", "connected", etc. should be understood in a broad sense. For example, "connected" can be 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 it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0077] The present invention provides a technical solution, which can quickly and accurately draw horizontal and vertical three-dimensional line segments based on the reference axis, plane auxiliary and other vertex auxiliary lines, and realize the orderly creation of 3D line segments by clicking the mouse to absorb the reference axis, and solve 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 with 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. Please refer to Figures 1 to 27 The method includes a 3D pipeline tool. The mode of drawing a 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, based on the current vertex reference axis, the matrix auxiliary lines of itself and other reference vertex coordinate axes, and the intersection vertex of the auxiliary lines;
[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: A drawing method that creates 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, and 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, and 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 its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb auxiliary rectangle edges and edge extensions, and the function of drawing 8 vertices where the edges of the vertex adsorb auxiliary rectangles 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, create the first pipeline vertex, and create the vertex on the horizontal plane of the reference axis by default. Use the shortcut key to enter the reference plane of the reference axis to create the vertex. Use the shortcut key L to create the vertex according to the set length and mouse position. With the angle information, you can set the line segment of the specified angle and length. Use the shortcut key H to create the vertex according to the set height and mouse position. You can create a vertical line of a specific height with the adsorption height axis.
[0093] Set the length of the drawing line segment, create line segments with reference to other pipeline vertices, draw the cube auxiliary line and reference axis between the last pipeline vertex and the reference pipeline vertex; create the reference axis and space matrix auxiliary line segment 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 slides over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, 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 more than one vertex, 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 to adsorb 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 auxiliary rectangle edges and edge extension lines;
[0105] Draw vertex adsorption auxiliary rectangle edge intersection multiple vertex function;
[0106] Axis angle adjustment: Manually rotate the axis angle, generate 3 perpendicular planes of the axis according to the current axis angle, and enter a single plane to draw line segments through shortcut keys and mouse selection, use shortcut keys to set the vertex height according to the numerical value, and use shortcut keys to set the length of the line segment according to the numerical value.
[0107] At the same time, the drawing information includes the adsorption of its own axis, reference axis line, vertex, polyline, reference matrix extension line adsorption, axis angle control, arbitrary angle facade drawing and facade angle control. After the reference axis command is activated in S4, if there are reference vertices such as pipelines or buildings in the scene, the nearby vertices will be adsorbed to create a reference axis. If there are no reference pipelines and buildings in the scene, just click a blank point to create the first reference axis on the ground. 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. The adsorption function in S4 means that the vertex created by the pipeline can adsorb pipeline vertices, building vertices, reference line segment intersection vertices, reference line segments, reference axis segments, 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 vertex over which the mouse passes. Coordinate angle, automatically adjust the rotation direction, manual rotation of the axis angle in S4 means entering the axis rotation mode by pressing the W key on the keyboard, rotating the axis by the mouse on the coordinates of the horizontal plane of the axis, and clicking the W key again to exit the axis rotation mode, locking the drawing plane in S4 means having multiple reference planes at the center of the reference coordinates, hovering the mouse over a reference plane, clicking the space bar on the keyboard to enter the reference plane to draw vertices, and clicking 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 vertex height setting panel, which will create a vertex with the set height value at the current mouse position, setting the drawing segment length in S4 means pressing the L key on the keyboard to call out the segment length setting panel, which will create a segment on the vector segment between the current mouse position and the previous vertex according to the length panel value.
[0108] Embodiment 1
[0109] Including 3D pipeline tools, the mode of drawing three-dimensional pipelines 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. 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, based on the current vertex reference axis, the matrix auxiliary lines of itself and other reference vertex coordinate axes, and the intersection vertex of the auxiliary lines;
[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: A drawing method that creates 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, and 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, and 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 its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb auxiliary rectangle edges and edge extensions, and the function of drawing 8 vertices where the edges of the vertex adsorb auxiliary rectangles 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, create the first pipeline vertex, and create the vertex on the horizontal plane of the reference axis by default. Use the shortcut key to enter the reference plane of the reference axis to create the vertex. Use the shortcut key L to create the vertex according to the set length and mouse position. With the angle information, you can set the line segment of the specified angle and length. Use the shortcut key H to create the vertex according to the set height and mouse position. You can create a vertical line of a specific height with the adsorption height axis.
[0125] Set the length of the drawing line segment, create line segments with reference to other pipeline vertices, draw the cube auxiliary line and reference axis between the last pipeline vertex and the reference pipeline vertex; create the reference axis and space matrix auxiliary line segment 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 drawing command;
[0129] Self reference axis;
[0130] Self-reference axis locking;
[0131] The function of snapping the reference axis to an existing vertex;
[0132] Get the reference axis of the existing vertex that the mouse slides over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, 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;
[0133] Auxiliary matrix: After drawing more than one vertex, 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;
[0134] Draw a vertex to adsorb its own axis and axis edge;
[0135] Draw the function of absorbing the reference axis and axis edge to the vertex;
[0136] Draw vertex adsorption auxiliary rectangle edges and edge extension lines;
[0137] Draw the 8 vertices function where the vertex adsorption assists the intersection of the rectangle edges;
[0138] Axis angle adjustment: manually rotate the axis angle, generate three perpendicular planes of the axis according to the current axis angle, and enter a single plane to draw line segments through shortcut keys and mouse selection, use shortcut keys to set the vertex height according to the numerical value, and use shortcut keys to set the length of the drawing line segment according to the numerical value;
[0139] Subsequently, the drawing information includes the self-axis, reference axis line, vertex, polyline adsorption, reference matrix extension line adsorption, axis angle control, arbitrary angle elevation drawing and elevation angle control.
[0140] Secondly, after the reference axis activation command in S4, 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.
[0141] Next, the reference axis lock in S4 means that you can lock the reference axis position and angle through the A key on the keyboard. After locking, the axis will not be adsorbed to the vertex where the mouse passes.
[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 axis segments, 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 by the coordinates of the axis horizontal plane with the mouse, 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, click the space bar on the keyboard, enter the reference plane to draw vertices, and click 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 drawing line segment in S4 means using the L key on the keyboard to call out the setting line segment length panel, which will create a line segment on the vector segment between the current mouse position and the previous vertex according to the length panel value.
[0148] To summarize, 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, 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 the mouse and a small amount of keyboard, and it is impossible to draw three-dimensional pipelines on facades at any angle in space.
[0149] Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed by the present invention may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A three-dimensional pipeline drawing method, characterized in that: Including 3D pipeline tools, the mode of drawing three-dimensional pipelines 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. 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, based on the current vertex reference axis, the matrix auxiliary lines of itself and other reference vertex coordinate axes, and the intersection vertex of the auxiliary lines; 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: A drawing method that creates vertex coordinates in an orderly manner according to specific conditions. The drawing steps are as follows; Reference axis creation: Create under other existing "pipeline objects" as reference objects, sweep the mouse over the existing pipeline vertices to generate the reference axis, and change the reference axis position by sweeping over other pipeline vertices; Create under the existing "building area object" as the reference object, sweep the mouse over the existing building area object vertices to generate the reference axis, and change the reference axis position by sweeping over other building area object vertices; 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 its own axis, the function of drawing a vertex to adsorb reference vertices and vertex axes, the function of drawing a vertex to adsorb auxiliary rectangle edges and edge extensions, and the function of drawing 8 vertices where the edges of the vertex adsorb auxiliary rectangles 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, create the first pipeline vertex, and create the vertex on the horizontal plane of the reference axis by default. Use the shortcut key to enter the reference plane of the reference axis to create the vertex. Use the shortcut key L to create the vertex according to the set length and mouse position. With the angle information, you can set the line segment of the specified angle and length. Use the shortcut key H to create the vertex according to the set height and mouse position. You can create a vertical line of a specific height with the adsorption height axis. Set the length of the drawing line segment, create line segments with reference to other pipeline vertices, draw the cube auxiliary line and reference axis between the last pipeline vertex and the reference pipeline vertex; create the reference axis and space matrix auxiliary line segment 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 slides over and generate an auxiliary matrix. The reference axis direction is: the reference axis direction of the reference vertex is, 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 more than one vertex, 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 to adsorb its own axis and axis edge; Draw the function of absorbing the reference axis and axis edge to the vertex; Draw vertex adsorption auxiliary rectangle edges and edge extension lines; Draw multiple vertices function where vertex adsorption assists the intersection of rectangular edges; Axis angle adjustment: Manually rotate the axis angle, generate multiple vertical planes of the axis according to the current axis angle, and enter a single plane to draw line segments through shortcut keys and mouse selection. Use shortcut keys to set the vertex height according to the numerical value, and use shortcut keys to set the length of the line segment according to the numerical value.
2. The three-dimensional pipeline drawing method according to claim 1, characterized in that: The drawing information includes self-axis, reference axis, vertex, adsorption of polyline, adsorption of reference matrix extension line, axis angle control, arbitrary angle elevation drawing and elevation angle control.
3. The three-dimensional pipeline drawing method according to claim 2, characterized in that: After the reference axis activation command in S4 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.
4. The three-dimensional pipeline drawing method according to claim 3, characterized in that: 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.
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 axis segments, 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 refer to the coordinate angle of the vertex passed by the mouse to automatically adjust the rotation direction.
7. The method for drawing a three-dimensional pipeline 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 by pressing the mouse on the coordinates of the axis horizontal plane, and exiting the axis rotation mode by pressing the W key again.
8. The method for drawing a three-dimensional pipeline 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. The mouse hovers over a reference plane, clicks the space bar on the keyboard, enters the reference plane to draw vertices, and clicks the space bar again to exit the plane drawing.
9. The method for drawing a three-dimensional pipeline 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 setting line segment length panel 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 length panel value.
Citation Information
Patent Citations
Three-dimensional modeling graphic processing method
CN106484234A
Method and device for establishing three-dimensional model of long-distance pipeline
CN113722841A
3D scene drawing house type modeling method and system
CN117934679A
Automatic three-dimensional entity modeling method and device and computer readable storage medium
CN118570387A