Drawing method, device and equipment based on map paper segmentation and storage medium

By obtaining the initial structural information of the construction drawings, determining the dividing points and dividing lines, dividing the drawings and obtaining the target structural information, the problem of inaccurate point layout and unreasonable arrangement in manual point layout drawing is solved, and efficient and accurate point layout drawing is achieved.

CN115249303BActive Publication Date: 2026-03-31PINLAN (HANGZHOU) TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-05
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

The existing technology of manually drawing points on construction drawings leads to problems such as inaccurate point locations and unreasonable arrangements.

Method used

By obtaining the initial structural information of the drawing to be divided, the dividing points and target dividing lines are determined, the drawing is divided and the target structural information is obtained, and the points are drawn on the target drawing according to the point layout strategy.

Benefits of technology

It improves the efficiency and accuracy of point drawing, ensuring that the point positions are accurate and the arrangement is reasonable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115249303B_ABST
    Figure CN115249303B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of architectural design, and discloses a point distribution drawing method, device and equipment based on drawing segmentation and a storage medium. The application obtains initial structure information corresponding to a to-be-segmented drawing, determines a segmentation point of the to-be-segmented drawing according to the initial structure information, determines a target segmentation line of the to-be-segmented drawing according to the segmentation point and the initial structure information, segments the to-be-segmented drawing based on the target segmentation line, obtains a target drawing, obtains target structure information corresponding to the target drawing, determines a point distribution strategy corresponding to the target drawing according to the target structure information, and performs point distribution drawing on the target drawing based on the point distribution strategy. Since the target segmentation line of the to-be-segmented drawing is determined, the to-be-segmented drawing is segmented based on the target segmentation line, the target drawing with uniform spatial distribution is obtained, and then the target drawing is subjected to point distribution drawing according to the point distribution strategy, so that the efficiency and accuracy of the point distribution drawing are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of architectural design technology, and in particular to a method, apparatus, equipment and storage medium for point layout drawing based on drawing segmentation. Background Technology

[0002] Construction drawings are created based on the external shape, internal layout, structural design, interior and exterior decoration, material usage, and equipment information of an engineering project. Currently, the method of drawing point layouts involves designers manually drawing points on the construction drawings. This method cannot accurately determine the point layout based on the structural information in the construction drawings, leading to inaccurate point placement and unreasonable arrangement.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for drawing point layout based on drawing segmentation, aiming to solve the technical problems of inaccurate point placement and unreasonable point arrangement caused by manual point layout in the prior art.

[0005] To achieve the above objectives, the present invention provides a point layout drawing method based on drawing segmentation, the method comprising the following steps:

[0006] Obtain the initial structural information corresponding to the drawing to be divided, and determine the division points of the drawing to be divided based on the initial structural information;

[0007] Determine the target dividing line of the drawing to be divided based on the dividing points and the initial structural information;

[0008] The drawing to be divided is segmented based on the target dividing line to obtain the target drawing;

[0009] Obtain the target structure information corresponding to the target drawing;

[0010] Based on the target structure information, a point placement strategy corresponding to the target drawing is determined, and points are drawn on the target drawing based on the point placement strategy.

[0011] Optionally, obtaining the initial structural information corresponding to the drawing to be divided, and determining the division points of the drawing to be divided based on the initial structural information, includes:

[0012] Obtain the initial structural information corresponding to the drawing to be divided;

[0013] The beam and column information of the drawing to be divided is determined based on the initial structural information;

[0014] The division points of the drawing to be divided are determined based on the beam and column information.

[0015] Optionally, determining the target dividing line of the drawing to be divided based on the dividing points and the initial structural information includes:

[0016] The initial dividing lines of the drawing to be divided are determined based on the dividing points and the initial structural information.

[0017] The adjustment strategy corresponding to the initial dividing line is determined based on the initial structural information and the beam and column information.

[0018] The initial dividing line is adjusted according to the adjustment strategy to obtain the target dividing line of the drawing to be divided.

[0019] Optionally, determining the adjustment strategy corresponding to the initial dividing line based on the initial structural information and the beam-column information includes:

[0020] Based on the initial structural information and the beam and column information, determine the dividing lines to be deleted in the initial dividing lines;

[0021] The adjustment strategy corresponding to the initial dividing line is determined based on the dividing line to be deleted and the beam and column information.

