Method, system, and medium for generating three-dimensional visual entities based on two-dimensional paths

By establishing dictionaries for floors, equipment installations, and cable trays, the system automatically corrects the three-dimensional solids of conductors, solving the problem that conductors cannot be directly generated into three-dimensional solids in traditional building electrical design. This achieves consistency between planar design and three-dimensional solids, improving design efficiency.

CN120805278BActive Publication Date: 2025-12-09CHINA SOUTHWEST ARCHITECTURAL DESIGN & RES INST CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511308607.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-15
Publication Date
2025-12-09
Estimated Expiration
2045-09-15

AI Technical Summary

Technical Problem

In traditional building electrical design, conductors cannot be directly generated into three-dimensional entities, and the logic of the planar design is inconsistent with the generated entity, which affects design efficiency.

Method used

By using a method to generate 3D visual entities based on 2D paths, a floor dictionary, equipment installation dictionary, cable tray dictionary, and conductor dictionary are established. The 3D conductor entities are automatically corrected to ensure consistency between the 2D design and the 3D entities.

Benefits of technology

It improves design efficiency, reduces the complexity for designers, lays a solid foundation for conductor quantity calculation, and solves the problem of inconsistency between planar design and three-dimensional solid model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120805278B_ABST
    Figure CN120805278B_ABST
Patent Text Reader

Abstract

The application discloses a method, system and medium for generating a three-dimensional visual entity based on a two-dimensional path, relates to the technical field of building engineering design, and constructs a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary according to three-dimensional space basic information; generates a conductor three-dimensional entity of a target conductor based on the floor dictionary and the conductor dictionary, and corrects the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary; and lays electrical pipes according to the corrected conductor three-dimensional entity; the scheme establishes dictionaries respectively representing logical connection and entity paths of conductors in plane design, and considers consistency of the plane and the three-dimensional entity in the case that expression of the plane design and entity mapping are different; and automatically corrects the conductor three-dimensional entity based on the floor dictionary, the equipment installation dictionary, the bridge dictionary and the conductor dictionary, so that design efficiency is improved, complexity of forward design of designers is reduced, and an entity foundation is laid for conductor calculation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of building engineering design, and particularly relates to a method and system for generating a three-dimensional visual entity based on a two-dimensional path and a medium. BACKGROUND

[0002] With the rapid development of the digitalization process of building engineering, the development of building engineering design is also more and more sequential, and the requirements for building engineering design are also higher and higher, and the level of design needs to be gradually strengthened. In the electrical field of building engineering, in order to meet the requirements of full digitalization, the intelligent application of the plane design, parameter selection, and load calculation of the conductor also requires more and more accuracy, efficiency, and convenience.

[0003] In the plane design of the traditional building engineering electrical field, the plane design of the conductor is completed by adopting the way of path planning and channel construction; based on the conductor laying in the plane design, a three-dimensional electrical conduit of building electricity can be automatically generated, which represents the actual channel model and belongs to the part of channel construction; and the actual conductor model generally needs to be virtually represented based on the electrical conduit and the physical channel such as the bridge as the carrier, represented as a logical connection, and cannot be represented as an independent three-dimensional model. Similarly, the actual length statistics of the conductor are indirectly calculated and counted based on the actual path of the physical channel.

[0004] At present, in the field of building engineering electricity, the conductor based on the plane design cannot be directly automatically generated into a three-dimensional visual conductor, but only the three-dimensional electrical conduit can be generated based on the plane design of the conductor, and the physical channel construction of the conductor is completed based on the electrical conduit and the pre-designed bridge, and the three-dimensional logical conductor is indirectly generated. Further, in the traditional plane design, when multiple conductors intersect, or the conductor is not connected with the equipment but visually intersects, the same conductor will be broken into multiple conductors. However, the multiple conductor objects still represent the same conductor, and when the three-dimensional electrical conduit is generated, multiple electrical conduits will be generated, which causes inconsistency in the entity and plane design expression. Moreover, the elevation setting of the conductor needs to be completed at the same time as the plane design, which increases the design dimension and seriously affects the design efficiency. SUMMARY

