CN115329444A - Method, system, terminal device and storage medium for automatically obtaining building projection line - Google Patents

Method, system, terminal device and storage medium for automatically obtaining building projection line Download PDF

Info

Publication number
CN115329444A
CN115329444A CN202211240865.6A CN202211240865A CN115329444A CN 115329444 A CN115329444 A CN 115329444A CN 202211240865 A CN202211240865 A CN 202211240865A CN 115329444 A CN115329444 A CN 115329444A
Authority
CN
China
Prior art keywords
building
projection line
column
floor
lines
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.)
Granted
Application number
CN202211240865.6A
Other languages
Chinese (zh)
Other versions
CN115329444B (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.)
Shenzhen Haizhichuang Technology Co ltd
Original Assignee
Shenzhen Haizhichuang Technology 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 Shenzhen Haizhichuang Technology Co ltd filed Critical Shenzhen Haizhichuang Technology Co ltd
Priority to CN202211240865.6A priority Critical patent/CN115329444B/en
Publication of CN115329444A publication Critical patent/CN115329444A/en
Application granted granted Critical
Publication of CN115329444B publication Critical patent/CN115329444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Structural Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Projection Apparatus (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application belongs to the technical field of buildings and provides a method, a system, terminal equipment and a storage medium for automatically obtaining a building projection line. The method for automatically obtaining the building projection line comprises the steps of automatically identifying a column drawing surface, a window drawing surface and a wall drawing surface according to a building standard storey column drawing; and then enclosing according to the bar graph surface, the window graph surface and the outermost peripheral line of the wall graph surface to form a building projection line graph surface, matching the positions of the bar graphs in the building projection line graph surface and the floor graph surfaces of other floors by taking the bar graphs in the building projection line graph surface as identification points, loading the projection lines in the building projection line graph surface into the other floor graph surfaces after matching is completed so as to determine the range of the projection lines in the other floor graph surfaces, and inspecting the other floor graph surfaces according to the projection lines and preset rules. Therefore, the problem that manual work is wrong when different image layers are compared can be solved, the comparison efficiency is improved, and the time cost and the labor cost are greatly reduced.

Description

Method, system, terminal device and storage medium for automatically obtaining building projection line
Technical Field
The application belongs to the technical field of buildings, and particularly relates to a method, a system, terminal equipment and a storage medium for automatically obtaining a building projection line.
Background
In the construction industry, drawings of buildings are usually drawn by CAD (Computer Aided Design).
When the building picture is examined, the layout mode of one floor or a ground library of the building is not much the same as that of other floors, but the positions of the columns are consistent. Generally, the layout planning drawings of the building standard floorbar drawing and the basement are required to be opened simultaneously, whether errors or flaws exist in the layout of the basement is judged through side-by-side display or two display screens, if the two drawings are overlapped, the lines in the layout planning drawings of the basement cannot be clearly compared due to too many lines in the building standard floorbar drawing, each layer or line in the building standard floorbar drawing can only be processed in advance through manpower, then the manually processed drawing surface is compared with the layout planning drawings of the basement, the work is not only tedious, errors are easy to occur when different layers are compared through the manpower, and time cost and labor cost are high.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present application provide a method, a system, a terminal device, and a storage medium for automatically obtaining a building projection line, which can solve the problem that an error is easily generated when comparing different image layers manually.
A first aspect of an embodiment of the present application provides a method for automatically obtaining a projection line of a building, including the following steps:
s1: automatically identifying drawings with different attributes according to a standard floor column diagram of a building, wherein the drawings with different attributes at least comprise a column diagram, a window diagram and a wall diagram;
s2: superposing the column drawing surface, the window drawing surface and the wall drawing surface, and enclosing according to the outermost lines of the column drawing surface, the window drawing surface and the wall drawing surface to form a building projection line drawing surface;
s3: taking the column diagrams in the building projection line diagram surface as identification points, matching the building projection line diagram surface with column diagram positions in floor diagram surfaces of other floors, and taking the column coordinates as anchor points if the column positions in the two column diagrams can be correspondingly matched; if the positions of the cylinders in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and the other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the cylinders in the two column diagrams are matched;
s4: and loading the projection line in the building projection line picture plane into the other floor picture planes to determine the range of the projection line in the other floor picture planes, and checking the other floor picture planes according to the projection line and a preset rule.
In one embodiment, in the step S1, the method for automatically identifying the drawing with different attributes includes:
s11: acquiring attribute labels of different lines in the building standard storey column diagram;
s12: and separating lines in the same attribute label, and obtaining the column drawing surface, the window drawing surface and the wall drawing surface according to the attribute labels and the screening rules of different lines.
In one embodiment, in the step S2, the method for enclosing the outermost lines of the pillar drawing, the window drawing and the wall drawing comprises: and overlapping the column drawing surface, the window drawing surface and the wall drawing surface, then enclosing with the outermost periphery line, firstly enclosing the line segments with parallel relation and intersected extension lines, if not, enclosing the line segments with intersected relation and vertical relation, judging to be the building exterior line after enclosing, and deleting the building exterior line.
In one embodiment, the step S2 further comprises: forming an axis grid drawing according to the building standard storey pillar drawing; and the axis is the central axis of the wall body in the wall drawing, the central axis of the wall body is extended to form an axis grid, and the axis grid is separated from the building standard storey column drawing to form the axis grid drawing.
In one embodiment, the step S3 further comprises: and superposing the axis grid drawing and the building projection line drawing, and determining the coordinates of the cylinder according to the relative position relationship between the axis in the axis grid drawing and the cylinder in the building projection line drawing.
In one embodiment, the step S3 further comprises: and matching the axis grid drawing with the other floor drawing after the axis grid drawing is superposed with the building projection drawing, and matching and corresponding to the cylinders in the other floor drawing through the coordinates of the axis and the cylinders.
In one embodiment, the filtering rule in step S12 includes: selecting lines enclosed into a block shape and parallel lines from the lines with the wall attribute labels; selecting lines meeting a preset width and lines parallel to the wall attribute lines from the lines with the window attribute labels; and selecting lines which enclose into a block shape and lines which accord with a preset width from the lines with the column attribute labels.
A second aspect of an embodiment of the present application provides a system for automatically obtaining a projection line of a building, including:
the identification module is used for automatically identifying drawings with different attributes according to the standard floor column diagram of the building, wherein the drawings with different attributes at least comprise a column diagram drawing, a window diagram drawing and a wall diagram drawing;
the integration module is used for superposing the column drawing surface, the window drawing surface and the wall drawing surface and enclosing the column drawing surface, the window drawing surface and the outermost peripheral lines of the wall drawing surface to form a building projection line drawing surface;
the matching module is used for matching the post map in the building projection line map plane with the post map positions in the floor maps of other floors by taking the post maps in the building projection line map plane as identification points, and taking the post coordinates as anchor points if the post positions in the two post maps can be correspondingly matched; if the positions of the cylinders in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and the other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the cylinders in the two column diagrams are matched;
and the inspection module is used for loading the projection line in the building projection line picture plane into the other floor picture planes so as to determine the range of the projection line in the other floor picture planes, and inspecting the other floor picture planes according to the projection line and a preset rule.
A third aspect of embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the steps of the method for automatically obtaining a projection line of an architecture according to any one of the above items.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method for automatically obtaining an architectural projection line as described in any one of the above.
The embodiment of the application provides a method, a device, terminal equipment and a storage medium for automatically obtaining a building projection line, wherein the method for automatically obtaining the building projection line comprises the steps of automatically identifying drawings with different attributes according to a building standard storey pillar diagram, wherein the drawings with different attributes at least comprise a pillar diagram, a window diagram and a wall diagram; and then enclosing according to the bar graph surface, the window graph surface and the outermost peripheral line of the wall graph surface to form a building projection line graph surface, matching the positions of the bar graphs in the building projection line graph surface and the floor graph surfaces of other floors by taking the bar graphs in the building projection line graph surface as identification points, loading the projection lines in the building projection line graph surface into the other floor graph surfaces after matching is completed so as to determine the range of the projection lines in the other floor graph surfaces, and inspecting the other floor graph surfaces according to the projection lines and preset rules. Therefore, the problem that errors occur when different image layers are compared manually can be solved, the comparison efficiency is improved, and the time cost and the labor cost are greatly reduced.
Drawings
Fig. 1 is a first flowchart of an implementation of a method for automatically obtaining a projection line of a building according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a second implementation of the method for automatically obtaining a projection line of a building according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a system for automatically obtaining projection lines of a building according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to another embodiment of the present application.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings to facilitate the description of the application and to simplify the description, and are not intended to indicate or imply that the device or element so referred to must have a particular orientation, be constructed in a particular orientation, and be constructed in operation as a limitation of the application.
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 to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means one or more unless specifically limited otherwise.
In the construction industry, drawings of buildings are usually drawn by CAD (Computer Aided Design).
When the building picture is examined, the layout mode of one floor or a ground library of the building is not much the same as that of other floors, but the positions of the columns are consistent. Generally, the layout planning drawings of the building standard floorbar drawing and the basement are required to be opened simultaneously, whether errors or flaws exist in the layout of the basement is judged through side-by-side display or two display screens, if the two drawings are overlapped, the lines in the layout planning drawings of the basement cannot be clearly compared due to too many lines in the building standard floorbar drawing, each layer or line in the building standard floorbar drawing can only be processed in advance through manpower, then the manually processed drawing surface is compared with the layout planning drawings of the basement, the work is not only tedious, errors are easy to occur when different layers are compared through the manpower, and time cost and labor cost are high.
In order to solve the above technical problem, an embodiment of the present application provides a method for automatically obtaining a building projection line, which is shown in fig. 1 and includes steps S1 to S4.
Specifically, step S1: according to the standard floor column diagram of the building, the drawing with different attributes is automatically identified, and the drawing with different attributes at least comprises a column drawing, a window drawing and a wall drawing.
Step S2: and overlapping the column drawing surface, the window drawing surface and the wall drawing surface, and enclosing according to the outermost lines of the column drawing surface, the window drawing surface and the wall drawing surface to form the building projection line drawing surface.
And step S3: taking the column diagrams in the building projection line diagram surface as identification points, matching the building projection line diagram surface with the column diagram positions in the floor diagrams of other floors, and taking the column coordinates as anchoring points if the column positions in the two column diagrams can be correspondingly matched; if the positions of the columns in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the columns in the two column diagrams are matched.
And step S4: and loading the projection line in the building projection line drawing surface into other floor drawing surfaces to determine the range of the projection line in the other floor drawing surfaces, and checking the other floor drawing surfaces according to the projection line and a preset rule.
In this embodiment, the building standard floor refers to a floor with the same plane layout, that is, the building standard floor can share one drawing for construction, and usually appears in a high-rise building. The first floor and the top floor of the building are standard floors provided that the space division of the first floor and the top floor is the same as that of the other floors. In practice, the first floor has a building entrance and exit, the top floor has a water tower, and the ground reservoir has an underground garage, so the standard floor is usually the floor except the first floor, the top floor and the ground reservoir. Functional spaces such as a water pump room, a garbage disposal room and a power transformation room can be generally arranged in the ground reservoir except for parking spaces, however, if the functional spaces are not properly arranged, inconvenience in life of a user can be caused, for example, living space of the user is arranged above the water pump room, and low-frequency noise generated by the water pump in the operation process can influence the user.
In this embodiment, in step S1, drawing surfaces with different attributes are automatically identified according to the building standard floorbar graph, and the drawing surfaces with different attributes at least include: pillar, window, and wall drawing. The building standard layer column diagram refers to a structural Drawing of a building standard layer, and may be, for example, a Drawing drawn by an engineer sampling CAD and stored in a preset format, where the preset format may be DWG (Drawing), and the embodiment of the present disclosure does not limit this.
In this embodiment, after obtaining the drawing of the building standard floor column diagram in advance, the ODA (Open Design Alliance) may be used to analyze the two-dimensional drawing with the preset format to obtain the relevant data of the building standard floor column diagram; then, drawing with different attributes is automatically identified from the related data of the building standard floor column diagram. Such as a pillar drawing, window drawing, and wall drawing. Furthermore, the drawings with different attributes can further comprise: beam drawings, door drawings, and the like. For example, the drawing of automatic identification different attributes can be discerned according to the relevant data in the building standard floor column diagram, for example, can predetermine the rule according to the lines of building standard floor column diagram and discern, and more closely one step, because the length of its lines of drawing of different attributes, width etc. are generally also different, and this application can set up different lines according to different building standard floor column diagrams and predetermine the rule, then predetermine rule discernment column diagram face, window drawing and wall drawing etc. according to the lines. In this embodiment, rule is predetermine according to the lines of the building standard floor column diagram of difference and is discerned, can make the picture of different attributes discern more accurate, and is favorable to promoting recognition efficiency.
In this embodiment, in step S2, the pillar drawing, the window drawing and the wall drawing are superimposed, and the building projection drawing is formed by enclosing the pillar drawing, the window drawing and the outermost line of the wall drawing. Specifically, the number of column drawing faces, window drawing faces and wall drawing faces in the building standard storey column drawing can be respectively identified according to line preset rules, then the number of the column drawing faces, the number of the window drawing faces and the number of the wall drawing faces are compared with the preset number, column drawing faces, window drawing faces and wall drawing faces which obviously do not accord with the preset number are removed and are identified again, wherein the obvious quantity which does not accord with the preset number can be understood as being more than 2 times or more than the preset number, then the column drawing faces, the window drawing faces and the outermost line of the wall drawing faces are enclosed according to the enclosed result, and the number of the column drawing faces, the window drawing faces and the wall drawing faces is adjusted to obtain the building projection line drawing face.
In this embodiment, step S2 further includes: and superposing the column drawing surface, the window drawing surface and the wall drawing surface, and identifying or superposing again if part of the column drawing surface, the window drawing surface or the wall drawing surface is superposed at the same position after superposition, wherein any one of the column drawing surface, the window drawing surface and the wall drawing surface can be rotated and superposed.
In this embodiment, in step S3, the pillar in the building projection line drawing is used as the identification point, the pillar position in the building projection line drawing is matched with the pillar position in the floor drawing of another floor, and if the pillar positions in the two pillar drawings can be matched correspondingly, the pillar coordinate is used as the anchor point; it should be noted that two bar graphs refer to a bar graph in the building projection line graph and a bar graph in the floor graph of another floor. If the positions of the columns in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the columns in the two column diagrams are matched. For example, when there are a plurality of bar graphs in the projection line graph of the building, one of the bar graphs is first used as the identification point, and then the position of the bar graph is matched with the position of the bar graph in the floor graph (e.g., the basement) of other floors, because the positions of the bar graphs (the cylinder graphs) are consistent (e.g., the standard floors and the basement) although the layout ways of different floors are different. Therefore, the column diagram is used as the identification point, and the comparison work of different floors can be completed more efficiently.
In this embodiment, if the positions of the cylinders in the two cylinder diagrams can be matched correspondingly, for example, comparison position points may be preset in the two cylinder diagrams, and the cylinders in the two cylinder diagrams are compared, as long as the comparison position points in the two cylinder diagrams can be in one-to-one correspondence, for example, the features of the comparison position points are the same, it is described that the positions of the cylinders in the two cylinder diagrams can be matched correspondingly, and then the coordinates of the cylinders in the cylinder diagrams are used as anchor points, that is, reference points. When the column positions in the two column diagrams cannot be matched, it can be understood that when the number of the comparison position points in the two column diagrams is different exceeds the preset number, the column positions in the two column diagrams cannot be matched. At this time, the building projection line drawing surface and other floor drawing surfaces can be symmetrically judged, for example, the building projection line drawing surface can be rotated by 180 degrees to judge whether the building projection line drawing surface is used correctly.
In this embodiment, when the positions of the pillars in the two bar graphs cannot be matched, the other floor graphs can be rotationally shifted. For example, the other floor drawings can be rotated and shifted by 15 ° counterclockwise each time, and the above-mentioned matching of the building projection line drawing with the column positions in the floor drawings of other floors is repeated until the column positions in the two columns are completely matched. In an embodiment, matching can be completed more efficiently by matching other floor drawings with the column diagram in the building projection line drawing by rotating and offsetting 15 degrees anticlockwise every time so as to determine the position of the column.
In this embodiment, in step S4, the projection line in the building projection line map is loaded into another floor map to determine the range of the projection line in the another floor map, and the another floor map is checked according to the projection line and the preset rule. Specifically, after the anchor point is determined, the projection line in the building projection line drawing is loaded to the drawing of other floors to judge whether the layout of other floors is proper. For example, there is no living space above the water pump room in the ground reservoir, so as to prevent the low-frequency noise generated by the water pump during the operation from possibly affecting the user.
In one particular embodiment, the bar graph may include: frame pole diagrams, conversion pole diagrams, stem pole diagrams, wall pole diagrams, and the like. The selection can be made according to the proportion occupied by or the position of the frame pole diagram, the conversion pole diagram, the core pole diagram and the wall pole diagram in different buildings.
In one embodiment, referring to fig. 2, in step S1, the method for automatically identifying the drawing with different attributes includes: step S11 and step S12.
And S11, acquiring attribute labels of different lines in the standard storey pillar diagram of the building.
Specifically, the widths, lengths and cross sections of different lines in the building standard storey column diagram are respectively and correspondingly compared with the preset widths, preset lengths and preset cross sections one by one, and attribute labels corresponding to the different lines are given according to the comparison result.
And S12, separating the lines in the same attribute label, and obtaining a column drawing surface, a window drawing surface and a wall drawing surface according to the attribute labels and the screening rules of the different lines.
The screening rule can be set according to position information corresponding to the column drawing surface, the window drawing surface and the wall drawing surface, and the positions of the column drawing surface, the window drawing surface and the wall drawing surface in the building are generally different. For example, the column drawing is generally located at a peripheral position of a building, the wall drawing is generally located at a central position of the periphery of the building, and the wall drawing may be located at any position of the building, and then the determination is performed according to the number of attribute tags, types of the attribute tags, and position information corresponding to the column drawing, the window drawing, and the wall drawing, which are required by the column drawing, the window drawing, and the wall drawing, so that the column drawing, the window drawing, and the wall drawing can be accurately determined.
In one embodiment, in step S2, the method for enclosing the outermost lines of the pillar drawing, the window drawing and the wall drawing comprises: and (3) overlapping the column drawing surface, the window drawing surface and the wall drawing surface, then enclosing with the outermost periphery lines, firstly enclosing the line segments with parallel relation and intersected extension lines, if not, enclosing the line segments with intersected relation and perpendicular relation, judging the exterior lines of the building after enclosing, and deleting the exterior lines of the building.
Specifically, in step S2, after the pillar drawing, the window drawing and the wall drawing are superimposed, the outermost line is determined according to the attribute labels of the different lines and the position information of the different lines, and then the outermost line is used for enclosing.
In one embodiment, in step S2, the method for determining the building exterior line includes, when the line is outside the outermost periphery line, re-determining whether the building exterior line belongs to one of the obtained bar graph drawing, window drawing and wall drawing according to the attribute tag and the screening rule of the building exterior line, if so, re-performing enclosure according to the outermost periphery line of the bar graph drawing, window drawing and wall drawing to form the building projection line drawing, otherwise, deleting the building exterior line. Therefore, the purpose of picking up the building projection line is achieved, and the formed building projection line is cleaner and tidier.
In one embodiment, step S2 further comprises: forming an axis grid drawing according to the standard floor column drawing of the building; the axis is the axis of the wall body in the wall drawing surface, the axis of the wall body is extended to form an axis grid, and the axis grid is separated from the building standard storey column drawing to form an axis grid drawing surface.
Specifically, the central axis of the wall body in the wall drawing is determined, the axis is determined according to the central axis, and the central axis of the wall body is extended to form an axis grid. It will be appreciated that the axis of the wall may be extended to intersect the outermost peripheral lines to form an axis grid, and then the axis grid may be separated from the standard storey pillar diagram of the building to form an axis grid map. For example, the position information of the axis grid can be obtained according to the position information of the central axis of the wall body, and the axis grid is separated from the building standard storey pillar diagram according to the position information of the axis grid to form an axis grid drawing.
In one embodiment, step S3 further comprises: and overlapping the axis grid drawing with the building projection drawing, and determining the coordinates of the cylinder according to the relative position relationship between the axis in the axis grid drawing and the cylinder in the building projection drawing.
For example, finding out the axis in the axis grid image and the cylinder in the building projection line image, projecting the axis in the axis grid image and the cylinder in the building projection line image to the second plane at the same time, obtaining the size information and the relative position relationship of the axis in the axis grid image and the cylinder in the building projection line image according to the projection result, and determining the coordinates of the cylinder according to the size information and the relative position relationship.
In one embodiment, step S3 further comprises: and matching the axis grid drawing with other floor drawings after the axis grid drawing is superposed with the building projection drawing, and matching and corresponding to the cylinders in other floor drawings through the coordinates of the axis and the cylinders.
In this embodiment, after the axis grid drawing and the building projection drawing are superimposed, the axis grid drawing is matched with other floor drawings (for example, a ground library), and then the axis and the cylinder coordinate are matched with the cylinders in other floor drawings correspondingly, for example, it can be judged according to the axis whether the cylinder coordinate is different from the positions of the cylinders in other floor drawings, and if the cylinder coordinate is the same as the position of the cylinder in other floor drawings, matching is completed. In the embodiment, the axis mainly plays a role in auxiliary recognition, the axis refers to a grid formed by extending the center axis of the wall body, when the ground library is recognized, the wall body cannot be directly recognized through the wall body, and good auxiliary correspondence can be played through the axis.
In one embodiment, the filtering rule in step S12 includes: selecting lines enclosed into a block shape and parallel lines from the lines with the wall attribute labels; selecting lines meeting a preset width and lines parallel to the wall attribute lines from the lines with the window attribute labels; and selecting lines which enclose into a block shape and lines which accord with a preset width from the lines with the column attribute labels.
In this embodiment, the size information of different lines and the position information of each line in the standard storey pillar diagram of the building may be measured in advance, for example, all the lines are found out, all the lines are projected to the first plane at the same time, the size information of different lines and the position information of each line are obtained according to the projection result, and the attribute labels of different lines are determined according to the size information and the relative position relationship. And selecting lines which enclose a block shape and parallel lines from the lines with the wall attribute labels. It can be understood that the enclosing and synthesizing wall body information can be determined according to the enclosing and synthesizing block-shaped lines and the parallel lines, wherein the enclosing and synthesizing wall body information can comprise position information of a wall body and size information of the wall body, the position information and the size information of a window body can be determined according to the lines meeting the preset width and the lines parallel to the wall body attribute lines, and the position information and the size information of a column body can be determined according to the enclosing and synthesizing block-shaped lines and the lines meeting the preset width. And then enclosing according to the position information and the size information of the wall body, the position information and the size information of the window body and the position information and the size information of the cylinder body to determine a building projection line graph surface.
In this embodiment, a block-shaped line and a parallel line are selected from the lines having the wall attribute labels; selecting lines which accord with a preset width and lines which are parallel to the wall attribute lines from the lines with the window attribute labels; in the lines with the column attribute labels, the lines enclosed into a block shape and the lines conforming to the preset width are selected, so that redundant miscellaneous lines can be removed, and the lines of the building projection drawing are cleaner.
The embodiment of the present application further provides a system 50 for automatically obtaining a projection line of a building, as shown in fig. 3, including: an identification module 51, an integration module 52, a matching module 53 and a checking module 54.
Specifically, the identifying module 51 is configured to automatically identify drawings with different attributes according to the standard floor column diagram of the building, where the drawings with different attributes at least include a column diagram, a window diagram, and a wall diagram. The integration module 52 is used for overlapping the pillar drawing, the window drawing and the wall drawing, and enclosing the pillar drawing, the window drawing and the outermost line of the wall drawing to form a building projection line drawing. The matching module 53 is configured to match the building projection line drawing surface with the positions of the column drawings in the floor drawing surfaces of other floors by using the column drawings in the building projection line drawing surface as identification points, and if the positions of the columns in the two column drawings can be correspondingly matched, use the coordinates of the columns as anchor points; if the positions of the columns in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the columns in the two column diagrams are matched. The inspection module 54 is configured to load the projection line in the building projection line drawing to other floor drawings to determine the range of the projection line in the other floor drawings, and inspect the other floor drawings according to the projection line and a preset rule.
In this embodiment, the recognition module 51 can be according to the rule is predetermine to the lines of building standard storey pillar graph and discerns, more closely one step, because the length of its lines of drawing of different attributes, width etc. are generally also different, and this application can set up different lines according to different building standard storey pillar graphs and predetermine the rule, then predetermine rule and discern pillar drawing face, window drawing face and wall drawing face etc. according to the lines. In this embodiment, rule is predetermine according to the lines of the building standard floor column diagram of difference and is discerned, can make the picture of different attributes discern more accurate, and is favorable to promoting recognition efficiency.
In this embodiment, the identification module 51 may respectively identify the number of the pillar drawing, the window drawing and the wall drawing in the building standard floor pillar drawing according to a line preset rule, then compare the number of the pillar drawing, the window drawing and the wall drawing with a preset number, and reject the pillar drawing, the window drawing and the wall drawing which are obviously greater than the preset number in the number of the pillar drawing, the window drawing and the wall drawing, and identify again. The integration module 52 performs enclosure according to the bar chart surface, the window chart surface and the outermost lines of the wall chart surface, and performs adjustment according to the enclosure result and the number of the bar chart surface, the window chart surface and the wall chart surface to obtain the building projection line chart surface.
In this embodiment, the integration module 52 is further configured to superimpose the pillar drawing surface, the window drawing surface, and the wall drawing surface, and if a part of the pillar drawing surface, the window drawing surface, or the wall drawing surface is superimposed at the same position after superimposing, the recognition is performed again.
In this embodiment, the matching module 53 is configured to use a pillar map in the building projection line map as an identification point, match the building projection line map with the pillar map positions in the floor maps of other floors, and if the pillar positions in two pillar maps can be correspondingly matched, use the pillar coordinates as an anchor point; if the positions of the columns in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the columns in the two column diagrams are matched. For example, when there are a plurality of bar graphs in the projection line graph of the building, one of the bar graphs is first used as the identification point, and then the position of the bar graph is matched with the position of the bar graph in the floor graph (e.g., the basement) of other floors, because the positions of the bar graphs (the cylinder graphs) are consistent (e.g., the standard floors and the basement) although the layout ways of different floors are different. Therefore, the column diagram is used as the identification point, and the comparison work of different floors can be completed more efficiently.
In this embodiment, if the positions of the cylinders in the two bar graphs can be correspondingly matched, for example, comparison position points may be preset in the two bar graphs, and the cylinders in the two bar graphs are compared, as long as the comparison position points in the two bar graphs can be in one-to-one correspondence, for example, the features of the comparison position points are the same, it is described that the positions of the cylinders in the two bar graphs can be correspondingly matched, and then the coordinates of the cylinders in the bar graphs are used as anchor points, that is, reference points. When the column positions in the two bar graphs cannot be matched, it can be understood that when the number of the comparison position points in the two bar graphs is different exceeds the preset number, the column positions in the two bar graphs cannot be matched. At this time, the building projection line drawing can be symmetrically judged with other floor drawing, for example, the building projection line drawing can be rotated by 180 ° to judge whether the building projection line drawing is used correctly.
In this embodiment, when the positions of the pillars in the two pillars cannot be matched, the other floor drawings may be rotationally shifted, for example, the other floor drawings may be rotationally shifted by 15 ° counterclockwise each time, and the above-mentioned matching of the projection line drawing of the building with the positions of the pillars in the floor drawings of the other floors is repeated until the positions of the pillars in the two pillars are matched. In an embodiment, matching can be completed more efficiently by matching other floor drawings with the column diagram in the building projection line drawing by rotating and offsetting 15 degrees anticlockwise every time so as to determine the position of the column.
In this embodiment, the checking module 54 is configured to load the projection line in the building projection line drawing surface into another floor drawing surface to determine the range of the projection line in the other floor drawing surface, and check the other floor drawing surface according to the projection line and a preset rule. Specifically, after the anchor point is determined, the projection line in the building projection line drawing is loaded to the drawing of other floors to judge whether the layout of other floors is proper. For example, there is no living space above the water pump room in the ground reservoir, so as to prevent the low-frequency noise generated by the water pump during the operation from possibly affecting the user.
It should be noted that, for convenience and simplicity of description, the specific working process of the system 50 for automatically obtaining a building projection line may refer to the corresponding process of the method in fig. 1 to 2, and is not described herein again.
The embodiment of the present application further provides a terminal device 60, as shown in fig. 4, including a memory 62, a processor 61, and a computer program 63 stored in the memory 62 and executable on the processor 61, such as a control program for automatically obtaining a projection line of a building. The processor 61, when executing the computer program 63, implements the steps of any of the methods described above for automatically obtaining an architectural projection line, such as steps S1 to S4 shown in fig. 1. Alternatively, the processor 61 implements the functions of the modules in the above-described device embodiments when executing the computer program 63, such as the identification module 51, the integration module 52, the matching module 53, and the checking module 54 shown in fig. 3.
The computer program 63 may be divided into one or more modules, which are stored in the memory 62 and executed by the processor 61 to complete the application. One or more of the modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 63 in the terminal device 60.
For example, the computer program 63 may be divided into: an identification module 51, an integration module 52, a matching module 53 and a checking module 54.
The terminal device 60 may include, but is not limited to, a processor 61, a memory 62. Those skilled in the art will appreciate that fig. 4 is merely an example of a terminal device 60 and does not constitute a limitation of terminal device 60 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., terminal device 60 may also include input-output devices, network access devices, buses, etc.
The Processor 61 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 62 may be an internal storage unit of the terminal device 60, such as a hard disk or a memory of the terminal device 60. The memory 62 may also be an external storage device of the terminal device 60, such as a plug-in hard disk provided on the terminal device 60, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 62 may also include both an internal storage unit of the terminal device 60 and an external storage device. The memory 62 is used for storing the computer program 63 and other programs and data required by the terminal device 60. The memory 62 may also be used to temporarily store data that has been output or is to be output.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program 63 is stored, and when the computer program 63 is executed by the processor 61, the steps of the method for automatically obtaining the architectural projection line according to any one of the above embodiments are implemented.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for automatically obtaining a projection line of a building, comprising the steps of:
s1: automatically identifying drawings with different attributes according to a standard building storey column diagram, wherein the drawings with different attributes at least comprise a column diagram, a window diagram and a wall diagram;
s2: superposing the column drawing surface, the window drawing surface and the wall drawing surface, and enclosing according to the outermost lines of the column drawing surface, the window drawing surface and the wall drawing surface to form a building projection line drawing surface;
s3: taking the column diagrams in the building projection line diagram surface as identification points, matching the building projection line diagram surface with column diagram positions in floor diagram surfaces of other floors, and taking the column coordinates as anchor points if the column positions in the two column diagrams can be correspondingly matched; if the positions of the cylinders in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and the other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the cylinders in the two column diagrams are matched;
s4: and loading the projection line in the building projection line graph surface into the other floor graph surfaces to determine the range of the projection line in the other floor graph surfaces, and checking the other floor graph surfaces according to the projection line and a preset rule.
2. The method for automatically obtaining the architectural projection line according to claim 1, wherein:
in step S1, the method for automatically identifying the drawing with different attributes includes:
s11: acquiring attribute labels of different lines in the building standard storey column diagram;
s12: and separating lines in the same attribute label, and obtaining the column drawing surface, the window drawing surface and the wall drawing surface according to the attribute labels and the screening rules of different lines.
3. The method for automatically obtaining the projection line of the building as claimed in claim 1, wherein:
in the step S2, the method for enclosing the bar chart surface, the window chart surface and the outermost line of the wall chart surface includes: and overlapping the column drawing surface, the window drawing surface and the wall drawing surface, then enclosing with the outermost periphery line, firstly enclosing the line segments with parallel relation and intersected extension lines, if not, enclosing the line segments with intersected relation and vertical relation, judging to be the building exterior line after enclosing, and deleting the building exterior line.
4. The method for automatically obtaining the architectural projection line according to claim 1, wherein the step S2 further comprises: forming an axis grid drawing according to the building standard storey pillar drawing; and the axis is the central axis of the wall body in the wall drawing, the central axis of the wall body is extended to form an axis grid, and the axis grid is separated from the building standard storey column drawing to form the axis grid drawing.
5. The method for automatically obtaining the projection line of the building according to claim 4, wherein the step S3 further comprises: and superposing the axis grid drawing and the building projection line drawing, and determining the coordinates of the cylinder according to the relative position relationship between the axis in the axis grid drawing and the cylinder in the building projection line drawing.
6. The method of claim 5, wherein the step S3 further comprises: and matching the axis grid drawing with the other floor drawing after the axis grid drawing is superposed with the building projection drawing, and matching and corresponding to the cylinders in the other floor drawing through the coordinates of the axis and the cylinders.
7. The method for automatically obtaining the projection line of the building as claimed in claim 2, wherein: the filtering rule in step S12 includes: selecting lines enclosed into a block shape and parallel lines from the lines with the wall attribute labels; selecting lines which accord with a preset width and lines which are parallel to the wall attribute lines from the lines with the window attribute labels; and selecting lines which enclose into a block shape and lines which accord with a preset width from the lines with the column attribute labels.
8. A system for automatically obtaining architectural projection lines, comprising:
the identification module is used for automatically identifying the pictures with different attributes according to the standard floor pole diagram of the building, wherein the pictures with different attributes at least comprise a pole diagram picture, a window diagram picture and a wall diagram picture;
the integration module is used for superposing the cylindrical drawing surface, the window drawing surface and the wall drawing surface and enclosing the cylindrical drawing surface, the window drawing surface and the outermost peripheral lines of the wall drawing surface to form a building projection line drawing surface;
the matching module is used for matching the column diagram in the building projection line diagram surface with the column diagram positions in the floor diagrams of other floors by taking the column diagram in the building projection line diagram surface as an identification point, and taking the column coordinate as an anchor point if the column positions in the two column diagrams can be correspondingly matched; if the positions of the cylinders in the two column diagrams cannot be matched, symmetrically judging the building projection line drawing surface and other floor drawing surfaces or rotationally offsetting the other floor drawing surfaces until the positions of the cylinders in the two column diagrams are matched;
and the inspection module is used for loading the projection line in the building projection line picture plane into the other floor picture planes so as to determine the range of the projection line in the other floor picture planes, and inspecting the other floor picture planes according to the projection line and a preset rule.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method of automatically obtaining an architectural projection line according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for automatically obtaining a projection line of a building according to any one of claims 1 to 7.
CN202211240865.6A 2022-10-11 2022-10-11 Method, system, terminal device and storage medium for automatically acquiring building projection line Active CN115329444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211240865.6A CN115329444B (en) 2022-10-11 2022-10-11 Method, system, terminal device and storage medium for automatically acquiring building projection line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211240865.6A CN115329444B (en) 2022-10-11 2022-10-11 Method, system, terminal device and storage medium for automatically acquiring building projection line

Publications (2)

Publication Number Publication Date
CN115329444A true CN115329444A (en) 2022-11-11
CN115329444B CN115329444B (en) 2023-01-03

Family

ID=83913480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211240865.6A Active CN115329444B (en) 2022-10-11 2022-10-11 Method, system, terminal device and storage medium for automatically acquiring building projection line

Country Status (1)

Country Link
CN (1) CN115329444B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344435A (en) * 2018-08-28 2019-02-15 贵州数智联云科技有限公司 It is a kind of for build arrangement design method and its device, storage medium
JP2020135764A (en) * 2019-02-25 2020-08-31 パナソニックIpマネジメント株式会社 Three-dimensional object modeling method, three-dimensional object modeling device, server, three-dimensional model creation system, and program
CN111651817A (en) * 2020-05-25 2020-09-11 深圳市华阳国际工程设计股份有限公司 BIM-based building component design method, electronic device and storage medium
WO2022062253A1 (en) * 2020-09-23 2022-03-31 深圳市创想三维科技有限公司 Plane layout method and system for model, computer device, and storage medium
CN115131371A (en) * 2022-07-12 2022-09-30 中国建筑西南设计研究院有限公司 Two-three-dimensional mixed cutting method and terminal for building structural member based on surface area

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344435A (en) * 2018-08-28 2019-02-15 贵州数智联云科技有限公司 It is a kind of for build arrangement design method and its device, storage medium
JP2020135764A (en) * 2019-02-25 2020-08-31 パナソニックIpマネジメント株式会社 Three-dimensional object modeling method, three-dimensional object modeling device, server, three-dimensional model creation system, and program
CN111651817A (en) * 2020-05-25 2020-09-11 深圳市华阳国际工程设计股份有限公司 BIM-based building component design method, electronic device and storage medium
WO2022062253A1 (en) * 2020-09-23 2022-03-31 深圳市创想三维科技有限公司 Plane layout method and system for model, computer device, and storage medium
CN115131371A (en) * 2022-07-12 2022-09-30 中国建筑西南设计研究院有限公司 Two-three-dimensional mixed cutting method and terminal for building structural member based on surface area

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋世龙等: "BIM技术在建筑给排水设计中的出图应用", 《建筑技术 》 *

Also Published As

Publication number Publication date
CN115329444B (en) 2023-01-03

Similar Documents

Publication Publication Date Title
CN114241509B (en) Space segmentation method, system, storage medium and equipment based on construction drawing
KR102238193B1 (en) Method and server for managing construction information and maintenance information based on augmented reality
WO2018180442A1 (en) Inspection support device, inspection support method, and program
CN114066917B (en) Cleaning method, cleaning device, electronic equipment and storage medium
KR102366840B1 (en) methods for detecting construction objects based on artificial intelligence and cloud platform system for providing construction supervision service and system thereof
CN114818093B (en) Method, device and equipment for generating column beam of assembled steel structure module building
CN110490839A (en) The method, apparatus and computer equipment of failure area in a kind of detection highway
CN115329444B (en) Method, system, terminal device and storage medium for automatically acquiring building projection line
CN110851896A (en) CAD (computer-aided design) outer wall body identification method and device based on local neighborhood information
CN114295050A (en) Multi-size detection method and system for precast concrete plate based on convolutional neural network
JP2024019350A (en) Information processing apparatus, information processing method, and program
CN110032341B (en) Module data processing method and device, electronic equipment and medium
CN112417687A (en) Intelligent image examination method and related device
CN114445498A (en) Depth camera calibration method, system, device and medium
USH1530H (en) Surface extraction from a three-dimensional data set
CN116343251A (en) Building drawing identification method and system based on AI building identification chart
JP6802944B1 (en) Inspection support equipment, inspection support methods and programs
CN114283186A (en) Method and device for identifying object in engineering drawing, electronic equipment and storage medium
JP2021085838A (en) Bar arrangement inspection system, bar arrangement inspection method and bar arrangement inspection program
CN113392453B (en) Space extraction method and device in engineering drawing, electronic equipment and storage medium
CN114596413B (en) Image time sequence splicing method, three-dimensional image model establishing method and device
CN116258474B (en) Auxiliary overhaul method, system, storage medium and computer equipment for urban rail vehicle
CN117975281B (en) Method for detecting damage source, electronic equipment and storage medium
JP2003078925A (en) Camera calibration system and camera calibration method
CN116703886A (en) Component detection method and device, electronic equipment and storage medium

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