[0022] Optionally, determining the adjustment strategy corresponding to the initial dividing line based on the dividing line to be deleted and the beam-column information includes:

[0023] Determine the splitting strategy corresponding to the initial dividing line based on the beam and column information;

[0024] The adjustment strategy corresponding to the initial dividing line is determined based on the dividing line to be deleted, the splitting strategy, and the beam and column information.

[0025] Optionally, adjusting the initial dividing line according to the adjustment strategy to obtain the target dividing line of the drawing to be divided includes:

[0026] According to the adjustment strategy, delete the deletable dividing line from the initial dividing line to obtain the deleted initial dividing line;

[0027] The initial dividing line after deletion is split according to the adjustment strategy to obtain the split initial dividing line;

[0028] The line length threshold is determined according to the adjustment strategy, and the initial dividing line after splitting is adjusted according to the line length threshold to obtain the target dividing line of the drawing to be divided.

[0029] Optionally, the step of determining the point layout strategy corresponding to the target drawing based on the target structure information, and drawing the points on the target drawing based on the point layout strategy, includes:

[0030] Obtain the coordinate information corresponding to the target drawing;

[0031] The wall and beam information of the target drawing is determined based on the target structural information;

[0032] Generate a rasterized model corresponding to the target drawing based on the coordinate information and the wall beam information;

[0033] The initial pre-placement points of the target drawing are determined based on the rasterization model;

[0034] The layout conditions are determined based on the wall beam information, and the initial pre-layout points are screened based on the layout conditions to obtain the target pre-layout points;

[0035] Based on the target structure information and the target pre-placement points, the point placement strategy corresponding to the target drawing is determined, and the point placement is drawn on the target drawing based on the point placement strategy.

[0036] Furthermore, to achieve the above objectives, the present invention also proposes a point-based drawing device based on drawing segmentation, the point-based drawing device based on drawing segmentation comprising:

[0037] The initial structural information determines the segmentation points of the drawing to be segmented;

[0038] The drawing segmentation module is also used to determine the target segmentation line of the drawing to be segmented based on the segmentation points and the initial structural information;

[0039] The drawing segmentation module is also used to segment the drawing to be segmented based on the target segmentation line to obtain the target drawing;

[0040] The structure acquisition module is used to acquire the target structure information corresponding to the target drawing;

[0041] The point layout and drawing module is used to determine the point layout strategy corresponding to the target drawing based on the target structure information, and to perform point layout and drawing on the target drawing based on the point layout strategy.

[0042] Furthermore, to achieve the above objectives, the present invention also proposes a point-based drawing device based on drawing segmentation, the point-based drawing device based on drawing segmentation comprising: a memory, a processor, and a point-based drawing program based on drawing segmentation stored in the memory and executable on the processor, the point-based drawing program based on drawing segmentation being configured to implement the steps of the point-based drawing method based on drawing segmentation as described above.

[0043] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a point drawing program based on drawing segmentation, wherein when the point drawing program based on drawing segmentation is executed by a processor, it implements the steps of the point drawing method based on drawing segmentation as described above.

[0044] This invention obtains initial structural information corresponding to a drawing to be divided, and determines the division points of the drawing based on the initial structural information; determines the target division line of the drawing based on the division points and the initial structural information; divides the drawing based on the target division line to obtain a target drawing; obtains target structural information corresponding to the target drawing; determines a point placement strategy for the target drawing based on the target structural information, and performs point placement drawing on the target drawing based on the point placement strategy. Because this invention obtains initial structural information of the drawing to be divided, determines the division points based on the initial structural information, determines the target division line based on the division points and the initial structural information, divides the drawing based on the target division line, thereby obtaining a spatially uniform target drawing, and then performs point placement drawing on the target drawing according to the point placement strategy, the efficiency and accuracy of point placement drawing are improved. Attached Figure Description

[0045] Figure 1 This is a schematic diagram of the structure of a point-based drawing device based on drawing segmentation in the hardware operating environment involved in the embodiments of the present invention;

[0046] Figure 2 This is a flowchart illustrating the first embodiment of the point layout drawing method based on drawing segmentation of the present invention;

[0047] Figure 3 This is a flowchart illustrating the second embodiment of the point-based drawing method based on drawing segmentation of the present invention;

[0048] Figure 4 This is a flowchart illustrating the third embodiment of the point-based drawing method based on drawing segmentation of the present invention;