[0005] The technical problem to be solved by the present application is that the conductor in the traditional building engineering electrical design plan cannot directly generate a three-dimensional entity, the logic expressed by the plan design is inconsistent with the generated entity, and considering the influence of three-dimensional entities on the design efficiency when designing the plan; the present application aims to provide a method, system and medium for generating three-dimensional visual entities based on two-dimensional paths, establish a dictionary representing the logical connection and entity path of the conductor in the plan design, and consider the consistency of the plan and three-dimensional entities in the case of different expression and entity mapping of the plan design; and based on the floor dictionary, equipment installation dictionary, bridge dictionary and conductor dictionary, automatically correct the three-dimensional entity of the conductor, improve the design efficiency, reduce the complexity of the designer for forward design, and also lay the entity foundation for the conductor calculation.

[0006] The present application is realized by the following technical solutions:

[0007] The present application provides a method for generating three-dimensional visual entities based on two-dimensional paths, which is used for generating conductor entities in building engineering electrical design; the method comprises:

[0008] Obtain three-dimensional space basic information of the building engineering; the three-dimensional space basic information comprises floor information, equipment installation information, bridge information and conductor information;

[0009] According to the three-dimensional space basic information, a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary are constructed; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary and a conductor path dictionary; the conductor logical connection dictionary comprises the logical connection relationship of the conductor in the plan design, and the conductor path dictionary comprises the entity path relationship of the conductor;

[0010] Based on the floor dictionary and the conductor dictionary, a three-dimensional entity of the target conductor is generated, and the three-dimensional entity of the conductor is corrected according to the equipment installation dictionary and the bridge dictionary;

[0011] According to the corrected three-dimensional entity of the conductor, an electrical conduit is laid.

[0012] Further optimization scheme is that according to the three-dimensional space basic information, a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary are constructed; the method comprises:

[0013] Obtain all floors with conductor laying in the building engineering, and save the bottom elevation, top elevation, electrical terminal equipment in the floor, electrical distribution box in the floor, bridge in the floor and conductor in the floor of each floor as a floor dictionary;

[0014] judging whether the target device intersects with the conductor in the plan design, the target device including an electrical distribution box in the floor and an electrical end device in the floor; if yes, saving first installation information of the target device as a device installation dictionary, the first installation information including installation mode, installation height, and installation position;

[0015] judging whether the bridge in the floor intersects with the conductor in the plan design; if yes, saving second installation information of the bridge in the floor as a bridge dictionary; the second installation information including path point positions of the bridge in the floor, installation height, and bridge entity information;

[0016] judging whether the conductor in the floor intersects with or overlaps with the conductor in the plan design; if yes, saving third installation information of the conductor in the floor as a conductor information dictionary; the third installation information including whether the conductor in the floor is generated from a top plate and line segments included in the conductor in the floor.

[0017] A further optimization scheme is that the method for constructing the conductor logical connection dictionary includes:

[0018] combining the device installation dictionary, traversing the line segments included in the conductor in each floor: judging whether the current line segment intersects with the target device:

[0019] if there is no intersection point, saving the current line segment to the conductor logical connection dictionary;

[0020] if there are two intersection points, dividing the current line segment into a first sub-line segment and a second sub-line segment based on the target device and saving the first sub-line segment and the second sub-line segment to the conductor logical connection dictionary, wherein the first sub-line segment is formed by a line segment with a first new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from the original starting point, the first new starting point being the closest intersection point to the original starting point of the current line segment; the second sub-line segment is formed by a line segment with a second new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from the original ending point, the second new starting point being the closest intersection point to the original ending point of the current line segment;

[0021] if there is one intersection point, saving a line segment with a third new starting point of the original starting point of the current line segment to the conductor logical connection dictionary, the line segment being formed by a distance n or 1 / 3 of the current line segment offset from the intersection point to the third new starting point.

[0022] A further optimization scheme is that the method for constructing the conductor path dictionary includes: connecting the key point set of the conductor in the plan design in sequence to form a plurality of line segments, and saving the plurality of line segments to the conductor path dictionary to represent the entity path of the conductor.

[0023] A further optimization scheme is that the conductor dictionary includes a selected mapping link, the selected mapping link being associated with the conductor path dictionary.

[0024] Further optimization scheme is that the conductor three-dimensional entity is generated based on the floor dictionary and the conductor dictionary; the method comprises:

[0025] According to the conductor path dictionary, a polyline of the target conductor is generated in the three-dimensional view, the polyline is a horizontal polyline, and a cross-sectional radius of the horizontal polyline is a nominal cross-sectional radius of the target conductor; whether the target conductor is generated from the top plate is judged according to the conductor information dictionary; if yes, the height of the horizontal polyline is uniformly set as a top elevation of a corresponding floor in the floor dictionary, otherwise, the height of the three-dimensional polyline is uniformly set as a bottom elevation of a corresponding floor in the floor dictionary;

