Collision detection method of three-dimensional item, three-dimensional item arrangement method and medium
By constructing a two-dimensional plane image and using gray value judgment and minimum bounding box estimation algorithm, the collision detection and automatic arrangement of three-dimensional items are realized, which solves the problem of item collision in three-dimensional design and improves the accuracy and efficiency of the design. .
Patent Information
- Application Number
- CN202410643400.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-03
AI Technical Summary
During the three-dimensional design process, items may collide with arranged items within the specified space. It is necessary to automatically optimize and adjust the layout position to eliminate collisions and improve design accuracy.
By constructing a two-dimensional plane image, setting the gray value of the target area and background, judging whether the gray value of the pixel point to be arranged is a non-collision point, and using the minimum bounding box estimation algorithm to judge whether the item area overlaps the target area, Realize collision detection and automatic arrangement of three-dimensional items.
It improves the collision detection accuracy and automatic layout efficiency of 3D items. It can quickly identify and adjust the position before creating a 3D model to avoid collisions. It is suitable for the 3D layout design of complex process factories and discrete factories.
Smart Images

Figure CN118587166A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional design technology, and in particular to a collision detection method for three-dimensional objects, a three-dimensional object arrangement method and a medium. Background Art
[0002] The three-dimensional design of a process plant is an extremely complex system engineering project that requires collaborative design of multiple disciplines such as equipment, piping, instrumentation, and civil engineering. The professional models corresponding to these disciplines are spatially interrelated and have complex layouts and topological relationships, so precise three-dimensional design is required.
[0003] In the process of three-dimensional design, for some professions, when a certain type of items are arranged in batches according to certain rules within a specified space range, the items may collide with space items that have already been arranged in the specified space range. This collision is not allowed and the possibility of this collision needs to be eliminated. Summary of the invention
[0004] The main technical problem solved by the present invention is to perform collision detection on items at specified positions before creating a three-dimensional design model, thereby automatically optimizing and adjusting the layout position to achieve accurate layout of the three-dimensional items.
[0005] According to the first aspect, an embodiment provides a collision detection method for a three-dimensional object, which is applied to a three-dimensional design model, comprising:
[0006] Constructing corresponding two-dimensional plane images based on multiple target items in a preset three-dimensional space;
[0007] Extracting a target area in the two-dimensional plane image; the target area corresponds to the target item;
[0008] Setting the grayscale value of the target area to a first grayscale value, and setting the grayscale value of the image background outside the target area in the two-dimensional plane image to a second grayscale value; the first grayscale value is different from the second grayscale value;
[0009] Determining whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged;
[0010] When the position to be arranged is a non-collision point, a corresponding item area is constructed according to the position to be arranged, and whether there is an overlapping area between the item area and the target area is determined based on the item area and the target area.
[0011] In some embodiments, the determining whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged includes:
[0012] Determining whether the grayscale value of the pixel point at the position to be arranged is the first grayscale value of the target area;
[0013] If the grayscale value of the pixel point at the position to be arranged is the first grayscale value of the target area, determining that the position to be arranged is a collision point;
[0014] If the grayscale value of the pixel point at the to-be-arranged position is not equal to the first grayscale value of the target area, the to-be-arranged position is determined to be a non-collision point.
[0015] In some embodiments, the first grayscale value is 0 and the second grayscale value is 255.
[0016] In some embodiments, the step of constructing a corresponding item area according to the position to be arranged includes:
[0017] Arranged items corresponding to the positions to be arranged are constructed, and a plane area formed by the outer enclosure of the arranged items is used as an item area.
[0018] In some embodiments, determining whether there is an overlapping area between the item area and the target area based on the item area and the target area includes:
[0019] It is determined whether there is an overlapping area between the item area and the target area according to a preset minimum bounding box estimation algorithm.
[0020] In some embodiments, after setting the grayscale value of the target area to the first grayscale value, the method further includes:
[0021] Performing region filling on the target region to obtain a filled target region;
[0022] The filled target area is morphologically processed, and noise points are filtered out of the morphologically processed target area according to a preset area feature histogram to obtain a final target area.
[0023] In some embodiments, the preset three-dimensional space includes spaces in three-dimensional design models corresponding to multiple different reference disciplines; the multiple target items include items of different item types under the preset three-dimensional space; the different item types correspond to the reference disciplines; wherein the reference disciplines include equipment discipline, piping discipline, instrumentation discipline and civil engineering discipline.
[0024] In some embodiments, the step of constructing a corresponding two-dimensional plane image based on a plurality of target items in a preset three-dimensional space includes:
[0025] Selecting a plurality of items in a reference space region in the preset three-dimensional space as a plurality of target items; wherein the reference space region is selected according to a user's layout requirements;
[0026] The multiple target items are vertically projected onto a preset vertical plane to obtain a two-dimensional plane image; the two-dimensional plane image contains target areas corresponding to the multiple target items.
[0027] According to the second aspect, an embodiment provides a three-dimensional item arrangement method, comprising:
[0028] When a three-dimensional model creation request is received, a collision detection is performed on three-dimensional objects in a preset three-dimensional space, and non-collision points are determined according to the collision detection; the collision detection is obtained by a collision detection method of three-dimensional objects;
[0029] The position of the non-collision point is determined as the position to be arranged, the spatial position corresponding to the position to be arranged is identified according to a pre-constructed mapping relationship, and the three-dimensional object is arranged based on the spatial position corresponding to the position to be arranged; wherein the mapping relationship includes the relationship between the coordinate position of each pixel point in the two-dimensional plane image and the spatial coordinates of the three-dimensional item.
[0030] According to the third aspect, an embodiment provides a computer-readable storage medium having a program stored thereon, wherein the program can be executed by a processor to implement a collision detection method for three-dimensional objects and a three-dimensional object arrangement method.
[0031] According to the collision detection method of three-dimensional items, the three-dimensional item arrangement method and the computer-readable storage medium of the above-mentioned embodiment, by setting the gray value in the target area to a first gray value, and setting the gray value of the image background outside the target area in the two-dimensional plane image to a second gray value, the target area and the area corresponding to the image background present a polarized phenomenon, providing the user with an intuitive visual presentation. Based on the first gray value of the target area and the gray value of the pixel point of the position to be arranged, it is determined whether the position to be arranged is a non-collision point, and the non-collision point is judged according to the gray value, thereby realizing collision detection from the dimension of the pixel point. When the position to be arranged is a non-collision point, it is determined whether there is an overlapping area between the item area constructed by the position to be arranged and the target area, so as to further determine whether the position to be arranged is a non-collision point, thereby improving the accuracy of collision detection of three-dimensional items. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A collision detection flow chart of a three-dimensional object according to an embodiment of the present invention;
[0033] Figure 2 A flowchart of collision detection of three-dimensional objects according to an embodiment;
[0034] Figure 3 A three-dimensional spatial reference diagram of an embodiment;
[0035] Figure 4 A diagram showing a reference space region according to an embodiment;
[0036] Figure 5 A two-dimensional plane image is shown in an embodiment;
[0037] Figure 6 A reference diagram of grayscale values and corresponding changes of a target area in a two-dimensional plane image in an embodiment;
[0038] Figure 7 A display diagram of a two-dimensional plane image after setting the first grayscale value and the second grayscale value in an embodiment;
[0039] Figure 8 A flowchart of collision detection of three-dimensional objects according to an embodiment;
[0040] Fig. 9 A display diagram of a two-dimensional plane image after morphological processing in one embodiment;
[0041] Fig.10 A flowchart of collision detection of three-dimensional objects according to an embodiment;
[0042] Fig.11 A display diagram of a two-dimensional plane image of a plurality of positions to be arranged according to an embodiment;
[0043] Fig.12 A display diagram of a two-dimensional plane image of an area of items corresponding to positions to be arranged in one embodiment;
[0044] Fig.13 A diagram showing an embodiment of using a preset minimum bounding box estimation algorithm to identify overlapping areas;
[0045] Fig.14 A display diagram of a two-dimensional plane image for determining whether objects overlap according to an embodiment;
[0046] Fig.15 A three-dimensional item arrangement flow chart of an embodiment. DETAILED DESCRIPTION
[0047] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0048] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0049] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0050] Please refer to Figure 1 In an embodiment of the present invention, a collision detection method for three-dimensional objects is provided, including steps S10 to S50, which are described in detail below.
[0051] Step S10: constructing a corresponding two-dimensional plane image based on a plurality of target items in a preset three-dimensional space.
[0052] In some embodiments, the preset three-dimensional space refers to a space in a three-dimensional design model corresponding to a plurality of different reference disciplines, wherein the reference disciplines include equipment discipline, pipeline discipline, instrumentation discipline, and civil engineering discipline. The preset three-dimensional space includes a plurality of items, and the types of the plurality of items correspond to different reference disciplines. For example, under the pipeline discipline, the three-dimensional space in the three-dimensional design model will include pipeline items, and under the civil engineering discipline, the three-dimensional space in the three-dimensional design model will include lamp items.
[0053] Please refer to Figure 2In some embodiments, step S10 constructs a corresponding two-dimensional plane image based on multiple target items in a preset three-dimensional space, including steps S11 to S12, which are described in detail below.
[0054] Step S11: Select multiple items in a reference space area in a preset three-dimensional space as multiple target items; wherein the reference space area is selected according to user layout requirements.
[0055] Please refer to Figure 3 In some embodiments, the preset three-dimensional space includes multiple items of different types.
[0056] Please refer to Figure 4 In some embodiments, in the entire preset three-dimensional space, items in the space area are arranged at a specified vertical height, wherein the area surrounded by two dotted lines is the reference space area, and the reference space area is selected based on the user's layout requirements. Different users can put forward different layout requirements, thereby selecting a space area in the preset three-dimensional space. At the same time, multiple items in the reference space area are used as multiple target items.
[0057] Step S12: vertically project the multiple target items onto a preset vertical plane to obtain a two-dimensional plane image; the two-dimensional plane image contains target areas corresponding to the multiple target items.
[0058] Please refer to Figure 5 In some embodiments, multiple target items in the reference space region are vertically projected onto a plane, thereby obtaining a two-dimensional plane image. The vertical projection is only one of the axes, and the projection plane can be selected according to actual needs.
[0059] In some embodiments, multiple target items in a preset three-dimensional space are projected into a two-dimensional plane image, thereby achieving dimensionality reduction operations and improving the efficiency of subsequent calculations.
[0060] Step S20: extracting a target area in the two-dimensional plane image; the target area corresponds to the target item.
[0061] In some embodiments, there are multiple target items in the two-dimensional plane image, and each target item corresponds to a target area.
[0062] In some embodiments, the two-dimensional plane image is grayed to obtain the grayed two-dimensional plane image, and the target area and the image background excluding the target area in the two-dimensional plane image are segmented by the gray value histogram. Since there is a grayscale difference between the target area and the image background, there will be two obvious peaks in the gray value histogram, one of which corresponds to the target area and the other corresponds to the image background. However, when the gray value is different, the color change of the target item corresponding to the target area will also be different. Therefore, the image segmentation can be performed by adjusting the gray value range to separate the target area and the image background.
[0063] Among them, the gray value histogram can be used to describe the drawing statistics of an image, mainly used for image segmentation and grayscale transformation. From a mathematical point of view, the gray value histogram can be regarded as a discrete function F(x) about grayscale, where x represents the grayscale value, and the grayscale value ranges from 0 to 255. F(x) represents the number of pixels with grayscale value x on an image when the grayscale value x is a specific grayscale value.
[0064] Please refer to Figure 6 In some embodiments, the changes of the target area in the two-dimensional plane image corresponding to the grayscale value of 0-113, the grayscale value of 0-166 and the grayscale value of 29-234 are respectively displayed. It can be seen that the division between the target area and the image background is most obvious when the grayscale value is 29-234.
[0065] Step S30: setting the grayscale value of the target area to a first grayscale value, and setting the grayscale value of the image background outside the target area in the two-dimensional plane image to a second grayscale value; the first grayscale value is different from the second grayscale value.
[0066] In some embodiments, the first grayscale value is 0 and the second grayscale value is 255. The grayscale value of the target area is set to 0, and the grayscale value of the image background outside the target area in the two-dimensional plane image is set to 255. Therefore, the entire two-dimensional plane image can present a more obvious black and white visual effect, which is convenient for users to observe. In other embodiments, the first grayscale value can also be 29, the second grayscale value can also be 234, or the first grayscale value can also be 15, and the second grayscale value can also be 166.
[0067] Please refer to Figure 7 In some embodiments, the figure represents a two-dimensional plane image after the first grayscale value and the second grayscale value are set.
[0068] Please refer to Figure 8 In some embodiments, after step S30 sets the grayscale value of the target area to the first grayscale value, it also includes steps S31 to S32, which are described in detail below.
[0069] Step S31: performing region filling on the target region to obtain a filled target region.
[0070] In some embodiments, there are gaps inside the target area, so area filling is used to fill the gaps in the target area and ensure that the grayscale values are consistent.
[0071] Step S32: performing morphological processing on the filled target area, and filtering noise points on the morphologically processed target area according to a preset area feature histogram to obtain a final target area.
[0072] Please refer to Fig. 9 In some embodiments, in order to ensure that the range of the filled target area can cover the area formed by the projection of the three-dimensional object, the filled target area can be appropriately expanded and then shrunk, which is also called morphological processing. The filled target area is first dilated and then eroded. The closing operation can fill small holes and close small cracks, while the overall position and shape of the area will not change. It can effectively optimize the noise, holes and rough edges in the image, which is similar to a deburring effect.
[0073] In some embodiments, in the case where there are still some subtle noise areas in the two-dimensional plane image after morphological processing, the noise is filtered by using a preset area feature histogram, thereby obtaining the final target area.
[0074] Step S40: determining whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the predefined grayscale value of the pixel point of the position to be arranged.
[0075] Please refer to Fig.10 In some embodiments, step S40 determines whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged, including steps S41 to S43, which are described in detail below.
[0076] Step S41: determining whether the grayscale value of the pixel at the position to be arranged is the first grayscale value of the target area.
[0077] Step S42: If the grayscale value of the pixel point at the position to be arranged is the first grayscale value of the target area, the position to be arranged is determined to be a collision point.
[0078] Step S43: If the grayscale value of the pixel point at the position to be arranged is not equal to the first grayscale value of the target area, the position to be arranged is determined to be a non-collision point.
[0079] In some embodiments, it is determined whether the grayscale value of the pixel point at the position to be arranged is 0. If the grayscale value of the pixel point is 0, it means that the position to be arranged is within the target area, so a collision will occur at the position to be arranged in three-dimensional space, and the position to be arranged is determined as a collision point. When the grayscale value of the pixel point is not 0, it means that the position to be arranged is not within the target area, so a collision will not occur at the position to be arranged in three-dimensional space, and the position to be arranged is determined as a non-collision point.
[0080] Please refer to Fig.11 In some embodiments, there are multiple positions to be arranged, and grayscale values are judged and identified based on the multiple positions to be arranged and the target area to determine whether the positions to be arranged are non-collision points.
[0081] Step S50: when the position to be arranged is a non-collision point, construct a corresponding item area according to the position to be arranged, and determine whether there is an overlapping area between the item area and the target area based on the item area and the target area.
[0082] In some embodiments, when the position to be arranged is a collision point, the predefined position to be arranged needs to be readjusted, and when the position to be arranged is a non-collision point, a corresponding item area is constructed according to the position to be arranged, mainly by constructing arranged items corresponding to the position to be arranged, and taking the plane area formed by the outer enclosure of the arranged items as the item area.
[0083] In some embodiments, determining whether there is an overlapping area between the item area and the target area based on the item area and the target area includes:
[0084] The preset minimum bounding box estimation algorithm is used to determine whether there is an overlapping area between the item area and the target area.
[0085] Please refer to Fig.12 , the corresponding item area can be generated based on the position to be arranged, that is, the rectangular area formed by the reference point of the position to be arranged in the figure, and whether there is an overlapping area between the rectangular area in the figure and the target area is calculated according to the preset minimum bounding box estimation algorithm.
[0086] Please refer to Fig.13In some embodiments, a preset minimum bounding box estimation algorithm (Oriented Bounding Box, OBB) is used to determine whether there is an overlapping area between two areas. The OBB algorithm is for two convex polygons. If there is a straight line that separates the two convex polygons, then the axis perpendicular to the straight line is called the separation axis. If the projections of the two objects on the separation axis do not intersect, it means that the two objects do not intersect, and once there is a non-intersection on a certain axis, then the two objects must not intersect. In actual application, the perpendicular line of the side of the convex polygon is often used as the separation axis, and the projections of the objects on the separation axis are detected in turn.
[0087] Please refer to Fig.14 In some embodiments, in the two-dimensional plane image, the number of separation axes is the sum of the number of sides of the two convex polygonal objects. On separation axis 1, the projection of object A intersects with the projection of object B, so the two objects intersect on separation axis 1. On separation axis 2, the projection of object A does not intersect with the projection of object B, so the two objects do not intersect on separation axis 2.
[0088] In some embodiments, the collision detection method of three-dimensional objects is applicable to all needs of three-dimensional space layout obstacle avoidance detection, including three-dimensional layout design obstacle avoidance detection of process engineering and discrete factories, and covers three-dimensional layout design space obstacle avoidance rapid detection applications in industries such as nuclear power, petrochemicals, nuclear chemical industry and shipbuilding.
[0089] Please refer to Fig.15 In an embodiment of the present invention, a three-dimensional item arrangement method is provided, including steps S60 to S70, which are described in detail below.
[0090] Step S60: When a three-dimensional model creation request is received, collision detection is performed on three-dimensional objects in a preset three-dimensional space, and non-collision points are determined based on the collision detection; the collision detection is obtained by a collision detection method for three-dimensional objects.
[0091] In some embodiments, the collision detection method for three-dimensional objects can be implemented through the following steps, which are described in detail below.
[0092] A corresponding two-dimensional plane image is constructed based on multiple target items in a preset three-dimensional space, a target area in the two-dimensional plane image is extracted, the grayscale value of the target area is set to a first grayscale value, the grayscale value of the image background outside the target area in the two-dimensional plane image is set to a second grayscale value, and whether the position to be arranged is a non-collision point is determined based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged. When the position to be arranged is a non-collision point, a corresponding item area is constructed according to the position to be arranged, and whether there is an overlapping area between the item area and the target area is determined based on the item area and the target area. Among them, the target area corresponds to the target item, and the first grayscale value is different from the second grayscale value.
[0093] Step S70: Determine the position of the non-collision point as the position to be arranged, identify the spatial position corresponding to the position to be arranged according to a pre-constructed mapping relationship, and arrange the three-dimensional items based on the spatial position corresponding to the position to be arranged; wherein the mapping relationship includes the relationship between the coordinate position of each pixel point in the two-dimensional plane image and the spatial coordinates of the three-dimensional item.
[0094] In some embodiments, for some reference professions, when a certain type of items are arranged in batches according to certain rules within a specified space range, collisions will occur with items in the space. These collisions are not allowed and must be eliminated. The conventional obstacle avoidance method is to perform three-dimensional collision detection to check and determine whether there are obstacles. This method cannot predict obstacles in advance. It is necessary to create three-dimensional items first, and then perform collision checks on these created three-dimensional items with other items in the space to identify obstacles, and then adjust the position to avoid collisions. At the same time, the calculation of the three-dimensional collision detection algorithm is time-consuming. The three-dimensional item arrangement method of this embodiment can quickly check the items at the specified position for obstacles before creating the three-dimensional model, and automatically optimize and adjust the arrangement position according to the results of the inspection, thereby realizing automatic obstacle avoidance during automatic batch arrangement of the same type and improving efficiency.
[0095] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0096] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A collision detection method for three-dimensional objects, applied to three-dimensional design models, characterized in that: include: Constructing corresponding two-dimensional plane images based on multiple target items in a preset three-dimensional space; Extracting a target area in the two-dimensional plane image; The target area corresponds to the target item; Setting the grayscale value of the target area to a first grayscale value, and setting the grayscale value of the image background outside the target area in the two-dimensional plane image to a second grayscale value; the first grayscale value is different from the second grayscale value; Determining whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged; When the position to be arranged is a non-collision point, a corresponding item area is constructed according to the position to be arranged, and whether there is an overlapping area between the item area and the target area is determined based on the item area and the target area.
2. The method according to claim 1, characterized in that The determining whether the position to be arranged is a non-collision point based on the first grayscale value of the target area and the grayscale value of the pixel point of the predefined position to be arranged includes: Determining whether the grayscale value of the pixel point at the position to be arranged is the first grayscale value of the target area; If the grayscale value of the pixel point at the position to be arranged is the first grayscale value of the target area, determining that the position to be arranged is a collision point; If the grayscale value of the pixel point at the to-be-arranged position is not equal to the first grayscale value of the target area, the to-be-arranged position is determined to be a non-collision point.
3. The method according to claim 1, characterized in that The first grayscale value is 0, and the second grayscale value is 255.
4. The method according to claim 1, characterized in that The step of constructing a corresponding item area according to the position to be arranged includes: Arranged items corresponding to the positions to be arranged are constructed, and a plane area formed by the outer enclosure of the arranged items is used as an item area.
5. The method according to claim 1, characterized in that The determining whether there is an overlapping area between the item area and the target area based on the item area and the target area includes: It is determined whether there is an overlapping area between the item area and the target area according to a preset minimum bounding box estimation algorithm.
6. The method according to claim 1, characterized in that After setting the grayscale value of the target area to the first grayscale value, the method further includes: Performing region filling on the target region to obtain a filled target region; The filled target area is morphologically processed, and noise points are filtered out of the morphologically processed target area according to a preset area feature histogram to obtain a final target area.
7. The method according to claim 1, characterized in that The preset three-dimensional space includes spaces in three-dimensional design models corresponding to multiple different reference majors; the multiple target items include items of different item types under the preset three-dimensional space; the different item types correspond to the reference majors; wherein the reference majors include equipment major, pipeline major, instrumentation major and civil engineering major.
8. The method according to claim 1, characterized in that The method of constructing a corresponding two-dimensional plane image based on a plurality of target items in a preset three-dimensional space includes: Selecting a plurality of items in a reference space region in the preset three-dimensional space as a plurality of target items; wherein the reference space region is selected according to a user's layout requirements; The multiple target items are vertically projected onto a preset vertical plane to obtain a two-dimensional plane image; the two-dimensional plane image contains target areas corresponding to the multiple target items.
9. A three-dimensional item arrangement method, characterized in that: include: When a request for creating a three-dimensional model is received, collision detection is performed on three-dimensional objects in a preset three-dimensional space, and non-collision points are determined based on the collision detection; The collision detection is obtained by detecting the collision of three-dimensional objects according to any one of claims 1 to 8; The position of the non-collision point is determined as the position to be arranged, the spatial position corresponding to the position to be arranged is identified according to a pre-constructed mapping relationship, and the three-dimensional object is arranged based on the spatial position corresponding to the position to be arranged; wherein the mapping relationship includes the relationship between the coordinate position of each pixel point in the two-dimensional plane image and the spatial coordinates of the three-dimensional item.
10. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 9.