[0049] Figure 5 This is a structural block diagram of the first embodiment of the point drawing device based on drawing segmentation of the present invention.

[0050] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0051] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0052] Reference Figure 1 , Figure 1This is a schematic diagram of the hardware operating environment based on drawing segmentation for point layout drawing, which is involved in the embodiment of the present invention.

[0053] like Figure 1 As shown, the drawing-based point-and-click mapping device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0054] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on point-based plotting equipment based on drawing segmentation, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0055] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a point-based drawing program based on drawing segmentation.

[0056] exist Figure 1 In the drawing-based point-and-dot plotting device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and memory 1005 in the drawing-based point-and-dot plotting device of the present invention can be set in the drawing-based point-and-dot plotting device, and the drawing-based point-and-dot plotting device calls the drawing-based point-and-dot plotting program stored in the memory 1005 through the processor 1001 and executes the drawing-based point-and-dot plotting method provided in the embodiment of the present invention.

[0057] This invention provides a point layout drawing method based on drawing segmentation, referring to... Figure 2 , Figure 2This is a flowchart illustrating the first embodiment of a point-based drawing method based on drawing segmentation according to the present invention.

[0058] In this embodiment, the point layout drawing method based on drawing segmentation includes the following steps:

[0059] Step S10: Obtain the initial structural information corresponding to the drawing to be divided, and determine the division points of the drawing to be divided based on the initial structural information.

[0060] It should be understood that the execution subject of the method in this embodiment can be a point drawing device based on drawing segmentation with data processing, network communication and program running functions, such as a laptop computer, tablet computer, etc., or other devices or equipment that can achieve the same or similar functions. Here, the above-mentioned point drawing device based on drawing segmentation (hereinafter referred to as drawing device) is used as an example for explanation.

[0061] It should be noted that the drawing to be divided can be a drawing that requires point layout drawing, and the drawing to be divided can be a CAD drawing. The aforementioned initial structural information can be the spatial structural information of the drawing to be divided, such as the outline structural information, wall structure distribution information, beam structure distribution information, and column structure distribution information of the drawing to be divided. The drawing equipment can draw dividing lines based on the above dividing points, and then divide the drawing to be divided according to the above dividing lines.

[0062] It should be understood that, in order to accurately delineate the target dividing lines corresponding to the drawing to be divided, the drawing device in this embodiment obtains the initial structural information corresponding to the drawing to be divided, determines the dividing points of the drawing to be divided based on the initial structural information, and then determines the dividing lines of the drawing to be divided based on the above dividing points.

[0063] In the specific implementation, the drawing device obtains the initial structural information corresponding to the drawing to be divided, determines the column structure distribution information of the drawing to be divided based on the initial structural information, determines the center point position of the column structure in the drawing to be divided, and determines the division point corresponding to the drawing to be divided based on the above center point position.

[0064] Step S20: Determine the target dividing line of the drawing to be divided based on the dividing points and the initial structural information.

[0065] It should be noted that the target dividing line can be a line segment that divides the spatial structure of the drawing to be divided. The drawing device can divide the spatial structure of the drawing to be divided into several subspaces based on the target dividing line.

[0066] It should be understood that, in order to accurately divide the spatial structure of the drawing to be divided, the drawing device in this embodiment determines the target dividing line of the drawing to be divided based on the dividing point and the initial structural information, and then divides the spatial structure of the drawing to be divided based on the target dividing line.

[0067] In practice, the drawing device determines the outer contour structure information of the drawing to be divided based on the initial structural information, and then draws horizontal and vertical straight lines according to the dividing points until the horizontal and vertical straight lines intersect with the outer contour structure. The horizontal and vertical straight lines are then used as the target dividing lines of the drawing to be divided.

[0068] Furthermore, in order to accurately determine the target dividing line corresponding to the drawing to be divided, step S20 above may include:

[0069] The initial dividing lines of the drawing to be divided are determined based on the dividing points and the initial structural information.

[0070] The adjustment strategy corresponding to the initial dividing line is determined based on the initial structural information and the beam and column information.

[0071] The initial dividing line is adjusted according to the adjustment strategy to obtain the target dividing line of the drawing to be divided.

[0072] It should be noted that the initial dividing line can be the dividing line of the drawing to be divided that has not been adjusted. In order to effectively avoid incorrect division, the drawing equipment needs to adjust the initial dividing line to obtain the accurate target dividing line.