[0026] A vertical line segment L1 and a vertical line segment L2 are respectively generated at a starting position of a first segment of the horizontal polyline and an ending position of a last segment of the horizontal polyline; whether the target conductor is generated from the top plate is judged according to the conductor information dictionary; if yes, the vertical line segment L1 and the vertical line segment L2 are downward, otherwise, the vertical line segment L1 and the vertical line segment L2 are upward.

[0027] Further optimization scheme is that the conductor three-dimensional entity is corrected according to the equipment installation dictionary and the bridge dictionary, and the method comprises:

[0028] The equipment installation dictionary is traversed; if the starting position of the first segment of the horizontal polyline is in the target equipment i, the height of the vertical line segment L1 is adjusted to the installation height Hi of the target equipment i, and for the target equipment i that is surface-mounted, the starting position of the first segment is moved to the installation position of the target equipment i;

[0029] If the ending position of the last segment of the horizontal polyline is in the target equipment i, the height of the vertical line segment L2 is adjusted to the installation height Hi of the target equipment i, and for the target equipment i that is surface-mounted, the ending position of the last segment is moved to the installation position of the target equipment i.

[0030] Further optimization scheme is that the conductor three-dimensional entity is corrected according to the equipment installation dictionary and the bridge dictionary, and the method comprises:

[0031] Whether the conductor three-dimensional entity intersects with the bridge in the floor is solved; if not, the current conductor three-dimensional entity is taken as a corrected conductor three-dimensional entity, and the electrical conduit is laid; otherwise, the intersection part is obtained, the height of all horizontal line segments in the conductor three-dimensional entity is adjusted to the installation height of the bridge, and the corrected conductor three-dimensional entity is obtained by subtracting the intersection part, and the electrical conduit is laid.

[0032] The scheme also provides a three-dimensional visual entity system based on a two-dimensional path, which is used to implement the three-dimensional visual entity generation method based on a two-dimensional path; the system comprises:

[0033] The collection module is used for acquiring three-dimensional space basic information of the building engineering; the three-dimensional space basic information comprises floor information, equipment installation information, bridge information and conductor information;

[0034] The construction module is used for constructing a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary according to the three-dimensional space basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary and a conductor path dictionary; the conductor logical connection dictionary comprises a logical connection relationship of the conductor in the plane design, and the conductor path dictionary comprises an entity path relationship of the conductor;

[0035] The generation module is used for generating a conductor three-dimensional entity of a target conductor based on the floor dictionary and the conductor dictionary, and correcting the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary;

[0036] The laying module is used for laying an electrical conduit according to the corrected conductor three-dimensional entity.

[0037] The scheme also provides a computer readable medium, which stores a computer program, and the computer program can realize the three-dimensional visual entity generation method based on a two-dimensional path when executed by a processor.

[0038] Compared with the prior art, the method has the following advantages and beneficial effects:

[0039] The method, system and medium for generating a three-dimensional visual entity based on a two-dimensional path provided by the application establish dictionaries respectively representing logical connection and entity path of the conductor in the plane design, consider consistency of the plane and the three-dimensional entity in the case that expression and entity mapping of the plane design are different, and automatically correct the conductor three-dimensional entity based on the floor dictionary, the equipment installation dictionary, the bridge dictionary and the conductor dictionary, so as to improve design efficiency and reduce complexity of forward design of the designer, and lay an entity foundation for conductor calculation.

[0040] The method, system and medium for generating a three-dimensional visual entity based on a two-dimensional path provided by the application are based on traditional plane design, complete two-dimensional path of the conductor on a two-dimensional plane, represent and transfer various data in the space and the design plane based on the dictionaries, and automatically generate the three-dimensional visual conductor entity.

[0041] The method, system and medium for generating a three-dimensional visual entity based on a two-dimensional path provided by the application are based on the conductor logical connection dictionary and the conductor path dictionary, generate the three-dimensional conductor entity based on the entity path relationship of the conductor in the three-dimensional entity, and can solve the problem that the design plane and the three-dimensional shape are inconsistent. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced as follows. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be considered as a limitation to the scope. Other related drawings can also be obtained by those skilled in the art without any creative effort, based on these drawings. In the drawings:

