A three-dimensional parametric design and generation method for ramp entrance and exit markings

Through the three-dimensional parametric design method, the ramp entrance and exit markings are defined as composite features with thickness, which solves the problems of low modeling efficiency and poor fit of BIM software in the three-dimensional design of ramp entrance and exit markings, and realizes the integration between the model and The precise fit of the road surface and the inclusion of attribute information improve the effect of dynamic display and the reliability of BIM applications.

CN113569311BActive Publication Date: 2024-10-25SHANGHAI MUNICIPAL ENG DESIGN INST (GRP) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110667977.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-16
Publication Date
2024-10-25
Estimated Expiration
2041-06-16

AI Technical Summary

Technical Problem

Existing BIM software has problems in the three-dimensional design of ramp entrance and exit markings: low modeling efficiency, poor fit between the model and the road surface, inability to accurately extract engineering quantities, and lack of attribute information, resulting in the model flickering and being inaccurate during dynamic display. Revise.

Method used

Using a three-dimensional parametric design method, the ramp entrance and exit markings are defined as composite features with thickness. By setting parameters such as road surface, boundary line, V-shaped line direction and marking line width, the starting point, end point and quantity of the V-shaped body are calculated and constructed. The V-shaped body closely fits the road surface, forming a composite feature with attribute information.

Benefits of technology

It improves the efficiency of model creation and modification, ensures that the model accurately fits the road surface, enhances the effect and authenticity of dynamic display, and lays the foundation for subsequent BIM applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113569311B_ABST
    Figure CN113569311B_ABST
Patent Text Reader

Abstract

A three-dimensional parametric design and generation method for ramp entrance and exit markings, which defines the ramp entrance and exit markings as a combination feature with thickness, the combination feature is composed of a plurality of V-shaped bodies, and the combination feature contains attribute information, specifically comprising: step S1) setting parameters; step S2) setting the first direction and the second direction of the V-shaped line and the width, spacing and thickness of the marking line; step S3) calculating the starting point and the end point of the V-shaped body; step S4) calculating the number of V-shaped bodies; step S5) constructing the V-shaped body; step S6) combining N V-shaped bodies to form the combination feature; the present invention adopts a three-dimensional parametric design method, which is convenient for model creation and modification; the two ends of the V-shaped body are defined by boundary lines, and the model boundary is accurate; the stretching surface of the V-shaped body is obtained by cutting the road surface, and is closely fitted with the road surface model; the combination feature is a body with thickness, and the display effect is better and the experience is real when performing dynamic display and simulated driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of three-dimensional design of municipal traffic markings, and in particular to a three-dimensional parametric design and generation method for ramp entrance and exit markings. Background Art

[0002] In the field of road traffic, the commonly used BIM software includes Autodesk platforms such as Revit, InfraWorks and Civil3D, Bentley platforms such as OpenRoads, and Dassault Systems platforms such as CATIA. None of these commonly used BIM software has functional modules specifically for road marking design. Among them, InfraWorks can automatically generate conventional road markings according to the width of the road surface, but there are no ramp entrance and exit markings, and the fitting degree between the road marking model and the road surface is not very good. When viewed closely, some markings are obviously suspended above the road surface. Software such as Revit, Civil3D, OpenRoads and CATIA can only be re-molded in the software according to two-dimensional drawings. The quality of the re-molding often depends on the user's processing degree of two-dimensional markings and the familiarity of BIM software, which is quite unfriendly to beginners.

[0003] The existing commonly used BIM software usually has the following problems in the 3D design of ramp entrance and exit markings:

[0004] 1) Adopting the "2D + 3D" design mode, that is, designing the markings in 2D software and then remodeling them in 3D BIM software based on this. This mode can achieve relatively fast modeling for simple markings such as straight lines, dotted lines and guide arrows, but the modeling efficiency is very low for ramp entrance and exit markings that need to be limited by boundary lines and participate in calculations according to rules;

