CN112507434A - Method for drawing construction drawing based on extensible drawing model - Google Patents

Method for drawing construction drawing based on extensible drawing model Download PDF

Info

Publication number
CN112507434A
CN112507434A CN202011418839.9A CN202011418839A CN112507434A CN 112507434 A CN112507434 A CN 112507434A CN 202011418839 A CN202011418839 A CN 202011418839A CN 112507434 A CN112507434 A CN 112507434A
Authority
CN
China
Prior art keywords
data
target
equipment
construction
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
CN202011418839.9A
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.)
Shenzhen Anguan Tech Co ltd
Original Assignee
Shenzhen Anguan Tech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Anguan Tech Co ltd filed Critical Shenzhen Anguan Tech Co ltd
Priority to CN202011418839.9A priority Critical patent/CN112507434A/en
Publication of CN112507434A publication Critical patent/CN112507434A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

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

Abstract

The invention discloses a method for drawing construction drawings based on an extensible drawing model, which comprises the steps of obtaining equipment data and user selection data; determining target model data from the user selection data and mapping device data from the device data; and drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing. According to the invention, the preset data models are used for respectively storing the drawing methods of various construction drawings, a user only needs to input basic data of various equipment for drawing the construction drawings, the system can determine the equipment required to be generated on the construction drawings expected by the user and information such as drawing positions, sizes, colors and the like of the equipment through the corresponding data models and the basic data of the various equipment, and the construction drawings are generated according to the drawing methods corresponding to the various construction drawings. The problem of drawing construction drawing among the prior art need consume a large amount of manpowers is solved.

Description

Method for drawing construction drawing based on extensible drawing model
Technical Field
The invention relates to the field of architectural drawing, in particular to a method for drawing construction drawings based on an extensible drawing model.
Background
The construction drawing drawn by the traditional drawing mode needs a user to install a professional drawing program and draw the construction drawing on software, and then drawing is carried out by dragging, pulling and dragging a drawing control according to an interactive interface of the drawing program. Therefore, each construction drawing needs to be drawn manually in the traditional drawing mode, and when the construction drawing needs to be changed, no matter the change range is large or small, a professional person needs to modify the construction drawing in person, so that a large amount of human resource cost needs to be consumed for drawing the construction drawing in the prior art.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The invention aims to solve the technical problem that a construction drawing is drawn based on an extensible drawing model aiming at the defects in the prior art, and aims to solve the problem that a large amount of manpower is consumed for drawing the construction drawing in the prior art.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for drawing a construction drawing based on an extensible drawing model, where the method includes:
acquiring device data and user selection data;
determining target model data from the user selection data and mapping device data from the device data;
and drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing.
In one embodiment, the obtaining device data and user selection data comprises:
taking information input by a user on a preset interface as equipment data;
and displaying a selection interface, and acquiring user selection data according to the operation of a user on the selection interface.
In one embodiment, said determining target model data from said user selection data and determining drawing device data from said device data comprises:
determining a model for drawing from the user-selected data;
searching the model in a target model database, taking the searched model as a target model and acquiring target model data of the target model;
and determining target disk table data in the device data, and using the data in the target disk table data as drawing device data.
In one embodiment, the drawing according to the drawing device data and the target model data, and taking a drawing obtained by drawing as a construction drawing includes:
sending a calling instruction to a preset drawing program to call the drawing program;
determining a target drawing method and position information through the target model data, and drawing each device at a designated position on a drawing according to the target drawing method through the drawing program according to the drawing device data and the position information of each device;
and taking the drawn drawing as a construction drawing.
In one embodiment, when the construction drawing is a box drawing, the determining a target drawing method and position information by the target model data, and drawing, according to the drawing device data and the position information, each device at a designated position on the drawing according to the target drawing method by the drawing program includes:
determining the layout style, the position information and the color parameters of a drawing and the plate placing mode of a plate corresponding to each device according to the target model data; the plate placing modes comprise a transverse placing mode and a vertical placing mode;
determining the number of the devices and the model specification of each device according to the drawing device data; determining a graph corresponding to each device, a plate corresponding to each device and plate size data of the plate based on the model specification of each device; the figures are used for referring to each device and drawing on the corresponding plate;
carrying out amplification or reduction operation on the plate corresponding to each device according to the plate size data to obtain a target plate corresponding to each device;
drawing the graphs corresponding to the devices on the corresponding target plates according to the layout style and the color parameters of the drawing by the drawing program, and drawing the target plates at the specified positions on the drawing according to the plate placement mode and the position information.
In one embodiment, when the construction drawing is a power supply drawing, the determining, by the target model data, a target drawing method and position information, and drawing, by the drawing program, each device at a specified position on the drawing according to the target drawing method according to the drawing device data and the position information includes:
determining the positions of root nodes of three tree structures of a ground wire tree, a live wire tree and a zero wire tree, the positions of all power supply modules and the positions of all power consumption equipment through the target model data;
determining the positions of all switches according to the positions of all power supply modules;
determining the positions of all fuses according to the positions of all power consumption equipment;
acquiring current type information of the power consumption equipment and the power supply module through drawing equipment data; the current category information comprises direct current category information and alternating current category information;
connecting power consumption equipment with the same current type with a power supply module according to the current type information;
determining the positions of branch nodes and the positions of sub-nodes obtained after branching of the branch nodes according to the positions of root nodes of three tree structures of the ground wire tree, the live wire tree and the zero wire tree, the positions of all power modules, the positions of all switches and the positions of all fuses;
and connecting and drawing the root nodes of the three tree structures of the ground wire tree, the live wire tree and the zero wire tree, all the power modules, all the switches, all the fuses, the branch nodes and the sub-nodes at the appointed positions on the drawing according to the equipment connection mode of a preset power supply diagram through the drawing program.
In one embodiment, when the construction drawing is a system logic diagram, the determining, by the target model data, a target drawing method and location information, and drawing, by the drawing program, each device at a specified location on the drawing according to the target drawing method according to the drawing device data and the location information includes:
determining equipment type information of a root node, position information of the root node, equipment type information of an intermediate node and position information of the intermediate node through the target model data;
determining incidence relation data of each device according to the drawing device data;
and generating the root node and the intermediate node at a specified position on a drawing according to the equipment category information of the root node, the position information of the root node, the equipment category information of the intermediate node and the position information of the intermediate node by the drawing program, and connecting the root node and the intermediate node according to the incidence relation data of each piece of equipment.
In a second aspect, the present invention further provides an apparatus for drawing a construction drawing based on an expandable drawing model, wherein the apparatus includes:
the first acquisition module is used for acquiring equipment data and user selection data;
a second obtaining module, configured to determine target model data according to the user selection data and obtain drawing device data from the device data according to the user selection data;
and the drawing module is used for drawing according to the equipment data and the target model data and taking the drawing obtained by drawing as a construction drawing.
In a third aspect, the present invention further provides a mobile terminal, including: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is suitable for calling instructions in the storage medium, and consistently realizes the steps of any one of the methods for drawing the construction drawing based on the expandable drawing model.
In a fourth aspect, the present invention further provides a computer readable storage medium, having a plurality of instructions stored thereon, wherein the instructions are adapted to be loaded and executed by a processor to implement any of the steps of the method for drawing construction drawings based on the expandable drawing model.
The invention has the beneficial effects that: the invention discloses a method for drawing construction drawings based on an extensible drawing model, which comprises the steps of obtaining equipment data and user selection data; determining target model data from the user selected data and drawing device data from device data; and drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing. According to the invention, the preset data models are used for respectively storing the drawing methods of various construction drawings, a user only needs to input basic data of various devices for drawing the construction drawings, the system can determine the devices required to be generated on the construction drawings expected to be obtained by the user and the information of the drawing positions, sizes, colors and the like of the devices through the corresponding data models and the basic data of the various devices, and the construction drawings are generated according to the drawing methods corresponding to the various construction drawings. The problem of drawing construction drawing among the prior art need consume a large amount of manpowers is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for drawing a construction drawing based on an extensible drawing model according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of acquiring device data and user selection data according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart illustrating the determination of target model data and the determination of drawing device data according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart for drawing a construction drawing according to an embodiment of the present invention.
FIG. 5 is a reference drawing of a box diagram provided by an embodiment of the present invention.
FIG. 6 is a reference diagram of a final result graph of bin plots provided by an embodiment of the present invention.
Fig. 7 is a reference diagram of a power supply diagram provided by an embodiment of the invention.
Fig. 8 is a reference diagram of a logic diagram of a system provided by an embodiment of the present invention.
Fig. 9 is an internal structural view of an apparatus for drawing a construction drawing based on an expandable drawing model according to an embodiment of the present invention.
Fig. 10 is a functional block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In the construction of weak electricity engineering, the construction drawing is a drawing which shows the overall layout of engineering projects, the external shape, internal arrangement, structural construction, internal and external decoration, material method, equipment, construction and other requirements of buildings and buildings. The box diagram, the power supply wiring diagram and the system logic diagram are all one of construction drawings. The construction drawings have wide functions, and project contractors can make more thorough construction organization plans, better material plans and more comprehensive budgeting and facilitate supervision and guidance of quality supervision departments. For a project builder, the design of each specific interface can be known, the specification and the model of some main materials can be comprehensively known in advance, and the project budget can be checked by means of construction drawings and maintained according to the drawings after a convenience day.
However, the construction drawing drawn by the traditional drawing method requires a user to install a professional drawing program, draw the construction drawing on software, and then draw, drag and draw the drawing control according to the interactive interface of the drawing program. Therefore, each construction drawing needs to be drawn manually in the traditional drawing mode, and when the construction drawing needs to be changed, no matter the change range is large or small, a professional person needs to modify the construction drawing in person, so that a large amount of human resource cost needs to be consumed for drawing the construction drawing in the prior art. In addition, because the construction drawing is drawn manually, the drawing speed is slow, and the drawing quality is difficult to guarantee. In addition, because drawing various construction drawings requires manual work, the synchronization of the corresponding relationship between the construction drawings is relatively difficult. When repeated changing and adjusting exist in the project construction process, the relations among different types of construction drawings are tight, and after one type of drawings is modified, the associated drawings need to be synchronously changed, so that a large amount of human resource cost is consumed. For example, after the terminal mating relationship is changed in the dial table, the terminal mating relationship needs to be changed in the box diagram and the power connection diagram. The relationship between the data needs to be linked by human, and the problems of difficult data synchronization and difficult review exist.
Aiming at the defects of the prior art, the invention provides a construction drawing method, which is characterized in that a plurality of preset data models are used for respectively storing various drawing methods of construction drawings, a user only needs to input basic data of various devices for drawing the construction drawings, a system can determine the devices required to be generated on the construction drawings expected to be obtained by the user and information such as drawing positions, sizes, colors and the like of the devices through the corresponding data models and the basic data of the various devices, and the construction drawings are generated according to the drawing methods corresponding to the various construction drawings. According to the construction drawing method provided by the invention, the construction drawing does not need to be drawn manually, so that the problem that the construction drawing needs to be drawn manually in the prior art, and a large amount of human resource cost is consumed can be effectively solved.
As shown in fig. 1, the present embodiment provides a drawing method of a construction drawing, including the following steps:
and S100, acquiring device data and user selection data.
In order to generate a construction drawing required by a user, equipment data and user selection data need to be acquired first. The equipment data comprises various kinds of equipment information of various kinds of equipment, and attributes such as size, name, color and the like of performance equipment which are defined in advance belong to the equipment data. Because the drawing methods of each construction drawing are different, user selection data also needs to be acquired, so that the system determines which drawing method to call to generate the construction drawing according to the user selection data.
As shown in fig. 2, in an implementation manner, the step S100 specifically includes the following steps:
step S110, information input by a user on a preset interface is used as equipment data;
and step S120, displaying a selection interface, and acquiring user selection data according to the operation of the user on the selection interface.
Firstly, information input by a user on a preset interface is required to be used as equipment data. Specifically, in order that the subsequent system can automatically generate various construction drawings according to the user requirements, the embodiment requires that the user input data of various devices required by all the construction drawings into the system in advance as device data. For example, when a user enters data of various devices on a web interface, attribute data such as sizes, names, colors and the like of the various devices are defined, and all the data are used as device data. In one implementation, data of various types of equipment required by different types of construction drawings during drawing can be stored through a plurality of dial table data. In addition, a selection interface needs to be displayed to the user so that the user can select the type of the construction drawing to be generated, and the subsequent system can generate the construction drawing required by the user according to which flow according to the determination of the selection of the user.
After acquiring the total number of devices and the user selection data, in order to generate a construction drawing, in an implementation manner, as shown in fig. 1, the method further includes the following steps:
step S200, determining target model data according to the user selection data and determining drawing equipment data according to the equipment data.
The construction drawings in the weak current engineering of the building are various, for example, common construction drawings comprise box drawings (a wiring diagram which is generated according to boundary description of a controller, a sensor and an actuator described by a dial table and is used for being placed in a weak current box), power diagrams (power circuit diagrams which are drawn according to equipment information of the controller, the sensor and the like described by the dial table and comprise a ground wire, a live wire and a zero wire), system logic diagrams (a diagram which is generated according to bus description conditions and basic controller and router information and represents the relationship among the controller, the router, an exchanger and a host), and the like, and each construction drawing has different drawing methods and required equipment data, so that target model data, namely drawing method, and drawing equipment data required by the construction drawing generated by the drawing method need to be determined according to user selection data. In order to ensure that the drawing quality of various construction drawings meets the design requirements, the industrial standard and the national standard, the drawing method in the process of preparing various models can refer to the industrial experience of an intelligent building construction expert.
As shown in fig. 3, the step S200 specifically includes the following steps:
step S210, determining a model for drawing according to the user selection data;
s220, searching the model in a target model database, taking the searched model as a target model and acquiring target model data of the target model;
step S230, determining target disk table data in the device data, and using data in the target disk table data as drawing device data.
In this embodiment, a model for drawing is determined according to the user selection data, and then the model needs to be searched in a target model database, and then the searched model is used as a target model and target model data of the target model is obtained. When the device data is stored in a disk table form, it is necessary to determine target disk table data in the device data, and then obtain drawing device data by acquiring data in the target disk table data.
In order to generate a construction drawing, as shown in fig. 1, the method further includes the steps of:
and step S300, drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing.
The type of the construction drawing to be drawn, the drawing method to be used for drawing the construction drawing, and the equipment data required in the drawing process have been determined through the above steps S100 and S200. In other words, the system can determine what needs to be drawn on the construction drawing, where to draw, size, color, etc. information based on the drawing device data and the target model data. Therefore, drawing is carried out according to the drawing equipment data and the target model data, and the construction drawing expected by the user can be obtained. In the embodiment, the step of data entry is coupled with the step of drawing, the drawing method of each construction drawing is standardized through various preset model data, the system is realized to automatically draw various construction drawings by combining the equipment data required by each type of drawing, and the cost of manpower resources required by drawing the construction drawings is greatly reduced.
As shown in fig. 4, in an implementation manner, the step S300 specifically includes the following steps:
step S310, sending a calling instruction to a preset drawing program to call the drawing program;
step S320, determining a target drawing method and position information through the target model data, and drawing each device at a designated position on a drawing according to the target drawing method through the drawing program according to the drawing device data and the position information;
and step S330, taking the drawn drawing as a construction drawing.
Because the drawing mode of the construction drawing of the construction weak current engineering industry is complex, professional drawing software or drawing plug-in units are generally needed to be adopted for auxiliary drawing. However, in this way, the user not only needs to install the drawing software and the drawing plug-in, but also can draw the drawing according to the instruction of the plug-in use manual. The method provided by the embodiment can be used for quickly generating the drawing, and after the equipment data and the model data are determined, the drawing program can be called to quickly generate the construction drawing according to the drawing method corresponding to the model data and the information such as the equipment shape, the size and the color defined in the equipment data by sending a calling instruction to the preset drawing software. Specifically, each model has a coordinate axis inside, the coordinate axis specifies the coordinates of the equipment placement, the positions on the control paper are respectively provided with what equipment is placed, and the number, model specification and the like of the equipment are determined by the equipment data, so that the construction drawing can be automatically generated by a drawing program by combining the target model data and the equipment data.
When the construction drawing is a box drawing, in one implementation manner, the layout style, the position information and the color parameters of the drawing, and the plate placing modes of the plates corresponding to the devices can be determined through the target model data, and the plate placing modes include a horizontal placing mode and a vertical placing mode. Then determining the number of the devices and the model specification of each device according to the drawing device data; determining a graph corresponding to each device, a plate corresponding to each device and plate size data of the plate based on the model specification of each device, wherein the graph is used for referring to each device and drawing the graph on the corresponding plate. And then, carrying out amplification or reduction operation on the plate corresponding to each device according to the plate size data to obtain a target plate corresponding to each device. And finally, drawing the graphs corresponding to the devices on the corresponding target plates according to the layout style and the color parameters of the drawing by the drawing program, and drawing the target plates on the drawing according to the plate placement mode and the position information. Thereby obtaining the construction drawing of the box drawing.
For example, a box diagram of a terminal tray table consists of two parts: 1. basic parts, such as: a box, a bottom plate, a guide rail, a terminal plate, a wire groove and the like. 2. Hardware components, such as: a controller, a power source, wires, fuses, terminals, etc. And then abstracting and modeling concrete objects such as boxes, bottom plates, guide rails, terminal boards and the like of the basic part, wherein each object, namely the board has the length and width dimension attribute, and then abstracting and modeling the placing method of the objects of the basic part, wherein each method comprises the placing direction transverse or vertical attribute and the coordinate attribute, so as to obtain model data of the box diagram. As shown in fig. 5, fig. 5 is a drawing without device data, and the drawing includes 3 horizontal guide rails, 3 horizontal panels, 2 vertical wire slots, and 3 horizontal wire slots. The 3 horizontal plates are respectively used for drawing a controller, a power supply and other equipment. And 2 vertical wire grooves and 3 horizontal wire grooves are used for drawing the wire grooves. The model data of the box diagram defines the basic components of the box diagram including a guide rail, a panel, a wire groove and the specific placing methods of the guide rail, the panel and the wire groove, and the drawing equipment data includes the following information: the number of devices, the model specification of each device, the corresponding pattern and the corresponding plate are determined based on the model specification of the device, in other words, the pattern corresponding to the device placed on each plate can be determined, and different devices are different in shape. After combining the target model data with the drawing device data, the final box plot result plot shown in FIG. 6 is obtained.
When the construction drawing is a power supply diagram, in an implementation manner, the positions of root nodes of three tree structures of a ground wire tree, a live wire tree and a zero wire tree, the positions of all power supply modules and the positions of all power consumption devices can be determined through the target model data, and then the positions of all switches are determined according to the positions of all power supply modules. And then determining the positions of all fuses according to the positions of all the power consumption devices. Then obtaining current type information of the power consumption equipment and the power supply module through drawing equipment data; the current class information includes direct current class information and alternating current class information. And then, according to the current type information, connecting the power consumption equipment with the same current type with the power supply module, and then determining the positions of the branch nodes and the positions of the sub-nodes obtained after the branch nodes are branched according to the positions of root nodes of three tree structures of the ground wire tree, the live wire tree and the zero wire tree, the positions of all the power supply modules, the positions of all the switches and the positions of all the fuses. And finally, connecting and drawing the root nodes of the three tree structures of the ground wire tree, the live wire tree and the zero wire tree, all the power modules, all the switches, all the fuses, the branch nodes and the sub-nodes at the designated positions on the drawing according to the equipment connection mode of a preset power supply diagram by the drawing program. Therefore, the construction drawing for generating the power supply diagram is realized.
For example, as shown in fig. 7, the power map is mapped as a tree in the data structure, and the power map is divided into three tree structures: a ground wire tree, a live wire tree and a zero wire tree. When the power supply diagram is drawn, a switch is arranged in front of each power supply, a fuse is arranged before each power consumption device, and the serial number of a circuit line is changed when each power consumption device or power supply passes through. Modeling these mapping methods, adding a node for an electromechanical device in the tree, which has a total switching node in front of the power node, would add a fuse element in front. As shown in fig. 6, the starting point of the upper left corner is a root node L, the second node is L1, the L1 node bifurcates into two child nodes, which are switches respectively, the QF1 switch is followed by the node L11, and bifurcation starts below the node L11, and so on, and the nodes are spread layer by layer to obtain a fire wire tree. After a similar drawing method is defined, model data of the power supply diagram is generated according to the method. And after the system acquires the model data of the power supply diagram and the drawing equipment data forming the power supply diagram, a new power supply diagram can be automatically drawn.
When the construction drawing is a system logic diagram, in an implementation manner, the device type information of the root node, the position information of the root node, the device type information of the intermediate node, and the position information of the intermediate node may be determined by the target model data. And then determining the association relation data of each device through the drawing device data. And then generating the root node and the intermediate node at a specified position on a drawing according to the equipment type information of the root node, the position information of the root node, the equipment type information of the intermediate node and the position information of the intermediate node by the drawing program, and connecting the root node and the intermediate node according to the incidence relation data of each equipment.
For example, as shown in fig. 8, the system logic diagram is a diagram describing the association relationship of the controller devices in the mechatronic device, which is a tree structure or a ring-shaped graph structure. In the design process of the intelligent building, a weak current box is usually arranged on each floor, and each weak current box is provided with a plurality of controllers. In the disk table data recorded by the user, each disk table has a plurality of controllers, the controllers can be connected with each other, the controllers can be connected to other controllers in the same weak current box at present, and can also be connected to controllers in other weak current boxes, for example, controllers in weak current boxes on different floors are connected. The system logic diagram is a diagram describing the relationship between controllers on different floors in a building. When the user inputs the device data into the quick drawing system, the association relationship between the controllers is input. Namely, the device name and the connection relationship of each device need to be manually entered into the disk table data for generating the power supply diagram. Specifically, the model data of the system logic diagram means that the association relationship is organized in a tree form, a ring form or a mixed form. The model data also has coordinate information that determines what devices are root nodes and what devices are only intermediate nodes. The difference in color and thickness of the inter-node connection lines indicates that the connection modes between the controller devices are different. And forming equipment data by the equipment associated data input by the user, and combining the equipment data with the model data to obtain a complex system logic diagram.
In summary, the key points of the invention are:
(1) a uniform and abstract model method is adopted for drawing, and the method is suitable for CAD, DrawIO software and any other drawing software supporting customized development plug-ins.
(2) The method allows a user to define the attributes of the electromechanical device such as size, name, color and the like when the basic data or the disk table data is input into the Web interface, and automatically draw according to the previously defined naming method, size, color and the like when drawing.
(3) And deriving a box diagram style recommendation algorithm, calculating the most appropriate drawing layout style according to the model method and the equipment data recorded in the dial table, and according to the use frequency of some model methods and user preferences, scoring and ranking according to the preferences and recommending the preference to the user for adoption. The user can also select the style by himself, and the system calculates whether the size of the box diagram is proper or not under the layout style.
Based on the above embodiment, the present invention further provides a device for drawing a construction drawing based on an extensible drawing model, as shown in fig. 9, the device includes: the first acquisition module is used for acquiring equipment data and user selection data; a second obtaining module, configured to determine target model data according to the user selection data and obtain drawing device data from the device data according to the user selection data; and the drawing module is used for drawing according to the equipment data and the target model data and taking the drawing obtained by drawing as a construction drawing.
Based on the above embodiments, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 10. The intelligent terminal comprises a processor, a memory, a network interface and a display screen which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a method of drawing construction drawings based on an expandable drawing model. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen.
It will be understood by those skilled in the art that the block diagram of fig. 10 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one implementation, one or more programs are stored in a memory of the smart terminal and configured to be executed by one or more processors include instructions for performing a method of drawing construction drawings based on an expandable drawing model.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the invention discloses a method for drawing construction drawings based on an extensible drawing model, which comprises the steps of obtaining equipment data and user selection data; determining target model data from the user selection data and mapping device data from the device data; and drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing. According to the invention, the preset data models are used for respectively storing the drawing methods of various construction drawings, a user only needs to input basic data of various devices for drawing the construction drawings, the system can determine the devices required to be generated on the construction drawings expected to be obtained by the user and the information of the drawing positions, sizes, colors and the like of the devices through the corresponding data models and the basic data of the various devices, and the construction drawings are generated according to the drawing methods corresponding to the various construction drawings. The problem of drawing construction drawing among the prior art need consume a large amount of manpowers is solved.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for drawing construction drawings based on an expandable drawing model is characterized by comprising the following steps:
acquiring device data and user selection data;
determining target model data from the user selection data and mapping device data from the device data;
and drawing according to the drawing equipment data and the target model data, and taking a drawing obtained through drawing as a construction drawing.
2. The method of claim 1, wherein the obtaining of device data and user-selected data comprises:
taking information input by a user on a preset interface as equipment data;
and displaying a selection interface, and acquiring user selection data according to the operation of a user on the selection interface.
3. The method of claim 1, wherein determining target model data from the user-selected data and determining drawing equipment data from the equipment data comprises:
determining a model for drawing from the user-selected data;
searching the model in a target model database, taking the searched model as a target model and acquiring target model data of the target model;
and determining target disk table data in the device data, and using the data in the target disk table data as drawing device data.
4. The method for drawing construction drawings based on the expandable drawing model according to claim 1, wherein the drawing according to the drawing device data and the target model data, and the drawing obtained by drawing as the construction drawings comprises:
sending a calling instruction to a preset drawing program to call the drawing program;
determining a target drawing method and position information through the target model data, and drawing each device at a designated position on a drawing according to the target drawing method through the drawing program according to the drawing device data and the position information;
and taking the drawn drawing as a construction drawing.
5. The method of claim 4, wherein when the construction drawing is a box drawing, the determining a target drawing method and position information by the target model data, and drawing each device at a designated position on the drawing according to the target drawing method by the drawing program according to the drawing device data and the position information comprises:
determining the layout style, the position information and the color parameters of a drawing and the plate placing mode of a plate corresponding to each device according to the target model data; the plate placing modes comprise a transverse placing mode and a vertical placing mode;
determining the number of the devices and the model specification of each device according to the drawing device data; determining a graph corresponding to each device, a plate corresponding to each device and plate size data of the plate based on the model specification of each device; the figures are used for referring to each device and drawing on the corresponding plate;
carrying out amplification or reduction operation on the plate corresponding to each device according to the plate size data to obtain a target plate corresponding to each device;
drawing the graphs corresponding to the devices on the corresponding target plates according to the layout style and the color parameters of the drawing by the drawing program, and drawing the target plates on the drawing according to the plate placement mode and the position information.
6. The method of claim 4, wherein when the construction drawing is a power supply drawing, the determining a target drawing method and position information by the target model data, and drawing each device at a designated position on the drawing according to the target drawing method by the drawing program according to the drawing device data and the position information comprises:
determining the positions of root nodes of three tree structures of a ground wire tree, a live wire tree and a zero wire tree, the positions of all power supply modules and the positions of all power consumption equipment through the target model data;
determining the positions of all switches according to the positions of all power supply modules;
determining the positions of all fuses according to the positions of all power consumption equipment;
acquiring current type information of the power consumption equipment and the power supply module through drawing equipment data; the current category information comprises direct current category information and alternating current category information;
connecting power consumption equipment with the same current type with a power supply module according to the current type information;
determining the positions of branch nodes and the positions of sub-nodes obtained after branching of the branch nodes according to the positions of root nodes of three tree structures of the ground wire tree, the live wire tree and the zero wire tree, the positions of all power modules, the positions of all switches and the positions of all fuses;
and connecting and drawing the root nodes of the three tree structures of the ground wire tree, the live wire tree and the zero wire tree, all the power modules, all the switches, all the fuses, the branch nodes and the sub-nodes at the appointed positions on the drawing according to the equipment connection mode of a preset power supply diagram through the drawing program.
7. The method of claim 4, wherein when the construction drawing is a system logic drawing, the determining a target drawing method and location information by the target model data, and drawing, according to the drawing device data and location information, each device at a designated location on the drawing according to the target drawing method by the drawing program comprises:
determining equipment type information of a root node, position information of the root node, equipment type information of an intermediate node and position information of the intermediate node through the target model data;
determining incidence relation data of each device according to the drawing device data;
and generating the root node and the intermediate node at a specified position on a drawing according to the equipment category information of the root node, the position information of the root node, the equipment category information of the intermediate node and the position information of the intermediate node by the drawing program, and connecting the root node and the intermediate node according to the incidence relation data of each piece of equipment.
8. An apparatus for drawing construction drawings based on an expandable drawing model, the apparatus comprising:
the first acquisition module is used for acquiring equipment data and user selection data;
a second obtaining module, configured to determine target model data according to the user selection data and obtain drawing device data from the device data according to the user selection data;
and the drawing module is used for drawing according to the equipment data and the target model data and taking the drawing obtained by drawing as a construction drawing.
9. A mobile terminal, comprising: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to call instructions in the storage medium to implement the steps of a method for drawing construction drawings based on an expandable drawing model in accordance with any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to perform the steps of the method for drawing construction drawings based on an expandable drawing model according to any of claims 1-8.
CN202011418839.9A 2020-12-07 2020-12-07 Method for drawing construction drawing based on extensible drawing model Pending CN112507434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011418839.9A CN112507434A (en) 2020-12-07 2020-12-07 Method for drawing construction drawing based on extensible drawing model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011418839.9A CN112507434A (en) 2020-12-07 2020-12-07 Method for drawing construction drawing based on extensible drawing model

