A three-dimensional display method and system for road design plan paper
Patent Information
- Application Number
- CN202310457871.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2043-04-25
AI Technical Summary
[0026] This invention tracks and binds a 3D model to a 2D drawing, allowing the 3D model to move with the 2D drawing within the display unit. Changing the size, angle, and position of the 2D drawing will cause the 3D model to change accordingly, maintaining a one-to-one correspondence. This allows 2D design schemes to be expressed in a 3D intuitive form, showcasing more engineering information and improving the efficiency of engineering design.
Smart Images

Figure CN116543118B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of augmented reality technology, and in particular to a method and system for displaying three-dimensional road design plan drawings. Background Technology
[0002] As society develops, the demands on the engineering industry are increasing. Traditionally, engineering projects are designed using 2D drawings. However, 2D drawings cannot showcase complex, three-dimensional design results, such as large interchanges, special bridges, and tunnels. Furthermore, obtaining design information from 2D drawings is inefficient and lacks intuitiveness, hindering timely and effective communication between designers and construction personnel during construction, thus compromising the accuracy and efficiency of engineering design. Summary of the Invention
[0003] To solve the above-mentioned technical problems, the present invention provides a method for three-dimensional display of road design plan drawings, comprising the following steps:
[0004] S1: The camera unit detects in real time whether a flat drawing appears within the shooting range. If it does, proceed to step S2; otherwise, repeat step S1.
[0005] S2: Based on the current position data of the 2D drawing on the display unit, convert the 2D drawing into a 3D model in real time, and return to step S1.
[0006] Preferably, step S2 specifically includes:
[0007] S21: Extract the current position data of the drawing on the display unit, including: the reference point, orientation angle and dimensions of the drawing;
[0008] S22: Import the 3D model into the processing unit and display the 3D model on the display unit;
[0009] S23: Move the reference point of the 3D model to the position of the reference point on the 2D drawing;
[0010] S24: Adjust the orientation angle of the 3D model to be the same as that of the 2D drawing, so that the bottom surface of the 3D model and the 2D drawing are on the same plane;
[0011] S25: Adjust the bottom dimensions of the 3D model to be the same as the 2D drawing, so that the bottom of the 3D model coincides with the 2D drawing, and return to step S1.
[0012] Preferably, step S21 specifically includes:
[0013] The processing unit sets the attention range on the display unit based on the position of the camera unit. When the processing unit detects that the camera unit has captured a flat drawing, it moves the attention range to the position of the flat drawing on the display unit and makes the attention range cover the entire flat drawing. The current position data of the attention range at this time is used as the current position data of the flat drawing on the display unit.
[0014] Preferably, the 3D model consists of a BIM model and a GIS model;
[0015] BIM models are used to display roads, bridges, roadbeds, and tunnels in three dimensions from 2D drawings;
[0016] GIS models are used to display environmental areas in three dimensions.
[0017] Preferably, step S22 specifically includes:
[0018] The processing unit processes the plan drawing, identifies roads, bridges, roadbeds and tunnels in the plan drawing, and determines other areas in the plan drawing as environmental areas;
[0019] BIM models are used to create 3D structural models of roads, bridges, roadbeds, and tunnels, while GIS models are used to create 3D environmental textures of the surrounding areas.
[0020] A three-dimensional display system for road design plan drawings includes: a camera unit, a display unit, and a processing unit, wherein the processing unit is electrically connected to both the camera unit and the display unit;
[0021] The camera unit is used to capture images of the 2D drawings and import them into the processing unit;
[0022] The processing unit is used to generate a 3D model and adjust the 3D model to the position of the 2D drawing.
[0023] The display unit is used to display the 3D model in real time.
[0024] Preferably, the display unit is any one of a smartphone, tablet computer, AR glasses, or PC.
[0025] The present invention has the following beneficial effects:
[0026] This invention tracks and binds a 3D model to a 2D drawing, allowing the 3D model to move with the 2D drawing within the display unit. Changing the size, angle, and position of the 2D drawing will cause the 3D model to change accordingly, maintaining a one-to-one correspondence. This allows 2D design schemes to be expressed in a 3D intuitive form, showcasing more engineering information and improving the efficiency of engineering design. Attached Figure Description
[0027] Figure 1 This is a flowchart of a method according to an embodiment of the present invention;
[0028] Figure 2 To convert a 2D drawing into a 3D model;
[0029] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0030] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0031] Reference Figure 1 This application provides a three-dimensional display method for road design plan drawings. In practical use, the three-dimensional model can move with the plan drawing in the display unit, so that the three-dimensional model and the plan drawing correspond one-to-one. It is convenient to view two-dimensional and three-dimensional results at the same time. The plan drawing can be printed drawings of different scales or electronic drawings. When the size, angle and position of the plan drawing are changed, the three-dimensional model will change accordingly, and the one-to-one correspondence will still be maintained.
[0032] Including the following steps:
[0033] S1: The camera unit detects in real time whether a flat drawing appears within the shooting range. If it does, proceed to step S2; otherwise, repeat step S1.
[0034] S2: Based on the current position data of the 2D drawing on the display unit, convert the 2D drawing into a 3D model in real time, and return to step S1.
[0035] Furthermore, step S2 specifically involves:
[0036] S21: Extract the current position data of the drawing on the display unit, including: the reference point, orientation angle and dimensions of the drawing;
[0037] S22: Import the 3D model into the processing unit and display the 3D model on the display unit;
[0038] S23: Move the reference point of the 3D model to the position of the reference point on the 2D drawing;
[0039] S24: Adjust the orientation angle of the 3D model to be the same as that of the 2D drawing, so that the bottom surface of the 3D model and the 2D drawing are on the same plane;
[0040] S25: Adjust the bottom dimensions of the 3D model to be the same as the 2D drawing, so that the bottom of the 3D model coincides with the 2D drawing, and return to step S1.
[0041] Furthermore, step S21 specifically includes:
[0042] The processing unit sets the attention range on the display unit based on the position of the camera unit. When the processing unit detects that the camera unit has captured a flat drawing, it moves the attention range to the position of the flat drawing on the display unit and makes the attention range cover the entire flat drawing. The current position data of the attention range at this time is used as the current position data of the flat drawing on the display unit.
[0043] Specifically, by pre-training a neural network, the processing unit can recognize the planar drawing in the image captured by the camera. After recognizing the planar drawing, an initial attention range is generated on the display unit. The initial attention range is circular. After moving the initial attention range to the position of the planar drawing, the shape of the initial attention range is deformed so that the attention range can just cover the entire planar drawing. At this time, the processing unit will acquire multiple position points of the attention range, calculate the centroid of the attention range through multiple position points, and use the centroid as the reference point. A ray perpendicular to the planar drawing is drawn from the reference point, and the intersection of the ray with the vertical line in space is taken as the direction angle. The corresponding size is obtained by the size of the attention range. Finally, the reference point, direction angle and size of the attention range are used as the reference point, direction angle and size of the planar drawing at this time.
[0044] Furthermore, the 3D model consists of a BIM model and a GIS model;
[0045] BIM models are used to display roads, bridges, roadbeds, and tunnels in three dimensions from 2D drawings;
[0046] GIS models are used to display environmental areas in three dimensions.
[0047] Specifically, users can configure the display of the 3D model as needed. BIM and GIS models can be displayed simultaneously or separately.
[0048] Furthermore, step S22 specifically includes:
[0049] The processing unit processes the plan drawing, identifies roads, bridges, roadbeds and tunnels in the plan drawing, and determines other areas in the plan drawing as environmental areas;
[0050] BIM models are used to create 3D structural models of roads, bridges, roadbeds, and tunnels, while GIS models are used to create 3D environmental textures of the surrounding areas.
[0051] Specifically, such as Figure 2As shown, after generating the BIM and GIS models, the BIM and GIS models are packaged together. The packaged BIM and GIS models are then imported into Unity. The 3D models are moved to overlap with and correspond to the plan drawings. The AR application is then packaged into an installation file for the display unit, and the app is installed on the display unit. Users can use road plan design drawings of different scales and view the road plan design drawings and BIM and GIS solutions from multiple angles simultaneously by rotating the road plan design drawings or rotating the camera unit.
[0052] This application provides a three-dimensional display system for road design plan drawings, including: a camera unit, a display unit, and a processing unit, wherein the processing unit is electrically connected to both the camera unit and the display unit;
[0053] The camera unit is used to capture images of the 2D drawings and import them into the processing unit;
[0054] The processing unit is used to generate a 3D model and adjust the 3D model to the position of the 2D drawing.
[0055] The display unit is used to display the 3D model in real time.
[0056] Specifically, when the 2D drawing in the camera unit is mostly obscured, or when the drawing moves too fast and the camera unit cannot keep up with the focus, the 3D model of BIM and GIS will not appear in the display unit. Therefore, it is required that the drawing under the camera unit is unobstructed and the speed of moving the drawing should not be too fast.
[0057] Furthermore, the display unit can be any one of a smartphone, tablet, AR glasses, or PC.
[0058] Specifically, the display unit can also be other mobile terminal devices, which can be used in any scenario, such as solution presentations or site surveys, without being restricted by the terminal device.
[0059] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0060] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the unit claims listing several devices, several of these devices may be embodied by the same hardware item. The use of the terms first, second, and third, etc., does not indicate any order and can be interpreted as identifiers.
[0061] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for three-dimensional display of road design plan drawings, characterized in that, Including the following steps: S1: The camera unit detects in real time whether a flat drawing appears within the shooting range. If it does, proceed to step S2; otherwise, repeat step S1. S2: Based on the current position data of the 2D drawing on the display unit, convert the 2D drawing into a 3D model in real time, and return to step S1; Step S2 is as follows: S21: Extract the current position data of the drawing on the display unit, including: the reference point, orientation angle and dimensions of the drawing; S22: Import the 3D model into the processing unit and display the 3D model on the display unit; S23: Move the reference point of the 3D model to the position of the reference point on the 2D drawing; S24: Adjust the orientation angle of the 3D model to be the same as that of the 2D drawing, so that the bottom surface of the 3D model and the 2D drawing are on the same plane; S25: Adjust the bottom dimensions of the 3D model to be the same as the 2D drawing, so that the bottom of the 3D model coincides with the 2D drawing, and return to step S1; Step S21 is as follows: The processing unit sets the attention range on the display unit based on the position of the camera unit. When the processing unit detects that the camera unit has captured a flat drawing, it moves the attention range to the position of the flat drawing on the display unit and makes the attention range cover the entire flat drawing. The current position data of the attention range at this time is used as the current position data of the flat drawing on the display unit. Furthermore, by pre-training a neural network, the processing unit can recognize the planar drawing in the image captured by the camera unit. After recognizing the planar drawing, an initial attention range is generated on the display unit. The initial attention range is circular. After moving the initial attention range to the position of the planar drawing, the shape of the initial attention range is deformed so that the attention range just covers the entire planar drawing. At this time, the processing unit will acquire multiple position points of the attention range, calculate the centroid of the attention range through multiple position points, and use the centroid as the reference point. A ray perpendicular to the planar drawing is drawn from the reference point, and the intersection of the ray and the vertical line in space is used as the direction angle. The corresponding size is obtained by the size of the attention range. Finally, the reference point, direction angle, and size of the attention range are used as the reference point, direction angle, and size of the planar drawing at this time.
2. The method for three-dimensional display of road design plan drawings according to claim 1, characterized in that, The 3D model consists of a BIM model and a GIS model; BIM models are used to display roads, bridges, roadbeds, and tunnels in three dimensions from 2D drawings; GIS models are used to display environmental areas in three dimensions.
3. The method for three-dimensional display of road design plan drawings according to claim 2, characterized in that, Step S22 is as follows: The processing unit processes the plan drawing, identifies roads, bridges, roadbeds and tunnels in the plan drawing, and determines other areas in the plan drawing as environmental areas; BIM models are used to create 3D structural models of roads, bridges, roadbeds, and tunnels, while GIS models are used to create 3D environmental textures of the surrounding areas.
4. A three-dimensional display system for road design plan drawings, characterized in that, include: The system includes a camera unit, a display unit, and a processing unit, with the processing unit electrically connected to both the camera unit and the display unit. The camera unit is used to capture the planar drawing and import the planar drawing into the processing unit. Specifically, it includes: real-time detection of whether the planar drawing appears within the shooting range. If it appears, the processing unit is invoked; otherwise, real-time detection of whether the planar drawing appears within the shooting range continues. The processing unit is used to generate a 3D model and adjust the 3D model to the position of the 2D drawing. This includes: converting the 2D drawing into a 3D model in real time based on the current position data of the 2D drawing on the display unit, and calling the camera unit, specifically including: S21: Extract the current position data of the planar drawing on the display unit, including: the reference point, orientation angle, and dimensions of the planar drawing. Specifically, the processing unit sets an attention range on the display unit based on the position of the camera unit. When the processing unit detects that the camera unit has captured the planar drawing, it moves the attention range to the position of the planar drawing on the display unit, ensuring that the attention range covers the entire planar drawing. The current position data of the attention range at this time is used as the current position data of the planar drawing on the display unit. Furthermore, by pre-training a neural network, the processing unit can recognize the planar drawing in the image captured by the camera unit. After recognizing the planar drawing, it will be displayed on the display unit. An initial attention range is generated on the element. The initial attention range is circular. After moving the initial attention range to the position on the planar drawing, the shape of the initial attention range is deformed so that the attention range just covers the entire planar drawing. At this time, the processing unit will obtain multiple position points of the attention range, calculate the centroid of the attention range through multiple position points, and use the centroid as the reference point. A ray perpendicular to the planar drawing is drawn from the reference point. The intersection of the ray and the vertical line in space is used as the direction angle. The corresponding dimension is obtained by the size of the attention range. Finally, the reference point, direction angle and dimension of the attention range are used as the reference point, direction angle and dimension of the planar drawing at this time. S22: Import the 3D model into the processing unit and display the 3D model on the display unit; S23: Move the reference point of the 3D model to the position of the reference point on the 2D drawing; S24: Adjust the orientation angle of the 3D model to be the same as that of the 2D drawing, so that the bottom surface of the 3D model and the 2D drawing are on the same plane; S25: Adjust the bottom dimensions of the 3D model to be the same as the 2D drawing, so that the bottom of the 3D model coincides with the 2D drawing, and call the camera unit; The display unit is used to display the 3D model in real time.
5. The three-dimensional display system for road design plan drawings according to claim 4, characterized in that, The display unit can be any of a smartphone, tablet, AR glasses, or PC.
Citation Information
Patent Citations
A linear engineering two-dimensional and three-dimensional linkage display method based on BIM and 3DGIS
CN109446717A
Drawing and model linkage display method and device, equipment and storage medium
CN115171146A