[0043] Figure 1 A schematic diagram of a method for generating a three-dimensional visual entity based on a two-dimensional path;

[0044] Figure 2 A schematic diagram of a selected mapping link principle;

[0045] Figure 3 A schematic diagram of visualization when a target conductor is selected and not selected;

[0046] Figure 4 A schematic diagram of a three-dimensional entity construction process of a conductor;

[0047] Figure 5 A schematic diagram of a system structure for generating a three-dimensional visual entity based on a two-dimensional path. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the embodiments and drawings. The exemplary embodiments of the present application and their descriptions are only used to explain the present application, and should not be considered as a limitation to the present application.

[0049] In view of the problems that the conductor in the traditional building engineering electrical design plan cannot be directly generated into a three-dimensional entity, the logic expressed by the plan design is inconsistent with the generated entity, and the consideration of the three-dimensional entity affects the design efficiency when designing the plan, the present application provides the following embodiments to solve the above technical problems:

[0050] Embodiment 1: The present embodiment provides a method for generating a three-dimensional visual entity based on a two-dimensional path, as shown in Figure 1 The method is used to generate a conductor entity in building engineering electrical design; the method comprises the following steps:

[0051] Step 1: Obtain the three-dimensional space basic information of the building engineering; the three-dimensional space basic information includes floor information, equipment installation information, bridge information and conductor information; this step specifically comprises the following method:

[0052] Obtain all floors with conductor laying in the building engineering, and save the bottom elevation, top elevation, electrical end equipment in the floor, electrical distribution box in the floor, bridge in the floor and conductor in the floor of each floor as a floor dictionary; the floor dictionary is shown in Table 1;

[0053] Table 1 Floor dictionary table

[0054]

[0055] determining whether the target device intersects with the conductor in the plan design, the target device including an electrical distribution box in the floor and an electrical end device in the floor; if so, saving first installation information of the target device as a device installation dictionary, the first installation information including installation mode, installation height, and installation position; the device installation dictionary is shown in Table 2;

[0056] Table 2 Device installation dictionary table

[0057]

[0058] determining whether the bridge in the floor intersects with the conductor in the plan design, if so, saving second installation information of the bridge in the floor as a bridge dictionary; the second installation information including path point position, installation height, and bridge entity information of the bridge in the floor;

[0059] determining whether the conductor in the floor intersects or coincides with the conductor in the plan design, if so, saving third installation information of the conductor in the floor as a conductor information dictionary; the third installation information including whether the conductor in the floor is generated from the top plate and line segments included in the conductor in the floor.

[0060] The method for constructing the conductor logical connection dictionary includes:

[0061] combining the device installation dictionary, traversing the line segments included in the conductor in each floor: determining whether the current line segment intersects with the target device:

[0062] if there is no intersection point, saving the current line segment to the conductor logical connection dictionary;

[0063] if there are two intersection points, dividing the current line segment into a first sub-line segment and a second sub-line segment based on the target device and saving them to the conductor logical connection dictionary, wherein the first sub-line segment is formed by a line segment with a first new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from the original starting point, the first new starting point being the closest intersection point to the original starting point of the current line segment; the second sub-line segment is formed by a line segment with a second new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from the original ending point, the second new starting point being the closest intersection point to the original ending point of the current line segment;

[0064] if there is one intersection point, saving a line segment with a third new starting point of the original starting point of the current line segment to the conductor logical connection dictionary, the line segment being formed by a distance n or 1 / 3 of the current line segment offset from the intersection point to the third new starting point.

[0065] As a preference, the offset distance is selected as 100 mm, and when the offset distance of 100 mm cannot be satisfied, 1 / 3 of the offset current line segment is considered, because 100 mm is appropriate in the visual distance on the plan view and can ensure clear viewing.

[0066] The method for constructing the conductor path dictionary comprises: connecting the key point set of the conductor in the plan design in sequence to form a polyline, and saving the polyline to the conductor path dictionary to represent the conductor entity path.

