CN112307585B - Automatic design method and device for assembly drawing of industrial personal computer cabinet - Google Patents

Automatic design method and device for assembly drawing of industrial personal computer cabinet Download PDF

Info

Publication number
CN112307585B
CN112307585B CN202011252457.3A CN202011252457A CN112307585B CN 112307585 B CN112307585 B CN 112307585B CN 202011252457 A CN202011252457 A CN 202011252457A CN 112307585 B CN112307585 B CN 112307585B
Authority
CN
China
Prior art keywords
arrangement
components
cabinet
project
type
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.)
Active
Application number
CN202011252457.3A
Other languages
Chinese (zh)
Other versions
CN112307585A (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.)
Zhejiang Supcon Technology Co Ltd
Original Assignee
Zhejiang Supcon 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 Zhejiang Supcon Technology Co Ltd filed Critical Zhejiang Supcon Technology Co Ltd
Priority to CN202011252457.3A priority Critical patent/CN112307585B/en
Publication of CN112307585A publication Critical patent/CN112307585A/en
Application granted granted Critical
Publication of CN112307585B publication Critical patent/CN112307585B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/17Mechanical parametric or variational design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/56Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Abstract

The invention discloses an automatic design method and device for an industrial personal computer cabinet assembly drawing, wherein the method comprises the following steps: acquiring project design information, wherein the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components; acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components; and automatically arranging the components contained in the project database according to the arrangement rules corresponding to the control system and the cabinet model. The method has the advantages that the arrangement rules of different control systems and different cabinet models are preset, the components contained in the project database are automatically arranged, the automatic design of the assembly drawing of the industrial personal computer cabinet is realized, the design efficiency is improved, and the design period of products is reduced.

Description