[0005] 2) The two sides of the created model are not accurately defined by the boundary line, causing the two sides of the model to exceed or fail to reach the boundary line, such as Figure 1 Reference numeral 1 in the figure;

[0006] 3) The created model is mainly surface-based and does not fit the road surface accurately (e.g. Figure 1 2), when dynamically displayed, it will cause flickering due to the overlap with the road surface. In addition, it will also cause the problem of being unable to accurately extract the engineering quantity;

[0007] 4) The model does not have attribute information, and the marking line cannot be recognized and edited. When adjustments and modifications are required, the original model can only be deleted and re-modeled. Summary of the invention

[0008] The purpose of the invention is to provide a three-dimensional parameterized design and generation method for ramp entrance and exit markings.

[0009] In order to achieve the above object, the technical solution of the present invention is:

[0010] A three-dimensional parametric design and generation method for ramp entrance and exit markings, characterized in that the ramp entrance and exit markings are defined as a combination feature with thickness, the combination feature is composed of a plurality of V-shaped bodies, and the combination feature contains attribute information, specifically comprising the following steps:

[0011] Step S1) setting parameters, wherein the parameters include a road surface, a first boundary line, a second boundary line and a center line;

[0012] Step S2) setting the first direction and the second direction of the V-shaped line as well as the marking line width, spacing and thickness;

[0013] Step S3) calculating the starting and ending positions of the V-shaped body;

[0014] Step S4) calculating the number of V-shaped bodies;

[0015] Step S5) constructing a V-shaped body; constructing four contour rays according to the two directions and the width of the marking line, projecting the four contour rays and the two boundary lines onto the road surface, cutting the road surface to obtain a V-shaped contour surface, and stretching it upward to a certain thickness to form a V-shaped body;

[0016] Step S6) N V-shaped bodies are combined to form a combined body feature.

[0017] Furthermore, the step S3 comprises:

[0018] Step S301) Determine whether the V-shaped body has a start point and an end point set. If not, jump to step S302. If set, jump to step S303.

[0019] Step S302) using the endpoints of the midline as the initial starting point and end point;

[0020] Step S303) Projecting the set starting point or end point along the first marking line direction to the center line;

[0021] Step S304) Determine whether there is a projection point, if yes, jump to step S305, if no, jump to step S306; Step S305) Use the projection point as a new starting point or end point;

[0022] Step S306) taking the middle line endpoint close to the starting point or end point of step S303 as the new starting point or end point;

[0023] Step S307) Project the two end points of the first boundary line to the center line in sequence along the first marking line direction. If a projection point exists and is between the starting point and the end point, the projection point is regarded as the point closest to the starting point and the end point.

[0024] Step S308) Project the two end points of the second boundary line to the center line in sequence along the second marking line direction, and calculate the new starting point and end point.

[0025] Furthermore, the step S4 comprises:

[0026] Step S401) construct a vector based on the starting point and the end point and calculate the distance;

[0027] Step S402) Calculate the angle according to the normal direction of the first marking line direction on the XY plane and the two-point vector;

[0028] Step S403) Calculate the length along the normal direction according to the distance and the angle;

[0029] Step S404) Calculate the number of V-shaped bodies according to the length, width and spacing of the marking lines.

[0030] Furthermore, the step S5 comprises:

[0031] Step S501) taking the end close to the starting point as the near end, calculating the near point and the far point according to the starting point, the normal direction of the first direction on the XY plane, the marking line width and the spacing;

[0032] Step S502) Calculate the new near point and far point of the near point and far point on the midline according to the first direction, and then construct two near-end contour rays and two far-end contour rays according to the new near point, far point and the first direction and the second direction respectively;

[0033] Step S503) Projecting the four contour rays and the two boundary lines onto the road surface, and truncating the curve obtained by the projection to obtain a closed V-shaped contour line;

[0034] Step S504) The road surface is cut with a V-shaped contour line to obtain a V-shaped contour surface, and the V-shaped contour surface is stretched into a V-shaped body.

[0035] Furthermore, the attribute information of the combination feature includes parametric information and non-parametric information.