[0067] As shown in Figure 2 The conductor dictionary comprises a selection mapping link (the selection mapping link_linesBeSel corresponds to the conductor path Count=1, and the selection mapping link_linesBeUnSel corresponds to the conductor path Count=2), which is associated with the conductor path dictionary. The selection mapping link can perform the plan design graphic transformation on the target conductor selection and unselection. When the target conductor is selected, the plan graphic is constructed in the manner of the dictionary representing the conductor entity path by mapping, as shown in (b) of Figure 3 When the target conductor is unselected, the plan graphic is constructed in the manner of the dictionary representing the conductor logical connection by mapping, as shown in (a) of Figure 3 The three-dimensional entity is always generated based on the dictionary representing the conductor entity path, so that the inconsistency between the conductor three-dimensional entity and the plan design expression can be solved by adopting the manner.

[0068] Step two: constructing a floor dictionary, a device installation dictionary, a bridge dictionary and a conductor dictionary according to the three-dimensional space basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary and a conductor path dictionary; the conductor logical connection dictionary comprises the logical connection relationship of the conductor in the plan design, and the conductor path dictionary comprises the entity path relationship of the conductor;

[0069] Step three: generating the conductor three-dimensional entity of the target conductor based on the floor dictionary and the conductor dictionary, and correcting the conductor three-dimensional entity according to the device installation dictionary and the bridge dictionary;

[0070] In step three, the conductor three-dimensional entity of the target conductor is generated based on the floor dictionary and the conductor dictionary; the method comprises:

[0071] According to the conductor path dictionary, a polyline of the target conductor is generated in the three-dimensional view, the polyline is a horizontal polyline, and the cross-sectional radius of the horizontal polyline is the nominal cross-sectional radius of the target conductor; according to the conductor information dictionary, it is judged whether the target conductor is generated from the top plate, if yes, the height of the horizontal polyline is uniformly set as the top elevation of the corresponding floor in the floor dictionary, otherwise, the height of the three-dimensional polyline is uniformly set as the bottom elevation of the corresponding floor in the floor dictionary;

[0072] A vertical line segment L1 and a vertical line segment L2 are generated at the start position of the first segment and the end position of the last segment of the horizontal multi-segment line respectively, and whether the target conductor is generated from the top plate is determined according to the conductor information dictionary; if yes, the vertical line segment L1 and the vertical line segment L2 are directed downward, otherwise, the vertical line segment L1 and the vertical line segment L2 are directed upward.

[0073] In step three, the conductor three-dimensional entity is modified according to the equipment installation dictionary and the bridge dictionary, including the method as shown in Figure 4

[0074] If the start position of the first segment of the horizontal multi-segment line is in the target equipment i, the height of the vertical line segment L1 is adjusted to the installation height Hi of the target equipment i, and for the target equipment i installed in the open, the start position of the first segment is moved to the installation position of the target equipment i.

[0075] If the end position of the last segment of the horizontal multi-segment line is in the target equipment i, the height of the vertical line segment L2 is adjusted to the installation height Hi of the target equipment i, and for the target equipment i installed in the open, the end position of the last segment is moved to the installation position of the target equipment i.

[0076] This step is a simple modification of the conductor three-dimensional entity in the horizontal and vertical directions according to the equipment installation dictionary.

[0077] In step three, the conductor three-dimensional entity is modified according to the equipment installation dictionary and the bridge dictionary, including the method as shown in

[0078] Whether the conductor three-dimensional entity intersects with the bridge in the floor is solved, if not, the current conductor three-dimensional entity is taken as the modified conductor three-dimensional entity, and the electrical conduit is laid; otherwise, the intersection part is obtained, the height of all horizontal line segments in the conductor three-dimensional entity is adjusted to the installation height of the bridge, and the modified conductor three-dimensional entity is obtained by subtracting the intersection part, and the electrical conduit is laid. This step is to solve the part of the conductor three-dimensional entity not in the bridge according to the bridge dictionary, and to lay the electrical conduit.

[0079] Step four: laying the electrical conduit according to the modified conductor three-dimensional entity.

[0080] This embodiment establishes related dictionaries based on floor information, equipment installation information, bridge information and conductor information, including a conductor dictionary representing the logical connection relationship of the conductor in the plane design and the entity path relationship of the conductor. Based on the floor dictionary and the conductor dictionary, the conductor three-dimensional entity of the target conductor is first roughly generated, and then the first and last positions of the conductor three-dimensional entity are fine-tuned and offset based on the equipment installation dictionary. Finally, the part of the conductor three-dimensional entity not in the bridge is solved based on the bridge dictionary, and the electrical conduit is automatically laid on the part.

[0081] ​Embodiment 2: This embodiment provides a system for generating a three-dimensional visual entity based on a two-dimensional path, as shown in Figure 5 for implementing the method for generating a three-dimensional visual entity based on a two-dimensional path described in Embodiment 1; the system comprises:

[0082] a collection module for acquiring three-dimensional spatial basic information of a construction project; the three-dimensional spatial basic information comprises floor information, equipment installation information, bridge information, and conductor information;

[0083] a construction module for constructing a floor dictionary, an equipment installation dictionary, a bridge dictionary, and a conductor dictionary according to the three-dimensional spatial basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary, and a conductor path dictionary; the conductor logical connection dictionary comprises a logical connection relationship of conductors in a planar design, and the conductor path dictionary comprises an entity path relationship of the conductors;

[0084] a generation module for generating a conductor three-dimensional entity of a target conductor based on the floor dictionary and the conductor dictionary, and correcting the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary;

[0085] a laying module for laying an electrical conduit according to the corrected conductor three-dimensional entity.

[0086] Embodiment 3: This embodiment provides a computer-readable medium having a computer program stored thereon, the computer program being executable by a processor to implement the method for generating a three-dimensional visual entity based on a two-dimensional path described in Embodiment 1; the following steps are specifically implemented:

[0087] Step 1: Acquire three-dimensional spatial basic information of a construction project; the three-dimensional spatial basic information comprises floor information, equipment installation information, bridge information, and conductor information;

[0088] Step 2: Construct a floor dictionary, an equipment installation dictionary, a bridge dictionary, and a conductor dictionary according to the three-dimensional spatial basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary, and a conductor path dictionary; the conductor logical connection dictionary comprises a logical connection relationship of conductors in a planar design, and the conductor path dictionary comprises an entity path relationship of the conductors;

[0089] Step 3: Generate a conductor three-dimensional entity of a target conductor based on the floor dictionary and the conductor dictionary, and correct the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary;

[0090] Step 4: Lay an electrical conduit according to the corrected conductor three-dimensional entity.

[0091] The above detailed description of the specific embodiments of the present application has been given to understand the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for generating a three-dimensional visual entity based on a two-dimensional path, characterized in that, The method is used for generating a conductor entity in electrical design of a building project; the method comprises: acquiring three-dimensional space basic information of the building project; the three-dimensional space basic information comprises floor information, equipment installation information, bridge information and conductor information; constructing a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary according to the three-dimensional space basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary and a conductor path dictionary; the conductor logical connection dictionary comprises a logical connection relationship of the conductor in the plane design, and the conductor path dictionary comprises an entity path relationship of the conductor; generating a conductor three-dimensional entity of a target conductor based on the floor dictionary and the conductor dictionary, and correcting the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary; laying an electrical conduit according to the corrected conductor three-dimensional entity.

2. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 1, wherein, The method of constructing the floor dictionary, the equipment installation dictionary, the bridge dictionary and the conductor dictionary according to the three-dimensional space basic information; comprises the following steps: acquiring all floors with conductor laying in the building project, and saving a bottom elevation, a top elevation, electrical terminal equipment in the floor, an electrical distribution box in the floor, a bridge in the floor and a conductor in the floor of each floor as a floor dictionary; judging whether a target equipment intersects with the conductor in the plane design, wherein the target equipment comprises the electrical distribution box in the floor and the electrical terminal equipment in the floor; if yes, saving first installation information of the target equipment as an equipment installation dictionary, wherein the first installation information comprises an installation mode, an installation height and an installation position; judging whether the bridge in the floor intersects with the conductor in the plane design; if yes, saving second installation information of the bridge in the floor as a bridge dictionary, wherein the second installation information comprises a path point position, an installation height and bridge entity information of the bridge in the floor; judging whether the conductor in the floor intersects with or overlaps the conductor in the plane design; if yes, saving third installation information of the conductor in the floor as a conductor information dictionary, wherein the third installation information comprises whether the conductor in the floor is generated from a top plate and a line segment contained in the conductor in the floor.

3. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 2, wherein, The method of constructing the conductor logical connection dictionary comprises: combining the equipment installation dictionary, and traversing the line segment contained in the conductor in each floor to judge whether there is an intersection point between the current line segment and the target equipment: if there is no intersection point, saving the current line segment to the conductor logical connection dictionary; if there are two intersection points, dividing the current line segment into a first sub-line segment and a second sub-line segment based on the target equipment and saving them to the conductor logical connection dictionary, wherein the first sub-line segment is formed by a line segment with a first new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from an original starting point, and the first new starting point is the closest intersection point to the original starting point of the current line segment; the second sub-line segment is formed by a line segment with a second new starting point of the current line segment offset by a distance n or 1 / 3 of the current line segment from an original ending point, and the second new starting point is the closest intersection point to the original ending point of the current line segment; if there is one intersection point, saving a line segment with an original starting point of the current line segment as a third new starting point and offset by a distance n or 1 / 3 of the current line segment from the third new starting point to the intersection point to the conductor logical connection dictionary.

4. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 2, wherein, The method for constructing the conductor path dictionary comprises: connecting key point sets of conductors in a planar design in sequence to form a polyline, and saving the polyline representing a conductor entity path into the conductor path dictionary.

5. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 4, wherein, The conductor dictionary comprises a selected mapping link associated with the conductor path dictionary.

6. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 4, wherein, The conductor three-dimensional entity of the target conductor is generated based on the floor dictionary and the conductor dictionary. The method comprises: According to the conductor path dictionary, a polyline of the target conductor is generated in a three-dimensional view, the polyline being a horizontal polyline, and a cross-sectional radius of the horizontal polyline being a nominal cross-sectional radius of the target conductor; whether the target conductor is generated from a top plate is determined according to the conductor information dictionary; if yes, the height of the horizontal polyline is uniformly set to a top elevation of a corresponding floor in the floor dictionary; otherwise, the height of the three-dimensional polyline is uniformly set to a bottom elevation of the corresponding floor in the floor dictionary; At a starting point of a first segment of the horizontal polyline and an ending point of a last segment, vertical line segments L1 and L2 are respectively generated; whether the target conductor is generated from the top plate is determined according to the conductor information dictionary; if yes, the vertical line segments L1 and L2 are downward; otherwise, the vertical line segments L1 and L2 are upward.

7. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 6, wherein, The method for correcting the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary comprises: If the starting point of the first segment of the horizontal polyline is in a target equipment i, the height of the vertical line segment L1 is adjusted to an installation height Hi of the target equipment i, and for the target equipment i that is surface-mounted, the starting point of the first segment is moved to an installation position of the target equipment i; If the ending point of the last segment of the horizontal polyline is in the target equipment i, the height of the vertical line segment L2 is adjusted to the installation height Hi of the target equipment i, and for the target equipment i that is surface-mounted, the ending point of the last segment is moved to the installation position of the target equipment i.

8. The method for generating a three-dimensional visual entity based on a two- dimensional path according to claim 7, wherein, The method for correcting the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary further comprises: Whether an intersection exists between the conductor three-dimensional entity and a bridge in a floor is solved; if not, the current conductor three-dimensional entity is taken as a corrected conductor three-dimensional entity, and an electrical conduit is laid; otherwise, the intersection is obtained, the height of all horizontal line segments in the conductor three-dimensional entity is adjusted to an installation height of the bridge, and the corrected conductor three-dimensional entity is obtained by subtracting the intersection, and the electrical conduit is laid.

9. A system for generating three-dimensional visualizations from two-dimensional paths, the system comprising: The system is used for implementing the method for generating a three-dimensional visual entity based on a two-dimensional path according to any one of claims 1-8; the system comprises: A collection module is configured to acquire three-dimensional space basic information of a construction project; the three-dimensional space basic information comprises floor information, equipment installation information, bridge information and conductor information; A construction module is configured to construct a floor dictionary, an equipment installation dictionary, a bridge dictionary and a conductor dictionary according to the three-dimensional space basic information; the conductor dictionary comprises a conductor information dictionary, a conductor logical connection dictionary and a conductor path dictionary; the conductor logical connection dictionary comprises a logical connection relationship of conductors in a planar design, and the conductor path dictionary comprises an entity path relationship of the conductors; The method comprises: The generating module is configured to generate a conductor three-dimensional entity of the target conductor based on the floor dictionary and the conductor dictionary, and correct the conductor three-dimensional entity according to the equipment installation dictionary and the bridge dictionary; The laying module is configured to lay the electrical conduit according to the corrected conductor three-dimensional entity.

10. A computer readable medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method for generating a three-dimensional visual entity based on a two-dimensional path according to any one of claims 1-8.

Citation Information

Patent Citations

  • Design support method for wire harness

    CN110110345A

  • Cable laying design system based on digital design process

    CN113705019A