Automatic design method and device for assembly drawing of industrial personal computer cabinet
Technical Field
The invention relates to the field of the design of assembly drawings of industrial personal computers, in particular to an automatic design method and device of an assembly drawing of an industrial personal computer cabinet.
Background
The industrial control computer is called as an industrial control computer; the cabinet of the industrial personal computer is used for installing components such as a switching power supply, an air switch, an I/0 module, a terminal strip and the like. At present, the design of the cabinet assembly drawing of the industrial personal computer is mainly to copy the previous similar project drawing on CAD software and then to modify the CAD layout drawing of the industrial personal computer cabinet of the current project.
The existing problems of the design of the cabinet assembly drawing of the industrial personal computer are that a long time is required to find a past project drawing similar to the project; then, when the position of the components is modified, the positions of the components are required to be manually arranged one by one, and the attributes such as names and the like are set; and after the design, the positions of the components need to be changed or components need to be added and deleted, so that the processing is very troublesome. These problems all result in lower design efficiency and longer design cycle time for the product.
Disclosure of Invention
In view of this, the present invention provides a method and a device for automatically designing an assembly drawing of an industrial personal computer cabinet, which are intended to improve the design efficiency and reduce the design cycle of the product.
In order to achieve the above object, the following solutions have been proposed:
in a first aspect, an automatic design method for an assembly drawing of an industrial personal computer cabinet is provided, including:
acquiring project design information, wherein the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components;
acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components;
and automatically arranging the components contained in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model.
Preferably, the automatic arrangement of the components included in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model specifically includes:
acquiring the length, width and height of the cabinet and the internal arrangeable area corresponding to the cabinet model from preset internal arrangeable area configuration files of different cabinets;
obtaining an arrangement sequence, an arrangement position and an arrangement direction corresponding to each type of components in the project database from an arrangement rule configuration file corresponding to the control system and the cabinet model;
and sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database.
Preferably, when arranging the components of each type to the internal arrangeable area in turn according to the arrangement order, arrangement position and arrangement direction corresponding to the components of each type, a corresponding arrangement sub-order is generated for the components belonging to the same type, and the components belonging to the same type are arranged to the internal arrangeable area according to the arrangement sub-order.
Preferably, arranging the components of each type to the internal arrangeable area in turn according to the arrangement order, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database, including:
obtaining the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence;
dividing the interior arrangeable area into a plurality of temporary arrangement areas according to the attribute, arrangement position and arrangement direction;
arranging the components to be arranged currently in the temporary arrangement area, and storing arrangement position coordinate information in the project database;
the temporary arrangement area where no component is arranged is canceled to prepare for arrangement of the next type of component.
Preferably, after all components contained in the project database are arranged, the components in the project database are drawn on a computer canvas by using GDI graphic drawing.
Preferably, the drawing of the components in the project database by using GDI graphics specifically includes:
generating a front face, a back face, a left side face and a right side face of the cabinet and an arrangeable area of each face on a computer canvas according to the length, width, height and internal arrangeable area of the cabinet corresponding to the cabinet model;
generating CAD block shapes of components arranged in the arrangeable areas of each face;
and drawing the corresponding CAD block shape to the arrangeable area of the corresponding surface according to the arrangement position coordinate information of each component.
In a second aspect, an automatic design device for an assembly drawing of an industrial personal computer cabinet is provided, including:
the equipment comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring project design information, and the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components;
the project database unit is used for acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components;
and the automatic arrangement unit is used for automatically arranging the components contained in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model.
Preferably, the automatic arrangement unit specifically includes:
the first matching subunit is used for acquiring the length, width, height and internal arrangeable area of the cabinet corresponding to the cabinet model from preset internal arrangeable area configuration files of different cabinets;
the second matching subunit is used for acquiring the arrangement sequence, the arrangement position and the arrangement direction corresponding to each type of component in the project database from the arrangement rule configuration file corresponding to the control system and the cabinet model;
and the automatic arrangement subunit is used for sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database.
Preferably, the automatic arrangement subunit is configured to generate, when arranging the components of each type to the internal arrangeable area in turn according to the arrangement order, the arrangement position, and the arrangement direction corresponding to the components of each type, a corresponding arrangement sub-order for the components belonging to the same type, and arrange the components belonging to the same type to the internal arrangeable area according to the arrangement sub-order.
Preferably, the automatic arrangement subunit includes:
the matching module is used for acquiring the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence;
a dividing module for dividing the interior arrangeable area into a plurality of temporary arrangement areas according to the attribute, arrangement position and arrangement direction;
the storage module is used for arranging the components to be arranged currently in the temporary arrangement area and storing the arrangement position coordinate information in the project database;
and the cancellation module is used for canceling the temporary arrangement area where the components are not arranged so as to prepare for the arrangement of the components of the next type.
Preferably, the automatic design device for the assembly drawing of the industrial personal computer cabinet further comprises: and the graphic visualization unit is used for drawing all the components in the project database on a computer canvas by using GDI graphic drawing after the arrangement of all the components contained in the project database is completed.
Preferably, the graphic visualization unit specifically includes:
the configurable area generating unit is used for generating the front face, the back face, the left side face and the right side face of the cabinet and the configurable area of each face on the canvas of the computer according to the length, the width and the height of the cabinet and the internal configurable area of the cabinet corresponding to the cabinet model;
a CAD block shape generating unit configured to generate a CAD block shape of the components arranged in the arrangeable area of each face;
and the arrangement unit is used for drawing the corresponding CAD block shape to the arrangeable area of the corresponding surface according to the arrangement position coordinate information of each component.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the technical scheme provides an automatic design method and device for an industrial personal computer cabinet assembly drawing, wherein the method comprises the following steps: acquiring project design information, wherein the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components; acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components; and automatically arranging the components contained in the project database according to the arrangement rules corresponding to the control system and the cabinet model. The method has the advantages that the arrangement rules of different control systems and different cabinet models are preset, the components contained in the project database are automatically arranged, the automatic design of the assembly drawing of the industrial personal computer cabinet is realized, the design efficiency is improved, and the design period of products is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an automatic design method for an assembly drawing of an industrial personal computer cabinet according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an assembly diagram of an industrial personal computer cabinet according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an automatic design method device for an assembly drawing of an industrial personal computer cabinet according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the method for automatically designing an assembly diagram of an industrial personal computer cabinet provided in this embodiment includes the following steps:
s11: project design information is obtained.
The project design information comprises a cabinet model, a control system to which the project belongs, and the model and the number of components. The control system comprises ECS_700, TCS_900, GCS_5, GCS_3 and the like; the types of industries (chemical industry, cement, medicine and the like) and project sizes of different control systems are different, and the design schemes are also different. The components include a base, an I/O module, an air switch, a switching power supply, an isolation gate, a terminal row and the like.
S12: and acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components.
The basic database for different projects comprises the model numbers of the components, the classification and the size of the components and other attributes. The data in the underlying database may be used for different projects. The project design information comprises information such as the model number and the number of the components, and the like, and the attributes such as the classification, the size and the like of the components in the project design information are obtained through the basic database, so that a project database comprising the model number and the number of the components, the classification, the size and the like of the components is obtained.
S13: and automatically arranging the components contained in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model.
An arrangement rule configuration file is established in advance, and arrangement sequences, arrangement positions and arrangement directions corresponding to the components of each type are established in different control systems and different cabinet models. The arrangement position refers to being arranged on a specific face of the cabinet, for example on the front or back face of the cabinet. The arrangement direction is specifically horizontal or vertical. According to the preset arrangement rule configuration file corresponding to the control system and the cabinet model, the components contained in the project database are automatically arranged, so that the automatic design of the assembly drawing of the industrial personal computer cabinet is realized, the design efficiency is improved, and the design period of products is reduced.
The automatic arrangement of the components contained in the project database comprises the following specific contents:
step 131: and acquiring the length, width and height of the cabinet and the internal arrangeable area corresponding to the cabinet type from preset internal arrangeable area configuration files of different cabinets.
The content arrangeable area configuration files of different cabinets are preset. The content arrangeable area configuration file of different cabinets contains the correspondence of cabinet model numbers with cabinet length, width, height and internal arrangeable area. The internal space of different cabinets may be inconsistent in size and the necessary items may be differently placed. The interior of the cabinet may be arranged with an area, i.e. an area within the cabinet where components may be mounted.
Step 132: and obtaining the arrangement sequence, the arrangement position and the arrangement direction corresponding to each type of component in the project database from the arrangement rule configuration file corresponding to the control system and the cabinet model.
The arrangement rule configuration file comprises the arrangement sequence of each type of components in the corresponding control system and the cabinet model, so that the arrangement sequence of each type of components in the project database can be obtained. For example, the arrangement rule configuration file includes that each type of component in the corresponding control system and cabinet model is component 1, component 2 and component 3, and the arrangement order is component 1, component 2 and component 3 in sequence, when the project database only contains component 1 and component 3, the arrangement order is component 1 and component 3.
When the arrangement order of the components of different types is set, the arrangement order of the components with special arrangement rules is placed in front. Components for which special placement rules exist include components that are in stacked relation to other components, and components that occupy both the front and back of the cabinet. For example, the base is placed on the frame, the I/O module is placed on the base, and the base, the frame and the I/O module are stacked upon each other when shown; the switch, when large, occupies both the front and back of the cabinet.
Step 133: and sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into an item database.
And arranging components in the same type according to the arrangement sequence. When there are a plurality of components of the same type, a corresponding arrangement sub-order is generated for the plurality of components belonging to the same type, and the plurality of components belonging to the same type are arranged to the internal arrangeable area in accordance with the arrangement sub-order.
The specific process for arranging a certain type of components comprises the following steps:
step 1331: and obtaining the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence.
When the project database only contains the components 1 and 3 and the arrangement sequence is the components 1 and 3, the types, the numbers and the attributes of the components 1 are firstly obtained from the project database, and when the components 1 are arranged, the types, the numbers and the attributes of the components 2 are obtained from the project database and the components 2 are arranged.
Step 1332: the internal arrangeable area is divided into a plurality of temporary arrangement areas according to the attribute, arrangement position and arrangement direction of the components currently to be arranged.
The arrangement position can be used for knowing which surface of the cabinet the components are arranged on; the size of the component, namely the length, width and height, can be obtained according to the attribute of the component; and how the components are arranged can be known according to the arrangement direction. The surface for arranging the components can be further divided into a plurality of temporary arrangement areas, and each temporary arrangement area can be used for arranging at least one component to be arranged currently.
After the components are arranged in a certain area of the internal arrangeable area, the area does not belong to the internal arrangeable area any more, and when the temporary arrangeable area is divided subsequently, the area in which the components are already arranged is not considered any more, and only the area in which the components are not arranged in the internal arrangeable area is divided to obtain the temporary arrangeable area. If the barrier ribs are arranged on the front face of the cabinet, transversely arranged and have a required width of 180 (unit custom), the remaining arrangeable area on the front face of the cabinet is divided into areas with the width of 180 transversely.
If the components to be arranged currently cannot be arranged in the internal arrangeable area, the components which cannot be arranged are recorded for the designer to manually arrange.
And a name can be generated as a unique identifier according to the information such as the type, the model and the like of the components in the project database and stored in the project database. If there are several components of the same type, the components are distinguished by serial numbers in the group. If eight isolation gates are available, the names of the eight isolation gates are respectively SB 0101-SB 0108, SB represents the isolation gate, the first 01 represents the first group, and 01-08 represent the serial numbers in the group. When names are generated, judging whether the number of the components of the same type is two or more, so that the names are not required to be generated by generating intra-group serial numbers when the number is 1, and if the number is 2 or more, the names are required to be generated by generating the intra-group serial numbers; traversing all the AND devices to generate the unique name of each component.
Step 1333: and arranging the components to be arranged currently into a temporary arrangement area, and storing arrangement position coordinate information into an item database.
Step 1334: the temporary arrangement area where no component is arranged is canceled to prepare for arrangement of the next type of component.
The component placement process for each class is performed according to steps 1331-1334 until all types of components in the project database have been performed one pass.
In a specific embodiment, after all components contained in the project database are arranged, the GDI graphic drawing is used to draw all components in the project database on a computer canvas, so that the visualization of the assembly drawing of the industrial personal computer cabinet is realized. Using GDI graphics rendering, the specific process of rendering all components in the project database on a computer canvas includes the steps of:
step 21: and generating the front, back, left side and right side of the cabinet and the arrangeable area of each side on the computer canvas according to the length, width and height of the cabinet and the internal arrangeable area of the cabinet corresponding to the cabinet type.
When the arrangeable area is generated, the arrangeable area is divided into sub-areas for component arrangement by dividing lines. The designer can adjust the size of the subareas on the canvas by adding, deleting and adjusting dividing lines; the designer can also add, delete and move components, and the corresponding component information can be modified and stored in the project database after operation. Deleting a component means deleting a piece of data corresponding to the component from the project database. The mobile component changes the coordinate information of a certain piece of data corresponding to the component; and adding the components, namely acquiring the attributes such as the classification, the size and the like of the components from the basic database, processing the information such as the added model and the like by software, and newly adding a piece of corresponding data to the project database.
Step 22: CAD block shapes of components arranged in the arrangeable areas of each face are generated.
And pre-establishing DWG file configuration of CAD layout blocks corresponding to the components of each model, wherein the DWG file configuration comprises parameters such as the model, view direction, required language and the like of the components. The view direction includes front view, top view, etc., and the display shape, length, width, etc. corresponding to the different view directions may not be uniform. The desired language is the language in which the properties of the components are displayed on the canvas. And matching the parameters of the model, the view direction and the like of the components arranged in the arrangeable area of each surface to corresponding DWG file configuration, and further generating CAD block shapes according to the matched DWG file configuration.
Step 23: and drawing the corresponding CAD block shape to the arrangeable area of the corresponding surface according to the arrangement position coordinate information of each component.
The CAD layout drawing can be directly derived and generated by components in the project database according to coordinates, block information and the like.
The scheme can flexibly adapt to different projects, and only needs to be configured with corresponding arrangement rules in the face of different control systems, such as DCS, GCS, SIS. When there is a newly added component, only the information of the newly added component needs to be configured in the basic database.
Fig. 2 is a schematic diagram of an assembly diagram of an industrial personal computer cabinet generated by adopting the method provided by the invention.
For the foregoing method embodiments, for simplicity of explanation, the methodologies are shown as a series of acts, but one of ordinary skill in the art will appreciate that the present invention is not limited by the order of acts, as some steps may, in accordance with the present invention, occur in other orders or concurrently.
The following are examples of the apparatus of the present invention that may be used to perform the method embodiments of the present invention. For details not disclosed in the embodiments of the apparatus of the present invention, please refer to the embodiments of the method of the present invention.
Referring to fig. 3, an automatic design device for an assembly drawing of an industrial personal computer cabinet provided in this embodiment includes: an acquisition unit 31, an item database unit 32, and an automatic arrangement unit 33.
An obtaining unit 31, configured to obtain project design information, where the project design information includes a cabinet model, a control system to which the project belongs, and a model number and a number of components.
The project database unit 32 is configured to obtain, from a pre-established basic database for different projects, an attribute corresponding to a model of a component in project design information, and generate a project database containing the model, number, and attribute of the component.
And the automatic arrangement unit 33 is used for automatically arranging the components contained in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model.
In some embodiments, the automatic arrangement unit 33 specifically includes: the first matching subunit, the second matching subunit, and the automatic placement subunit.
The first matching subunit is used for acquiring the length, width, height and internal arrangeable area of the cabinet corresponding to the cabinet model from preset internal arrangeable area configuration files of different cabinets.
The second matching subunit is used for acquiring the arrangement sequence, the arrangement position and the arrangement direction corresponding to each type of component in the project database from the arrangement rule configuration file corresponding to the control system and the cabinet model.
And the automatic arrangement subunit is used for sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into an item database.
In some specific embodiments, the automatic arrangement subunit is configured to generate, when arranging the components of each type to the internal arrangeable area in turn according to the arrangement order, the arrangement position, and the arrangement direction corresponding to the components of each type, a corresponding arrangement sub-order for the components belonging to the same type, and arrange the components belonging to the same type to the internal arrangeable area according to the arrangement sub-order.
In some embodiments, the automatically arranging the subunits comprises: the device comprises a matching module, a dividing module, a storing module and a cancelling module.
And the matching module is used for acquiring the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence.
The dividing module is used for dividing the internal arrangeable area into a plurality of temporary arrangement areas according to the attribute, the arrangement position and the arrangement direction of the components.
And the storage module is used for arranging the components to be arranged at present in the temporary arrangement area and storing the arrangement position coordinate information in the project database.
And the cancellation module is used for canceling the temporary arrangement area where the components are not arranged so as to prepare for the arrangement of the components of the next type.
In some embodiments, the automatic design device for the assembly drawing of the industrial personal computer cabinet further comprises: and the graphic visualization unit is used for drawing all the components in the project database on a computer canvas by using GDI graphic drawing after all the components contained in the project database are arranged.
In some embodiments, the graphic visualization unit specifically includes: an area generating unit, a CAD block shape generating unit, and an arranging unit may be arranged.
And the arrangeable area generating unit is used for generating the front face, the back face, the left side face and the right side face of the cabinet and the arrangeable area of each face on the computer canvas according to the length, the width, the height and the internal arrangeable area of the cabinet corresponding to the cabinet model.
And a CAD block shape generating unit for generating CAD block shapes of components arranged in the arrangeable areas of each face.
And the arrangement unit is used for drawing the corresponding CAD block shape to the arrangeable area of the corresponding surface according to the arrangement position coordinate information of each component.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or 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. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, all embodiments are mainly described in the differences from other embodiments, and the same similar parts between the embodiments are referred to each other, and features described in the embodiments may be replaced or combined with each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. An automatic design method for an assembly drawing of an industrial personal computer cabinet is characterized by comprising the following steps:
acquiring project design information, wherein the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components;
acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components;
according to the arrangement rule configuration file corresponding to the control system and the cabinet model, automatically arranging the components contained in the project database, wherein the arrangement rule configuration file comprises the following steps: acquiring the length, width and height of the cabinet and the internal arrangeable area corresponding to the cabinet model from preset internal arrangeable area configuration files of different cabinets; obtaining an arrangement sequence, an arrangement position and an arrangement direction corresponding to each type of components in the project database from an arrangement rule configuration file corresponding to the control system and the cabinet model; and sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database.
2. The automatic design method of the industrial personal computer cabinet assembly drawing according to claim 1, wherein when the components of each type are sequentially arranged to the internal arrangeable area according to the arrangement order, the arrangement position and the arrangement direction corresponding to the components of each type, corresponding arrangement sub-orders are generated for the components belonging to the same type, and the components belonging to the same type are arranged to the internal arrangeable area according to the arrangement sub-orders.
3. The automatic design method for the assembly drawing of the industrial personal computer cabinet according to claim 1, wherein sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database, comprises:
obtaining the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence;
dividing the interior arrangeable area into a plurality of temporary arrangement areas according to the attribute, arrangement position and arrangement direction;
arranging the components to be arranged currently in the temporary arrangement area, and storing arrangement position coordinate information in the project database;
the temporary arrangement area where no component is arranged is canceled to prepare for arrangement of the next type of component.
4. The automatic design method for the assembly drawing of the industrial personal computer cabinet according to any one of claims 1 to 3, wherein after all components contained in the project database are arranged, the components in the project database are drawn on a computer canvas by using GDI graphic drawing.
5. The method for automatically designing an assembly drawing of an industrial personal computer cabinet according to claim 4, wherein the drawing of all components in the project database using GDI graphics comprises:
generating a front face, a back face, a left side face and a right side face of the cabinet and an arrangeable area of each face on a computer canvas according to the length, width, height and internal arrangeable area of the cabinet corresponding to the cabinet model;
generating CAD block shapes of components arranged in the arrangeable areas of each face;
and drawing the corresponding CAD block shape to the arrangeable area of the corresponding surface according to the arrangement position coordinate information of each component.
6. An automatic design device of industrial computer rack assembly drawing, which is characterized by comprising:
the equipment comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring project design information, and the project design information comprises a cabinet model, a control system to which a project belongs and the model and the number of components;
the project database unit is used for acquiring attributes corresponding to the types of the components in the project design information from a pre-established basic database for different projects, and generating a project database containing the types, the number and the attributes of the components;
the automatic arrangement unit is used for automatically arranging the components contained in the project database according to the arrangement rule configuration file corresponding to the control system and the cabinet model;
the automatic arrangement unit specifically includes:
the first matching subunit is used for acquiring the length, width, height and internal arrangeable area of the cabinet corresponding to the cabinet model from preset internal arrangeable area configuration files of different cabinets;
the second matching subunit is used for acquiring the arrangement sequence, the arrangement position and the arrangement direction corresponding to each type of component in the project database from the arrangement rule configuration file corresponding to the control system and the cabinet model;
and the automatic arrangement subunit is used for sequentially arranging the components of each type into the internal arrangeable area according to the arrangement sequence, the arrangement position and the arrangement direction corresponding to the components of each type, and storing the arrangement position coordinate information into the project database.
7. The automatic design device for the assembly drawing of the industrial personal computer cabinet according to claim 6, wherein the automatic arrangement subunit is configured to generate a corresponding arrangement sub-order for the plurality of components belonging to the same type when arranging the components of each type to the internal arrangeable area in turn according to the arrangement order, the arrangement position, and the arrangement direction corresponding to the components of each type, and arrange the plurality of components belonging to the same type to the internal arrangeable area according to the arrangement sub-order.
8. The automated design apparatus for an industrial personal computer cabinet assembly drawing of claim 6, wherein the automated placement subunit comprises:
the matching module is used for acquiring the model number, the number and the attribute of the components to be arranged currently from the project database according to the arrangement sequence;
a dividing module for dividing the interior arrangeable area into a plurality of temporary arrangement areas according to the attribute, arrangement position and arrangement direction;
the storage module is used for arranging the components to be arranged currently in the temporary arrangement area and storing the arrangement position coordinate information in the project database;
and the cancellation module is used for canceling the temporary arrangement area where the components are not arranged so as to prepare for the arrangement of the components of the next type.
CN202011252457.3A 2020-11-11 2020-11-11 Automatic design method and device for assembly drawing of industrial personal computer cabinet Active CN112307585B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011252457.3A CN112307585B (en) 2020-11-11 2020-11-11 Automatic design method and device for assembly drawing of industrial personal computer cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011252457.3A CN112307585B (en) 2020-11-11 2020-11-11 Automatic design method and device for assembly drawing of industrial personal computer cabinet

