Method and device for automatically generating distribution box drawing, terminal and storage medium
By using an automated method to generate distribution box drawings, and by utilizing component characteristic parameters and drawing rules, the problems of difficult drawing and large errors in existing technologies have been solved, achieving efficient and accurate drawing generation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUIZHOU BAIYIXIN REAL ESTATE CO LTD
- Filing Date
- 2022-11-28
- Publication Date
- 2026-07-03
AI Technical Summary
In the existing technology, the drawing of distribution box drawings is difficult, inefficient and prone to errors, especially for inexperienced personnel, resulting in poor accuracy of the drawings.
By responding to operation commands, component feature parameters are extracted, preliminary drawings are generated in combination with preset drawing rules, and dimensions are verified. The final cabinet dimensions and drawings are automatically generated, and the component layout is optimized using the database and drawing rules.
It significantly improves the efficiency of drawing generation, reduces human error, and ensures the accuracy and security of drawings.
Smart Images

Figure CN115712928B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of generating distribution box drawings, and in particular to an automatic method, apparatus, terminal and storage medium for generating distribution box drawings. Background Technology
[0002] When the drawings for the distribution box are made, staff need to use 2D drawing software to create them. However, there are many types of components to be drawn, and their sizes vary, which increases the difficulty and reduces the efficiency of the drawing process.
[0003] In addition, when drawing drawings, especially when determining the location of components, it is often necessary to rely on human experience to make judgments. For some people with little professional experience, the errors in their drawings are often large, resulting in the final output of the distribution box drawings being unusable. Summary of the Invention
[0004] To improve the accuracy of drawings, this application provides a method, apparatus, terminal, and storage medium for automatically generating electrical distribution box drawings.
[0005] Firstly, this application provides a method for automatically generating electrical distribution box drawings, which adopts the following technical solution:
[0006] A method for automatically generating electrical distribution box drawings, comprising:
[0007] Responding to operation commands, extracting component feature parameters based on the operation commands, and determining preset cabinet dimensions;
[0008] Using the component feature parameters and preset drawing rules, a preliminary drawing is generated, and the preliminary box dimensions in the preliminary drawing are obtained;
[0009] Based on the preliminary drawings and the preliminary enclosure dimensions, the dimensions are verified to obtain the verified enclosure dimensions and the corresponding verification drawings. The preliminary enclosure dimensions and the verified enclosure dimensions are compared with the preset enclosure dimensions, and the one that is smaller than the preset enclosure dimensions and has the smallest difference between them is taken as the final enclosure dimensions. The drawings corresponding to the final enclosure dimensions are taken as the distribution box drawings and output.
[0010] By adopting the above technical solution, staff only need to input operation instructions containing relevant information to obtain the output of the distribution box drawings. The whole process is carried out in an automated manner, which not only significantly improves the efficiency of drawing generation, but also ensures the accuracy of the output drawings and avoids the errors caused by manual drawing in the existing technology.
[0011] Optionally, the step of responding to the operation command, extracting component feature parameters based on the operation command, and determining the preset housing size includes:
[0012] The system responds to operation commands, which include component type, preset cabinet size, component pole number processing logic and component current processing logic. The component pole number processing logic arranges each component according to connection priority. The current processing logic automatically selects the vertical and horizontal spacing of the components based on their rated current values.
[0013] According to the operation instructions, the component and its corresponding characteristic parameters are extracted from a pre-built database. The characteristic parameters include component installation data, number of poles, and rated current value.
[0014] Optionally, the step of generating preliminary drawings using the component feature parameters combined with preset drawing rules, and obtaining preliminary box dimensions from the preliminary drawings, includes:
[0015] The input / output line type of the corresponding component is determined based on the component characteristic parameters;
[0016] Select all components with incoming / outgoing line type as incoming line, generate incoming line path according to the connection priority of each component, and obtain incoming line drawing according to the incoming line path;
[0017] Select all components with incoming / outgoing line type as outgoing. When the selected components do not include thermal relays, generate outgoing line path and obtain outgoing line drawing based on incoming line path.
[0018] A preliminary drawing is generated by combining the incoming line drawing and the outgoing line drawing;
[0019] The required cabinet height for the incoming line is obtained by combining the incoming and outgoing line paths;
[0020] The required cabinet depth for the incoming line is obtained based on the component installation data.
[0021] The preliminary enclosure dimensions are obtained by combining the required enclosure height and the required enclosure depth for the incoming line.
[0022] By adopting the above technical solution, preliminary drawings are generated using the characteristics of each component in the database and the drawing rules. The preliminary box dimensions are obtained based on the preliminary drawings, reducing the phenomenon of manually judging the position of components and thus reducing the occurrence of errors.
[0023] Optionally, after selecting all components with input / output line type "outgoing", the method further includes:
[0024] When the selected components include a thermal relay, a contactor and circuit breaker that match the thermal relay are searched, and the outgoing line path is obtained based on the thermal relay, the contactor, and the circuit breaker.
[0025] By adopting the above technical solution, when the outgoing component is a thermal relay, the contactor and circuit breaker that match the thermal relay can be directly searched to form an outgoing circuit, which can improve the safety of the distribution box when installing components into the distribution box according to the distribution box drawings.
[0026] Optionally, obtaining the required cabinet height for the incoming line based on the incoming and outgoing line paths includes:
[0027] The total width and number of incoming lines are obtained based on the incoming line path. The required cabinet width for the incoming lines is then obtained based on the total width, the number of incoming lines, and the component installation data.
[0028] The total width and number of outgoing lines are obtained based on the outgoing line path, and the required box width for outgoing lines is obtained based on the total width and number of outgoing lines.
[0029] The required height of the inlet cabinet is obtained by combining the required width of the inlet cabinet, the required width of the outlet cabinet, and the component installation data.
[0030] Optionally, the step of verifying the dimensions based on the preliminary drawings and the preliminary box dimensions to obtain the verified box dimensions and the corresponding verification drawings includes:
[0031] The required width of the outgoing cable enclosure is adjusted to obtain the required width of the outgoing cable enclosure for verification. The required height of the incoming cable enclosure for verification is obtained based on the required width of the outgoing cable enclosure for verification, the required width of the incoming cable enclosure for verification, and the component installation data. The dimensions of the verification enclosure are obtained based on the required height of the incoming cable enclosure for verification and the required depth of the incoming cable enclosure for verification.
[0032] The verification incoming line path is determined based on the component installation data and the rated current value of the component, and the verification incoming line drawing is obtained based on the verification incoming line path;
[0033] According to the connection priority, all the components in the outgoing path are arranged row by row in sequence until all are arranged, and then the outgoing line drawing is obtained according to the arranged position.
[0034] A review drawing is generated by combining the review incoming line drawing and the review outgoing line drawing.
[0035] Optionally, adjusting the required width of the outlet box to obtain the verified required width of the outlet box includes: increasing the required width of the outlet box by one unit to obtain a first adjusted box width, obtaining a first adjusted box size based on the first adjusted box width, and comparing it with the preset box size;
[0036] If the first adjustment box size is larger than the preset box size, then the required box width for the outgoing line is reduced by one unit to obtain the second adjustment box width, and the verification box size is obtained based on the second adjustment box width;
[0037] If the first adjustment box size is not greater than the preset box size, then the verification box size is obtained based on the first adjustment box size.
[0038] Secondly, this application provides an automatic generation device for electrical distribution box drawings, which adopts the following technical solution:
[0039] An automatic generation device for electrical distribution box drawings includes the following modules:
[0040] The response module is used to respond to operation commands, extract component feature parameters based on the operation commands, and determine the preset housing size.
[0041] The preliminary result generation module is used to generate preliminary drawings by combining the component feature parameters with preset drawing rules, and to obtain the preliminary box dimensions in the preliminary drawings;
[0042] The distribution box drawing output module is used to perform dimension verification based on the preliminary drawings and the preliminary box dimensions to obtain the verified box dimensions and the corresponding verification drawings. The preliminary box dimensions and the verified box dimensions are compared with the preset box dimensions, and the one that is smaller than the preset box dimensions and has the smallest difference between them is taken as the final box dimensions. The drawing corresponding to the final box dimensions is used as the distribution box drawing and output.
[0043] By adopting the above technical solutions, the necessary software technology support for the automatic generation of distribution box drawings is provided, which significantly improves the intelligence and automation level of distribution box drawing generation and meets the requirements of technological progress.
[0044] Thirdly, this application provides a smart terminal, which adopts the following technical solution:
[0045] A smart terminal includes a memory and a processor. The memory stores at least one instruction, at least one program, code set, or instruction set. The at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to realize a method for automatically generating electrical distribution box drawings.
[0046] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0047] A computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement a method for automatically generating electrical distribution box drawings.
[0048] In summary, this application includes the following beneficial technical effects:
[0049] Staff only need to input operation instructions containing relevant information to obtain the output of the distribution box drawings. The entire process is automated, which not only significantly improves the efficiency of drawing generation, but also ensures the accuracy of the output drawings, avoiding the errors caused by manual drawing in existing technologies. Attached Figure Description
[0050] Figure 1 This is a flowchart illustrating the automatic generation method of the distribution box drawing in the embodiments of this application;
[0051] Figure 2 This is a flowchart illustrating the process of obtaining preliminary drawings in step S2 of this application embodiment;
[0052] Figure 3 This is a schematic diagram of the process for obtaining the preliminary box dimensions in step S2 of this application embodiment;
[0053] Figure 4 This is a flowchart illustrating step S3 in an embodiment of this application. Detailed Implementation
[0054] This application discloses a method, apparatus, terminal, and storage medium for automatically generating electrical distribution box drawings. To make the objectives, technical solutions, and advantages of this application clearer, the implementation methods of this application will be further described in detail below.
[0055] A method for automatically generating electrical distribution box drawings, referenced. Figures 1 to 4 This includes the following steps:
[0056] S1. Respond to operation commands, extract component feature parameters based on operation commands, and determine preset cabinet dimensions, specifically including:
[0057] The system responds to operation commands, which include component type, preset enclosure size, logic for processing the number of poles of components inside the enclosure, and logic for processing the current of components inside the enclosure.
[0058] Based on the operation instructions, the system extracts components and their corresponding characteristic parameters from a pre-built database. The component characteristic parameters include component installation data, number of poles, and rated current value.
[0059] The logic for handling the number of poles of components inside the enclosure is to arrange each component according to its connection priority.
[0060] The current processing logic automatically selects the vertical and horizontal spacing of components based on their rated current values.
[0061] The component installation data includes the distance from the component to the edge of the enclosure, the depth of the component mounting base, the thickness of the door panel, and the safety distance.
[0062] S2. Generate preliminary drawings using component characteristic parameters and preset drawing rules, and obtain preliminary box dimensions from the preliminary drawings. This includes the following steps:
[0063] S21. Generate preliminary drawings, including the following steps:
[0064] S211. Based on the component type, component current, and component pole number, all components are divided into incoming components and outgoing components.
[0065] S212. The incoming line type of the selected incoming line components is determined based on the number of poles and the current of the components; other matching components are searched for and connected to the incoming line components to determine the incoming line path of the incoming line components, and the incoming line drawing is obtained based on the incoming line path of the incoming line components.
[0066] S213. If the selected outgoing component is a thermal relay, search for contactors and circuit breakers that match the thermal relay, and obtain the outgoing path based on the thermal relay, contactor, and circuit breaker; if the outgoing component is not a thermal relay, directly use the single outgoing component as the outgoing path; finally, obtain the outgoing drawing based on the outgoing path.
[0067] S214. Combine the incoming line drawings and outgoing line drawings to obtain preliminary drawings.
[0068] S22. Obtain preliminary box dimensions, including the following steps:
[0069] S221. Obtain the total width and number of incoming lines based on the incoming line path. Then, based on the total width, number of incoming lines, and distance from the component to the edge of the enclosure, obtain the required enclosure width for the incoming lines.
[0070] S222. Obtain the total width and number of outgoing lines based on the outgoing line path, and then obtain the required box width for outgoing lines based on the total width and number of outgoing lines.
[0071] S223. Combine the required box width for the incoming line and the required box width for the outgoing line to obtain the required box height for the incoming line.
[0072] S224. The required cabinet depth for the incoming line is obtained based on the component mounting backplate depth, door panel thickness, and safety distance.
[0073] S225. The preliminary enclosure dimensions are obtained by combining the required enclosure height and depth for the incoming line.
[0074] S3. Obtain and output the distribution box drawing, including the following steps:
[0075] S31. Obtain the dimensions of the verification box, including the following steps:
[0076] S311. First, increase the required width of the outgoing cable box by one unit to obtain the first adjustable box width. Based on the first adjustable box width and the required width of the incoming cable box, obtain the required height of the incoming cable box for verification. Based on the required height of the incoming cable box for verification and the required depth of the incoming cable box, obtain the first adjustable box size.
[0077] In this embodiment, one unit can be 5cm or 10cm.
[0078] S312. Compare the first adjustment box size with the preset box size; if the first adjustment box size is not greater than the preset box size, then directly use the first adjustment box size as the verification box size.
[0079] If the first adjustable box size is larger than the preset box size, the required box width for the outgoing line is reduced by one unit to obtain the second adjustable box width, and the second adjustable box size is obtained based on the second adjustable box width. If the second adjustable box size is not larger than the preset box size, the second adjustable box size is directly used as the verification box size; if the second adjustable box size is larger than the preset box size, the first adjustable box size is directly used as the verification box size.
[0080] S32. Obtain the review drawings, including the following steps:
[0081] S321. Determine the verification incoming line path based on the effective installation distance of the components and the rated current value of the components, and obtain the verification incoming line drawing based on the verification incoming line path.
[0082] S322. Arrange all components in the outgoing path row by row according to the connection priority until all components are arranged, and then obtain the verification outgoing line drawing based on the arranged positions.
[0083] The specific operation is as follows: check if the devices along the same path are arranged in a row. If not, continue to arrange the outgoing components in the same path in the next row. That is, when the devices along the same path in the first row are not arranged, the second row will first arrange the components that were not arranged in the first row, until the cycle reaches the last row.
[0084] S323. Generate a review drawing by combining the review of the incoming line drawing and the review of the outgoing line drawing.
[0085] S33. Output of the distribution box drawings, which includes:
[0086] The preliminary box dimensions and the verified box dimensions are compared with the preset box dimensions. If the verified box dimensions are larger than the preset box dimensions, the preliminary drawing corresponding to the preliminary box dimensions is used as the final drawing and output.
[0087] If the verified cabinet size is smaller than the preset cabinet size, and the difference between the preliminary cabinet size and the preset cabinet size is less than the difference between the verified cabinet size and the preset cabinet size, then the preliminary drawing corresponding to the preliminary cabinet size will be used as the final drawing and output. If the verified cabinet size is smaller than the preset cabinet size, and the difference between the preliminary cabinet size and the preset cabinet size is greater than the difference between the verified cabinet size and the preset cabinet size, then the verification drawing corresponding to the verification cabinet size will be used as the final drawing and output.
[0088] The final drawing is the required distribution box drawing.
[0089] An automatic generation device for electrical distribution box drawings includes the following modules:
[0090] The response module is used to respond to operation commands, extract component feature parameters based on the operation commands, and determine the preset cabinet size.
[0091] The preliminary result generation module is used to generate preliminary drawings by combining the component feature parameters with preset drawing rules, and to obtain the preliminary box dimensions in the preliminary drawings;
[0092] The distribution box drawing output module is used to verify the dimensions based on the preliminary drawings and preliminary box dimensions, obtain the verified box dimensions and the corresponding verification drawings, compare the preliminary box dimensions and the verified box dimensions with the preset box dimensions respectively, and take the one that is smaller than the preset box dimensions and has the smallest difference between the two as the final box dimensions. The drawing corresponding to the final box dimensions is then used as the distribution box drawing and output.
[0093] The response module includes:
[0094] The first response unit is used to respond to operation commands. The operation commands include component type, preset cabinet size, component pole number processing logic and component current processing logic. The component pole number processing logic arranges each component according to connection priority. The current processing logic automatically selects the vertical and horizontal spacing of the components based on their rated current values.
[0095] The second response unit is used to extract components and their corresponding characteristic parameters from a pre-built database according to the operation instructions. The component characteristic parameters include component installation data, component pole number, and component rated current value.
[0096] The preliminary drawing and preliminary box size generation module is used to generate preliminary drawings by combining component feature parameters with preset drawing rules and to obtain the preliminary box size in the preliminary drawings.
[0097] The preliminary results module includes:
[0098] The first preliminary drawing generation unit is used to determine the incoming / outgoing line type of the corresponding component based on the component characteristic parameters.
[0099] The second preliminary drawing generation unit is used to select all components with incoming / outgoing line type as incoming line, generate incoming line paths according to the connection priority of each component, and obtain incoming line drawings based on the incoming line paths.
[0100] The third preliminary drawing generation unit is used to select all components with incoming / outgoing line type as outgoing line. When the selected components do not include thermal relays, the outgoing line path is generated, and the outgoing line drawing is obtained based on the incoming line path.
[0101] The fourth preliminary drawing generation unit is used to generate preliminary drawings by combining the incoming line drawings and outgoing line drawings.
[0102] The third preliminary drawing generation unit further includes:
[0103] The third preliminary drawing generation sub-unit is used to search for contactors and circuit breakers that match the thermal relays when the selected components include thermal relays, and to obtain the outgoing line path based on the thermal relays, contactors, and circuit breakers.
[0104] The first preliminary enclosure size generation unit is used to obtain the total width of the incoming cable and the number of incoming cable rows based on the incoming cable path, and to obtain the enclosure width required for the incoming cable based on the total width of the incoming cable, the number of incoming cable rows and the component installation data.
[0105] The second preliminary enclosure size generation unit is used to obtain the total width and number of outgoing lines based on the outgoing line path, and to obtain the enclosure width required for outgoing lines based on the total width and number of outgoing lines; and to obtain the enclosure height required for incoming lines by combining the enclosure width required for incoming lines, the enclosure width required for outgoing lines, and component installation data.
[0106] The third preliminary enclosure size generation unit is used to obtain the enclosure depth required for the incoming line based on the component installation data; and to obtain the preliminary enclosure size by combining the enclosure height and enclosure depth required for the incoming line.
[0107] The distribution box drawing output module is used to verify the dimensions based on the preliminary drawings and preliminary box dimensions, obtain the verified box dimensions and the corresponding verification drawings, compare the preliminary box dimensions and the verified box dimensions with the preset box dimensions respectively, and take the one that is smaller than the preset box dimensions and has the smallest difference between the two as the final box dimensions. The drawing corresponding to the final box dimensions is then used as the distribution box drawing and output.
[0108] The distribution box drawing output module includes:
[0109] The first distribution box drawing output unit is used to adjust the required box width for outgoing lines to obtain the required box width for verification outgoing lines, obtain the required box height for verification incoming lines based on the required box width for verification outgoing lines, the required box width for incoming lines, and component installation data, and obtain the verified box dimensions based on the required box height for verification incoming lines and the required box depth for verification incoming lines.
[0110] The first distribution box drawing output unit is used to determine the verification incoming line path based on the component installation data and the rated current value of the components, and to obtain the verification incoming line drawing based on the verification incoming line path; to arrange all components in the outgoing line path row by row in sequence according to the connection priority until all components are arranged, and then to obtain the verification outgoing line drawing based on the arranged position; and to generate the verification drawing by combining the verification incoming line drawing and the verification outgoing line drawing.
[0111] The first distribution box drawing output unit further includes:
[0112] The first distribution box drawing output subunit is used to increase the required box width for outgoing lines by one unit to obtain a first adjustable box width, obtain a first adjustable box size based on the first adjustable box width, and compare it with a preset box size; if the first adjustable box size is greater than the preset box size, then the required box width for outgoing lines is reduced by one unit to obtain a second adjustable box width, and a verification box size is obtained based on the second adjustable box width; if the first adjustable box size is not greater than the preset box size, then the verification box size is obtained based on the first adjustable box size.
[0113] As can be seen from the above functional description, the automatic generation device for distribution box drawings in this application improves the intelligence and automation level of distribution box drawing generation.
[0114] Based on the same inventive concept described above, this application also discloses a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set can be loaded and executed by a processor to implement the automatic generation method for distribution box drawings provided in the above method embodiments.
[0115] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0116] Based on the same inventive concept described above, this application also discloses a computer-readable storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement the automatic generation method of the distribution box drawing as described above.
[0117] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in the computer-readable storage medium, which includes, for example, various media capable of storing program code such as: USB flash drive, portable hard drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk.
[0118] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for automatically generating a panel drawing, characterized by, include: Responding to operation commands, extracting component feature parameters based on the operation commands, and determining preset cabinet dimensions; Using the component feature parameters and preset drawing rules, a preliminary drawing is generated, and the preliminary box dimensions in the preliminary drawing are obtained; Based on the preliminary drawings and the preliminary box dimensions, the dimensions are verified to obtain the verified box dimensions and the corresponding verification drawings. The preliminary box dimensions and the verified box dimensions are compared with the preset box dimensions, and the one that is smaller than the preset box dimensions and has the smallest difference between them is taken as the final box dimensions. The drawings corresponding to the final box dimensions are taken as the distribution box drawings and output. The process of responding to operation commands, extracting component feature parameters based on the operation commands, and determining preset cabinet dimensions includes: The system responds to operation commands, which include component type, preset cabinet size, component pole number processing logic and component current processing logic. The component pole number processing logic arranges each component according to connection priority. The current processing logic automatically selects the vertical and horizontal spacing of the components based on their rated current values. According to the operation instructions, the component and its corresponding characteristic parameters are extracted from a pre-built database. The characteristic parameters include component installation data, number of poles, and rated current value. Using component characteristic parameters combined with preset drawing rules, preliminary drawings are generated, and preliminary box dimensions are obtained from the preliminary drawings, including: The input / output line type of the corresponding component is determined based on the component characteristic parameters; Select all components with incoming / outgoing line type as incoming line, generate incoming line path according to the connection priority of each component, and obtain incoming line drawing according to the incoming line path; Select all components with incoming / outgoing line type as outgoing. When the selected components do not include thermal relays, generate outgoing line path and obtain outgoing line drawing based on incoming line path. A preliminary drawing is generated by combining the incoming line drawing and the outgoing line drawing; The required cabinet height for the incoming line is obtained by combining the incoming and outgoing line paths; The required cabinet depth for the incoming line is obtained based on the component installation data. The preliminary enclosure dimensions are obtained by combining the required enclosure height and the required enclosure depth for the incoming line; After selecting all components with input / output line type as output, the method further includes: When the selected components include a thermal relay, a contactor and circuit breaker that match the thermal relay are searched, and the outgoing line path is obtained based on the thermal relay, the contactor, and the circuit breaker.
2. The method of claim 1, wherein, The required cabinet height for the incoming line is determined based on the inbound and outbound line paths, including: The total width and number of incoming lines are obtained based on the incoming line path. The required cabinet width for the incoming lines is then obtained based on the total width, the number of incoming lines, and the component installation data. The total width and number of outgoing lines are obtained based on the outgoing line path, and the required box width for outgoing lines is obtained based on the total width and number of outgoing lines. The required height of the inlet cabinet is obtained by combining the required width of the inlet cabinet, the required width of the outlet cabinet, and the component installation data.
3. The method for automatically generating distribution box drawings according to claim 2, characterized in that, The step of verifying dimensions based on the preliminary drawings and preliminary box dimensions to obtain verified box dimensions and corresponding verification drawings includes: The required width of the outgoing cable enclosure is adjusted to obtain the required width of the outgoing cable enclosure for verification. The required height of the incoming cable enclosure for verification is obtained based on the required width of the outgoing cable enclosure for verification, the required width of the incoming cable enclosure for verification, and the component installation data. The dimensions of the verification enclosure are obtained based on the required height of the incoming cable enclosure for verification and the required depth of the incoming cable enclosure for verification. The verification incoming line path is determined based on the component installation data and the rated current value of the component, and the verification incoming line drawing is obtained based on the verification incoming line path; According to the connection priority, all the components in the outgoing path are arranged row by row in sequence until all are arranged, and then the outgoing line drawing is obtained according to the arranged position. A review drawing is generated by combining the review incoming line drawing and the review outgoing line drawing.
4. The method for automatically generating distribution box drawings according to claim 3, characterized in that, Adjust the required cabinet width for the outgoing cables to obtain the verified required cabinet width for the outgoing cables, including: Increase the required box width for the outgoing line by one unit to obtain the first adjustable box width, obtain the first adjustable box size based on the first adjustable box width, and compare it with the preset box size; If the first adjustment box size is larger than the preset box size, then the required box width for the outgoing line is reduced by one unit to obtain the second adjustment box width, and the verification box size is obtained based on the second adjustment box width; If the first adjustment box size is not greater than the preset box size, then the verification box size is obtained based on the first adjustment box size.
5. An automatic distribution box drawing generation device comprising the automatic generation method for distribution box drawings as described in any one of claims 1-4, characterized in that, Includes the following modules: The response module is used to respond to operation commands, extract component feature parameters based on the operation commands, and determine the preset housing size. The preliminary result generation module is used to generate preliminary drawings by combining the component feature parameters with preset drawing rules, and to obtain the preliminary box dimensions in the preliminary drawings; The distribution box drawing output module is used to perform dimension verification based on the preliminary drawings and the preliminary box dimensions to obtain the verified box dimensions and the corresponding verification drawings. The preliminary box dimensions and the verified box dimensions are compared with the preset box dimensions, and the one that is smaller than the preset box dimensions and has the smallest difference between them is taken as the final box dimensions. The drawing corresponding to the final box dimensions is used as the distribution box drawing and output.
6. A smart terminal, characterized in that, The system includes a memory and a processor, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, and the at least one instruction, at least one program, code set, or instruction set is loaded and executed by the processor to implement the automatic generation method of distribution box drawings as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The readable storage medium stores at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by a processor to implement the automatic generation method of the distribution box drawing as described in any one of claims 1 to 4.