JP-7856522-B2 - Drawing processing device, drawing processing method, and program
Inventors
- 笹川 和彦
- 大山 巧
- 古川 慧
- 宮下 裕貴
- 三戸 景資
Assignees
- 清水建設株式会社
Dates
- Publication Date
- 20260511
- Application Date
- 20220808
Claims (7)
- An object detection unit that detects objects contained in a raster-format drawing obtained by converting a vector-format drawing containing objects into a raster-format drawing, and determines movement constraint conditions determined according to the attributes of each detected object, If objects detected by the object detection unit are duplicates, the movement setting unit selects the objects to be moved in order from those with the lowest degree of freedom of movement based on the movement constraints set for each object, and sets the destination for each selected object to be moved so as not to overlap with other objects. A drawing processing apparatus comprising: a movement instruction information generation unit that generates movement instruction information for moving an object in a vector-format drawing according to the destination of the object set by the movement setting unit.
- The drawing processing apparatus according to claim 1, wherein, if there are objects with the same degree of freedom of movement under the movement constraints, the movement setting unit selects the object with the larger area first as the target for setting the movement destination.
- The drawing processing apparatus according to claim 1 or 2, wherein the movement setting unit sets the destination to a position that has the shortest movement distance from among positions where the object to be moved does not overlap with other objects, or a position that is further separated by a predetermined distance from the position with the shortest movement distance.
- The vector-format drawing is converted to a raster-format drawing after a predetermined color is assigned to each object according to the movement restriction pattern determined by the attributes. The drawing processing apparatus according to claim 1 or 2, wherein the object detection unit determines movement constraint conditions based on the color of the object being drawn on the object.
- The drawing processing apparatus according to claim 1 or 2, wherein the object detection unit detects the object using a trained model that has been trained by inputting an image of the object as training data.
- An object detection step involves converting a vector-format drawing containing objects into a raster format, detecting objects contained in the resulting raster-format drawing, and determining movement constraint conditions determined according to the attributes of each detected object. If objects detected in the object detection step are duplicates, the movement setting step selects the objects to be moved in order from those with the lowest degree of freedom of movement based on the movement constraints set for each object, and sets the destination for each selected object to be moved so as not to overlap with other objects. A drawing processing method comprising: a movement instruction information generation step, which generates movement instruction information for moving an object in a vector-format drawing according to the destination of the object set in the movement setting step.
- Computers as drawing processing devices, An object detection unit that detects objects contained in a raster-format drawing obtained by converting a vector-format drawing containing objects to a raster-format drawing, and determines movement constraint conditions determined according to the attributes of each detected object. If objects detected by the object detection unit are duplicates, the movement setting unit selects the objects to be moved in order from those with the lowest degree of freedom of movement based on the movement constraints set for each object, and sets the destination for each selected object to be moved so as not to overlap with other objects. A program to function as a movement instruction information generation unit, which generates movement instruction information to move an object in the vector-format drawing according to the destination of the object set by the movement setting unit.
Description
This invention relates to a drawing processing device, a drawing processing method, and a program. Techniques for extracting two-dimensional images from three-dimensional CAD (Computer-Aided Design) models are known (see, for example, Patent Document 1). Japanese Patent Publication No. 2021-021669 This figure shows an example of the configuration of a drawing processing device according to the first embodiment.This figure shows an example of training data corresponding to the object detection unit according to the first embodiment.This figure illustrates a specific example of the relationship between the functional attributes and movement attributes of an object according to the first embodiment.This figure shows an example of the object detection result by the object detection unit according to the first embodiment.This diagram illustrates the relationship between the destination setting and the distance traveled for duplicate objects according to the first embodiment.This figure illustrates a specific example of destination setting by the movement setting unit according to the first embodiment.This flowchart shows an example of a processing procedure performed by the drafting application unit in the drawing processing apparatus according to the first embodiment, in relation to drawing dimension conversion.This flowchart shows an example of a processing procedure performed by the modification application unit and the drafting application unit in the drawing processing apparatus according to the first embodiment, in relation to the correction of duplicates in a vector-format two-dimensional drawing.This flowchart shows an example of a processing procedure for setting a destination according to the first embodiment.This figure shows a specific example of object duplication correction according to the first embodiment.This figure shows a specific example of object duplication correction according to the first embodiment.This figure shows a specific example of object duplication correction according to the first embodiment.This figure shows an example of setting color range divisions according to the movement attributes of an object according to the second embodiment.This figure shows an example of setting dividing lines for a two-dimensional drawing in vector format according to the third embodiment. <First Embodiment> [Example of drawing processing device configuration] Figure 1 shows an example of the functional configuration of the drawing processing device 100 in this embodiment. The functions of the drawing processing device 100 in the figure are realized by the execution of programs by the CPU (Central Processing Unit) and GPU (Graphics Processing Unit) that are provided as hardware in the drawing processing device 100. The drawing processing device 100 may be implemented by installing a drafting application and a modification application on a computer device such as a personal computer. The drafting application may be, for example, a BIM (Building Information Modeling) or CAD application that allows for the creation of drawings of buildings, steel structures, etc., in a three-dimensional environment. The drafting application of this embodiment is capable of creating drawings (3D drawings) in a 3D environment. Furthermore, the drafting application can convert 3D drawings (an example of a drawing) into 2D drawings. The 2D drawings handled by the drafting application (an example of a drawing) are, for example, vector data created using 2D CAD. Three-dimensional drawings offer the advantage of allowing for a three-dimensional understanding of the designed building's structure, ensuring drawing consistency, and facilitating various checks such as interference and gradient verification. However, at construction sites, two-dimensional cross-sectional drawings are often more practical. Drafting applications, by having the functionality to convert three-dimensional drawings into two-dimensional drawings, can provide the two-dimensional drawings needed for on-site use. The modification application is used to modify a vector-based 2D drawing to eliminate duplicate objects, and it configures settings related to the movement of objects for modification. In a three-dimensional space as a 3D drawing, not only are the materials used in the construction of a building included, but also a large amount of various ancillary information, such as the dimensions of each part and the product codes of the materials. In a 2D drawing converted from a 3D drawing, it is common to represent this ancillary information on the drawing, so objects of a large amount of ancillary information are placed on the 2D plane, resulting in object duplication. Duplicate objects are difficult for contractors to see, potentially leading to misinterpretations of drawings and reducing the efficiency of construction work. Therefore, it is necessary to move duplicate objects in 2D drawings to prevent duplication. However, manually moving objects in 2D