[0073] It should be understood that in order to accurately divide the spatial structure of the drawing to be divided, it is necessary to draw accurate and effective target dividing lines. In this embodiment, the initial dividing lines of the drawing to be divided are determined based on the dividing points and the initial structural information. Then, redundant initial dividing lines are deleted based on the initial structural information and beam and column information. Then, the adjustment strategy corresponding to the initial dividing lines is determined based on the beam and column information, and the initial dividing lines are adjusted according to the adjustment strategy to avoid incorrect division, thereby obtaining the target dividing lines of the drawing to be divided.

[0074] It should be noted that the aforementioned redundant initial dividing lines can be initial dividing lines that only pass through one column or / and initial dividing lines whose distance from the baseline is less than a preset threshold. The drawing device can split the initial dividing lines according to the adjustment strategy, dividing the initial dividing lines into several line segments, and deleting line segments whose length is greater than a preset threshold. The preset threshold can be twice the column spacing, and the column spacing can be the distance between columns in the drawing to be divided.

[0075] Furthermore, in order to accurately determine the adjustment strategy for the initial dividing line, and to adjust the initial dividing line according to the adjustment strategy, the step of determining the adjustment strategy corresponding to the initial dividing line based on the initial structural information and the beam-column information may include:

[0076] Based on the initial structural information and the beam and column information, determine the dividing lines to be deleted in the initial dividing lines;

[0077] The adjustment strategy corresponding to the initial dividing line is determined based on the dividing line to be deleted and the beam and column information.

[0078] It should be noted that the dividing line to be deleted can be an extra dividing line in the initial dividing line. The characteristics of the dividing line to be deleted are: (1) it only passes through 1 column and (2) the distance from other baselines is less than a certain threshold (usually caused by the coordinate error of the beam center line).

[0079] Furthermore, in order to effectively avoid erroneous segmentation, the step of determining the adjustment strategy corresponding to the initial segmentation line based on the segmentation line to be deleted and the beam-column information may include:

[0080] Determine the splitting strategy corresponding to the initial dividing line based on the beam and column information;

[0081] The adjustment strategy corresponding to the initial dividing line is determined based on the dividing line to be deleted, the splitting strategy, and the beam and column information.

[0082] It should be noted that the splitting strategy can be to split the initial dividing line into several line segments. The drawing device splits the initial dividing line according to the center point of the beam and column of the drawing to be split, and then deletes the line segments whose length is greater than a preset threshold, thereby obtaining the target dividing line to avoid incorrect splitting. The preset threshold can be twice the column spacing of the drawing to be split.

[0083] Furthermore, in order to adjust the initial dividing line to obtain an accurate target dividing line, the step of adjusting the initial dividing line according to the adjustment strategy to obtain the target dividing line of the drawing to be divided may include:

[0084] According to the adjustment strategy, delete the deletable dividing line from the initial dividing line to obtain the deleted initial dividing line;

[0085] The initial dividing line after deletion is split according to the adjustment strategy to obtain the split initial dividing line;

[0086] The line length threshold is determined according to the adjustment strategy, and the initial dividing line after splitting is adjusted according to the line length threshold to obtain the target dividing line of the drawing to be divided.

[0087] Step S30: Divide the drawing to be divided based on the target dividing line to obtain the target drawing.

[0088] It should be noted that the target drawing can be the drawing to be divided after being divided by the target dividing line.

[0089] It should be understood that, due to the uneven spatial structure distribution and complex shape of the drawing to be divided, it is necessary to divide the drawing based on the target dividing line. In this embodiment, the drawing device determines the dividing point based on the initial structural information of the drawing to be divided, and then determines the target dividing line based on the dividing point and the initial structural information. Then, the drawing to be divided is divided based on the target dividing line to obtain the target drawing, thereby effectively dividing the spatial structure of the drawing to be divided and improving the rationality of the spatial distribution of the drawing to be divided.

[0090] Step S40: Obtain the target structure information corresponding to the target drawing.

[0091] It should be noted that the target structural information can be the spatial structural information corresponding to the target drawing. For example, the target structural information may include the outline structural information, wall structure distribution information, beam structure distribution information, and column structure distribution information of the target drawing.

[0092] Step S50: Determine the point layout strategy corresponding to the target drawing based on the target structure information, and draw points on the target drawing based on the point layout strategy.