[0036] Furthermore, the parametric information includes road surface, boundary line, center line, direction, starting point, end point, marking width, spacing and thickness, and the non-parametric information includes vehicle speed, material and engineering quantity.

[0037] The present invention adopts a three-dimensional parametric design method to facilitate the creation and modification of the model; the two ends of the V-shaped body are defined by boundary lines, and the model boundary is accurate; the V-shaped stretching surface is obtained by cutting the road surface and fits tightly with the road surface model; the combination feature is a body with thickness, which has better display effect and more realistic experience during dynamic display and simulated driving; the combination feature is adopted, which includes geometric models and attribute information, laying the foundation for subsequent BIM applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a rendering of the ramp entrance and exit marking model of the BIM software of the present invention;

[0039] Figure 2 It is the algorithm diagram of the starting and ending points of the V-shaped body of the present invention;

[0040] Figure 3 It is the algorithm diagram of the number of V-shaped bodies of the present invention;

[0041] Figure 4 This is a diagram of the nth V-shaped body construction method of the present invention;

[0042] Figure 5 It is the effect diagram of the characteristic model of the combination of the present invention.

[0043] Reference numerals:

[0044] Sur road surface; Cur1 first boundary line; Cur2 second boundary line; CurC center line;

[0045] V1 first direction; V2 second direction; Ps starting point; Pe end point;

[0046] The start point of the PsC midline; the end point of the PeC midline;

[0047] Vn1 is the normal direction of the first direction on the XY plane; dse is the distance between the start point and the end point of the midline;

[0048] Vse is the vector from the start point of the midline to the end point of the midline; dw is the width of the marking line; PnN is the near point; PnF is the far point;

[0049] α is the angle between vectors Vse and Vn1; L is the length of point PsC and point PeC in the normal direction Vn1;

[0050] PnNC is the point of point PnN on the center line CurC along the direction V1;

[0051] PnFC is the point PnF on the center line CurC along the direction V1;

[0052] LN1 and LN2 are rays constructed from point PnNC and directions V1 and V2 respectively;

[0053] LF1 and LF2 are rays constructed from point PnFC and directions V1 and V2 respectively;

[0054] Cur1S and Cur2S are the projection curves of the boundary lines Cur1 and Cur2 on the road surface Sur;

[0055] SN1, SN2, SF1, SF2 are the projection curves of rays LN1, LN2, LF1, LF2 on the road surface Sur;

[0056] SN1New and SF1New are curve segments close to the point PnNC after the curves SN1 and SF1 are cut by Cur1S;

[0057] SN2New and SF2New are the curve segments of curves SN2 and SF2 close to the point PnFC after being cut by Cur2S;

[0058] Cur1Snew is the curve after the curve Cur1S is cut by SN1 and SF1;

[0059] Cur2SNew is the curve after the curve Cur2S is cut by SN2 and SF2;

[0060] Surn is the internal V-shaped contour surface obtained after the road surface Sur is cut by curves SN1New, SF1New, SN2New, SF2New, Cur1SNew, and Cur2Snew. DETAILED DESCRIPTION

[0061] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] This embodiment discloses a three-dimensional parametric design and generation method for ramp entrance and exit markings, and the detailed steps are as follows:

[0063] Step S1) Setting the road surface Sur, boundary line Cur1, boundary line Cur2, and center line CurC.

[0064] Step S2) setting the first direction V1, the second direction V2, the starting point Ps, the end point Pe, the marking line width dw, the spacing ds, and the thickness dh of the V-shaped line.

[0065] Step S3) Calculate the positions of the starting point Ps and the end point Pe of the V-shaped body; calculate the midline starting point PsC and the midline end point PeC of the starting point Ps and the end point Pe on the midline CurC, such as Figure 2 As shown, step 2 specifically includes:

[0066] Step S301) Determine whether the starting point and the end point of the V-shaped body are set, if they are set, jump to step S303;