Publications (1)

Publication Number Publication Date
CN112507434A true CN112507434A (en) 2021-03-16

Family

ID=74971018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011418839.9A Pending CN112507434A (en) 2020-12-07 2020-12-07 Method for drawing construction drawing based on extensible drawing model

Country Status (1)

Country Link
CN (1) CN112507434A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988540A (en) * 2021-03-19 2021-06-18 深圳市安冠科技有限公司 Primitive replacement method, system, computer readable storage medium and terminal equipment
CN113536409A (en) * 2021-08-06 2021-10-22 北京涌联恒创电力工程设计有限公司 Power engineering design method and device applied to single software and electronic equipment
CN113886931A (en) * 2021-10-21 2022-01-04 上海品览数据科技有限公司 CAD drawing fire-fighting linkage alarm wire casing arrangement method based on B-star algorithm
CN114972582A (en) * 2022-06-28 2022-08-30 中核核电运行管理有限公司 Drawing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945246A (en) * 2017-11-07 2018-04-20 中船黄埔文冲船舶有限公司 Method, apparatus, terminal device and the storage medium of Parametric Drawing
CN107992651A (en) * 2017-11-20 2018-05-04 中铁第四勘察设计院集团有限公司 The two-dimentional drawing methods of one kind parametrization and system
CN109978970A (en) * 2019-03-26 2019-07-05 徐州工程学院 A kind of underground engineering Automatic Drawing method based on AutoCAD
CN110287513A (en) * 2019-05-09 2019-09-27 唐付 A kind of built-in fitting construction method based on BIM technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107945246A (en) * 2017-11-07 2018-04-20 中船黄埔文冲船舶有限公司 Method, apparatus, terminal device and the storage medium of Parametric Drawing
CN107992651A (en) * 2017-11-20 2018-05-04 中铁第四勘察设计院集团有限公司 The two-dimentional drawing methods of one kind parametrization and system
CN109978970A (en) * 2019-03-26 2019-07-05 徐州工程学院 A kind of underground engineering Automatic Drawing method based on AutoCAD
CN110287513A (en) * 2019-05-09 2019-09-27 唐付 A kind of built-in fitting construction method based on BIM technology

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余亮平: "Excel在AutoCAD参数化绘图中的应用", 《化肥设计》, vol. 58, no. 4, 25 August 2020 (2020-08-25), pages 26 - 30 *
吴文勇: "建筑结构施工图标准化和自动化平台的研究与实现", 《土木建筑工程信息技术》, vol. 6, no. 6, 31 December 2014 (2014-12-31), pages 19 - 25 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988540A (en) * 2021-03-19 2021-06-18 深圳市安冠科技有限公司 Primitive replacement method, system, computer readable storage medium and terminal equipment
CN113536409A (en) * 2021-08-06 2021-10-22 北京涌联恒创电力工程设计有限公司 Power engineering design method and device applied to single software and electronic equipment
CN113536409B (en) * 2021-08-06 2024-04-05 北京涌联恒创电力工程设计有限公司 Electric power engineering design method and device applied to single software and electronic equipment
CN113886931A (en) * 2021-10-21 2022-01-04 上海品览数据科技有限公司 CAD drawing fire-fighting linkage alarm wire casing arrangement method based on B-star algorithm
CN113886931B (en) * 2021-10-21 2024-04-30 上海品览数据科技有限公司 CAD drawing fire-fighting linkage alarm wire slot arrangement method based on B star algorithm
CN114972582A (en) * 2022-06-28 2022-08-30 中核核电运行管理有限公司 Drawing method and device

