Busbar design drawing generation method, mobile electronic equipment and readable storage medium
By applying software to draw the layout interface and preset busbar configuration parameters on mobile electronic devices, and generating and optimizing busbar design drawings, the problems of insufficient busbar design accuracy and complex operation in the prior art are solved, and a more efficient, flexible and readable busbar design is achieved.
Patent Information
- Application Number
- CN202510155712.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-05-13
AI Technical Summary
The existing busbar design technology has problems such as insufficient accuracy, complex operation, long time consumption and inconvenient archiving and sharing in non-standard electrical equipment design, especially poor normativeness caused by manual drawing and obstruction of information transmission.
By applying software to draw the ranking interface on mobile electronic devices, combining preset busbar configuration parameters, the initial three-dimensional busbar is generated, and the busbar design drawing of the target three-dimensional busbar is optimized through size parameter adjustment and overlap measurement dimensions.
It improves the accuracy and efficiency of busbar design, reduces the requirements for operators, simplifies modification steps, improves user experience, and makes busbar design more flexible and readable.
Smart Images

Figure CN119989450A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of drawing design, and in particular, to a busbar design drawing generation method, a mobile electronic device and a readable storage medium. Background Art
[0002] In the field of design and manufacturing of complete sets of electrical equipment, the accuracy of busbar design drawings is crucial, which directly affects the overall performance of the electrical system. In addition, busbar processing consumes a lot of copper materials, and design deviations or improper layout can easily lead to waste, affecting project progress and benefits. Traditional busbar design is divided into two modes: for standard electrical equipment, busbar design is completed with the help of computer-aided design (CAD) software; for non-standard electrical equipment, busbar design relies on manual work. Among them, non-standard electrical equipment accounts for a high proportion, which makes manual drawing problems obvious, such as poor standardization, insufficient accuracy, difficulty in modification, inconvenience in archiving and sharing, environmental pollution, and obstructed information transmission.
[0003] In the prior art, CAD software is usually used to assist in drawing busbars, and a polyline is formed by clicking multiple points on a certain view interface. When the busbar parameters need to be modified, there are two ways to modify them: one is to click on the line segment to enter the size to adjust the line segment length; the other is to select any two bending points, stretch and mark in the vertical direction to adjust the range length of the busbar to complete the modification of the busbar parameters, and then use the flange function of the CAD software to generate a three-dimensional busbar.
[0004] However, the existing technology is easily restricted by office scenarios and has high requirements for operators. Although CAD software can draw the busbar, it is cumbersome and time-consuming to modify the busbar parameters, which reduces the accuracy and efficiency of the busbar design. In addition, the marking does not conform to the measurement habits of the busbar, which reduces the compatibility of the system and user experience. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a busbar design drawing generation method, a mobile electronic device and a readable storage medium, so as to remove the limitations of the drawing scene, reduce the requirements for operators, and simplify the steps when modifying the busbar parameters, which not only improves the accuracy and efficiency of the busbar design, but also improves the user experience.
[0006] In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a busbar design diagram generation method, which is applied to a mobile electronic device that presents a software layout interface, and the method includes:
[0008] Generate an initial 3D busbar according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters, and display the initial busbar view of the 3D busbar under the preset view angle, wherein the initial busbar view is marked with: size parameters of multiple busbar segments in the target direction and size parameters of the busbar extension range;
[0009] According to the size parameter adjustment operation inputted in the software layout interface for the initial busbar view and the overlap measurement size, the size of the multiple busbar segments and the busbar extension range in the initial 3D busbar is adjusted to generate a target 3D busbar;
[0010] According to the target three-dimensional busbar, a busbar design drawing of the target three-dimensional busbar is generated and displayed.
[0011] Optionally, the preset busbar configuration parameters include: busbar specification parameters and bending radius parameters; the generating of the initial three-dimensional busbar according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters includes:
[0012] According to the shape line drawing operation, obtaining the starting point and the bending point of the hand-drawn line;
[0013] Converting the hand-drawn line into a standard polyline according to the starting point, the bending point and the bending radius parameter;
[0014] According to the busbar specification parameters, the standard broken line is expanded outward to generate the initial three-dimensional busbar.
[0015] Optionally, the busbar specification parameters include: thickness parameter, width parameter;
[0016] The step of expanding the standard fold line according to the busbar specification parameters to generate the initial three-dimensional busbar includes:
[0017] According to the thickness parameter and the width parameter, the standard fold line is expanded in a preset thickness direction and a preset width direction respectively to generate the initial three-dimensional busbar.
[0018] Optionally, the overlap measurement size includes: at least one segment measurement size and a range measurement size; the size parameter adjustment operation input for the initial bus view input on the software layout interface and the overlap measurement size are used to adjust the size of the multiple bus segments and the bus extension range in the initial 3D bus to generate a target 3D bus, including:
[0019] According to the input first size parameter adjustment operation, the size of the busbar extension range of the initial three-dimensional busbar is adjusted and locked to the range measurement size, and the range size change amount of the busbar extension range is determined;
[0020] scaling the target projection segments having projection data in the target direction among the plurality of busbar segments according to the range size change;
[0021] According to the input second size parameter adjustment operation, the size of the first busbar segment in the target projection segment is adjusted and locked to the segment measurement size;
[0022] According to the locked size of the extension range of the busbar and the size of the first busbar segment, the size of the second busbar segment in the target projection segment is dynamically adjusted to obtain the target three-dimensional busbar.
[0023] Optionally, dynamically adjusting the size of the second busbar segment in the target projection segment according to the size of the locked extension range of the busbar and the size of the first busbar segment to obtain the target three-dimensional busbar includes:
[0024] If the number of the target projection segments is equal to 2, calculating a first size difference according to the locked size of the busbar extension range and the locked size of the first busbar segment;
[0025] Dynamically adjusting the size of the second busbar segment to the first size difference to obtain the target three-dimensional busbar;
[0026] Alternatively, if the number of the target projection segments is greater than 2, the size change of the first bus segment is obtained according to the size of the first bus segment after locking and the size of the first bus segment before locking;
[0027] According to the size change of the first busbar segment, the target size of each second busbar segment is determined respectively, and the size of each second busbar segment is dynamically adjusted to the corresponding target size to obtain the target three-dimensional busbar.
[0028] Optionally, the overlap measurement size includes: at least one segment measurement size and a range measurement size; the size adjustment of the multiple bus segments and the bus extension range in the initial 3D bus according to the size parameter adjustment operation input for the initial bus view and the overlap measurement size to generate a target 3D bus includes:
[0029] According to the input third size parameter adjustment operation, the size of the third busbar segment in the initial three-dimensional busbar is adjusted and locked to the corresponding segment measurement size, and the size change amount of the third busbar segment is determined; wherein the third busbar segment is any segment in the target projection segment having projection data in the target direction corresponding to the range measurement size;
[0030] According to the size change of the third busbar segment, the size of the fourth busbar segment in the target projection segment is kept unchanged, and the size of the busbar extension range is dynamically adjusted;
[0031] According to the input fourth size parameter adjustment operation, the busbar extension range is adjusted from the dynamically adjusted size to the range measurement size, and the size change amount of the busbar extension range is determined;
[0032] According to the size change of the busbar extension range, the size of the third busbar segment is kept unchanged, and the size of the fourth busbar segment is dynamically adjusted to obtain the target three-dimensional busbar.
[0033] Optionally, generating and displaying a busbar design diagram of the target three-dimensional busbar according to the target three-dimensional busbar includes:
[0034] According to the input hole configuration operation and the preset hole configuration parameters, a hole is opened at the target position of the target three-dimensional busbar;
[0035] Generate and display busbar views of the target three-dimensional busbar under multiple viewing angles according to the target three-dimensional busbar after the holes are opened;
[0036] The multiple busbar segments are annotated with dimension parameters in the busbar views under the multiple viewing perspectives, and the busbar views under the multiple viewing perspectives are annotated with openings and bends to generate a busbar design drawing of the target three-dimensional busbar.
[0037] Optionally, the method further comprises:
[0038] If the multiple busbar segments are all forward segments, the busbar views under the multiple view perspectives are dimensioned to the busbar extension range, wherein the forward segment is used to indicate that the busbar segment has projection data in the target direction.
[0039] In a second aspect, an embodiment of the present application provides a mobile electronic device, comprising: a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, implements the busbar design drawing generation method described in any one of the first aspects.
[0040] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor in a mobile device, implements the busbar design drawing generation method described in any one of the first aspects.
[0041] Compared with the prior art, the busbar design drawing generation method, mobile electronic device and readable storage medium provided in the embodiments of the present application have the following beneficial effects:
[0042] The present application provides a busbar design drawing generation method, a mobile electronic device and a readable storage medium, and relates to the field of drawing design. The method is applied to a mobile electronic device that presents a software drawing interface, and can construct and generate an initial three-dimensional busbar according to the shape line drawing operation input in the software drawing interface and the preset busbar configuration parameters, and generate and display the initial busbar view under the preset view angle, wherein the initial busbar view is marked with: the size parameters of multiple busbar segments in the target direction and the size parameters of the busbar extension range, so that the user can intuitively understand the initial size layout of the busbar; according to the size parameter adjustment operation input for the initial busbar view input in the software drawing interface and the actual overlap measurement size, the size of multiple busbar segments and busbar extension range in the initial three-dimensional busbar is adjusted to ensure the accuracy and practicality of the busbar size, thereby generating a target three-dimensional busbar that meets the design requirements; according to the target three-dimensional busbar, the busbar design drawing of the target three-dimensional busbar is generated and displayed. The busbar design drawing not only presents the structure and size information of the busbar in detail, but also has a high degree of readability and aesthetics, providing users with a comprehensive and intuitive busbar design reference. At the same time, this application can free the workshop from the constraints of the drawing scene after the measurement, and the operation can be completed through mobile electronic devices. By modifying the length parameters of some segments on the pre-drawn shape, the operation steps are reduced, and the drawings are quickly generated to obtain the required busbar part design drawings, which not only reduces the operation steps, but also improves the flexibility of busbar design, improves the data accuracy of manual drawing, and at the same time, 3D modeling is more intuitive, allowing designers to complete the project quickly. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of the structure of a mobile electronic device provided in an embodiment of the present application;
[0045] Figure 2A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 1 ;
[0046] Figure 3 A schematic diagram of an initial three-dimensional busbar provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of an initial busbar view corresponding to an initial three-dimensional busbar provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 2 ;
[0049] Figure 6 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 3 ;
[0050] Figure 7 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 4 ;
[0051] Figure 8 A schematic diagram of a busbar design provided in an embodiment of the present application Figure 1 ;
[0052] Fig. 9 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 5 ;
[0053] Fig.10 A schematic diagram of a busbar design provided in an embodiment of the present application Figure 2 ;
[0054] Fig.11 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 6 ;
[0055] Fig.12 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 7 ;
[0056] Fig.13 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 8 ;
[0057] Fig.14 A schematic diagram of the structure of a busbar design diagram generating device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0059] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0060] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0061] In order to clearly describe a busbar design drawing generation method, a mobile electronic device and a readable storage medium provided in an embodiment of the present application, the mobile electronic device is first described in detail with reference to the accompanying drawings.
[0062] The mobile electronic device with a mobile operating system can be selected according to actual conditions. For example, the mobile electronic device can be any mobile phone, etc., which is not limited here. Further, the busbar design drawing generation method can be understood as a busbar drawing design function in a preset mobile application. And the mobile operating system can also be selected according to actual conditions, for example, it can be an Android operating system.
[0063] Figure 1 This is a schematic diagram of the structure of a mobile electronic device provided in an embodiment of the present application. Figure 1 As shown, the mobile electronic device 100 may include: a processor 110 and a memory 120 .
[0064] The memory 120 stores machine executable instructions that can be executed by the processor 110, that is, when the mobile electronic device 100 is running, the machine readable instructions are executed, and the processor 110 communicates with the memory 120 via a bus. The processor 110 can execute the machine executable instructions to implement the busbar design drawing generation method.
[0065] Among them, the memory 120, the processor 110 and the bus components are directly or indirectly electrically connected to each other to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. The mobile storage device includes at least one software function module that can be stored in the memory 120 in the form of software or firmware or solidified in the operating system (OS) of the mobile electronic device 100. The processor 110 is used to execute the executable modules stored in the memory 120, such as the software function modules and computer programs included in the busbar design drawing generation method of the mobile storage medium.
[0066] Among them, the memory 120 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0067] The busbar design drawing generation method provided in the embodiment of the present application can be executed by the processor 110 in the mobile electronic device 100. The busbar design drawing generation method provided in the above embodiment of the present application is explained and illustrated in detail in conjunction with the accompanying drawings as follows. Figure 2 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 1 .like Figure 2 As shown, the method may include:
[0068] S201, generating an initial three-dimensional busbar according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters, and displaying the initial busbar view of the three-dimensional busbar under the preset view angle.
[0069] The initial busbar view is marked with: size parameters of multiple busbar segments in the target direction and size parameters of the busbar extension range. The preset view angle can be a view angle that presents the extended shape of the initial three-dimensional busbar, such as a right view angle or a left view angle.
[0070] In a possible implementation, taking the mobile electronic device as a touch device as an example, the shape line drawing operation is, for example, a part modeling drawing operation consisting of multiple continuous broken lines input by a finger through a software drawing interface. The preset busbar configuration parameters can be, for example, parameters selected through a software screen interface. In a possible implementation, a two-dimensional broken line can be generated based on the input shape line drawing operation, and the two-dimensional broken line can be three-dimensionalized according to the preset busbar configuration parameters to obtain an initial three-dimensional busbar. While generating the initial three-dimensional busbar, the initial three-dimensional busbar is displayed from a preset view perspective to obtain and display the initial busbar view. The initial busbar view is marked with a segment length and a range length, wherein the segment length includes: the size parameters of each busbar segment in the target direction, and the range length includes: the size parameters of the busbar extension range. The target direction can be, for example, the busbar extension direction. Such detailed annotations not only help users intuitively understand the structural characteristics of the initial three-dimensional busbar, but also provide reference information for subsequent manufacturing, ensuring extremely high accuracy and efficiency in every link from design to production.
[0071] For example, Figure 3 This is a schematic diagram of an initial three-dimensional busbar provided in an embodiment of the present application. Figure 3 As shown, the initial three-dimensional busbar is generated according to the shape line drawing operation input in the software drawing interface and the preset busbar configuration parameters.
[0072] Figure 4 A schematic diagram of an initial busbar view corresponding to an initial stereo busbar provided in an embodiment of the present application. Figure 4 As shown, the initial busbar view is marked with: the size parameters of multiple busbar segments in the target direction, such as Figure 4 (1), ..., (5) in ; and the dimension parameters of the busbar extension range, such as Figure 4 Horizontal extension range parameters and vertical extension range parameters in.
[0073] S202, according to the size parameter adjustment operation input for the initial busbar view input in the software layout interface and the overlap measurement size, multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar are resized to generate a target three-dimensional busbar.
[0074] In one possible implementation, after the initial three-dimensional busbar is formed, the user can measure the dimensions of the components to be overlapped in the electrical equipment and the dimensions between the components according to the actual overlap requirements to obtain the overlap measurement dimensions. After obtaining the overlap measurement dimensions, the initial three-dimensional busbar can be adjusted in size through the dimension parameter adjustment operation and overlap measurement dimensions input through the software layout interface to achieve parameterized adjustment of the initial three-dimensional busbar.
[0075] Due to the different measurement orders, the order of adjusting the size of the initial three-dimensional busbar is different. Therefore, in this solution, according to the size parameter adjustment operation input through the software layout interface and the overlap measurement size, the adjustment strategy corresponding to the corresponding measurement order can be adopted to adjust the size of multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar in sequence to generate the target three-dimensional busbar. Among them, the measurement order is used to indicate whether to measure the size of the components to be overlapped first, or to measure the size between the components first. The size of the components determines the size parameters of each busbar segment, and the size between the components determines the size parameters of the busbar extension range. To ensure that the overall structure of the busbar not only meets the user's design intent, but also meets specific electrical performance and safety requirements in actual applications. This process not only reflects a high degree of flexibility and customization capabilities, but also ensures that every link from design to manufacturing of the busbar can achieve optimal performance and precision.
[0076] It should be noted that since different users measure in different orders, it is necessary to ensure that each adjustment of the size parameters of the initial three-dimensional busbar does not change the user's initial three-dimensional busbar shape, so as to be compatible with everyone's measurement and drawing habits and improve efficiency and accuracy.
[0077] S203: Generate and display a busbar design drawing of the target three-dimensional busbar according to the target three-dimensional busbar.
[0078] In one possible implementation, a corresponding busbar design drawing is generated based on a determined target three-dimensional busbar, and it is ensured that the busbar design drawing can be clearly displayed.
[0079] The present application provides a method for generating a busbar design drawing, which constructs and generates an initial three-dimensional busbar according to the shape line drawing operation input in the software drawing interface and the preset busbar configuration parameters, and generates and displays the initial busbar view under the preset view angle, wherein the initial busbar view is marked with: the size parameters of multiple busbar segments in the target direction and the size parameters of the busbar extension range, so that the user can intuitively understand the initial size layout of the busbar; according to the size parameter adjustment operation input for the initial busbar view input in the software drawing interface and the actual overlap measurement size, the size of multiple busbar segments and busbar extension range in the initial three-dimensional busbar is adjusted to ensure the accuracy and practicality of the busbar size, thereby generating a target three-dimensional busbar that meets the design requirements; according to the target three-dimensional busbar, the busbar design drawing of the target three-dimensional busbar is generated and displayed. The busbar design drawing not only presents the structure and size information of the busbar in detail, but also has a high degree of readability and aesthetics, providing users with a comprehensive and intuitive busbar design reference. At the same time, the present application can liberate the constraints on the drawing scene after the workshop is measured, and the operation can be completed through a mobile electronic device. By modifying the length parameters of some segments on the pre-drawn shape and reducing the number of operation steps, drawings can be quickly generated to obtain the required busbar part design drawings. This not only reduces the number of operation steps, but also improves the flexibility of busbar design and the data accuracy of manual drawing. At the same time, 3D modeling is more intuitive, allowing designers to complete projects quickly.
[0080] Optionally, the preset busbar configuration parameters in the above method may include: busbar specification parameters and bending radius parameters. Among them, the busbar specification parameters can be selected according to actual conditions. For example, the busbar specification parameters can be selected as the material of the busbar (such as copper), etc. The bending radius parameter refers to the radius of the arc formed by the inner surface of the busbar during the bending process. When determining the bending radius parameter, it is necessary to fully consider factors such as the thickness, type, bending angle and mold design of the busbar material (such as copper), and follow the relevant process standards and specifications.
[0081] In one possible implementation, Figure 5 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 2 .like Figure 5 As shown, in the above method, generating an initial three-dimensional busbar according to the input shape line drawing operation and the preset busbar configuration parameters may include:
[0082] S301. According to the shape line drawing operation, obtain the starting point and bending point of the hand-drawn line.
[0083] In one possible implementation, on the drawing interface of the preset APP, the user first selects the preset busbar configuration parameters of the busbar, such as the busbar specification parameters and the bending radius parameters. After completing these selections, the user can draw the shape lines of the busbar by touching the screen on the drawing interface. Based on the user's touch screen operation, the preset APP can recognize and record the initial shape of the busbar composed of multiple shape line segments. During the drawing process, the drawing interface of the preset APP will capture each touch screen operation of the user. It will determine the starting point of the hand-drawn line based on the position information of the first point of the user's touch screen (such as XY axis coordinates); at the same time, according to the position information of the last point of the user's touch screen operation, the end point of the hand-drawn line is determined. Furthermore, according to the coordinate information of the starting point and the end point on the drawing interface, the position information of the bending point in the shape line is determined.
[0084] S302: Convert the hand-drawn line into a standard polyline according to the starting point, bending point and bending radius parameters.
[0085] In one possible implementation, the user's hand-drawn lines are converted into standard polylines based on the positioning information of the starting point, the bending point, and the bending radius parameter's bending guidance, ensuring that the converted polylines meet the design specifications and reflect the user's drawing intent, thereby improving the accuracy and practicality of the busbar design drawings.
[0086] S303. Expand the standard broken line according to busbar specification parameters to generate an initial three-dimensional busbar.
[0087] In one possible implementation, the standard fold line is expanded outward according to the busbar specification parameters to generate an initial three-dimensional busbar, ensuring that the shape of the initial three-dimensional busbar after expansion not only strictly meets the design requirements in size, but also can accurately reflect the characteristics of the original fold line in shape.
[0088] The present application provides a method for generating a busbar design drawing. The preset busbar configuration parameters in the above method include: busbar specification parameters (such as busbar material) and bending radius parameters; then after selecting the preset busbar configuration parameters of the busbar, according to the shape line drawing operation, the starting point and bending point of the hand-drawn line are obtained; according to the starting point, bending point and bending radius parameters, the hand-drawn line is converted into a standard polyline; according to the busbar specification parameters, the standard polyline is expanded to generate an initial three-dimensional busbar. Therefore, the present application not only ensures the accuracy of the busbar design, but also greatly improves the conversion efficiency from design to production, providing users with an efficient implementation path from creativity to physical objects.
[0089] Optionally, the busbar specification parameters in the above method may include: thickness parameter and width parameter.
[0090] In a possible implementation example, in the above method, the standard broken line is expanded outward according to the busbar specification parameters to generate an initial three-dimensional busbar, which may include:
[0091] According to the thickness parameters and the width parameters, the standard fold line is expanded in the preset thickness direction and the preset width direction respectively to generate an initial three-dimensional busbar.
[0092] Among them, the preset thickness direction and the preset width direction can be selected according to actual conditions.
[0093] In a possible implementation, based on the selected busbar thickness parameter and width parameter, the standardized fold line is expanded in the preset thickness direction and the preset width direction to generate an initial three-dimensional busbar. For example, the standard fold line is used as the center line of the inner plane and expanded outward at the same time to form an initial three-dimensional busbar. The expansion length is equal to the set busbar width parameter, and the expansion thickness is equal to the set busbar thickness parameter.
[0094] For example, in the software drawing interface, after selecting the preset busbar configuration parameters (thickness, width, material) and bending radius parameters of the busbar, the user touches the screen with his finger to draw multiple continuous broken lines of the busbar shape, such as Figure 4 The bold line segment shown in the figure obtains the starting point and the bending point, converts the hand-drawn result into a standard polyline, and expands outward with the polyline as the midline of the inner plane to generate the initial three-dimensional busbar.
[0095] The present application provides a method for generating a busbar design drawing, wherein the busbar specification parameters in the above method may include: thickness parameters and width parameters. Based on the selected thickness parameters and width parameters, the standard fold line is expanded in the preset thickness direction and the preset width direction respectively to generate an initial three-dimensional busbar. Therefore, the present application not only takes into account the physical size requirements of the busbar, but also ensures that the shape of the initial three-dimensional busbar after expansion can match the details of the original fold line. It provides a detailed and accurate reference basis for subsequent production and processing.
[0096] Optionally, the overlap measurement dimension in the above method includes: at least one segment measurement dimension and a range measurement dimension.
[0097] In one possible implementation, Figure 6 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 3 .like Figure 6 As shown, in the above method, according to the size parameter adjustment operation input for the initial busbar view and the overlap measurement size, the size of multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar are adjusted to generate a target three-dimensional busbar, which may include:
[0098] S401. According to the input first size parameter adjustment operation, the size of the busbar extension range of the initial three-dimensional busbar is adjusted and locked as the range measurement size, and the range size change amount of the busbar extension range is determined.
[0099] In a possible implementation, the busbar extension range of the initial three-dimensional busbar is adjusted in size according to the input first size parameter adjustment operation, so as to lock the size of the busbar extension range to the specific size value obtained by the user through range measurement, and thereby determine the range size change of the busbar extension range before and after the adjustment. Through such an operation, the accuracy and consistency of the busbar extension range size are ensured, and a reliable benchmark is provided for subsequent size adjustment and verification.
[0100] S402 , scaling target projection segments having projection data in a target direction among a plurality of busbar segments according to the range size variation.
[0101] In one possible implementation, based on the determined range size change of the busbar extension range, the target projection segments with projection data in the target direction among the multiple busbar segments are scaled. This ensures that all target projection segments can maintain the correct proportional relationship within the adjusted busbar extension range while maintaining the consistency of their projection data in the target direction. Thus, through accurate scaling, not only the overall coordination and functionality of the busbar structure are enhanced, but also the accuracy and practicality of the design are further improved.
[0102] S403 . According to the input second size parameter adjustment operation, the size of the first busbar segment in the target projection segment is adjusted and locked as the segment measurement size.
[0103] In one possible implementation, based on the second size parameter adjustment operation input by the user, the first busbar segment in the target projection segment is accurately resized. This adjustment process locks the size of the first busbar segment to the specific size value obtained by the user through segment measurement. This ensures the accuracy and consistency of the size of the first busbar segment, and also provides a reliable benchmark for subsequent busbar segment size adjustment and overall layout optimization. This process fully demonstrates the sensitive response to user input and the ability to accurately control the busbar segment size adjustment.
[0104] It should be noted that, after the size of the busbar extension range of the initial stereoscopic busbar is modified, the target projection segments having projection data in the target direction among the multiple busbar segments are scaled, and the projection segments not in the target direction are not affected.
[0105] S404: dynamically adjust the size of the second busbar segment in the target projection segment according to the size of the locked busbar extension range and the size of the first busbar segment to obtain a target three-dimensional busbar.
[0106] In a possible implementation, after the size of the busbar extension range and the size of the first busbar segment are locked, the size of the second busbar segment in the target projection segment is dynamically adjusted according to these determined size parameters. This ensures that the second busbar segment can meet specific size requirements while maintaining overall coordination with the first busbar segment and the busbar extension range. Through such adjustments, a target three-dimensional busbar with coordinated structure and precise size is obtained.
[0107] It should be noted that the size adjustment of the busbar extension range of the initial three-dimensional busbar, taking the extension range as the horizontal direction as an example, selects the leftmost and rightmost vertical coordinates of the initial three-dimensional busbar, and determines the horizontal extension range based on the two vertical coordinates. Among them, the significance of modifying the busbar extension range of the initial three-dimensional busbar is to clarify the range measurement size of the initial three-dimensional busbar, and can quickly modify the busbar segment length within the range measurement size based on the range measurement size.
[0108] The busbar design drawing generation method provided by the present application, the overlap measurement size in the above method includes: at least one segment measurement size and a range measurement size. According to the input first size parameter adjustment operation, the size of the busbar extension range of the initial three-dimensional busbar is adjusted and locked as the range measurement size, and the range size change of the busbar extension range is determined; and according to the range size change, the target projection segment with projection data in the target direction in multiple busbar segments is scaled to ensure the consistency of the size of the target projection segment and the busbar segment in the target direction; then, according to the input second size parameter adjustment operation, the size of the first busbar segment in the target projection segment is adjusted and locked as the segment measurement size; finally, according to the size of the locked busbar extension range and the size of the first busbar segment, the size of the second busbar segment in the target projection segment is dynamically adjusted to obtain the target three-dimensional busbar. Therefore, the target three-dimensional busbar obtained by the present application not only meets the design requirements, but also provides a solid foundation for subsequent production and processing.
[0109] Figure 7 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 4 .like Figure 7 As shown, in the above method, dynamically adjusting the size of the second busbar segment in the target projection segment according to the size of the locked busbar extension range and the size of the first busbar segment to obtain the target three-dimensional busbar may include:
[0110] S501: If the number of target projection segments is equal to 2, a first size difference is calculated according to a locked size of the busbar extension range and a locked size of the first busbar segment.
[0111] In one possible implementation, if the number of target projection segments is exactly two, the first size difference is calculated based on the locked busbar extension range size and the size of the first busbar segment. This is to quantify the specific size difference between the first busbar segment and the busbar extension range, and provide key data support for subsequent possible size adjustment or verification. Through such calculations, we can more accurately understand and control the size relationship between different parts of the busbar structure, thereby ensuring that the final generated three-dimensional busbar meets the design requirements and can perform at its best in actual applications.
[0112] S502: Dynamically adjust the size of the second busbar segment to the first size difference to obtain a target three-dimensional busbar.
[0113] In a possible implementation, the size of the second busbar segment is dynamically adjusted based on the first size difference, so as to ensure that the size of the second busbar segment is coordinated and balanced with the first busbar segment and the busbar extension range, thereby obtaining a target three-dimensional busbar with a reasonable structure and precise size, providing a reliable basis for subsequent production and manufacturing.
[0114] For example, Figure 8 A schematic diagram of a busbar design provided in an embodiment of the present application Figure 1 .like Figure 8 As shown, when the locked size of the busbar extension range is a, there are two target projection segments b and c within the busbar extension range. When the size of a is adjusted from 100 to 40 (a1), the first size difference is 100-40=60, and then the sizes of b and c are adjusted according to the first size difference (such as 60), and the adjustment value b1 of the target projection segment b is calculated according to the following formula (1).
[0115] b1=b+60*(b / (b+c) Formula (1)
[0116] The adjustment value c1 of the target projection segment c is calculated according to the following formula (2).
[0117] c1=c+60*(c / b+c) Formula (2)
[0118] Then, according to the sizes of a1, b1 and c1, the target three-dimensional busbar is obtained.
[0119] Or, in one possible implementation, Fig. 9 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 5 .like Fig. 9 As shown, in the above method, dynamically adjusting the size of the second busbar segment in the target projection segment according to the size of the locked busbar extension range and the size of the first busbar segment to obtain the target three-dimensional busbar may include:
[0120] S601: If the number of target projection segments is greater than 2, obtain a size change of the first bus segment according to the size of the first bus segment after locking and the size of the first bus segment before locking.
[0121] In one possible implementation, if the number of target projection segments exceeds 2, the size change of the first busbar segment is calculated and obtained based on the size of the first busbar segment after adjustment and locking, and its original size before adjustment, so as to quantify the specific changes of the first busbar segment during the size adjustment process, and provide key data reference for the subsequent size adjustment of other busbar segments.
[0122] S602: According to the size change of the first busbar segment, the target size of each second busbar segment is determined respectively, and the size of each second busbar segment is dynamically adjusted to the corresponding target size to obtain a target three-dimensional busbar.
[0123] In one possible implementation, after knowing the size change of the first busbar segment, the target size of each second busbar segment is determined one by one based on the size change of the first busbar segment. The current sizes of these second busbar segments are adjusted to their corresponding target sizes to ensure that all busbar segments are coordinated in size and meet specific design requirements. A target three-dimensional busbar with a rigorous structure and precise size is obtained, which provides a solid foundation for subsequent production and processing, and also ensures the performance and reliability of the busbar in practical applications.
[0124] For example, Fig.10 A schematic diagram of a busbar design provided in an embodiment of the present application Figure 2 .like Fig.10 As shown, when the locked size of the busbar extension range is a, there are more than 2 target projection segments within the busbar extension range, such as b, c, d, e, etc., when the size of a is adjusted from the pre-locked size of the first busbar segment, such as 100, to the locked size of the first busbar segment, such as 40 (a1), the size change of the first busbar segment is 100-40=60, and then according to the size change of the first busbar segment (such as 60), according to the above formula (1), the target size of each second busbar segment is calculated respectively, and then according to a1 and the target size of the second busbar segment, the target three-dimensional busbar is obtained.
[0125] The busbar design drawing generation method provided by the present application, if the number of target projection segments is equal to 2, then the first size difference is calculated according to the locked size of the busbar extension range and the locked size of the first busbar segment; then the size of the second busbar segment is dynamically adjusted to the first size difference, so that it matches the first size difference, thereby obtaining a target three-dimensional busbar with coordinated structure and precise size; or, if the number of target projection segments is greater than 2, then the size change of the first busbar segment is obtained according to the locked size of the first busbar segment and the size before locking of the first busbar segment, and this size change will serve as an important basis for the subsequent adjustment of the size of other busbar segments; then, according to the size change of the first busbar segment, the target size of each second busbar segment is determined one by one, and the size of each second busbar segment is dynamically adjusted to the corresponding target size, thereby obtaining a target three-dimensional busbar with rigorous structure and precise size. Therefore, the three-dimensional busbar generated by the present application not only meets the design requirements, but also can show excellent performance and reliability in practical applications.
[0126] Optionally, the overlap measurement dimension in the above method includes: at least one segment measurement dimension and a range measurement dimension.
[0127] In one possible implementation, Fig.11 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 6 .like Fig.11 As shown, in the above method, according to the size parameter adjustment operation input for the initial busbar view and the overlap measurement size, the size of multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar are adjusted to generate a target three-dimensional busbar, which may include:
[0128] S701. According to the input third size parameter adjustment operation, the size of the third busbar segment in the initial three-dimensional busbar is adjusted and locked to the corresponding segment measurement size, and the size change amount of the third busbar segment is determined.
[0129] The third bus segment is any segment in the target projection segments having projection data in the target direction corresponding to the range measurement size.
[0130] In one possible implementation, an adjustment operation is performed according to the input third size parameter, and the size of the third busbar segment in the initial stereo busbar is accurately adjusted to match the segment measurement size, and then locked to ensure its stability. In this process, the third busbar segment refers to any segment in the target projection segment set with projection data in the target direction. In addition, the size change of the third busbar segment before and after the adjustment needs to be accurately calculated to provide key data support for subsequent operations.
[0131] It should be noted that when modifying the size of the third busbar segment in the initial three-dimensional busbar, users sometimes first measure the length of a segment closest to the installation position of the initial three-dimensional busbar, and then measure the other segments of the initial three-dimensional busbar or the overlapping measurements. The remaining last segment is calculated freely, and if there are multiple segments, they are divided equally.
[0132] S702: According to the size change of the third bus segment, the size of the fourth bus segment in the target projection segment is kept unchanged, and the size of the bus extension range is dynamically adjusted.
[0133] In one possible implementation, the fourth busbar segment within the target projection segment is ensured to maintain its original size according to the change in the size of the third busbar segment. At the same time, the size of the busbar extension range can be flexibly and dynamically adjusted to adapt to the change in the size of the third busbar segment.
[0134] S703. According to the input fourth size parameter adjustment operation, adjust the busbar extension range from the dynamically adjusted size to the range measurement size, and determine the size change of the busbar extension range.
[0135] In one possible implementation, according to the input fourth dimension parameter adjustment operation, the busbar extension range is dynamically adjusted from the previous busbar extension range to the range measurement size to ensure compliance with the preset standard. In this process, the specific dimension change of the busbar extension range needs to be calculated to provide key data for subsequent operations or analysis.
[0136] S704. According to the size change of the busbar extension range, the size of the third busbar segment is kept unchanged, and the size of the fourth busbar segment is dynamically adjusted to obtain a target three-dimensional busbar.
[0137] In one possible implementation method, based on the change in the size of the busbar extension range, while ensuring that the size of the third busbar segment remains unchanged, the size of the fourth busbar segment is flexibly adjusted to achieve overall size coordination and optimization, ultimately obtaining a target three-dimensional busbar that meets expected requirements.
[0138] It should be noted that when the size of the third busbar segment in the initial three-dimensional busbar is modified first, each time the size of the third busbar segment is modified, the coordinate positions of the leftmost and rightmost points are re-obtained to determine the size of the busbar extension range.
[0139] For example, continue to refer to Figure 6, first modify parameter b to b1 and lock b1, where the change value of b is: b-b1, add the change value of b to a, so that a becomes a1 and lock a1, at this time c remains unchanged; modify c to c1 and lock c1, b1 remains unchanged, add the change value of c to a1, and get a2; modify d to d1 and lock d1, b1 and c1 remain unchanged, add the change value of d to a2, and get a3; modify e to e1 and lock e1, b1, c1 and d1 remain unchanged, add the change value of e to a3, and get a4. The target stereo busbar is obtained based on b1, c1, d1, e1 and a4.
[0140] It should be noted that once the parameters (size parameters of the busbar segments and / or size parameters of the busbar extension range) are modified, they are locked and subsequent modifications of other parameters will not be affected; and the solution of the present application only modifies the main segment parameters (i.e., those involving the accurate overlap position), and the remaining segment parameters are freely calculated. In this way, while considering saving row, the busbar oblique section design can be adopted in the middle, thereby being compatible with everyone's measurement and drawing habits and improving efficiency and accuracy.
[0141] The present application provides a method for generating a busbar design drawing, in which the overlap measurement size includes: at least one segment measurement size and a range measurement size; according to the input third size parameter adjustment operation, the size of the third busbar segment in the initial three-dimensional busbar is adjusted and locked to the corresponding segment measurement size, and the size change of the third busbar segment is determined; wherein the third busbar segment is any segment in the target projection segment with projection data in the target direction corresponding to the range measurement size; according to the size change of the third busbar segment, the size of the fourth busbar segment in the target projection segment is kept unchanged, and the size of the busbar extension range is dynamically adjusted to ensure the coordination and functionality of the overall structure; then, according to the input fourth size parameter adjustment operation, the busbar extension range is adjusted from the dynamically adjusted size to the range measurement size, and the size change of the busbar extension range is determined to provide data support for subsequent adjustment and optimization; according to the size change of the busbar extension range, the size of the third busbar segment is kept unchanged, and the size of the fourth busbar segment is dynamically adjusted to obtain the target three-dimensional busbar. Therefore, this process reflects the precise control of size changes and the careful consideration of the overall structure.
[0142] Fig.12 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 7 .like Fig.12 As shown, in the above method, generating and displaying a busbar design diagram of a target three-dimensional busbar according to the target three-dimensional busbar may include:
[0143] S801. Drill holes at target positions of target three-dimensional busbars according to input drilling configuration operations and preset drilling configuration parameters.
[0144] Among them, the preset opening configuration parameters can be selected according to actual conditions.
[0145] In one possible implementation, according to the hole configuration operation input by the user and in combination with the preset hole configuration parameters, the hole operation is accurately performed at the target position specified on the target 3D busbar. This ensures that the position, shape and size of the hole meet the design requirements, thereby meeting the specific requirements of the 3D busbar in terms of electrical connection, heat dissipation or other functions. Among them, the hole operation will strictly follow the operating instructions and preset parameters to ensure the accuracy and efficiency of the hole opening process.
[0146] S802 . Generate and display busbar views of the target three-dimensional busbar under multiple viewing angles according to the target three-dimensional busbar after the holes are opened.
[0147] In one possible implementation, based on the target 3D busbar that has been subjected to the drilling operation, detailed busbar views of the busbar under multiple different viewing angles are generated and displayed. These busbar views are intended to present the structural features of the busbar in an all-round and multi-angle manner, especially the location and shape of the drillings and their impact on the overall layout of the busbar. By providing these multi-angle busbar views, it is possible to ensure that users can fully and accurately understand the drilling configuration of the busbar and its performance in actual applications, providing strong support for subsequent manufacturing, installation and maintenance.
[0148] S803. Mark the size parameters of multiple busbar segments in the busbar views under multiple viewing angles, and mark the openings and bends of the busbar views under multiple viewing angles to generate a busbar design drawing of the target three-dimensional busbar.
[0149] In one possible implementation, in the process of generating the busbar design drawing of the target three-dimensional busbar, detailed dimension parameter annotations will be made for each busbar segment in the busbar views under multiple view angles. These annotations will clearly show the length, width and relative position relationship of each segment to ensure the accuracy and consistency of the design. At the same time, the opening position in each view will also be clearly marked, including the shape, size and specific position of the opening on the busbar. This will help manufacturers to accurately perform the opening operation and avoid any possible errors. In addition, detailed bending annotations will also be made for the bent parts in the busbar. These annotations will include the angle and direction of the bending and the dimensional changes before and after the bending to ensure the accuracy of the bending process and the stability of the busbar structure.
[0150] The busbar design drawing generation method provided by the present application performs opening at the target position of the target three-dimensional busbar according to the input opening configuration operation and the preset opening configuration parameters; generates and displays the busbar views of the target three-dimensional busbar under multiple view perspectives according to the target three-dimensional busbar after the opening, and these busbar views present the structural features of the busbar from different angles, including the position and shape of the opening and the overall layout of the busbar, providing users with a comprehensive and intuitive understanding; in addition, the busbar views under multiple view perspectives are annotated with dimension parameters for multiple busbar segments to ensure the accuracy and consistency of the design, and the busbar views under multiple view perspectives are annotated with openings and bends, providing precise guidance for the opening operation in the manufacturing process and ensuring the accuracy of the bending process and the stability of the busbar structure, and generating the busbar design drawing of the target three-dimensional busbar. As a result, the busbar design drawing of the present application not only shows the structure and size information of the busbar in detail, but also annotates key features such as openings and bends, providing strong support and reference for subsequent manufacturing, installation and maintenance.
[0151] Optionally, the busbar design drawing generation method may further include:
[0152] If multiple busbar segments are all positive segments, the busbar extension range is dimensioned in the busbar views under multiple view perspectives.
[0153] The forward segment is used to indicate that the busbar segment has projection data in the target direction.
[0154] In one possible implementation, if multiple busbar segments are all forward segments, the busbar extension range in the busbar view is dimensioned in multiple view perspectives to ensure that the dimension information of the busbar extension range can be clearly displayed from multiple angles, so as to facilitate users to fully and accurately understand and evaluate the overall layout and dimension configuration of the busbar.
[0155] It should be noted that if multiple busbar segments contain multiple positive segments and negative segments, the busbar extension range will not be dimensioned, because it is meaningless to modify the negative segments, and accurate manual measurement is still required to mark these negative segments. In addition, it should be noted that after locking the busbar extension range parameters, when modifying the bottom segment of the initial stereo busbar (such as Figure 8 f) in the figure, if the length of the lowest segment is greater than the busbar extension range parameter (e.g. Figure 8 a) in the figure, the maximum extension range of the initial stereo busbar is determined to be the lower segment, and the horizontal extension range is not displayed.
[0156] The busbar design drawing generation method provided in the present application, if multiple busbar segments are all forward segments, then the busbar extension range is dimensioned in the busbar views under multiple view angles, which has significant effects on improving the accuracy of design and manufacturing, enhancing readability and understanding, promoting teamwork and communication, supporting subsequent manufacturing and installation, optimizing cost and resource utilization, and enhancing product reliability and safety. Among them, the forward segment is used to indicate that the busbar segment has projection data in the target direction.
[0157] To facilitate understanding of the above busbar design drawing generation method, the embodiment of the present application further provides an example of a process of a busbar design drawing generation method, which is described below in conjunction with the accompanying drawings. Fig.13 A schematic diagram of a busbar design diagram generation method provided in an embodiment of the present application Figure 8 .like Fig.13 As shown, the schematic diagram provided by the embodiment of the present application Figure 8 This may include:
[0158] S901. Obtain the starting point and bending point of the hand-drawn line according to preset busbar configuration parameters and shape line drawing operations.
[0159] Specifically, on the drawing interface of the preset APP, the user first selects the preset bus configuration parameters of the bus, such as the bus specification parameters and the bending radius parameters. After completing these selections, the user can draw the shape lines of the bus by touching the screen on the drawing interface. Based on the user's touch screen operation, the preset APP can recognize and record the initial shape of the bus composed of multiple shape line segments. During the drawing process, the drawing interface of the preset APP will capture every touch screen operation of the user. It will determine the starting point of the hand-drawn line based on the position information of the first point touched by the user (such as XY axis coordinates); at the same time, according to the position information of the last point of the user's touch screen operation, the end point of the hand-drawn line is determined. Furthermore, according to the coordinate information of the starting point and the end point on the drawing interface, the position information of the bending point in the shape line is determined.
[0160] S902: Convert the hand-drawn line into a standard polyline according to the starting point, bending point and bending radius parameters.
[0161] Specifically, according to the positioning information of the starting point, the bending point and the bending guidance of the bending radius parameters, the user's hand-drawn lines are converted into standard broken lines, ensuring that the converted broken lines not only meet the design specifications but also reflect the user's drawing intentions, thereby improving the accuracy and practicality of the busbar design drawings.
[0162] S903 . According to the thickness parameter and the width parameter in the preset busbar configuration parameters, the standard fold line is expanded in the preset thickness direction and the preset width direction respectively to generate an initial three-dimensional busbar.
[0163] Specifically, based on the selected busbar thickness parameter and width parameter, the standardized fold line is expanded in the preset thickness direction and the preset width direction to generate an initial three-dimensional busbar. For example, the standard fold line is used as the center line of the inner plane to expand outward at the same time to form an initial three-dimensional busbar. Among them, the expansion length is equal to the set busbar width parameter, and the expansion thickness is equal to the set busbar thickness parameter.
[0164] S904: According to the size parameter adjustment operation input for the initial busbar view and the actual overlap measurement size, multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar are resized to generate a target three-dimensional busbar.
[0165] Specifically, it can be divided into two schemes. The first scheme is to modify the busbar extension range parameters first, then modify the busbar segment parameters, and finally calculate the remaining busbar oblique segment parameters. Each adjustment does not change the user's initial three-dimensional busbar shape. Among them, taking the extension range as the horizontal direction as an example, the leftmost and rightmost vertical coordinates of the initial three-dimensional busbar are selected, and the horizontal extension range is determined based on the two vertical coordinates. When the size of the busbar extension range is modified, the size of the horizontal extension range of all busbar segments connected between the two vertical coordinates is scaled proportionally; the horizontal (projected) busbar segments that are not connected between the two vertical coordinates are not affected. For example, Figure 6 As shown, when the locked size of the busbar extension range is a, there are two target projection segments b and c within the busbar extension range. When the size of a is adjusted from 100 to 40 (a1), the first size difference is 100-40=60, and then the sizes of b and c are adjusted according to the first size difference (such as 60), and the adjustment value b1 of the target projection segment b is calculated according to the above formula (1). The adjustment value c1 of the target projection segment c is calculated according to the above formula (2), and then the target three-dimensional busbar is obtained according to the sizes of a1, b1 and c1. Alternatively, when the number of target projection segments is greater than 2, when the locked size of the busbar extension range is a, there are more than 2 target projection segments within the busbar extension range, such as b, c, d, e, etc., and when the size of a is adjusted from the pre-locking size of the first busbar segment, such as 100, to the locked size of the first busbar segment, such as 40 (a1), the size change of the first busbar segment is 100-40=60, and then according to the size change of the first busbar segment (such as 60), according to the above formula (1), the target size of each second busbar segment is calculated respectively, and then according to a1 and the target size of the second busbar segment, the target three-dimensional bus is obtained.
[0166] The second solution is to modify the busbar segment parameters first, then modify the busbar extension range parameters, and the remaining busbar inclined segment parameters are freely calculated. Figure 6, first modify parameter b to b1 and lock b1, where the change value of b is: b-b1, add the change value of b to a, so that a becomes a1 and lock a1, at this time c remains unchanged; modify c to c1 and lock c1, b1 remains unchanged, add the change value of c to a1, and get a2; modify d to d1 and lock d1, b1 and c1 remain unchanged, add the change value of d to a2, and get a3; modify e to e1 and lock e1, b1, c1 and d1 remain unchanged, add the change value of e to a3, and get a4. The target stereo busbar is obtained based on b1, c1, d1, e1 and a4.
[0167] S905. Generate and display a busbar design drawing of the target three-dimensional busbar according to the target three-dimensional busbar.
[0168] Specifically, based on the determined target three-dimensional busbar, the corresponding busbar design drawing is generated, and it is ensured that the busbar design drawing can be clearly displayed. For example, the effect diagram of the busbar design drawing can be drawn, and the three perspectives of front, side and top view can be captured, and the parameters can be marked, and the hole information, bending angle, etc. of the opening can be marked in the busbar design drawing.
[0169] The busbar design drawing generation method provided by the present application obtains the starting point and bending point of the hand-drawn line according to the preset busbar configuration parameters and shape line drawing operation; converts the hand-drawn line into a standard polyline according to the starting point, bending point and bending radius parameters; expands the standard polyline in the preset thickness direction and preset width direction according to the thickness parameter and width parameter in the preset busbar configuration parameters, respectively, to generate an initial three-dimensional busbar; according to the size parameter adjustment operation input for the initial busbar view and the actual overlap measurement size, adjusts the size of multiple busbar segments and busbar extension ranges in the initial three-dimensional busbar to generate a target three-dimensional busbar; generates and displays the busbar design drawing of the target three-dimensional busbar according to the target three-dimensional busbar. Thus, the present application can realize the rapid generation of models after the busbar is flexibly drawn, and the drawing effect can be intuitively seen, which solves the problems in the modification of the original function parameters, is more in line with the habit of measuring and drawing in the workshop, enhances the standardization of casual drawing, is compatible with the habit of measuring and drawing by everyone, improves the efficiency and accuracy of drawing, and provides technical guidance for the workshop.
[0170] Based on the same inventive concept, a busbar design drawing generation device is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned busbar design drawing generation method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0171] Fig.14 This is a schematic diagram of the structure of a busbar design diagram generation device provided in an embodiment of the present application. Fig.14As shown, the mobile electronic device used for presenting a software layout interface, the busbar design diagram generating device 1000 may include:
[0172] The first generation module 1001 is used to generate an initial 3D busbar according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters, and display the initial busbar view of the 3D busbar under the preset view angle, wherein the initial busbar view is marked with: size parameters of multiple busbar segments in the target direction and size parameters of the busbar extension range;
[0173] An adjustment module 1002 is used to adjust the size of multiple busbar segments and busbar extension ranges in the initial 3D busbar according to the size parameter adjustment operation input for the initial busbar view input in the software layout interface and the overlap measurement size, so as to generate a target 3D busbar;
[0174] The second generating module 1003 is used to generate and display a busbar design drawing of the target three-dimensional busbar according to the target three-dimensional busbar.
[0175] In an optional embodiment, the preset busbar configuration parameters include: busbar specification parameters and bending radius parameters; the first generation module 1001 is specifically used to: obtain the starting point and bending point of the hand-drawn line according to the shape line drawing operation; convert the hand-drawn line into a standard broken line according to the starting point, bending point and bending radius parameters; expand the standard broken line according to the busbar specification parameters to generate an initial three-dimensional busbar.
[0176] In an optional embodiment, the busbar specification parameters include: thickness parameter, width parameter; the first generation module 1001 is specifically used to: according to the thickness parameter and the width parameter, expand the standard fold line in the preset thickness direction and the preset width direction respectively to generate an initial three-dimensional busbar.
[0177] In an optional embodiment, the overlap measurement size includes: at least one segment measurement size and a range measurement size; the adjustment module 1002 is specifically used to: according to the input first size parameter adjustment operation, adjust and lock the size of the bus extension range of the initial three-dimensional bus to the range measurement size, and determine the range size change of the bus extension range; according to the range size change, scale the target projection segment having projection data in the target direction among multiple bus segments; according to the input second size parameter adjustment operation, adjust and lock the size of the first bus segment in the target projection segment to the segment measurement size; according to the locked size of the bus extension range and the size of the first bus segment, dynamically adjust the size of the second bus segment in the target projection segment to obtain the target three-dimensional bus.
[0178] In an optional embodiment, the adjustment module 1002 is specifically used to: if the number of target projection segments is equal to 2, calculate the first size difference according to the locked size of the bus extension range and the locked size of the first bus segment; dynamically adjust the size of the second bus segment to the first size difference to obtain the target three-dimensional bus; or, if the number of target projection segments is greater than 2, obtain the size change of the first bus segment according to the locked size of the first bus segment and the size before locking of the first bus segment; according to the size change of the first bus segment, respectively determine the target size of each second bus segment, and dynamically adjust the size of each second bus segment to the corresponding target size to obtain the target three-dimensional bus.
[0179] In an optional embodiment, the overlap measurement dimension includes: at least one segment measurement dimension and a range measurement dimension; the adjustment module 1002 is specifically used to: according to the input third size parameter adjustment operation, adjust and lock the size of the third bus segment in the initial three-dimensional bus to the corresponding segment measurement dimension, and determine the size change of the third bus segment; wherein the third bus segment is any segment in the target projection segment having projection data in the target direction corresponding to the range measurement dimension; according to the size change of the third bus segment, keep the size of the fourth bus segment in the target projection segment unchanged, and dynamically adjust the size of the bus extension range; according to the input fourth size parameter adjustment operation, adjust the bus extension range from the dynamically adjusted size to the range measurement size, and determine the size change of the bus extension range; according to the size change of the bus extension range, keep the size of the third bus segment unchanged, and dynamically adjust the size of the fourth bus segment to obtain the target three-dimensional bus.
[0180] In an optional embodiment, the second generation module 1003 is specifically used to: perform openings at target positions of a target three-dimensional busbar according to an input opening configuration operation and preset opening configuration parameters; generate and display busbar views of the target three-dimensional busbar under multiple viewing perspectives based on the target three-dimensional busbar after opening; mark size parameters of multiple busbar segments in the busbar views under multiple viewing perspectives, and mark openings and bends on the busbar views under multiple viewing perspectives to generate a busbar design drawing of the target three-dimensional busbar.
[0181] In an optional embodiment, the bus design drawing generating device 1000 is also used for: if multiple bus segments are all forward segments, then the bus views under multiple view perspectives will dimension the bus extension range, wherein the forward segment is used to indicate that the bus segment has projection data in the target direction.
[0182] It should be noted that for details not disclosed in the busbar design drawing generating device of the embodiment of the present application, please refer to the details disclosed in the busbar design drawing generating method of the embodiment of the present application, and the details will not be repeated here.
[0183] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0184] Optionally, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the steps of the busbar design drawing generation method of the mobile storage medium in the above embodiment. The specific implementation method and technical effect are similar and will not be repeated here.
[0185] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0186] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0187] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0188] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
[0189] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for generating a busbar design drawing, characterized in that: A mobile electronic device for presenting a software layout interface, the method comprising: Generate an initial 3D busbar according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters, and display the initial busbar view of the 3D busbar under the preset view angle, wherein the initial busbar view is marked with: size parameters of multiple busbar segments in the target direction and size parameters of the busbar extension range; According to the size parameter adjustment operation inputted in the software layout interface for the initial busbar view and the overlap measurement size, the size of the multiple busbar segments and the busbar extension range in the initial 3D busbar is adjusted to generate a target 3D busbar; According to the target three-dimensional busbar, a busbar design drawing of the target three-dimensional busbar is generated and displayed.
2. The busbar design drawing generation method according to claim 1, characterized in that: The preset busbar configuration parameters include: busbar specification parameters and bending radius parameters; the initial three-dimensional busbar is generated according to the shape line drawing operation inputted in the software drawing interface and the preset busbar configuration parameters, including: According to the shape line drawing operation, obtaining the starting point and the bending point of the hand-drawn line; Converting the hand-drawn line into a standard polyline according to the starting point, the bending point and the bending radius parameter; According to the busbar specification parameters, the standard broken line is expanded outward to generate the initial three-dimensional busbar.
3. The busbar design drawing generation method according to claim 2, characterized in that: The busbar specification parameters include: thickness parameter and width parameter; The step of expanding the standard fold line according to the busbar specification parameters to generate the initial three-dimensional busbar includes: According to the thickness parameter and the width parameter, the standard fold line is expanded in a preset thickness direction and a preset width direction respectively to generate the initial three-dimensional busbar.
4. The busbar design drawing generation method according to claim 1, characterized in that: The overlap measurement size includes: at least one segment measurement size and a range measurement size; the size parameter adjustment operation input for the initial busbar view and the overlap measurement size inputted from the software layout interface, adjusting the size of the multiple busbar segments and the busbar extension range in the initial 3D busbar, and generating a target 3D busbar, includes: According to the input first size parameter adjustment operation, the size of the busbar extension range of the initial three-dimensional busbar is adjusted and locked to the range measurement size, and the range size change amount of the busbar extension range is determined; scaling the target projection segments having projection data in the target direction among the plurality of busbar segments according to the range size change; According to the input second size parameter adjustment operation, the size of the first busbar segment in the target projection segment is adjusted and locked to the segment measurement size; According to the locked size of the extension range of the busbar and the size of the first busbar segment, the size of the second busbar segment in the target projection segment is dynamically adjusted to obtain the target three-dimensional busbar.
5. The busbar design drawing generation method according to claim 4, characterized in that: The method of dynamically adjusting the size of the second busbar segment in the target projection segment according to the size of the locked extension range of the busbar and the size of the first busbar segment to obtain the target three-dimensional busbar includes: If the number of the target projection segments is equal to 2, calculating a first size difference according to the locked size of the busbar extension range and the locked size of the first busbar segment; Dynamically adjusting the size of the second busbar segment to the first size difference to obtain the target three-dimensional busbar; or, If the number of the target projection segments is greater than 2, acquiring a size change of the first bus segment according to the size of the first bus segment after locking and the size of the first bus segment before locking; According to the size change of the first busbar segment, the target size of each second busbar segment is determined respectively, and the size of each second busbar segment is dynamically adjusted to the corresponding target size to obtain the target three-dimensional busbar.
6. The busbar design drawing generation method according to claim 1, characterized in that: The overlap measurement size includes: at least one segment measurement size and a range measurement size; the size adjustment operation of the size parameter input for the initial busbar view and the overlap measurement size are performed on the multiple busbar segments and the busbar extension range in the initial 3D busbar to generate a target 3D busbar, including: According to the input third size parameter adjustment operation, the size of the third busbar segment in the initial three-dimensional busbar is adjusted and locked to the corresponding segment measurement size, and the size change amount of the third busbar segment is determined; wherein the third busbar segment is any segment in the target projection segment having projection data in the target direction corresponding to the range measurement size; According to the size change of the third busbar segment, the size of the fourth busbar segment in the target projection segment is kept unchanged, and the size of the busbar extension range is dynamically adjusted; According to the input fourth size parameter adjustment operation, the busbar extension range is adjusted from the dynamically adjusted size to the range measurement size, and the size change amount of the busbar extension range is determined; According to the size change of the busbar extension range, the size of the third busbar segment is kept unchanged, and the size of the fourth busbar segment is dynamically adjusted to obtain the target three-dimensional busbar.
7. The busbar design drawing generation method according to claim 1, characterized in that: The generating and displaying a busbar design drawing of the target three-dimensional busbar according to the target three-dimensional busbar comprises: According to the input hole configuration operation and the preset hole configuration parameters, a hole is opened at the target position of the target three-dimensional busbar; Generate and display busbar views of the target three-dimensional busbar under multiple viewing angles according to the target three-dimensional busbar after the holes are opened; The multiple busbar segments are annotated with dimension parameters in the busbar views under the multiple viewing perspectives, and the busbar views under the multiple viewing perspectives are annotated with openings and bends to generate a busbar design drawing of the target three-dimensional busbar.
8. The method for generating a busbar design drawing according to claim 7, characterized in that: The method further comprises: If the multiple busbar segments are all forward segments, the busbar views under the multiple view perspectives are dimensioned to the busbar extension range, wherein the forward segment is used to indicate that the busbar segment has projection data in the target direction.
9. A mobile electronic device, characterized in that: include: A processor and a memory storing a computer program, wherein the computer program, when executed by the processor, implements the busbar design drawing generation method according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor in a mobile device, the busbar design drawing generation method described in any one of claims 1 to 8 is implemented.