[0093] It should be noted that the placement strategy can be a strategy for drawing the placement points on the target drawing, such as a fire sprinkler placement strategy. The drawing equipment can accurately draw the placement points on the target drawing according to the placement strategy. The above-mentioned placement drawing can be the drawing of the location of fire sprinkler points.

[0094] It should be understood that in order to accurately arrange the fire sprinkler system of a building, it is necessary to accurately draw the fire sprinkler point layout according to the corresponding drawing to be divided. Due to the complexity of the shape of the drawing to be divided and the uneven distribution of the spatial structure, the drawing device in this embodiment divides the drawing to be divided based on the target dividing line to obtain a target drawing with uniform spatial distribution. Then, based on the target structure information of the target drawing, the point layout strategy is determined, and the points are drawn on the target drawing according to the point layout strategy.

[0095] This embodiment obtains the initial structural information corresponding to the drawing to be divided, and determines the division points of the drawing based on the initial structural information; determines the target division line of the drawing based on the division points and the initial structural information; divides the drawing based on the target division line to obtain the target drawing; obtains the target structural information corresponding to the target drawing; determines the point layout strategy corresponding to the target drawing based on the target structural information, and performs point layout drawing on the target drawing based on the point layout strategy. Because this invention obtains the initial structural information of the drawing to be divided, determines the division points based on the initial structural information, determines the target division line based on the division points and the initial structural information, divides the drawing based on the target division line, thereby obtaining a spatially uniform target drawing, and then performs point layout drawing on the target drawing according to the point layout strategy, the efficiency and accuracy of point layout drawing are improved.

[0096] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of a point-based drawing method based on drawing segmentation according to the present invention.

[0097] Based on the first embodiment described above, in this embodiment, step S10 may include:

[0098] Step S101: Obtain the initial structural information corresponding to the drawing to be divided.

[0099] It should be noted that the drawing to be divided can be a drawing that requires point layout drawing, and the drawing to be divided can be a CAD drawing. The aforementioned initial structural information can be the spatial structural information of the drawing to be divided, such as the outline structural information, wall structure distribution information, beam structure distribution information, and column structure distribution information of the drawing to be divided.

[0100] Step S102: Determine the beam and column information of the drawing to be divided based on the initial structural information.

[0101] It should be noted that the beam and column information can be the distribution information of beam structure and column structure in the building corresponding to the drawing to be divided.

[0102] It should be understood that, in order to accurately divide the drawing based on the initial structural information of the drawing to be divided, the drawing device in this embodiment determines the beam structure distribution information and column structure distribution information of the drawing to be divided based on the initial structural information, thereby determining the division points of the drawing to be divided.

[0103] Step S103: Determine the division points of the drawing to be divided based on the beam and column information.

[0104] It should be understood that, in order to accurately determine the division points of the drawing to be divided, the drawing device in this embodiment determines the beam structure distribution information and column structure distribution information of the drawing to be divided based on the beam and column information, and then determines the division points of the drawing to be divided based on the beam and column information.

[0105] This embodiment obtains the initial structural information corresponding to the drawing to be divided; determines the beam and column information of the drawing to be divided based on the initial structural information; and determines the division points of the drawing to be divided based on the beam and column information. Because this invention determines the beam and column information of the drawing to be divided based on the initial structural information, and then determines the division points based on the beam and column information, the division points of the drawing to be divided are accurately obtained, thus improving the efficiency of drawing division.

[0106] refer to Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of a point-based drawing method based on drawing segmentation according to the present invention.

[0107] Based on the first embodiment described above, in this embodiment, step S50 may include:

[0108] Step S501: Obtain the coordinate information corresponding to the target drawing.

[0109] It should be noted that the coordinate information can be the spatial structure coordinate information of the target drawing, and the coordinate information can include beam structure coordinate information, column structure coordinate information, axis structure coordinate information, wall structure coordinate information, and outline structure coordinate information.

[0110] Step S502: Determine the wall and beam information of the target drawing based on the target structural information.

[0111] It should be noted that the wall and beam information can be the wall structure information and beam structure information of the target drawing.

[0112] Step S503: Generate a rasterized model corresponding to the target drawing based on the coordinate information and the wall beam information.

[0113] It should be noted that the rasterized model can be a rasterized data model of the target drawing. The drawing equipment can rasterize the spatial structure of the target drawing based on the coordinate information and wall and beam information to obtain the rasterized model corresponding to the target drawing.