[0067] Step S302) Using the endpoints of the midline as the initial starting point and end point; since the starting point and end point are set in this embodiment, this step is not effective;

[0068] Step S303) Project the starting point Ps and the end point Pe along the first direction V1 to the center line CurC, and jump to step S204;

[0069] Step S304) Determine whether there is a projection point. If there is a projection point, jump to step S205. If there is no projection point, jump to step S206.

[0070] Step S305) Obtain the centerline starting point PsC and the centerline end point PeC on the centerline CurC, and jump to step S207;

[0071] Step S306) taking the endpoint of the center line CurC close to the point as the corresponding center line starting point PsC or center line end point PeC, and jumping to step S207;

[0072] Step S307) Project the two endpoints of the first boundary line Cur1 along the first direction V1 to the center line CurC. If there is a projection point, determine whether the projection point is between the center line starting point PsC and the center line end point PeC. If so, take the projection point as the point closest to the center line starting point PsC and the center line end point PeC.

[0073] Step 308) Project the two end points of the second boundary line Cur2 along the second direction V2 to the center line CurC, and calculate the center line start point PsC and the center line end point PeC.

[0074] Step S4) Calculate the number of V-shaped bodies, such as Figure 3 As shown, specifically including:

[0075] Step S401) construct a vector Vse according to the centerline starting point PsC and the centerline end point PeC, and calculate the distance dse between the centerline starting point PsC and the centerline end point;

[0076] Step S402) Calculate the normal direction Vn1 of the first direction V1 on the XY plane;

[0077] Calculate the angle α between the vector Vse and the normal direction Vn1,

[0078] cosα=Vse·Vn1 / (|Vse|*| Vn1|);

[0079] Step S403) Calculate the length of the centerline starting point PsC and the centerline end point PeC in the normal direction Vn1

[0080] L = dse*cosα;

[0081] Step S404) Calculate the number Num=L / (dw+ds) according to the marking line width dw and the spacing ds, where Num is rounded.

[0082] Step S5) construct the nth V-shaped body, such as Figure 4 As shown, specifically including:

[0083] Step S501) The end close to the centerline starting point PsC is the near end, and the near point PnN = PsC+n*(dw+ds)*Vn1;

[0084] Far point PnF = PsC + (n*(dw + ds) + dw)*Vn1;

[0085] Step S502) Calculate the new near point PnNC and the new far point PnFC of the near point PnN and the far point PnF on the center line CurC along the first direction V1;

[0086] Step S503) constructing a first proximal contour ray LN1, a second proximal contour ray LN2, a first distal contour ray LF1, and a second distal contour ray LF2 respectively with the new proximal point PnNC, the new distal point PnFC, the first direction V1, and the second direction V2;

[0087] Step S504) Project the first boundary line Cur1, the second boundary line Cur2 and the first proximal contour ray LN1, the second proximal contour ray LN2 and the first distal contour ray LF1, the second distal contour ray LF2 onto the road surface Sur, respectively, to obtain the first spatial boundary curve Cur1S, the second spatial boundary curve Cur2S and the first spatial proximal contour curve SN1, the second spatial proximal contour curve SN2, the first spatial distal contour curve SF1, the second spatial distal contour curve SF2 that are precisely fitted to the road surface;

[0088] Step S505) The first space proximal contour curve SN1 and the first space distal contour curve SF1 are cut by the first space boundary curve Cur1S to obtain the first new near contour line SN1New and the first new far contour line SF1New near the new near point PnNC, the second space proximal contour curve SN2 and the second space distal contour curve SF2 are cut by the second space boundary curve Cur2S to obtain the second new near contour line SN2New and the second new far contour line SF2New near the new far point PnFC, the first space boundary curve Cur1S is cut by the first space proximal contour curve SN1 and the first space distal contour curve SF1 to obtain the first intermediate boundary line Cur1SNew, and the second space boundary curve Cur2S is cut by the second space proximal contour curve SN2 and the second space distal contour curve SF2 to obtain the second intermediate boundary line Cur2SNew;