Similar Documents

Publication Publication Date Title
CN112507434A (en) Method for drawing construction drawing based on extensible drawing model
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN109947859B (en) Power distribution network drawing modeling method, system, storage medium and computer equipment
CN108388564B (en) Query processing method, device and equipment
Farooq et al. Applications of Building Information Modeling in Electrical Systems Design.
CN107292065A (en) A kind of quick composing system of floor tile based on BIM technology and method
CN112560422A (en) Chart processing method, device, equipment and medium
CN111275788A (en) Graph synthesis method based on common template graph and differential topological graph
CN108053460A (en) The method for drafting and its device of a kind of figure of power system
CN105426601A (en) Diversity design scheme reporting method and system based on BIM (Building Information Modeling)
CN114329669A (en) Online collaborative editing method and device, electronic equipment and storage medium
CN117057078A (en) Electrical wiring diagram generation method, device, equipment and medium
CN113408052A (en) Ship production preparation method, system, medium and terminal based on three-dimensional ship model
CN112484695A (en) Building indoor space clear height analysis method and device based on BIM model
CN115099061B (en) Automatic modeling method and system for robot warehousing system
CN108920819A (en) Three dimensional design platform cable duct/slot creation method
CN114092641A (en) Method, device and equipment for generating wiring board drawing and readable storage medium
CN114299214A (en) Virtual indoor scene generation method and device, storage medium and electronic device
CN114288664A (en) Game scene generation method and device, storage medium and electronic device
CN107066717A (en) Based on three-dimensional virtual scene engineering machinery layout method and system
CN113962182A (en) Circuit design scheme generation method and device, computer equipment and storage medium
CN113971708B (en) Automatic matching and orthogonal connection line plotting method for graph component relation of CAD residential strong-current power distribution trunk system
CN114003991B (en) Automatic drawing method for CAD (computer aided design) strong-current power distribution trunk system diagram
CN116029069A (en) Substation secondary circuit design method based on equipment function area and template matching
CN118094728A (en) Design method, device and equipment of pumped storage three-dimensional bridge

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