[0114] Step S504: Determine the initial pre-placement points of the target drawing based on the rasterization model.

[0115] It should be noted that the initial pre-placement points can be the initial preset placement points of the target drawing. The drawing equipment department will draw the pre-placement points based on the intersection of the two coordinate axes of the target drawing.

[0116] Step S505: Determine the layout conditions based on the wall beam information, and filter the initial pre-layout points according to the layout conditions to obtain the target pre-layout points.

[0117] It should be noted that the drawing equipment can determine the wall beam spacing based on the wall beam information, then determine the point layout conditions based on the wall beam spacing, and perform hard constraint logic checks on the initial pre-placed points based on the point layout conditions, deleting the initial pre-placed points that do not meet the constraint conditions, thereby obtaining the target pre-placed points.

[0118] It should be understood that if there are areas in the target drawing that do not cover the target pre-placed points, then the placement logic based on the clustering algorithm is obtained, and then the placement logic is used to supplement the areas in the target drawing that do not cover the pre-placed points.

[0119] Step S506: Determine the placement strategy corresponding to the target drawing based on the target structure information and the target pre-placement points, and draw the placement points on the target drawing based on the placement strategy.

[0120] It should be noted that the placement strategy can be a strategy for drawing the placement points on the target drawing, such as a fire sprinkler placement strategy. The drawing equipment can accurately draw the placement points on the target drawing according to the placement strategy. The above-mentioned placement drawing can be the drawing of the location of fire sprinkler points.

[0121] It should be understood that in order to accurately arrange the fire sprinkler system of a building, it is necessary to accurately draw the fire sprinkler point layout according to the corresponding drawing to be divided. Due to the complexity of the shape of the drawing to be divided and the uneven distribution of the spatial structure, the drawing device in this embodiment divides the drawing to be divided based on the target dividing line to obtain a target drawing with uniform spatial distribution. Then, based on the target structure information of the target drawing, the point layout strategy is determined, and the points are drawn on the target drawing according to the point layout strategy.

[0122] This embodiment obtains the coordinate information corresponding to the target drawing; determines the wall and beam information of the target drawing based on the target structural information; generates a rasterized model corresponding to the target drawing based on the coordinate information and the wall and beam information; determines the initial pre-placement points of the target drawing based on the rasterized model; determines the placement conditions based on the wall and beam information, and filters the initial pre-placement points based on the placement conditions to obtain target pre-placement points; determines the placement strategy corresponding to the target drawing based on the target structural information and the target pre-placement points, and performs placement drawing on the target drawing based on the placement strategy. Because this invention generates a rasterized model corresponding to the target drawing based on the coordinate information and wall beam information of the target drawing, then determines the initial pre-placement points of the target drawing based on the rasterized model, determines the placement conditions based on the wall beam information, and filters the initial pre-placement points according to the placement conditions to obtain the target pre-placement points, the effectiveness and accuracy of the pre-placement points are ensured. Then, the placement strategy corresponding to the target drawing is determined based on the target structural information and the target pre-placement points, and the placement points are drawn on the target drawing based on the placement strategy, thereby achieving standardized and effective placement drawing and improving the efficiency of placement drawing.

[0123] Furthermore, this embodiment of the invention also proposes a storage medium storing a point drawing program based on drawing segmentation. When the point drawing program based on drawing segmentation is executed by a processor, it implements the steps of the point drawing method based on drawing segmentation as described above.

[0124] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.

[0125] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the point drawing device based on drawing segmentation of the present invention.

[0126] like Figure 5 As shown, the point-based drawing device based on drawing segmentation proposed in this embodiment of the invention includes:

[0127] The drawing segmentation module 10 is used to obtain the initial structural information corresponding to the drawing to be segmented, and to determine the segmentation points of the drawing to be segmented based on the initial structural information.

[0128] The drawing segmentation module 10 is further configured to determine the target segmentation line of the drawing to be segmented based on the segmentation points and the initial structural information;

[0129] The drawing segmentation module 10 is also used to segment the drawing to be segmented based on the target segmentation line to obtain the target drawing;

[0130] Structure acquisition module 20 is used to acquire target structure information corresponding to the target drawing;

[0131] The point layout drawing module 30 is used to determine the point layout strategy corresponding to the target drawing based on the target structure information, and to perform point layout drawing on the target drawing based on the point layout strategy.