Publications (2)

Publication Number Publication Date
CN112307585A CN112307585A (en) 2021-02-02
CN112307585B true CN112307585B (en) 2023-12-22

Family

ID=74325681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011252457.3A Active CN112307585B (en) 2020-11-11 2020-11-11 Automatic design method and device for assembly drawing of industrial personal computer cabinet

Country Status (1)

Country Link
CN (1) CN112307585B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112989446B (en) * 2021-03-11 2023-10-20 新誉庞巴迪信号系统有限公司 Automatic drawing method and system for target controller cabinet
CN113947644B (en) * 2021-10-15 2023-08-08 中国核动力研究设计院 Automatic drawing system for nuclear power plant safety level electrical cabinet hardware drawing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104169949A (en) * 2012-02-15 2014-11-26 布尔简易股份公司 Method for assisting in the design of a computing center
RU2659663C1 (en) * 2012-01-30 2018-07-03 Хрисимира ИЛИЕВА Method of spatial designing of aircraft and spacecraft simulators and an aircraft simulator under the method
CN108388753A (en) * 2018-03-22 2018-08-10 杭州和利时自动化有限公司 A kind of design method, device, system and the storage medium of the wiring of SIS cabinets
CN109815635A (en) * 2019-02-28 2019-05-28 杭州和利时自动化有限公司 A kind of boiler main fuel trip automated design system and method
CN110175363A (en) * 2019-04-25 2019-08-27 西门子电站自动化有限公司 The generation method of the production drawing of Distributed Control System
CN111191299A (en) * 2019-12-26 2020-05-22 卡斯柯信号有限公司 Automatic generation method for computer interlocking system cabinet production drawing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008003731B4 (en) * 2007-02-07 2024-02-29 Sew-Eurodrive Gmbh & Co Kg Computer system, use of graphs, method for producing a construction drawing, method for producing a product and use of the method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2659663C1 (en) * 2012-01-30 2018-07-03 Хрисимира ИЛИЕВА Method of spatial designing of aircraft and spacecraft simulators and an aircraft simulator under the method
CN104169949A (en) * 2012-02-15 2014-11-26 布尔简易股份公司 Method for assisting in the design of a computing center
CN108388753A (en) * 2018-03-22 2018-08-10 杭州和利时自动化有限公司 A kind of design method, device, system and the storage medium of the wiring of SIS cabinets
CN109815635A (en) * 2019-02-28 2019-05-28 杭州和利时自动化有限公司 A kind of boiler main fuel trip automated design system and method
CN110175363A (en) * 2019-04-25 2019-08-27 西门子电站自动化有限公司 The generation method of the production drawing of Distributed Control System
CN111191299A (en) * 2019-12-26 2020-05-22 卡斯柯信号有限公司 Automatic generation method for computer interlocking system cabinet production drawing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种计算机联锁机柜工程图纸的自动化生成方法;陈帝尧;黄鲁江;铁道通信信号;全文 *

