CN115249303A - Layout drawing method, device, equipment and storage medium based on drawing segmentation - Google Patents

Layout drawing method, device, equipment and storage medium based on drawing segmentation Download PDF

Info

Publication number
CN115249303A
CN115249303A CN202210796719.5A CN202210796719A CN115249303A CN 115249303 A CN115249303 A CN 115249303A CN 202210796719 A CN202210796719 A CN 202210796719A CN 115249303 A CN115249303 A CN 115249303A
Authority
CN
China
Prior art keywords
target
point
initial
segmentation
determining
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.)
Pending
Application number
CN202210796719.5A
Other languages
Chinese (zh)
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.)
Shanghai Pinlan Data Technology Co ltd
Original Assignee
Shanghai Pinlan Data 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 Shanghai Pinlan Data Technology Co ltd filed Critical Shanghai Pinlan Data Technology Co ltd
Priority to CN202210796719.5A priority Critical patent/CN115249303A/en
Publication of CN115249303A publication Critical patent/CN115249303A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to the technical field of architectural design, and discloses a layout drawing method, device, equipment and storage medium based on drawing segmentation. According to the method, initial structure information corresponding to the drawing to be divided is obtained, the dividing point of the drawing to be divided is determined according to the initial structure information, the target dividing line of the drawing to be divided is determined according to the dividing point and the initial structure information, the drawing to be divided is divided based on the target dividing line, the target drawing is obtained, target structure information corresponding to the target drawing is obtained, the point distribution strategy corresponding to the target drawing is determined according to the target structure information, and point distribution drawing is carried out on the target drawing based on the point distribution strategy. According to the method and the device, the target dividing line of the drawing to be divided is determined, the drawing to be divided is divided based on the target dividing line, so that the target drawing with uniform spatial distribution is obtained, and the target drawing is subjected to point arrangement drawing according to the point arrangement strategy, so that the point arrangement drawing efficiency and accuracy are improved.

Description