[0132] Furthermore, the drawing segmentation module 10 is also used to obtain the initial structural information corresponding to the drawing to be segmented; determine the beam and column information of the drawing to be segmented based on the initial structural information; and determine the segmentation points of the drawing to be segmented based on the beam and column information.

[0133] Furthermore, the drawing segmentation module 10 is also used to determine the initial segmentation line of the drawing to be segmented based on the segmentation point and the initial structural information; determine the adjustment strategy corresponding to the initial segmentation line based on the initial structural information and the beam and column information; and adjust the initial segmentation line according to the adjustment strategy to obtain the target segmentation line of the drawing to be segmented.

[0134] Furthermore, the drawing segmentation module 10 is also used to determine the segmentation lines to be deleted in the initial segmentation lines based on the initial structural information and the beam and column information; and to determine the adjustment strategy corresponding to the initial segmentation lines based on the segmentation lines to be deleted and the beam and column information.

[0135] Furthermore, the drawing segmentation module 10 is also used to determine the splitting strategy corresponding to the initial segmentation line based on the beam and column information; and to determine the adjustment strategy corresponding to the initial segmentation line based on the segmentation line to be deleted, the splitting strategy, and the beam and column information.

[0136] Furthermore, the drawing segmentation module 10 is also used to delete the segmentation line to be deleted from the initial segmentation line according to the adjustment strategy to obtain the deleted initial segmentation line; to split the deleted initial segmentation line according to the adjustment strategy to obtain the split initial segmentation line; to determine the line length threshold according to the adjustment strategy, and to adjust the split initial segmentation line according to the line length threshold to obtain the target segmentation line of the drawing to be segmented.

[0137] Furthermore, the point-layout drawing module 30 is also used to acquire coordinate information corresponding to the target drawing; determine wall and beam information of the target drawing based on the target structural information; generate a rasterized model corresponding to the target drawing based on the coordinate information and the wall and beam information; determine initial pre-layout points of the target drawing based on the rasterized model; determine point-layout conditions based on the wall and beam information, and filter the initial pre-layout points based on the point-layout conditions to obtain target pre-layout points; determine the point-layout strategy corresponding to the target drawing based on the target structural information and the target pre-layout points, and perform point-layout drawing on the target drawing based on the point-layout strategy.

[0138] This embodiment obtains the initial structural information corresponding to the drawing to be divided, and determines the division points of the drawing based on the initial structural information; determines the target division line of the drawing based on the division points and the initial structural information; divides the drawing based on the target division line to obtain the target drawing; obtains the target structural information corresponding to the target drawing; determines the point layout strategy corresponding to the target drawing based on the target structural information, and performs point layout drawing on the target drawing based on the point layout strategy. Because this invention obtains the initial structural information of the drawing to be divided, determines the division points based on the initial structural information, determines the target division line based on the division points and the initial structural information, divides the drawing based on the target division line, thereby obtaining a spatially uniform target drawing, and then performs point layout drawing on the target drawing according to the point layout strategy, the efficiency and accuracy of point layout drawing are improved.

[0139] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.

[0140] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0141] In addition, for technical details not described in detail in this embodiment, please refer to the point drawing method based on drawing segmentation provided in any embodiment of the present invention, which will not be repeated here.

[0142] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0143] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0144] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0145] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A point plotting method based on map sheet segmentation, characterized by, The drawing-based point distribution drawing method comprises: obtaining initial structure information corresponding to the to-be-segmented drawing, and determining a segmentation point of the to-be-segmented drawing according to the initial structure information; determining a target segmentation line of the to-be-segmented drawing according to the segmentation point and the initial structure information; segmenting the to-be-segmented drawing based on the target segmentation line to obtain a target drawing; obtaining target structure information corresponding to the target drawing; determining a point distribution strategy corresponding to the target drawing according to the target structure information, and performing point distribution drawing on the target drawing based on the point distribution strategy; the obtaining initial structure information corresponding to the to-be-segmented drawing, and determining a segmentation point of the to-be-segmented drawing according to the initial structure information, comprises: obtaining initial structure information corresponding to the to-be-segmented drawing; determining beam column information of the to-be-segmented drawing according to the initial structure information; determining a segmentation point of the to-be-segmented drawing according to the beam column information; the determining a target segmentation line of the to-be-segmented drawing according to the segmentation point and the initial structure information, comprises: determining an initial segmentation line of the to-be-segmented drawing according to the segmentation point and the initial structure information; determining an adjustment strategy corresponding to the initial segmentation line according to the initial structure information and the beam column information; adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the to-be-segmented drawing.