Also Published As

Publication number Publication date
CN112307585A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
CN112307585B (en) Automatic design method and device for assembly drawing of industrial personal computer cabinet
EP3451206B1 (en) Method, apparatus, and device for generating a visual model layout of a space
US20030036983A1 (en) Method for inventory and layout management of a facility
US20110276168A1 (en) Systems, methods, and software for automated design and manufacturing of hvac control panels
US20030051022A1 (en) Web page management support system
CN113184300B (en) Method and device for subpackaging plate parts
CN105426572A (en) BIM based multidimensional data and P6 database interaction method and system
CN110175363A (en) The generation method of the production drawing of Distributed Control System
EP4318348A1 (en) Order processing method and apparatus, device, system, medium, and product
CN112507431A (en) Intelligent image examination method and device based on BIM model and storage medium
CN107590592A (en) Job dependence relation method for expressing, operation displaying and dispatch control method and device
CN110766369A (en) Visual webpage intelligent storage position arrangement system
US20130338974A1 (en) System and method for efficiently importing objects into a computer-aided design program
CN114375455A (en) Manufacturing order support device, method and program
CN112596458A (en) PLC automatic allocation method in electrical drawing and storage medium
TW201523299A (en) Device, method and system for sorting and displaying the searching results of a social network site
JP3762139B2 (en) 3D equipment management system
CN106933932A (en) Data processing method, device and application server
CN114896691A (en) Three-dimensional labeling method based on MBD equipment model
CN111488647B (en) Design drawing method and system for ship design drawing
CN114564773A (en) Component screening and checking method and system based on BIM (building information modeling)
CN102662995A (en) Method for quickly positioning data updating of mobile phone applications
CN109598789B (en) BIM-based residence secondary digital-analog modeling method, system and storage medium thereof
CN114253222A (en) Distributed control system DCS control cabinet set diagram generation method and device
CN111985015A (en) System and method for automatically generating BOM (Bill of Material) by using VBA (visual basic Access) function

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