Layout drawing method, device, equipment and storage medium based on drawing segmentation
Technical Field
The invention relates to the technical field of architectural design, in particular to a layout drawing method, a layout drawing device, layout drawing equipment and a storage medium based on drawing segmentation.
Background
The construction drawing is a drawing produced according to the external shape, internal arrangement, structural construction, internal and external decoration, material construction method, equipment information and the like of an engineering project. The current point arrangement drawing mode is to carry out manual point arrangement drawing in a construction drawing by a designer, and the mode cannot accurately carry out point arrangement drawing according to structural information in the construction drawing, so that the problems of inaccurate point arrangement position and unreasonable point arrangement are caused.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a dotting drawing method, a device, equipment and a storage medium based on drawing segmentation, and aims to solve the technical problems of inaccurate dotting position and unreasonable dotting arrangement caused by manual dotting drawing in the prior art.
In order to achieve the purpose, the invention provides a point arrangement drawing method based on drawing segmentation, which comprises the following steps:
acquiring initial structure information corresponding to a drawing to be segmented, and determining segmentation points of the drawing to be segmented according to the initial structure information;
determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information;
dividing the drawing to be divided based on the target dividing line to obtain a target drawing;
acquiring target structure information corresponding to the target drawing;
and 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.
Optionally, the obtaining initial structure information corresponding to the drawing to be divided, and determining the dividing point of the drawing to be divided according to the initial structure information includes:
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;
and determining the segmentation point of the drawing to be segmented according to the beam column information.
Optionally, the determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information includes:
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 an initial dividing line according to the initial structure information and the beam column information;
and adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the drawing to be segmented.
Optionally, the determining, according to the initial structure information and the beam-column information, an adjustment strategy corresponding to an initial dividing line includes:
determining a division line to be deleted in the initial division lines according to the initial structure information and the beam column information;
and determining an adjusting strategy corresponding to the initial parting line according to the parting line to be deleted and the beam column information.
Optionally, the determining an adjustment strategy corresponding to the initial dividing line according to the dividing line to be deleted and the beam-column information includes:
determining a splitting strategy corresponding to the initial splitting line according to the beam-column information;
and determining an adjusting strategy corresponding to the initial dividing line according to the dividing line to be deleted, the splitting strategy and the beam column information.
Optionally, the adjusting the initial dividing line according to the adjustment policy to obtain a target dividing line of the drawing to be divided includes:
deleting the division lines to be deleted in the initial division lines according to the adjustment strategy to obtain deleted initial division lines;
splitting the deleted initial dividing line according to the adjusting strategy to obtain a split initial dividing line;
and determining a line length threshold according to the adjustment strategy, and adjusting the split initial dividing line according to the line length threshold to obtain a target dividing line of the drawing to be divided.
Optionally, the determining, according to the target structure information, a point placement strategy corresponding to the target drawing, and performing point placement drawing on the target drawing based on the point placement strategy includes:
acquiring coordinate information corresponding to the target drawing;
determining wall beam information of the target drawing according to the target structure information;
generating a grid model corresponding to the target drawing according to the coordinate information and the wall beam information;
determining an initial pre-arrangement point of the target drawing according to the rasterization model;
determining a stationing condition according to the wall beam information, and screening the initial pre-stationing point according to the stationing condition to obtain a target pre-stationing point;
and determining a point distribution strategy corresponding to the target drawing according to the target structure information and the target pre-point distribution, and performing point distribution drawing on the target drawing based on the point distribution strategy.
In addition, in order to achieve the above object, the present invention further provides a layout drawing device based on drawing segmentation, including:
determining the segmentation points of the drawing to be segmented according to the initial structure information;
the drawing segmentation module is further used for determining 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 also used for segmenting the drawing to be segmented based on the target segmentation line to obtain a target drawing;
the structure acquisition module is used for acquiring target structure information corresponding to the target drawing;
and the point distribution drawing module is used for 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.
In addition, in order to achieve the above object, the present invention further provides a layout drawing apparatus based on drawing segmentation, including: the layout segmentation based point placement drawing program is configured to implement the steps of the layout segmentation based point placement drawing method as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, in which a layout drawing program based on drawing segmentation is stored, and when executed by a processor, the layout drawing program based on drawing segmentation implements the steps of the layout drawing method based on drawing segmentation as described above.
According to the method, initial structure information corresponding to the drawing to be divided is obtained, and dividing points of the drawing to be divided are determined according to the initial structure information; determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information; dividing the drawing to be divided based on the target dividing line to obtain a target drawing; acquiring target structure information corresponding to the target drawing; and 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. According to the method and the device, the initial structure information of the drawing to be divided is obtained, the dividing point of the drawing to be divided is determined according to the initial structure information, the target dividing line of the drawing to be divided is determined according to the dividing point and the initial structure information, the drawing to be divided is divided based on the target dividing line, the target drawing with uniform spatial distribution is obtained, and the target drawing is subjected to point distribution drawing according to the point distribution strategy, so that the efficiency and the accuracy of the point distribution drawing are improved.
Drawings
Fig. 1 is a schematic structural diagram of a layout drawing device based on drawing segmentation in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a first embodiment of a layout drawing method based on drawing segmentation according to the present invention;
FIG. 3 is a schematic flowchart of a point placement and drawing method based on drawing segmentation according to a second embodiment of the present invention;
FIG. 4 is a schematic flowchart of a third embodiment of a point placement and drawing method based on drawing segmentation according to the present invention;
fig. 5 is a block diagram of a first embodiment of a layout drawing apparatus according to the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a layout drawing device based on drawing segmentation in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the dotting drawing apparatus based on drawing segmentation 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 implement connection communication among these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a high-speed Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the dotting device based on drawing segmentation, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a layout drawing program based on drawing division.
In the layout drawing apparatus based on drawing segmentation shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the layout drawing device based on drawing segmentation according to the present invention may be disposed in the layout drawing device based on drawing segmentation, and the layout drawing device based on drawing segmentation calls the layout drawing program based on drawing segmentation stored in the memory 1005 through the processor 1001, and executes the layout drawing method based on drawing segmentation according to the embodiment of the present invention.
An embodiment of the present invention provides a point placement drawing method based on drawing segmentation, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the point placement drawing method based on drawing segmentation.
In this embodiment, the point arrangement drawing method based on drawing segmentation includes the following steps:
step S10: obtaining initial structure information corresponding to a drawing to be divided, and determining a dividing point of the drawing to be divided according to the initial structure information.
It should be understood that the executing body of the method of the present embodiment may be a layout drawing device based on drawing segmentation, such as a notebook computer, a tablet computer, etc., having data processing, network communication and program running functions, or other devices or devices capable of implementing the same or similar functions, and is described herein by taking the above layout drawing device based on drawing segmentation (hereinafter referred to as drawing device) as an example.
It should be noted that the drawing to be divided may be a drawing that needs to be subjected to point distribution drawing, and the drawing to be divided may be a CAD drawing. The initial structure information may be spatial structure information of the drawing to be divided, for example, the initial structure information may include profile structure information, wall structure distribution information, beam structure distribution information, column structure distribution information, and the like of the drawing to be divided. The drawing equipment can draw a dividing line according to the dividing point and then divide the drawing to be divided according to the dividing line.
It should be understood that, in order to accurately divide the target dividing line corresponding to the drawing to be divided, the drawing device of the embodiment acquires initial structure information corresponding to the drawing to be divided, determines the dividing point of the drawing to be divided according to the initial structure information, and determines the dividing line of the drawing to be divided based on the dividing point.
In specific implementation, the drawing equipment acquires initial structure information corresponding to a drawing to be divided, determines column structure distribution information of the drawing to be divided according to the initial structure information, determines the position of a central point of a column structure in the drawing to be divided, and determines a dividing point corresponding to the drawing to be divided based on the position of the central point.
Step S20: and determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information.
It should be noted that the target dividing line may be a line segment for dividing the spatial structure of the drawing to be divided, and the drawing device may divide the spatial structure of the drawing to be divided into a plurality of subspaces based on the target dividing line.
It should be understood that, in order to accurately and accurately divide the spatial structure of the drawing to be divided, the drawing apparatus of this embodiment determines a target dividing line of the drawing to be divided according to the dividing point and the initial structure information, and then divides the spatial structure of the drawing to be divided based on the target dividing line.
In specific implementation, the drawing equipment determines the outer contour structure information of the drawing to be divided according to the initial structure information, then draws a horizontal straight line and a vertical straight line according to the dividing point until the horizontal straight line and the vertical straight line are intersected with the outer contour structure, and takes the horizontal straight line and the vertical straight line as a target dividing line of the drawing to be divided.
Further, in order to accurately determine the target dividing line corresponding to the drawing to be divided, the step S20 may include:
determining an initial dividing line of the drawing to be divided according to the dividing point and the initial structure information;
determining an adjustment strategy corresponding to the initial dividing line according to the initial structure information and the beam column information;
and adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the drawing to be segmented.
It should be noted that the initial dividing line may be a dividing line of a drawing to be divided, which is not adjusted, and in order to effectively avoid erroneous division, the drawing device needs to adjust the initial dividing line to obtain an accurate target dividing line.
It should be understood that, in order to accurately divide the spatial structure of the drawing to be divided, and therefore an accurate and effective target dividing line needs to be drawn, in this embodiment, an initial dividing line of the drawing to be divided is determined according to the dividing point and the initial structure information, then redundant initial dividing lines are deleted according to the initial structure information and the beam column information, then an adjustment strategy corresponding to the initial dividing line is determined according to the beam column information, and adjustment is performed according to the adjustment strategy corresponding to the initial dividing line, so as to avoid erroneous division, thereby obtaining the target dividing line of the drawing to be divided.
The redundant initial dividing lines may be the initial dividing lines that only pass through one pillar or/and the initial dividing lines that are less than a preset threshold away from the reference line. The drawing equipment can split the initial segmentation line according to an adjustment strategy, split the initial segmentation line into a plurality of line segments, and delete the line segments with the length larger than a preset threshold, wherein the preset threshold can be twice of the column spacing, and the column spacing can be the distance between columns in the drawing to be split.
Further, in order to accurately determine an adjustment strategy of the initial dividing line so as to adjust the initial dividing line according to the adjustment strategy, the step of determining the adjustment strategy corresponding to the initial dividing line according to the initial structure information and the beam-column information may include:
determining a division line to be deleted in the initial division lines according to the initial structure information and the beam column information;
and determining an adjusting strategy corresponding to the initial parting line according to the parting line to be deleted and the beam column information.
It should be noted that the dividing line to be deleted may be a redundant dividing line in the initial dividing line, and the characteristic of the dividing line to be deleted is as follows: (1) Only 1 post (2) is traversed less than a certain threshold distance from other datum lines (usually caused by beam centerline coordinate errors).
Further, in order to effectively avoid erroneous segmentation, the step of determining the adjustment strategy corresponding to the initial segmentation line according to the to-be-deleted segmentation line and the beam-column information may include:
determining a splitting strategy corresponding to the initial splitting line according to the beam-column information;
and determining an adjusting strategy corresponding to the initial parting line according to the parting line to be deleted, the splitting strategy and the beam column information.
It should be noted that the splitting policy may be a policy of splitting the initial dividing line into a plurality of line segments, and the drawing device splits the initial dividing line according to the beam-column center point of the drawing to be split, splits the initial dividing line into a plurality of line segments, and then deletes the line segment whose length is greater than a preset threshold, so as to obtain the target dividing line, so as to avoid erroneous splitting, where the preset threshold may be twice the column pitch of the drawing to be split.
Further, in order to adjust the initial dividing line and obtain an accurate target dividing line, the step of adjusting the initial dividing line according to the adjustment policy and obtaining the target dividing line of the drawing to be divided may include:
deleting the division lines to be deleted in the initial division lines according to the adjustment strategy to obtain deleted initial division lines;
splitting the deleted initial dividing line according to the adjusting strategy to obtain a split initial dividing line;
and determining a line length threshold according to the adjustment strategy, and adjusting the split initial dividing line according to the line length threshold to obtain a target dividing line of the drawing to be divided.
Step S30: and segmenting the drawing to be segmented based on the target segmentation line to obtain a target drawing.
It should be noted that the target drawing may be a drawing obtained after the drawing to be divided is divided by the target dividing line.
It should be understood that, because the spatial structure of the drawing to be divided is not uniformly distributed and has a complex shape, the drawing to be divided needs to be divided based on the target dividing line, the drawing device of this embodiment determines the dividing point according to the initial structure information of the drawing to be divided, determines the target dividing line according to the dividing point and the initial structure information, and then divides the drawing to be divided based on the target dividing line to obtain the target drawing, so that the spatial structure of the drawing to be divided is effectively divided, and the spatial distribution rationality of the drawing to be divided is improved.
Step S40: and acquiring target structure information corresponding to the target drawing.
The target structure information may be spatial structure information corresponding to the target drawing, for example, the target structure information may include contour structure information, wall structure distribution information, beam structure distribution information, column structure distribution information, and the like of the target drawing.
Step S50: and 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 point distribution strategy may be a strategy of performing point distribution drawing on the target drawing paper, for example, the point distribution strategy may be a fire sprinkler point distribution strategy, and the like. The drawing equipment can accurately draw the points on the target drawing paper according to the point distribution strategy. The point distribution drawing can be drawing of point positions of fire-fighting spray heads.
It should be understood that, in order to accurately arrange a fire sprinkler system of a building, fire sprinkler distribution drawing needs to be accurately performed according to a drawing to be divided corresponding to the building, and due to the problems of complexity of the shape of the drawing to be divided and uneven distribution of a spatial structure, the drawing device of the embodiment divides the drawing to be divided based on a target dividing line to obtain a target drawing with even spatial distribution, determines a distribution strategy based on target structure information of the target drawing, and performs distribution drawing on the target drawing according to the distribution strategy.
In the embodiment, initial structure information corresponding to a drawing to be divided is obtained, and a dividing point of the drawing to be divided is determined according to the initial structure information; determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information; dividing the drawing to be divided based on the target dividing line to obtain a target drawing; acquiring target structure information corresponding to the target drawing; and determining a stationing strategy corresponding to the target drawing according to the target structure information, and performing stationing drawing on the target drawing based on the stationing strategy. According to the method and the device, the initial structure information of the drawing to be divided is obtained, the dividing point of the drawing to be divided is determined according to the initial structure information, the target dividing line of the drawing to be divided is determined according to the dividing point and the initial structure information, the drawing to be divided is divided based on the target dividing line, the target drawing with uniform spatial distribution is obtained, and the target drawing is subjected to point distribution drawing according to the point distribution strategy, so that the efficiency and the accuracy of the point distribution drawing are improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a point distribution drawing method based on drawing segmentation according to a second embodiment of the present invention.
Based on the first embodiment, in this embodiment, the step S10 may include:
step S101: and acquiring initial structure information corresponding to the drawing to be segmented.
It should be noted that the drawing to be divided may be a drawing to be subjected to point distribution drawing, and the drawing to be divided may be a CAD drawing. The initial structure information may be spatial structure information of the drawing to be divided, for example, the initial structure information may include profile structure information, wall structure distribution information, beam structure distribution information, column structure distribution information, and the like of the drawing to be divided.
Step S102: and determining the beam column information of the drawing to be segmented according to the initial structure information.
It should be noted that the beam-column information may be beam structure distribution information and column structure distribution information in the building corresponding to the drawing to be divided.
It should be understood that, in order to perform the division accurately according to the initial structure information of the drawing to be divided, the drawing apparatus of the present embodiment determines the beam structure distribution information and the column structure distribution information of the drawing to be divided according to the initial structure information, thereby determining the division point of the drawing to be divided.
Step S103: and determining the segmentation point of the drawing to be segmented according to the beam column information.
It should be understood that, in order to accurately determine the dividing point of the drawing to be divided, the drawing device of this embodiment determines the beam structure distribution information and the column structure distribution information of the drawing to be divided according to the beam and column information, and then determines the dividing point of the drawing to be divided according to the beam and column information.
In the embodiment, the initial structure information corresponding to the drawing to be segmented is obtained; determining beam column information of the drawing to be segmented according to the initial structure information; and determining the segmentation point of the drawing to be segmented according to the beam column information. According to the method and the device, the beam column information of the drawing to be divided is determined according to the initial structure information of the drawing to be divided, and the dividing point of the drawing to be divided is determined according to the beam column information, so that the dividing point of the drawing to be divided is accurately obtained, and the drawing dividing efficiency is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a layout drawing method based on drawing segmentation according to a third embodiment of the present invention.
Based on the first embodiment, in this embodiment, the step S50 may include:
step S501: and acquiring coordinate information corresponding to the target drawing.
It should be noted that the coordinate information may be coordinate information of a spatial structure of the target drawing, and the coordinate information may include beam structure coordinate information, column structure coordinate information, axis structure coordinate information, wall structure coordinate information, and contour structure coordinate information.
Step S502: and determining wall beam information of the target drawing according to the target structure information.
It should be noted that the wall beam information may be the wall structure information and the beam structure information of the target drawing.
Step S503: and generating a grid model corresponding to the target drawing according to the coordinate information and the wall beam information.
The rasterization model may be a rasterized data model of the target drawing, and the drawing device performs rasterization on the spatial structure of the target drawing according to the coordinate information and the wall beam information to obtain the rasterized model corresponding to the target drawing.
Step S504: and determining an initial pre-arrangement point of the target drawing according to the rasterization model.
It should be noted that the initial pre-layout point may be an initial pre-layout point position of the target drawing, and the drawing device draws the pre-layout point according to an intersection point of two coordinate axes of the target drawing.
Step S505: and determining a stationing condition according to the wall beam information, and screening the initial pre-stationing point according to the stationing condition to obtain a target pre-stationing point.
It should be noted that the drawing device may determine the distance between the wall beams according to the wall beam information, determine the point arrangement condition according to the distance between the wall beams, perform hard constraint logical check on the initial pre-arrangement points according to the point arrangement condition, and delete the initial pre-arrangement points that do not satisfy the constraint condition, thereby obtaining the target pre-arrangement points.
It should be understood that if an area which does not cover the target pre-distribution point exists in the target drawing, a point distribution logic based on a clustering algorithm is obtained, and point distribution supplement is performed on the area which does not cover the pre-distribution point on the target drawing according to the point distribution logic.
Step S506: and determining a point distribution strategy corresponding to the target drawing according to the target structure information and the target pre-point distribution, and performing point distribution drawing on the target drawing based on the point distribution strategy.
The point distribution strategy may be a strategy of performing point distribution drawing on the target drawing paper, for example, the point distribution strategy may be a fire sprinkler point distribution strategy, and the like. The drawing equipment can accurately draw the points on the target drawing paper according to the point distribution strategy. The point distribution drawing can be drawing of point positions of fire-fighting spray heads.
It should be understood that, in order to accurately arrange a fire sprinkler system of a building, fire sprinkler distribution drawing needs to be accurately performed according to a drawing to be divided corresponding to the building, and due to the problems of complexity of the shape of the drawing to be divided and uneven distribution of a spatial structure, the drawing device of the embodiment divides the drawing to be divided based on a target dividing line to obtain a target drawing with even spatial distribution, determines a distribution strategy based on target structure information of the target drawing, and performs distribution drawing on the target drawing according to the distribution strategy.
In this embodiment, coordinate information corresponding to the target drawing is obtained; determining wall beam information of the target drawing according to the target structure information; generating a grid model corresponding to the target drawing according to the coordinate information and the wall beam information; determining an initial pre-arrangement point of the target drawing according to the rasterization model; determining a stationing condition according to the wall beam information, and screening the initial pre-stationing point according to the stationing condition to obtain a target pre-stationing point; and determining a stationing strategy corresponding to the target drawing according to the target structure information and the target pre-stationing, and performing stationing drawing on the target drawing based on the stationing strategy. According to the invention, the grid model corresponding to the target drawing is generated according to the coordinate information and the wall beam information of the target drawing, the initial pre-distribution point of the target drawing is determined according to the grid model, the distribution condition is determined according to the wall beam information, the initial pre-distribution point is screened according to the distribution condition, and the target pre-distribution point is obtained, so that the effectiveness and the accuracy of the pre-distribution point are ensured, the distribution strategy corresponding to the target drawing is determined according to the target structure information and the target pre-distribution point, and the distribution drawing is performed on the target drawing based on the distribution strategy, so that the standard and effective distribution drawing is realized, and the distribution drawing efficiency is improved.
In addition, an embodiment of the present invention further provides a storage medium, where the storage medium stores a layout drawing program based on drawing segmentation, and the layout drawing program based on drawing segmentation, when executed by a processor, implements the steps of the layout drawing method based on drawing segmentation as described above.
Since the storage medium adopts all technical solutions of all the above embodiments, at least all the beneficial effects brought by the technical solutions of the above embodiments are provided, and details are not repeated herein.
Referring to fig. 5, fig. 5 is a block diagram illustrating a first embodiment of a layout drawing apparatus according to the present invention.
As shown in fig. 5, a layout drawing apparatus based on drawing division according to an embodiment of the present invention includes:
the drawing segmentation module 10 is configured to obtain 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 dividing module 10 is further configured to determine a target dividing line of the drawing to be divided according to the dividing point and the initial structure information;
the drawing dividing module 10 is further configured to divide the drawing to be divided based on the target dividing line to obtain a target drawing;
a structure obtaining module 20, configured to obtain target structure information corresponding to the target drawing;
and the point arrangement drawing module 30 is configured to determine a point arrangement strategy corresponding to the target drawing according to the target structure information, and perform point arrangement drawing on the target drawing based on the point arrangement strategy.
Further, the drawing segmentation module 10 is further configured to obtain 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; and determining the segmentation point of the drawing to be segmented according to the beam column information.
Further, the drawing dividing module 10 is further configured to determine an initial dividing line of the drawing to be divided according to the dividing point and the initial structure information; determining an adjustment strategy corresponding to the initial dividing line according to the initial structure information and the beam column information; and adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the drawing to be segmented.
Further, the drawing segmentation module 10 is further configured to determine a to-be-deleted segmentation line in the initial segmentation line according to the initial structure information and the beam-column information; and determining an adjustment strategy corresponding to the initial dividing line according to the dividing line to be deleted and the beam column information.
Further, the drawing segmentation module 10 is further configured to determine a splitting strategy corresponding to the initial segmentation line according to the beam-column information; and determining an adjusting strategy corresponding to the initial dividing line according to the dividing line to be deleted, the splitting strategy and the beam column information.
Further, the drawing dividing module 10 is further configured to delete the to-be-deleted dividing line in the initial dividing lines according to the adjustment strategy, and obtain the deleted initial dividing line; splitting the deleted initial dividing line according to the adjusting strategy to obtain a split initial dividing line; and determining a line length threshold according to the adjustment strategy, and adjusting the split initial dividing line according to the line length threshold to obtain a target dividing line of the drawing to be divided.
Further, the stationing and drawing module 30 is further configured to obtain coordinate information corresponding to the target drawing; determining wall beam information of the target drawing according to the target structure information; generating a grid model corresponding to the target drawing according to the coordinate information and the wall beam information; determining an initial pre-arrangement point of the target drawing according to the rasterized model; determining a stationing condition according to the wall beam information, and screening the initial pre-stationing point according to the stationing condition to obtain a target pre-stationing point; and determining a point distribution strategy corresponding to the target drawing according to the target structure information and the target pre-point distribution, and performing point distribution drawing on the target drawing based on the point distribution strategy.
In the embodiment, initial structure information corresponding to a drawing to be divided is obtained, and a dividing point of the drawing to be divided is determined according to the initial structure information; determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information; dividing the drawing to be divided based on the target dividing line to obtain a target drawing; acquiring target structure information corresponding to the target drawing; and determining a stationing strategy corresponding to the target drawing according to the target structure information, and performing stationing drawing on the target drawing based on the stationing strategy. According to the method and the device, the initial structure information of the drawing to be divided is obtained, the dividing point of the drawing to be divided is determined according to the initial structure information, the target dividing line of the drawing to be divided is determined according to the dividing point and the initial structure information, the drawing to be divided is divided based on the target dividing line, the target drawing with uniform spatial distribution is obtained, and the target drawing is subjected to point distribution drawing according to the point distribution strategy, so that the efficiency and the accuracy of the point distribution drawing are improved.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the point distribution drawing method based on drawing segmentation provided in any embodiment of the present invention, and are not described herein again.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. a Read Only Memory (ROM)/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A point arrangement drawing method based on drawing segmentation is characterized by comprising the following steps:
acquiring initial structure information corresponding to a drawing to be segmented, and determining segmentation points of the drawing to be segmented according to the initial structure information;
determining a target dividing line of the drawing to be divided according to the dividing point and the initial structure information;
dividing the drawing to be divided based on the target dividing line to obtain a target drawing;
acquiring target structure information corresponding to the target drawing;
and 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.
2. The point placement and drawing method based on drawing segmentation as claimed in claim 1, wherein the obtaining of initial structure information corresponding to the drawing to be segmented and the determination of the segmentation point of the drawing to be segmented according to the initial structure information comprises:
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;
and determining the segmentation point of the drawing to be segmented according to the beam column information.
3. The point placement drawing method based on drawing segmentation as claimed in claim 2, wherein the determining the target segmentation line of the drawing to be segmented according to the segmentation point and the initial structure information includes:
determining an initial dividing line of the drawing to be divided according to the dividing point and the initial structure information;
determining an adjustment strategy corresponding to the initial dividing line according to the initial structure information and the beam column information;
and adjusting the initial segmentation line according to the adjustment strategy to obtain a target segmentation line of the drawing to be segmented.
4. The point distribution drawing method based on drawing segmentation as claimed in claim 3, wherein the determining an adjustment strategy corresponding to an initial segmentation line according to the initial structure information and the beam-column information includes:
determining a division line to be deleted in the initial division lines according to the initial structure information and the beam column information;
and determining an adjustment strategy corresponding to the initial dividing line according to the dividing line to be deleted and the beam column information.
5. The point placement drawing method based on drawing segmentation as claimed in claim 4, wherein the determining the adjustment strategy corresponding to the initial segmentation line according to the segmentation line to be deleted and the beam-column information includes:
determining a splitting strategy corresponding to the initial splitting line according to the beam-column information;
and determining an adjusting strategy corresponding to the initial dividing line according to the dividing line to be deleted, the splitting strategy and the beam column information.
6. The point distribution drawing method based on drawing segmentation as claimed in claim 5, wherein the adjusting the initial segmentation line according to the adjustment policy to obtain the target segmentation line of the drawing to be segmented comprises:
deleting the division lines to be deleted in the initial division lines according to the adjustment strategy to obtain deleted initial division lines;
splitting the deleted initial dividing line according to the adjusting strategy to obtain a split initial dividing line;
and determining a line length threshold according to the adjustment strategy, and adjusting the split initial dividing line according to the line length threshold to obtain a target dividing line of the drawing to be divided.
7. The layout drawing method based on drawing segmentation as claimed in any one of claims 1 to 6, wherein the determining a layout strategy corresponding to the target drawing according to the target structure information and performing layout drawing on the target drawing based on the layout strategy includes:
acquiring coordinate information corresponding to the target drawing;
determining wall beam information of the target drawing according to the target structure information;
generating a grid model corresponding to the target drawing according to the coordinate information and the wall beam information;
determining an initial pre-arrangement point of the target drawing according to the rasterized model;
determining a stationing condition according to the wall beam information, and screening the initial pre-stationing point according to the stationing condition to obtain a target pre-stationing point;
and determining a point distribution strategy corresponding to the target drawing according to the target structure information and the target pre-point distribution, and performing point distribution drawing on the target drawing based on the point distribution strategy.
8. The utility model provides a point arrangement drawing device based on drawing is cut apart which characterized in that, the point arrangement drawing device based on drawing is cut apart includes:
the drawing dividing module is used for acquiring initial structure information corresponding to a drawing to be divided and determining a dividing point of the drawing to be divided according to the initial structure information;
the drawing segmentation module is further used for determining a target segmentation line of the drawing to be segmented according to the segmentation point and the initial structure information;
the drawing dividing module is further used for dividing the drawing to be divided based on the target dividing line to obtain a target drawing;
the structure acquisition module is used for acquiring target structure information corresponding to the target drawing;
and the point arrangement drawing module is used for determining a point arrangement strategy corresponding to the target drawing according to the target structure information and carrying out point arrangement drawing on the target drawing based on the point arrangement strategy.
9. A layout drawing device based on drawing segmentation is characterized by comprising: a memory, a processor, and a drawing-segmentation-based stationing rendering program stored on the memory and executable on the processor, the drawing-segmentation-based stationing rendering program configured to implement the drawing-segmentation-based stationing rendering method of any one of claims 1 to 7.
10. A storage medium, wherein a point placement drawing program based on drawing segmentation is stored on the storage medium, and when executed by a processor, the point placement drawing program based on drawing segmentation implements the point placement drawing method based on drawing segmentation according to any one of claims 1 to 7.
CN202210796719.5A 2022-07-05 2022-07-05 Layout drawing method, device, equipment and storage medium based on drawing segmentation Pending CN115249303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210796719.5A CN115249303A (en) 2022-07-05 2022-07-05 Layout drawing method, device, equipment and storage medium based on drawing segmentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210796719.5A CN115249303A (en) 2022-07-05 2022-07-05 Layout drawing method, device, equipment and storage medium based on drawing segmentation

Publications (1)

Publication Number Publication Date
CN115249303A true CN115249303A (en) 2022-10-28

Family

ID=83700656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210796719.5A Pending CN115249303A (en) 2022-07-05 2022-07-05 Layout drawing method, device, equipment and storage medium based on drawing segmentation

Country Status (1)

Country Link
CN (1) CN115249303A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473588A (en) * 2023-12-26 2024-01-30 合肥坤颐建筑科技合伙企业(有限合伙) Nozzle arrangement method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117473588A (en) * 2023-12-26 2024-01-30 合肥坤颐建筑科技合伙企业(有限合伙) Nozzle arrangement method, device, equipment and storage medium
CN117473588B (en) * 2023-12-26 2024-04-02 合肥坤颐建筑科技合伙企业(有限合伙) Nozzle arrangement method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110516370B (en) Prefabricated part deepening drawing generation method and device, computer equipment and medium
CN106408604A (en) Filtering method and device for point cloud data
KR102082541B1 (en) Selecting and editing visual elements with attribute groups
US10950017B2 (en) Glyph weight modification
JPH07160827A (en) Handwritten stroke editing device and method therefor
CN109753641B (en) Method and device for changing object position, electronic equipment and storage medium
CN113010937A (en) Parametric modeling method of member section steel bar and related device
CN107564077B (en) method and device for drawing road network
US20070195095A1 (en) Applying effects to a merged text path
CN115017569A (en) Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium
CN115249303A (en) Layout drawing method, device, equipment and storage medium based on drawing segmentation
CN115292778A (en) Wall disassembling method, device, equipment and storage medium
CN114241032A (en) Area analysis-based region division method, device, equipment and storage medium
CN112287432A (en) Target area acquisition method and device, computer equipment and storage medium
CN115270242B (en) BIM-based basic big sample reinforcement map generation method, equipment and readable medium
CN108920785A (en) A kind of monomeric complex model regularization modeling method and system
CN111426329B (en) Road generation method and device, computer equipment and storage medium
CN113126866A (en) Object determination method and device, electronic equipment and storage medium
CN114444185A (en) In-situ labeling identification method and device and electronic equipment
CN106548501B (en) Image drawing method and device
CN114692240A (en) CAD drawing method and device, storage medium and computer equipment
CN108665514B (en) Font dividing method and font dividing device
CN114428984A (en) Wall processing method and device in model, computer equipment and storage medium
Buzer Optimal simplification of polygonal chains for subpixel-accurate rendering
CN117407964B (en) BIM parameterization design method for foundation pit of open-cut tunnel based on two-dimensional and three-dimensional interaction

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