2. The map sheet division-based point plotting method according to claim 1, wherein the determining an adjustment strategy corresponding to the initial segmentation line according to the initial structure information and the beam column information, comprises: determining a to-be-deleted segmentation line in the initial segmentation line according to the initial structure information and the beam column information; determining an adjustment strategy corresponding to the initial segmentation line according to the to-be-deleted segmentation line and the beam column information.

3. The map sheet division-based point plotting method according to claim 2, wherein the determining an adjustment strategy corresponding to the initial segmentation line according to the to-be-deleted segmentation line and the beam column information, comprises: determining a splitting strategy corresponding to the initial segmentation line according to the beam column information; determining an adjustment strategy corresponding to the initial segmentation line according to the to-be-deleted segmentation line, the splitting strategy and the beam column information.

4. The map sheet division-based point plotting method according to claim 3, wherein the adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the to-be-segmented drawing, comprises: deleting a to-be-deleted segmentation line in the initial segmentation line according to the adjustment strategy to obtain a deleted initial segmentation line; splitting the deleted initial segmentation line according to the adjustment strategy to obtain a split initial segmentation line; determining a line length threshold according to the adjustment strategy, and adjusting the split initial segmentation line according to the line length threshold to obtain a target segmentation line of the to-be-segmented drawing.

5. The map sheet division-based point plotting method according to any one of claims 1 to 4, wherein, the determining a point distribution strategy corresponding to the target drawing according to the target structure information, and performing point distribution drawing on the target drawing based on the point distribution strategy, comprises: obtaining coordinate information corresponding to the target drawing; determining wall beam information of the target drawing according to the target structure information; generating a gridding model corresponding to the target drawing according to the coordinate information and the wall beam information; determining an initial pre-point distribution of the target drawing according to the gridding model; Determine a layout condition according to the wall beam information, and screen the initial pre-layout according to the layout condition to obtain a target pre-layout; Determine a layout strategy corresponding to the target drawing according to the target structure information and the target pre-layout, and perform layout drawing on the target drawing based on the layout strategy.

6. A point plotting device based on map sheet division, characterized by The drawing layout device based on drawing segmentation comprises: A drawing segmentation module is configured to acquire initial structure information corresponding to a drawing to be segmented, and determine a segmentation point of the drawing to be segmented according to the initial structure information; The drawing segmentation module is further configured to determine a target segmentation line of the drawing to be segmented according to the segmentation point and the initial structure information; The drawing segmentation module is further configured to segment the drawing to be segmented based on the target segmentation line to obtain a target drawing; A structure acquisition module is configured to acquire target structure information corresponding to the target drawing; A layout drawing module is configured to determine a layout strategy corresponding to the target drawing according to the target structure information, and perform layout drawing on the target drawing based on the layout strategy; The acquiring of the initial structure information corresponding to the drawing to be segmented and the determining of the segmentation point of the drawing to be segmented according to the initial structure information comprise: Acquiring initial structure information corresponding to a drawing to be segmented; Determining beam column information of the drawing to be segmented according to the initial structure information; Determining a segmentation point of the drawing to be segmented according to the beam column information; The determining of the target segmentation line of the drawing to be segmented according to the segmentation point and the initial structure information comprises: Determining an initial segmentation line of the drawing to be segmented according to the segmentation point and the initial structure information; Determining an adjustment strategy corresponding to the initial segmentation line according to the initial structure information and the beam column information; Adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the drawing to be segmented.

7. A point plotting device based on a map sheet division, characterized by The drawing layout device based on drawing segmentation comprises a memory, a processor, and a drawing layout program based on drawing segmentation stored on the memory and executable on the processor, and the drawing layout program based on drawing segmentation is configured to implement the drawing layout method based on drawing segmentation of any one of claims 1 to 5.

8. A storage medium, characterized by The storage medium stores a drawing layout program based on drawing segmentation, and the drawing layout program based on drawing segmentation is executed by the processor to implement the drawing layout method based on drawing segmentation of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Space segmentation method and system based on construction drawing, storage medium and equipment

    CN114241509A