CN111159809B - Garage drawing generation method and device, electronic equipment and storage medium - Google Patents

Garage drawing generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111159809B
CN111159809B CN201911418827.3A CN201911418827A CN111159809B CN 111159809 B CN111159809 B CN 111159809B CN 201911418827 A CN201911418827 A CN 201911418827A CN 111159809 B CN111159809 B CN 111159809B
Authority
CN
China
Prior art keywords
building
shear wall
line segment
data
lane
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911418827.3A
Other languages
Chinese (zh)
Other versions
CN111159809A (en
Inventor
林正宇
陈山
郭秉义
叶鹏
谈迪一
袁笛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Bozhilin Robot Co Ltd
Original Assignee
Guangdong Bozhilin Robot Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN201911418827.3A priority Critical patent/CN111159809B/en
Publication of CN111159809A publication Critical patent/CN111159809A/en
Application granted granted Critical
Publication of CN111159809B publication Critical patent/CN111159809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for generating a garage drawing, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring building outer contour data and shear wall data; identifying the spatial arrangement information of the building according to the building outline data and the shear wall data; and arranging the parking spaces according to the spatial arrangement information and the lane center line data, determining a plurality of parking spaces which are not coincident with the shear wall, and generating a garage drawing. Therefore, the problem that obstacles such as shear walls in buildings are not considered to be avoided is solved, the superposition conflict between the designed parking spaces and the shear walls is serious, manual modification is needed, otherwise, the parking spaces and the shear walls cannot be directly input into project production and use, manpower and material resources are wasted, and the design efficiency is reduced while the applicability and the practicability of the design are reduced.

Description

Garage drawing generation method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of garage planning, in particular to a method and a device for generating a garage drawing, electronic equipment and a storage medium.
Background
In the related art, a garage is designed according to the outer contour of a building, as shown in fig. 1, the boundary line is the outer contour line of the building, the rectangle is a designed parking space outside the building and a parking space designed without considering the inner shear wall of the building, the other rectangle is a designed lane, the dotted line is the center line of the lane, and the arrow is a lane pointing mark. Specifically, in the arrangement design process, the building is firstly bypassed to be uniformly arranged, and then the spare parts of the building are uniformly arranged.
However, due to the fact that the problem of avoiding obstacles such as shear walls in buildings is not considered, the parking spaces can be arranged according to default arrangement rules, the designed parking spaces and the shear walls are serious in overlapping collision, and a large number of parking spaces cannot be practically used if the parking spaces are too tight to the shear walls, so that users cannot get on or off the building normally. Therefore, if the template is not modified by a professional designer, the template can be used as a demonstration template for displaying and cannot be directly put into project production, which not only wastes manpower and material resources, but also reduces the applicability and practicability of design and reduces the design efficiency, and thus an improvement is needed.
Disclosure of Invention
The invention provides a method and a device for generating a garage drawing, electronic equipment and a storage medium, which are used for solving the problems that the problem of avoiding obstacles such as a shear wall in a building is not considered, the superposition conflict between a designed parking space and the shear wall is serious, manual modification is needed, otherwise the design cannot be directly put into project production and use, manpower and material resources are wasted, the applicability and the practicability of the design are reduced, and the design efficiency is reduced.
The embodiment of the invention provides a method for generating a garage drawing, which comprises the following steps: acquiring building outer contour data and shear wall data; identifying the spatial arrangement information of the building according to the building outer contour data and the shear wall data; and carrying out parking space arrangement according to the space arrangement information and the lane center line data, determining a plurality of parking spaces which are not coincident with the shear wall, and generating a garage drawing.
An embodiment of the first aspect of the present invention provides a device for generating a garage drawing, including: the acquisition module is used for acquiring building outer contour data and shear wall data; the identification module is used for identifying the spatial arrangement information of the building according to the outer contour data and the shear wall data of the building; and the generating module is used for carrying out parking space arrangement according to the space arrangement information and the lane center line data, determining a plurality of parking spaces which are not overlapped with the shear wall, and generating a garage drawing.
In a third aspect, embodiments of the present invention provide an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions configured to perform the method of generating a garage drawing according to the above embodiment.
In a fourth aspect, the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for generating a garage drawing as described in the above embodiments.
According to the space information of arranging of building outline data and shear force wall data identification, the problem of avoiding barriers such as shear force wall in the building is fully considered, confirm a plurality of parking stalls not with the coincidence of scissors wall to generate the garage drawing, realize that the intelligence of parking stall is arranged, need not manual modification, labour saving and time saving not only, when effectively guaranteeing suitability and the practicality of meter in addition, promote design efficiency, allow direct input project production and use, promote and use experience. Therefore, the problem that obstacles such as shear walls in buildings are not considered to be avoided is solved, the superposition conflict between the designed parking spaces and the shear walls is serious, manual modification is needed, otherwise, the parking spaces cannot be directly input into project production and use, manpower and material resources are wasted, and the design efficiency is reduced while the applicability and the practicability of the design are reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic view of related art without the arrangement effect of the shear wall inside a building;
FIG. 2 is a flow chart of a method of generating a garage drawing in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the arrangement effect of shear walls inside a building according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating the arrangement effect of shear walls inside a building according to another embodiment of the present invention;
FIG. 5 is a flow chart of a method of generating a garage drawing in accordance with one embodiment of the present invention;
fig. 6 is a block diagram of a device for generating a garage drawing according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a method, an apparatus, an electronic device, and a storage medium for generating a garage drawing according to an embodiment of the present invention with reference to the drawings. In the method, space arrangement information of the building is identified according to building outer contour data and shear wall data, the problem of avoiding obstacles such as the building inner shear wall and the like is fully considered, a plurality of parking spaces which do not coincide with the shear wall are determined, and therefore the garage drawing is generated, intelligent arrangement of the parking spaces is achieved, manual modification is not needed, time and labor are saved, the applicability and the practicability of the meter are effectively guaranteed, the design efficiency is improved, direct production and use are allowed, and the use experience is improved. Therefore, the problems that due to the fact that obstacles such as shear walls in buildings are not considered to be avoided, the coincidence conflict between the designed parking spaces and the shear walls is serious, manual modification is needed, otherwise, the parking spaces cannot be directly put into project production and use, manpower and material resources are wasted, and design efficiency is reduced while the applicability and the practicability of the design are reduced are solved.
Specifically, fig. 1 is a schematic flow chart of a method for generating a garage drawing according to an embodiment of the present invention.
As shown in fig. 1, the method for generating the garage drawing includes the following steps:
in step S101, building outer contour data and shear wall data are acquired.
It should be noted that all the graphics and information in the design of general architectural CAD drawings are designed and entered manually by designers. In real estate development with increasing demand, in order to further reduce labor cost and improve enterprise benefits, an automatic drawing generation technology will bring epoch-making innovation to the whole real estate industry.
Therefore, the problem addressed by embodiments of the present invention is the task of automated design of underground garages in all automated drawing generation tasks. In the design of the underground garage, parking spaces are required to be designed in a building underground structure which partially comprises shear walls and a large number of obstacles except for an open area so as to improve the area utilization efficiency of the whole garage, so that in order to achieve a better effect aiming at the task, the embodiment firstly collects building outer contour data and shear wall data, arranges the parking spaces in the building underground garage according to the design logic of a designer by combining computer graphics and a method for calculating geometry, improves the arrangement method which does not consider the underground shear walls and does not avoid the obstacles in the prior art, reduces the production cost, improves the production efficiency and ensures the production quality.
In step S102, the spatial arrangement information of the building is identified according to the building outer contour data and the shear wall data.
In other words, in order to not only identify the space under the building for arrangement design alone, but also bypass the shear wall for arrangement design of parking spaces under the condition of inputting shear wall data, the embodiment of the invention identifies the space arrangement of the building according to the building outline data and the shear wall data, and further can ensure that the designed parking spaces are not overlapped with the shear wall and are uniformly arranged in the rest space.
In step S103, parking space arrangement is performed according to the spatial arrangement information and the lane center line data, a plurality of parking spaces that do not coincide with the scissor wall are determined, and a garage drawing is generated.
It can be understood that under the condition that the design specifications are met and the requirements of the non-coincident shear wall are met, the embodiment of the invention can carry out the parking space arrangement design of the building underground garage by depending on the adjacent lane central line, thereby achieving the purposes of reducing the production cost, improving the production efficiency and ensuring the production quality. As shown in fig. 3 and fig. 4, especially, the parking spaces arranged under a building meet the design specifications of the industry, and the convenience of getting on and off the vehicle by a parking user is ensured while the space is maximally utilized. The technology can not only design the corresponding arrangement of the single-lane single-building, but also be suitable for the corresponding arrangement of a multi-lane single-building, a single-lane multi-building and a multi-lane multi-building. Through a large amount of tests, under the condition that the building profile is not complex and the lanes are not intersected, the arrangement design effect is satisfied by a designer, and the method can be directly used for drawing production work. The lower diagrams III and IV are effect diagrams generated in practical tests, and the effect diagrams comprise outer contour lines of buildings, boundary lines of the whole underground garage design, designed parking spaces outside the buildings, shear wall contour lines, parking space wheel stoppers, provided design lanes, lane center lines, lane pointing marks and parking spaces under the buildings considering the shear walls.
Optionally, in an embodiment of the present invention, the arranging the parking spaces according to the spatial arrangement information and the lane centerline data includes: determining a line segment set of the outer contour of the building to obtain a circumscribed rectangle of the outer contour of the building; respectively taking the middle point as the center, prolonging the value of the road width by preset times to obtain a new rectangle, and carrying out coincidence detection on the new rectangle and the center lines of the existing lanes; if the lane central line is contained in the new rectangle or is overlapped with the new rectangle, the lane central line is judged to be an adjacent lane adjacent to the building; and determining the direction of the building in the lane according to the lane center line, and determining the translation baseline and the arrangement mode of the parking space arrangement.
It can be understood that, for the lane center line search method, the building outer contour in the CAD drawing is a line segment set connected end to end, and a circumscribed rectangle a of the building outer contour can be obtained by taking the maximum and minimum X-axis coordinate values and Y-axis coordinate values of the set. And respectively extending the length and the width of the rectangle outwards by taking the midpoint as the center by a certain multiple of the lane width value, such as 1.5 times, to obtain a new rectangle B, wherein the lane width value of 1.5 times is not a fixed value and can be modified according to requirements. The rectangle B needs to be subjected to coincidence detection determination with the already provided center lines of the respective lanes. If the lane center line is included in the rectangle B or partially coincides with the rectangle B, the lane center line is determined to be an adjacent lane adjacent to the building. After the center line of the lane is searched, the building is judged to be positioned in the direction of the lane. The center line of the view lane is a vector of which the starting point points to the end point, and the right point of the vector forms a negative angle with the vector. The points to the left of this vector are at positive angles to the vector. And if the number of vertexes on the right side of the vector in the vertexes of the building is more than that of vertexes on the left side of the vector, translating the center line of the lane to the right side by half lane width to serve as a base line for arranging parking spaces, and arranging the parking spaces to the right side. Otherwise, a left translation baseline is made, and the parking spaces are arranged leftwards.
Optionally, in an embodiment of the present invention, the parking space arrangement according to the spatial arrangement information and the lane center line data includes: determining a line segment set of the shear wall; and inquiring the line segment coincident with the circumscribed rectangle according to the line segment set of the shear wall to obtain the shear wall line segment.
That is, as for the shear wall search method, the same lane line search method is used. And traversing all the shear wall line segment data, and searching a line segment which is coincident with the rectangle A to serve as a shear wall barrier under the building.
Optionally, in an embodiment of the present invention, the parking space arrangement according to the spatial arrangement information and the lane center line data includes: projecting the shear wall line segments on the translation baseline to obtain a projection line segment corresponding to each shear wall line segment; and determining coincident line segments according to all the projection line segments and the translation baseline, and generating a line segment set which can arrange the parking places after deleting the coincident line segments.
It can be understood that, for the shear wall projection deduplication, the shear wall line segment searched in the previous stage is projected on the translation baseline of the center line of the searched lane. Calculating the projection of the line segment, namely calculating the projection points of the two points of the line segment on the base line respectively. The projection point is calculated by drawing a perpendicular line perpendicular to the baseline through the calculated point and taking the perpendicular point as the projection point. Each shear wall line segment corresponds to a projection line segment, and the mutually overlapped projection line segments are combined into one projection line segment. The part of all the projected line segments coinciding with the base line is extracted as a set of coinciding line segments. And finally, deleting the part of the overlapped line segment from the base line, wherein the rest part is the part which can be used for designing the parking space arrangement. The last step can be understood as that the effective line segment set of the configurable parking spaces is equal to the set obtained by subtracting the intersection of the baseline and the projection line segment set from the baseline.
Optionally, in an embodiment of the present invention, the parking space arrangement according to the spatial arrangement information and the lane center line data includes: detecting a current condition of the translated lane centerline; if the current situation is a wireless section residual situation, no parking spaces are arranged; if the current situation is a multi-line segment residual situation, splitting the multi-line segment into a plurality of single line segments; and if the current situation is the single-line-segment remaining situation, calculating the length of each single-line segment, wherein when the length is smaller than the parking space width, the parking spaces are not arranged, otherwise, the length of each single-line segment is taken to divide the parking space width completely and get the quotient, and the number of the parking spaces which can be arranged in the line segment is obtained.
For example, for lane segmentation method parking space arrangement, after removing the projection of the shear wall, the center line of the translation lane has several different remaining situations: wireless section remaining; the single line segment remains; the multiline segment remains. No parking stall is not arranged to wireless section surplus. And in the case of the surplus multi-line segments, the multi-line segments are split into a plurality of single-line segments to be processed independently. And calculating the length of each single line segment, and not arranging the parking spaces which are not longer than the width of the parking spaces. And the quotient of the length of the line segment up to the standard and the width of the parking space is taken as the number of the parking spaces which can be arranged in the line segment. In order to meet the design specification, a user can conveniently get on or off the vehicle at the parking space, and the distance between the parking space and the wall surface of the shear wall is not less than 30cm if the parking space is required. Therefore, if the remainder obtained in the steps is less than 60cm, the number of parking spaces is reduced by 1. The 30cm and the 60cm are changeable parameters, the specific numerical value can be changed according to the design requirement, and the line segment is continuously segmented after the number of the parking spaces is obtained. And taking the middle point of the line segment as a starting point, if the number of the parking spaces planned to be arranged is an odd number, taking the middle point as the middle point of the middle parking space, and then symmetrically arranging the parking spaces towards the two ends of the line segment in sequence. If the number of the parking spaces is an even number, the middle point is a symmetrical point, and the parking spaces are symmetrically distributed to two ends of the line segment by taking the point as the center. The vertexes of the parking spaces are symmetrical about the middle point and are evenly distributed on the line segment. And taking two adjacent vertexes as a group, taking the perpendicular line of the base line as the direction, and translating the two vertexes to the building by the distance of one parking space length. The four points are four vertexes of a parking space. Each single line segment can be divided into different parking spaces, and the vertex data of each parking space is a group and is stored in a list. The vertex data for all design slots is stored and provided to the designer or other program for CAD drawing data. And the X and Y values in the parking space vertex data correspond to the X and Y coordinates in the CAD drawing.
For example, as shown in fig. 5, an embodiment of the present invention includes:
step S1: and inputting lane center line data, building outer contour data and shear wall data.
Step S2: and defining the length and width of the parking space and the width of the lane.
That is, firstly, the lane center line, building outline data and shear wall data provided by the unfinished CAD file are input, the length and width of the parking space and the width of the lane are defined, and then the building is taken as an arrangement unit to circulate to carry out the arrangement process.
And step S3: and making a contour external rectangle A for each building.
And step S4: and (5) making a circumscribed rectangle B for each building to extend outwards by 1.5 times of lane width.
It will be appreciated that each building circumscribes a rectangle a with 4 vertices in combination of a maximum, minimum abscissa and a maximum, minimum ordinate. The boundary line of each rectangle A extends outwards for 1.5 times of the lane width to form a circumscribed rectangle B. Here, 1.5 is a parameter that can be modified, and can be modified by itself to adapt to different design rules.
Step S5: and searching the center line of the lane close to the building in the judgment rectangle B. Wherein, if there is no adjacent line, executing step S14, otherwise executing step S6.
That is, the area to be determined to be adjacent to the building in the rectangle B is searched in the area, and the lane center line of the adjacent building is searched in the area. If the search result is empty, no lane is close to the building, and no parking spaces are arranged.
Step S6: and taking a parallel line which is close to the center line of the lane and is 0.5 lane wide outwards as a base line to arrange the parking places in the building.
Step S7: and searching a shear wall in the rectangular A within the length of the parking space of the base station 1 as an arrangement obstacle.
That is, if there is a searched lane center line, the center line is shifted toward the building by 0.5 lane width as a baseline for the downstairs parking space arrangement. And searching a shear wall line segment set positioned in the rectangle A in a rectangular range with the length of the base line as the length and the length of the parking space as the width to serve as an obstacle to be considered for arrangement.
Step S8: and (5) projecting the shear wall on the base station, removing the overlapped part and reserving the rest line segments.
And after the overlapped part of the projection and the base line is removed, the rest part is the part capable of arranging the parking places.
Step S9: and judging whether the line segment is long enough. If not, executing step S14, otherwise executing step S10.
Step S10: and judging whether the left and right vacant parking spaces are 30cm. If yes, executing step S12, otherwise executing step S11.
If the remaining part exists and the remaining part is long enough, the parking spaces are uniformly distributed outwards by taking the middle point of the line segment as a starting point.
Step S11: the number of the arrangements is reduced.
Step S12: and (5) uniformly arranging the parking spaces in the center of the point position in the line segment.
Step S13: and outputting the parking space vertex data.
It can be understood that each parking space cannot be too close to the shear wall due to the design regulation requirements, so that the vehicle owner cannot conveniently get on or off the vehicle. A distance of 30cm from the shear wall is reserved for all parking spaces. If the number of the vehicle does not reach the standard, the number of the vehicle between the shear walls is reduced. And finally outputting the vertex data of the arranged parking spaces, and providing the vertex data for related personnel or programs to draw the CAD drawings.
According to the garage drawing generation method provided by the embodiment of the invention, the space arrangement information of the building is identified according to the building outline data and the shear wall data, the problem of avoiding obstacles such as a building inner shear wall and the like is fully considered, and the plurality of parking spaces which are not coincident with the shear wall are determined, so that the garage drawing is generated, the intelligent arrangement of the parking spaces is realized, manual modification is not needed, time and labor are saved, the applicability and the practicability of the garage drawing are effectively ensured, the design efficiency is improved, the garage drawing is allowed to be directly put into project production and use, and the use experience is improved.
Next, a device for generating a garage drawing according to an embodiment of the present invention will be described with reference to the drawings.
Fig. 6 is a block diagram of a device for generating a garage drawing according to an embodiment of the present invention.
As shown in fig. 6, the device 10 for generating a garage drawing includes: an acquisition module 100, a recognition module 200 and a generation module 300.
The obtaining module 100 is used for obtaining building outer contour data and shear wall data.
The identification module 200 is used for identifying the spatial arrangement information of the building according to the building outer contour data and the shear wall data.
The generating module 300 is configured to perform parking space arrangement according to the spatial arrangement information and the lane center line data, determine a plurality of parking spaces that do not coincide with the scissor wall, and generate a garage drawing.
Optionally, in an embodiment of the present invention, the generating module 300 includes: the device comprises a first acquisition unit, a detection unit, a judgment unit and a generation unit.
The first acquisition unit is used for determining a line segment set of the outer contour of the building to obtain a circumscribed rectangle of the outer contour of the building.
The detection unit is used for respectively taking the length and the width of the external rectangle as centers, prolonging the value of the road width by preset times to obtain a new rectangle, and performing coincidence detection with the center line of each existing lane.
The determination unit is configured to determine that the lane center line is adjacent to a lane adjacent to the building when the lane center line is included in the new rectangle or coincides with the new rectangle portion.
The generating unit is used for determining the direction of the building in the lane according to the lane center line and determining the translation baseline and the arrangement mode of the parking space arrangement.
Optionally, in an embodiment of the present invention, the generating module 300 includes: a second obtaining unit and a query unit.
The second obtaining unit is used for determining a line segment set of the shear wall.
The query unit is used for querying the line segment which is superposed with the external rectangle according to the line segment set of the shear wall to obtain the shear wall line segment.
It should be noted that the explanation of the embodiment of the garage drawing generation method is also applicable to the garage drawing generation device of the embodiment, and is not described herein again.
According to the device for generating the garage drawing, provided by the embodiment of the invention, according to the method for generating the garage drawing, the space arrangement information of the building is identified according to the building outline data and the shear wall data, the problem of avoiding obstacles such as the shear wall in the building is fully considered, and the plurality of parking spaces which are not overlapped with the shear wall are determined, so that the garage drawing is generated, the intelligent arrangement of the parking spaces is realized, manual modification is not needed, time and labor are saved, the applicability and the practicability of the meter are effectively guaranteed, the design efficiency is improved, the direct investment in project production and use are allowed, and the use experience is improved.
In order to implement the above embodiments, the present invention further provides an electronic device, including: at least one processor and a memory. The storage is in communication connection with the at least one processor, wherein the storage stores instructions executable by the at least one processor, and the instructions are configured to perform the method for generating a garage drawing according to the above embodiment, such as:
and acquiring outer contour data and shear wall data of the building.
And identifying the spatial arrangement information of the building according to the building outline data and the shear wall data.
And carrying out parking space arrangement according to the spatial arrangement information and the lane center line data, determining a plurality of parking spaces which are not coincident with the shear wall, and generating a garage drawing.
In order to implement the above embodiment, the present invention further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for generating a garage drawing according to the above embodiment.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or N wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Further, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried out in the method of implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (6)

1. A method for generating a garage drawing is characterized by comprising the following steps:
acquiring building outer contour data and shear wall data;
identifying the spatial arrangement information of the building according to the building outer contour data and the shear wall data; and
carrying out parking space arrangement according to the space arrangement information and the lane center line data, determining a plurality of parking spaces which are not overlapped with the shear wall, and generating a garage drawing;
wherein the arranging of the parking spaces according to the spatial arrangement information and the lane center line data comprises:
determining a line segment set of the outer contour of the building to obtain a circumscribed rectangle of the outer contour of the building;
respectively taking the middle point as the center of the length and the width of the external rectangle, prolonging the value of the road width by preset times to obtain a new rectangle, and carrying out coincidence detection on the new rectangle and the center lines of the existing lanes;
if the lane central line is contained in the new rectangle or is overlapped with the new rectangle, the lane central line is judged to be an adjacent lane adjacent to the building;
determining the direction of the building in the lane according to the lane center line, and determining a translation baseline and an arrangement mode of the parking space arrangement;
determining a line segment set of the shear wall;
inquiring a line segment coincident with the circumscribed rectangle according to the line segment set of the shear wall to obtain a shear wall line segment;
projecting the shear wall line segments on a translation baseline to obtain a projection line segment corresponding to each shear wall line segment;
determining coincident line segments according to all the projection line segments and the translation baseline, and generating a line segment set which is deleted and can be used for arranging the parking places;
detecting a current condition of the translated lane centerline;
if the current situation is a wireless section residual situation, no parking spaces are arranged;
if the current situation is a multi-line segment residual situation, splitting the current situation into a plurality of single line segments;
and if the current situation is the single-line-segment remaining situation, calculating the length of each single-line segment, wherein when the length is smaller than the parking space width, the parking spaces are not arranged, otherwise, the length of each single-line segment is selected to divide the parking space width by the whole length of the single-line segment and the quotient is selected, and the number of the parking spaces which can be arranged in the line segment is obtained.
2. A garage drawing generation device for realizing the method of claim 1, comprising:
the acquisition module is used for acquiring building outer contour data and shear wall data;
the identification module is used for identifying the spatial arrangement information of the building according to the outer contour data and the shear wall data of the building; and
and the generating module is used for carrying out parking space arrangement according to the space arrangement information and the lane center line data, determining a plurality of parking spaces which are not overlapped with the shear wall, and generating a garage drawing.
3. The apparatus of claim 2, wherein the generating module comprises:
the first acquisition unit is used for determining a line segment set of the outer contour of the building to obtain a circumscribed rectangle of the outer contour of the building;
the detection unit is used for respectively taking the length and the width of the circumscribed rectangle as centers, prolonging the value of the road width by preset times to obtain a new rectangle and carrying out coincidence detection on the new rectangle and the center lines of all the existing lanes;
a determination unit configured to determine that a lane center line is adjacent to a building when the lane center line is included in the new rectangle or overlaps with the new rectangle;
and the generating unit is used for determining the direction of the building in the lane according to the lane center line and determining the translation baseline and the arrangement mode of the parking space arrangement.
4. The apparatus of claim 3, wherein the generating module further comprises:
the second acquisition unit is used for determining a line segment set of the shear wall;
and the query unit is used for querying the line segment which is superposed with the external rectangle according to the line segment set of the shear wall to obtain the shear wall line segment.
5. An electronic device, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the method of generating the garage drawing of any one of claims 1-4.
6. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor for implementing the method of generating the garage drawing of any one of claims 1-4.
CN201911418827.3A 2019-12-31 2019-12-31 Garage drawing generation method and device, electronic equipment and storage medium Active CN111159809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911418827.3A CN111159809B (en) 2019-12-31 2019-12-31 Garage drawing generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911418827.3A CN111159809B (en) 2019-12-31 2019-12-31 Garage drawing generation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111159809A CN111159809A (en) 2020-05-15
CN111159809B true CN111159809B (en) 2023-03-28

Family

ID=70560446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911418827.3A Active CN111159809B (en) 2019-12-31 2019-12-31 Garage drawing generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111159809B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111814235A (en) * 2020-07-01 2020-10-23 广东博智林机器人有限公司 Parking space arrangement optimization and polygon simplification method, device, equipment and storage medium
CN111968402B (en) * 2020-08-12 2022-04-12 广东博智林机器人有限公司 Parking space arrangement method, device, terminal and medium
CN113158296A (en) * 2021-03-15 2021-07-23 合肥量圳建筑科技有限公司 Parking space arrangement method, device, equipment and storage medium
CN112926127B (en) * 2021-04-06 2022-11-18 万翼科技有限公司 Garage parameter determination method, electronic equipment and related products
CN114444170A (en) * 2021-12-30 2022-05-06 万翼科技有限公司 Garage path data determination method and device, electronic equipment and storage medium
CN114446090B (en) * 2022-04-07 2022-06-21 深圳小库科技有限公司 Method, device, equipment and medium for generating parking space arrangement scheme of ground parking lot

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105545038B (en) * 2015-12-28 2017-12-08 南阳师范学院 A kind of rationally control parking stall distribution and the underground garage of parking stall space-consuming
CN106408990A (en) * 2016-10-08 2017-02-15 重庆科技学院 Non-network garage map path planning method
CN108615404A (en) * 2018-06-15 2018-10-02 北京四象网讯科技有限公司 The method, apparatus and readable storage medium storing program for executing of automatic planning parking position
CN110276980A (en) * 2019-06-25 2019-09-24 恒大智慧充电科技有限公司 Community parking stall recommended method, system, computer equipment and readable storage medium storing program for executing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吕艳文 ; .关于高层住宅小区地下车库设计的浅析.建材与装饰.(第04期),第68-69页. *

Also Published As

Publication number Publication date
CN111159809A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN111159809B (en) Garage drawing generation method and device, electronic equipment and storage medium
CN110058586A (en) A kind of preventing collision method and device of automated guided vehicle path conflict
CN114004006B (en) Building group arrangement method, device, equipment and storage medium
CN104732192A (en) Method and device for recognizing walls on architecture drawing
CN113012462B (en) Dynamic parking space planning and vehicle parking method and device and automatic parking system
JP2020042791A (en) Obstacle distribution simulation method, device, and terminal based on multi-model
EP3822586A1 (en) Systems and methods for labeling areas on an airport map
CN115292778A (en) Wall disassembling method, device, equipment and storage medium
US5835095A (en) Visible line processor
CN114779770A (en) Global path planning control method, device, equipment, medium and program product
CN104217580A (en) Vehicle crowd animation oriented method and vehicle crowd animation oriented system for semantically modeling road networks
CN113256029A (en) In-building path finding method, device, equipment and storage medium
CN113485355A (en) Robot task planning method and system, background decision system, search robot and task service robot
CN112231801A (en) BIM-based hole protection generation method and device and computer storage medium
CN111899554A (en) Method and device for associating parking space with lane, electronic equipment and storage medium
CN116086429A (en) Map updating method, device, equipment and computer readable storage medium
CN114964210A (en) Map drawing method, map drawing device, computer equipment and storage medium
CN115752501A (en) Navigation path recommendation method, device, equipment and storage medium
CN108109374A (en) The method and terminal in building site region are being built in a kind of acquisition
CN115014345A (en) Path planning method applicable to non-linear running of unmanned overhead travelling crane
KR101555989B1 (en) Uncertain boundary detecting system of cadastral data and method thereof
CN111351496B (en) Virtual map modeling method, device, equipment and storage medium
JP2001092865A (en) Method and device for making cad drawing, method and device for editing dimension, and storage medium
WO2024051039A1 (en) Route planning method, electronic device and storage medium
JP3912854B2 (en) Finite element model processing method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant