CN113971709A - Automatic drawing method for wall-mounted component of CAD electrical construction plan - Google Patents

Automatic drawing method for wall-mounted component of CAD electrical construction plan Download PDF

Info

Publication number
CN113971709A
CN113971709A CN202111245144.XA CN202111245144A CN113971709A CN 113971709 A CN113971709 A CN 113971709A CN 202111245144 A CN202111245144 A CN 202111245144A CN 113971709 A CN113971709 A CN 113971709A
Authority
CN
China
Prior art keywords
wall
cad
component
electrical
construction plan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111245144.XA
Other languages
Chinese (zh)
Other versions
CN113971709B (en
Inventor
张璐
李一帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pinlan Hangzhou 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 CN202111245144.XA priority Critical patent/CN113971709B/en
Publication of CN113971709A publication Critical patent/CN113971709A/en
Application granted granted Critical
Publication of CN113971709B publication Critical patent/CN113971709B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

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

Abstract

The invention belongs to the technical field of engineering drawing, and discloses an automatic drawing method of a wall-mounted component of a CAD electrical construction plan view, which comprises the following specific operations: s1, firstly, combing the design idea of the electrical professional construction drawing in the drawing process by professionals according to national specifications and design experiences of many years to form a standard document of diversified design. The automatic drawing method for the wall-mounted component of the CAD electrical construction plan view can quickly and accurately finish drawing the wall-mounted component of the electrical construction plan view according to the design specification, is an important ring for assisting in realizing automatic drawing, can be used for various spaces, is also suitable for drawings of different types, has a wide integral application range, greatly reduces repeated workload of workers by means of assistance of related operating tools, and greatly improves the integral efficiency.

Description

Automatic drawing method for wall-mounted component of CAD electrical construction plan
Technical Field
The invention belongs to the technical field of engineering drawing, and particularly relates to an automatic drawing method for a wall-mounted component of a CAD electrical construction plan.
Background
The CAD construction drawing is a drawing which shows the overall layout of engineering projects, the external shape, the internal arrangement, the structural structure, the internal and external decoration, the material method, the equipment, the construction and the like of a building and is made by using AutoCAD software, has the characteristics of complete drawings, accurate expression and specific requirements, is a basis for engineering construction, construction drawing budget planning and construction organization design, and is an important technical document for technical management.
The content related to the electrical construction drawing is different according to different functions of buildings, and mainly comprises the aspects of power supply and distribution, power and illumination, lightning protection and grounding, building weak current and the like of the buildings so as to express different electrical design contents.
The electrical construction drawing has the characteristics that:
1. the building electrical engineering drawing is mostly drawn by adopting uniform graphic symbols and adding character symbols;
2. the electrical lines must all form a closed circuit;
3. various devices and elements in the circuit are connected into a whole through leads;
4. reading corresponding civil engineering drawing and other installation engineering drawing when the building electrical engineering drawing is read so as to know the matching relationship between the civil engineering drawing and the other installation engineering drawing;
5. technical requirements of the construction electrical engineering drawing on the installation method and quality requirements of equipment in the aspect of use and maintenance cannot be completely reflected, so that the problems of the pipe installation method, the technical requirements and the like are required to refer to a relevant drawing set and specifications when all drawing sheets are used.
The electrical construction drawing of the building residence is a drawing which is contracted by a design institute according to a designed building base drawing and designed in a series of electrical aspects according to national standards and can be used for guiding electrical construction.
With the rise of artificial intelligence, a large wave of projects participated by human can be replaced by the artificial intelligence, wherein the CAD electrical construction drawing is a time-consuming and labor-consuming repetitive work. In order to provide a CAD electrical construction plan which meets the national standard more quickly and efficiently, the invention provides an automatic drawing method of a CAD electrical construction plan component, which can assist artificial intelligence to replace manual work to provide the CAD electrical construction plan quickly and efficiently.
Disclosure of Invention
The invention aims to solve the problems, and provides an automatic drawing method for wall-mounted components of CAD electrical construction plan views, which has the advantages of high drawing efficiency and intellectualization.
In order to achieve the purpose, the invention provides the following technical scheme: the automatic drawing method of the wall-mounted component of the CAD electrical construction plan comprises the following specific operations:
s1, firstly, combing the design idea of the electrical professional construction drawing in the drawing process by professionals according to national specifications and years of design experience to form a standard document of diversified design;
s2, obtaining information of wall lines, doors, windows and other graphic primitives on the CAD building plane drawing by the butt-joint CAD analysis service;
s3, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling, recording the graphics primitives obtained in the S1 step to be drawn on the picture according to the same scale, obtaining the outline of each closed space by using an image processing method and combining an image segmentation technology, and recording the outline coordinate information of each space to enter the next step;
s4, drawing other component primitives analyzed in the step S2 on the same picture according to the picture scaling, and detecting and identifying components on the picture by using a computer vision target detection model and a classification model;
s5, finding out a specific space outline according to a standard document and a design logic in the document, wherein the standard document is combed by professionals, common electric elements are usually placed close to a wall or hung or mounted on the ground, and the processing mode of components placed close to the wall is as follows: extending a certain threshold (the threshold is determined by national regulations and common wall thickness), and finding all wall lines in the extended space;
s6, removing the wall wires with the identified components according to the design logic specification, finding one wall wire which best meets the component installation position from the wall wires with the rest of the installable components as the final installation wire of the electric components, and entering the next step;
s7, determining the installation rotation angle of the electrical component in the standard gallery according to the slope of the installation wall line of the electrical component in the step S5, and entering the next step;
s8, expanding outwards along the vertical direction of the length of the wall line to form a rectangular space, determining the distance of the expansion by the width of the electrical component of the rotating labeled graphic library, and after expanding outwards on both sides, judging whether the expanded area and the component installation space have intersection by using a shape library to enter the next step;
s9, acquiring coordinates of 4 corner points of a rectangle on one side with an intersection with the space, taking the uppermost point and the leftmost point as a final insertion drawing point of the electric component to be drawn, and completing automatic drawing of the wall-close component in the plane drawing;
the invention provides an automatic drawing method of a CAD electrical construction plane drawing component, mainly solving the problem that an electrical component symbol in the CAD electrical construction plane drawing obtained by artificial intelligence is automatically placed at a corresponding position and is an important ring in the CAD electrical construction plane drawing obtained by artificial intelligence.
In a preferred technical scheme of the invention, in the step S1, the indoor electric meter box should be placed on a light wall near an entrance of each house and far away from a space where water exists, such as a bathroom, and the electric meter box is used as a summary processing device of a household power switch and is arranged at the entrance, so that on one hand, relevant personnel can complete the on and off of the whole power supply when entering the house, and on the other hand, the electric meter box is far away from a water source, and therefore, the electric meter box is safer.
As a preferred technical solution of the present invention, in the step S2, the primitive specifically refers to a basic graph such as a dotted line, an arc line, and the like when drawing a CAD drawing, and a wall, a door, a window, a pillar, and the like enclose a specific enclosed space to form a building outline, and originally dispersed components are combined into an individual enclosed space by using a primitive structure, so that a frame of the whole building structure can be quickly determined by using the enclosed space, and the method is not only clear in order, but also convenient and easy to operate.
As a preferred technical solution of the present invention, in step S4, the component position machine category information on the architectural base map such as doors, windows, wash-basin and the like on the CAD drawing can be obtained for the picture processing by the computer vision target detection model and the classification model.
As a preferred technical solution of the present invention, in step S3, a png black base map with an equal scaling needs to be created in advance, and the obtained primitive is drawn on the black base map.
As a preferred embodiment of the present invention, in step S8, the standard electrical legend is translated according to the coordinate position of the insertion point, thereby completing the automatic drawing of the wall-mounted component.
Compared with the prior art, the invention has the following beneficial effects:
1. the automatic drawing method for the wall-mounted component of the CAD electrical construction plan view can quickly and accurately finish drawing the wall-mounted component of the electrical construction plan view according to the design specification, is an important ring for assisting in realizing automatic drawing, can be used for various spaces, is also suitable for drawings of different types, has a wide integral application range, greatly reduces repeated workload of workers by means of assistance of related operating tools, and greatly improves the integral efficiency.
Drawings
FIG. 1 is a schematic view of the overall working process of the present invention;
FIG. 2 is a schematic diagram of the segmentation result of the closed space contour according to the present invention;
FIG. 3 is a schematic diagram of the identification result of the architectural base map component of the present invention;
FIG. 4 is a schematic diagram of wall lines found according to the logic of the present invention;
FIG. 5 is a schematic view of the wall line of the present invention extending within the space;
FIG. 6 is a diagram illustrating the final rendering result of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1 to 6, the present invention provides an automatic drawing method for a CAD electrical construction plan wall-mounted component, which specifically comprises the following operations:
s1, firstly, combing the design idea of the electrical professional construction drawing in the drawing process by professionals according to national specifications and years of design experience to form a standard document of diversified design;
s2, obtaining information of wall lines, doors, windows and other graphic primitives on the CAD building plane drawing by the butt-joint CAD analysis service;
s3, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling, recording the graphics primitives obtained in the S1 step to be drawn on the picture according to the same scale, obtaining the outline of each closed space by using an image processing method and combining an image segmentation technology, and recording the outline coordinate information of each space to enter the next step;
s4, drawing other component primitives analyzed in the step S2 on the same picture according to the picture scaling, and detecting and identifying components on the picture by using a computer vision target detection model and a classification model;
s5, finding out a specific space outline according to a standard document and a design logic in the document, wherein the standard document is combed by professionals, common electric elements are usually placed close to a wall or hung or mounted on the ground, and the processing mode of components placed close to the wall is as follows: extending a certain threshold (the threshold is determined by national regulations and common wall thickness), and finding all wall lines in the extended space;
s6, removing the wall wires with the identified components according to the design logic specification, finding one wall wire which best meets the component installation position from the wall wires with the rest of the installable components as the final installation wire of the electric components, and entering the next step;
s7, determining the installation rotation angle of the electrical component in the standard gallery according to the slope of the installation wall line of the electrical component in the step S5, and entering the next step;
s8, expanding outwards along the vertical direction of the length of the wall line to form a rectangular space, determining the distance of the expansion by the width of the electrical component of the rotating labeled graphic library, and after expanding outwards on both sides, judging whether the expanded area and the component installation space have intersection by using a shape library to enter the next step;
s9, acquiring coordinates of 4 corner points of a rectangle on one side with an intersection with the space, taking the uppermost point and the leftmost point as a final insertion drawing point of the electric component to be drawn, and completing automatic drawing of the wall-close component in the plane drawing;
the invention provides an automatic drawing method of a CAD electrical construction plane drawing component, mainly solving the problem that an electrical component symbol in the CAD electrical construction plane drawing obtained by artificial intelligence is automatically placed at a corresponding position and is an important ring in the CAD electrical construction plane drawing obtained by artificial intelligence.
In the step S1, the indoor electric meter box should be placed on a light wall near an entrance of each house and far away from a space where water exists, such as a bathroom and a bathroom, and the electric meter box is used as a summary processing device of a household power switch and is arranged at the entrance, so that on one hand, related personnel can conveniently enter the house to complete the on and off of the whole power supply, and on the other hand, the electric meter box is far away from a water source, and the electric meter box is safer.
Wherein, primitive specifically indicates basic figure such as dotted line arc line when drawing the CAD drawing in the S2 step, and wall, door, window, post etc. enclose into specific enclosure space and have formed the building profile, utilizes the primitive structure to assemble into individual confined space with dispersed part originally, just so can utilize the enclosure space to confirm whole building structure' S frame fast, and not only the order is clear, and convenient operation is easy simultaneously.
In the step S4, the image processing is performed by using the computer vision target detection model and the classification model, so that the component position machine classification information on the architectural base map such as doors, windows, wash basins and the like on the CAD drawing can be obtained.
In step S3, a png black base map with an equal scaling needs to be created in advance, and the obtained primitive is drawn on the black base map.
In step S8, the standard electrical legend is translated according to the coordinate position of the insertion point, thereby completing the automatic drawing of the wall-mounted component.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. A CAD electrical construction plan wall-mounted component automatic drawing method is characterized in that: the automatic drawing method of the wall-mounted component of the CAD electrical construction plan specifically comprises the following operations:
s1, firstly, combing the design idea of the electrical professional construction drawing in the drawing process by professionals according to national specifications and years of design experience to form a standard document of diversified design;
s2, obtaining information of wall lines, doors, windows and other graphic primitives on the CAD building plane drawing by the butt-joint CAD analysis service;
s3, scaling the CAD drawing frame to a picture with a fixed scale, recording the scaling, recording the graphics primitives obtained in the S1 step to be drawn on the picture according to the same scale, obtaining the outline of each closed space by using an image processing method and combining an image segmentation technology, and recording the outline coordinate information of each space to enter the next step;
s4, drawing other component primitives analyzed in the step S2 on the same picture according to the picture scaling, and detecting and identifying components on the picture by using a computer vision target detection model and a classification model;
s5, finding out a specific space outline according to a diversified standard document combed by a professional and a design logic in the document;
s6, removing the wall wires with the identified components according to the design logic specification, finding one wall wire which best meets the component installation position from the wall wires with the rest of the installable components as the final installation wire of the electric components, and entering the next step;
s7, determining the installation rotation angle of the electrical component in the standard gallery according to the slope of the installation wall line of the electrical component in the step S5, and entering the next step;
s8, expanding outwards along the vertical direction of the length of the wall line to form a rectangular space, determining the distance of the expansion by the width of the electrical component of the rotating labeled graphic library, and after expanding outwards on both sides, judging whether the expanded area and the component installation space have intersection by using a shape library to enter the next step;
and S9, acquiring coordinates of 4 corner points of a rectangle on one side with an intersection with the inside of the space, taking the uppermost point and the leftmost point as final insertion drawing points of the electric component to be drawn, and completing automatic drawing of the wall-close component in the plane drawing.
2. The automatic drawing method of the wall-mounted member of the CAD electrical construction plan view according to claim 1, wherein: the indoor electricity meter box in the step S1 should be placed on a light wall near an entrance of each house and far away from a bathroom or the like where water exists.
3. The automatic drawing method of the wall-mounted member of the CAD electrical construction plan view according to claim 1, wherein: in the step S2, the primitive specifically refers to basic figures such as dotted lines, arcs, and the like when the CAD drawing is drawn, and walls, doors, windows, pillars, and the like enclose a specific closed space to form a building outline.
4. The automatic drawing method of the wall-mounted member of the CAD electrical construction plan view according to claim 1, wherein: and in the step S4, the image processing is performed through a computer vision target detection model and a classification model, so that the component position machine type information on building base drawings such as doors, windows, wash basins and the like on the CAD drawing can be obtained.
5. The automatic drawing method of the wall-mounted member of the CAD electrical construction plan view according to claim 1, wherein: in the step S3, a png black base map with an equal scaling needs to be created in advance, and the obtained primitive is drawn on the black base map.
6. The automatic drawing method of the wall-mounted member of the CAD electrical construction plan view according to claim 1, wherein: in step S8, the standard electrical legend is translated according to the coordinate position of the insertion point, and the automatic drawing of the wall-mounted component is completed.
CN202111245144.XA 2021-10-26 2021-10-26 Automatic drawing method for CAD electric construction plan wall-mounted component Active CN113971709B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111245144.XA CN113971709B (en) 2021-10-26 2021-10-26 Automatic drawing method for CAD electric construction plan wall-mounted component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111245144.XA CN113971709B (en) 2021-10-26 2021-10-26 Automatic drawing method for CAD electric construction plan wall-mounted component

Publications (2)

Publication Number Publication Date
CN113971709A true CN113971709A (en) 2022-01-25
CN113971709B CN113971709B (en) 2024-04-26

Family

ID=79588534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111245144.XA Active CN113971709B (en) 2021-10-26 2021-10-26 Automatic drawing method for CAD electric construction plan wall-mounted component

Country Status (1)

Country Link
CN (1) CN113971709B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973299A (en) * 2022-08-01 2022-08-30 万翼科技有限公司 Building drawing component identification method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050080502A1 (en) * 2003-10-14 2005-04-14 Chernyak Alex H. PLM-supportive CAD-CAM tool for interoperative electrical & mechanical design for hardware electrical systems
US20130179206A1 (en) * 2011-02-21 2013-07-11 Guy A. Harper System And Method For Multi-Verifiable, As-Built Construction Modeling
CN110909650A (en) * 2019-11-15 2020-03-24 清华大学 CAD drawing identification method and device based on domain knowledge and target detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050080502A1 (en) * 2003-10-14 2005-04-14 Chernyak Alex H. PLM-supportive CAD-CAM tool for interoperative electrical & mechanical design for hardware electrical systems
US20130179206A1 (en) * 2011-02-21 2013-07-11 Guy A. Harper System And Method For Multi-Verifiable, As-Built Construction Modeling
CN110909650A (en) * 2019-11-15 2020-03-24 清华大学 CAD drawing identification method and device based on domain knowledge and target detection

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
齐保良;蔺玉璞;杨秀芝;汪晴晴;: "Revit三维模型中房间信息的自动标注方法", 计算机系统应用, no. 05, 15 May 2020 (2020-05-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114973299A (en) * 2022-08-01 2022-08-30 万翼科技有限公司 Building drawing component identification method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113971709B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
Adán et al. Scan-to-BIM for ‘secondary’building components
Ochmann et al. Automatic reconstruction of parametric building models from indoor point clouds
US20110218777A1 (en) System and method for generating a building information model
CN112883801A (en) Accurate identification method for household distribution box system diagram subgraph in CAD distribution system diagram
CN111008597A (en) Space identification method and device for CAD drawing, electronic equipment and storage medium
CN103940824B (en) A kind of aerial electric transmission line isolator detection method
CN111754526B (en) House type graph dividing method, household type graph classifying method, household type graph dividing device, household type graph dividing equipment and storage medium
CN114022895B (en) Accurate identification method for house type in building professional residence plan
CN112883799A (en) Method for accurately identifying slope in CAD (computer-aided design) slope big sample graph
Wang et al. Accurate facade feature extraction method for buildings from three-dimensional point cloud data considering structural information
CN113971709A (en) Automatic drawing method for wall-mounted component of CAD electrical construction plan
CN106898246A (en) A kind of generation method of indoor map and generation system
Yin et al. Automatic layer classification method-based elevation recognition in architectural drawings for reconstruction of 3D BIM models
CN114972659B (en) Method and system for converting two-dimensional drawing into three-dimensional model for drawing examination
CN111046459A (en) Building model image design method based on 3D software
CN113962000A (en) Method for dynamically arranging smoke detectors in CAD (computer-aided design) drawing
CN114022894B (en) Method for accurately identifying stairway front room in CAD drawing
CN113887508A (en) Method for accurately identifying center line of public corridor space in building professional residential plan
CN116595612A (en) Drawing intelligent examination method and system based on house design specification
EP3156856B1 (en) Building automation for a building with technical devices in physical zones, using a data structure with device-to-zone assignment obtained by image processing
Ergun A novel 3D geometric object filtering function for application in indoor area with terrestrial laser scanning data
CN111859510B (en) Room quick replacement method and intelligent terminal
CN113886929B (en) Automatic arrangement method for evacuation indicator lamps in CAD (computer aided design) illumination plan
CN112200095A (en) Automatic identification method for electrical switch based on building drawing
CN113160385B (en) Pipeline three-dimensional modeling method and device based on graphic file and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Room 2101-2105, No. 501, 2nd Street, Baiyang Street, Qiantang District, Hangzhou City, Zhejiang Province 310018

Patentee after: Pinlan (Hangzhou) Technology Co.,Ltd.

Country or region after: China

Address before: 200000 rooms 801 and 805, No. 55, Lane 777, Guangzhong West Road, Jing'an District, Shanghai

Patentee before: Shanghai Pinlan Data Technology Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address