[0089] Step S506) constructing a closed V-shaped contour line through the first new contour line SN1New, the first new far contour line SF1New, the second new contour line SN2New, the second new far contour line SF2New, the first intermediate boundary line Cur1SNew and the second intermediate boundary line Cur2SNew, and then cutting the road surface to obtain the inner V-shaped contour surface Surn;

[0090] Step S507) The V-shaped contour surface Surn is stretched into a solid body according to the thickness dh to obtain the nth V-shaped body.

[0091] Step S6) constructing the assembly feature, including the following steps:

[0092] Step S601) combining N V-shaped bodies to create a combined body;

[0093] Step S602) Associate the parameters with the assembly to form assembly characteristics.

[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A three-dimensional parametric design and generation method for ramp entrance and exit markings, characterized in that: The ramp entrance and exit marking is defined as a combination feature with thickness, the combination feature is composed of a number of V-shaped bodies, and the combination feature contains attribute information, specifically including the following steps: Step S1) setting parameters, wherein the parameters include a road surface, a first boundary line, a second boundary line and a center line; Step S2) setting the first direction and the second direction of the V-shaped line as well as the marking line width, spacing and thickness; Step S3) calculating the starting and ending positions of the V-shaped body; Step S4) calculating the number of V-shaped bodies; Step S5) constructing a V-shaped body; The step S5 comprises: Step S501) taking the end close to the starting point as the near end, calculating the near point and the far point according to the starting point, the normal direction of the first direction on the XY plane, the marking line width and the spacing; Step S502) Calculate the new near point and the new far point of the near point and the far point on the midline according to the first direction; Step S503) constructing two proximal contour rays and two distal contour rays according to the new proximal point, the new distal point, the first direction and the second direction respectively; Step S503) Project the above four contour rays and two boundary lines onto the road surface, and cut off the curve obtained by the projection to obtain a closed V-shaped contour line; Step S504) cutting the road surface with a V-shaped contour line to obtain a V-shaped contour surface, and stretching the V-shaped contour surface into a V-shaped body; Step S6) N V-shaped bodies are combined to form a combined body feature.

2. The three-dimensional parameterized design and generation method of ramp entrance and exit markings according to claim 1 is characterized in that: The step S3 comprises: Step S301) Determine whether the V-shaped body has a start point and an end point set. If not, jump to step S302. If set, jump to step S303. Step S302) using the endpoints of the midline as the initial starting point and end point; Step S303) Projecting the set starting point or end point along the first marking line direction to the center line; Step S304) Determine whether there is a projection point, if yes, jump to step S305, if no, jump to step S306; Step S305) Use the projection point as a new starting point or end point; Step S306) taking the middle line endpoint close to the starting point or end point of step S303 as the new starting point or end point; Step S307) Project the two end points of the first boundary line to the center line in sequence along the first marking line direction. If a projection point exists and is between the starting point and the end point, the projection point is regarded as the point closest to the starting point and the end point. Step S308) Project the two end points of the second boundary line to the center line in sequence along the second marking line direction, and calculate the new starting point and end point.

3. The three-dimensional parameterized design and generation method of ramp entrance and exit markings according to claim 1 is characterized in that: The step S4 comprises: Step S401) constructing a vector according to the starting point and the end point and calculating the distance; Step S402) Calculate the angle according to the normal direction of the first marking line direction on the XY plane and the two-point vector; Step S403) Calculate the length along the normal direction according to the distance and the angle; Step S404) Calculate the number of V-shaped bodies according to the length, width and spacing of the marking lines.

4. The three-dimensional parameterized design and generation method of ramp entrance and exit markings according to claim 1 is characterized in that: The attribute information of the combination feature includes parameterized information and non-parametric information.

5. The three-dimensional parameterized design and generation method of ramp entrance and exit markings according to claim 4 is characterized in that: The parametric information includes road surface, boundary line, center line, direction, starting point, end point, marking width, spacing and thickness, and the non-parametric information includes vehicle speed, material and engineering quantity.