Copper bar three-dimensional model drawing method and device, electronic equipment and storage medium
By obtaining the specification data of the copper row and the busbar shape, a three-dimensional model is generated and displayed in the assembly components, the problem of low design efficiency in the prior art is solved and a faster three-dimensional model design of the copper row is achieved.
Patent Information
- Application Number
- CN202411916873.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-15
AI Technical Summary
The existing three-dimensional model drawing methods cannot complete the copper row sketch drawing and three-dimensional assembly in one step, resulting in low design efficiency.
By obtaining the specification data of the copper row to be drawn, obtaining the busbar shape and two-dimensional sketch based on the assembly requirements, generating a three-dimensional model, and displaying it in the copper row assembly assembly component.
The drawing and modification time of copper row three-dimensional model is shortened and the design efficiency of three-dimensional model is improved.
Smart Images

Figure CN119830381A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automated processing design, and in particular to a copper busbar three-dimensional model drawing method, device, electronic equipment and storage medium. Background Art
[0002] With the development of digitalization, in the complete electrical industry, copper busbar designers usually design copper busbar schemes based on primary schematics when performing 3D simulation of switch cabinets. In switch cabinets, copper busbar designers design 3D models of copper busbars of different shapes based on sheet metal parts, components, structural parts, current size, actual use environment, and customer requirements.
[0003] In the prior art, designers usually draw a sketch first and then draw the base flange. They need to measure the dimensions of each segment of the model in three-dimensional space, adjust and modify the sketch length and angle according to actual needs, and then set the length, width, height, bending coefficient and phase sequence color of the copper busbar three-dimensional model. It is impossible to complete the copper busbar sketch drawing and three-dimensional assembly in one step, resulting in low design efficiency. Summary of the invention
[0004] The present invention provides a copper busbar three-dimensional model drawing method, device, electronic device and storage medium to solve the problem that the existing three-dimensional model drawing method cannot complete the copper busbar sketch drawing and three-dimensional assembly in one step, resulting in low design efficiency, and can shorten the drawing and modification time of the copper busbar three-dimensional model.
[0005] According to one aspect of the present invention, a method for drawing a three-dimensional model of a copper busbar is provided, comprising: obtaining specification data of the copper busbar to be drawn; obtaining a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn; generating a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displaying the three-dimensional model in a copper busbar assembly component.
[0006] Optionally, obtaining a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn includes: forming a first busbar shape in response to a matching operation on a busbar shape database; obtaining at least two lap joints based on an assembly lap joint path of the first busbar shape, and generating a first two-dimensional sketch according to the spatial coordinates of the lap joints.
[0007] Optionally, generating a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displaying the three-dimensional model in the copper busbar assembly component, includes: converting the first two-dimensional sketch into a three-dimensional entity based on dimension data in the specification data; modeling the three-dimensional entity according to the first busbar shape, and defining attributes of the three-dimensional entity according to the specification data to obtain the three-dimensional model.
[0008] Optionally, obtaining a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on assembly requirements of the copper bus to be drawn includes: forming a second busbar shape in response to a picking operation on a pre-stored model of an assembly component; obtaining a starting segment of the second busbar shape; and generating a second two-dimensional sketch based on the second busbar shape and the starting segment.
[0009] Optionally, generating a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displaying the three-dimensional model in a copper busbar assembly component, includes: obtaining a starting lap surface and a generation direction based on assembly requirements of the copper busbar to be drawn; converting the second two-dimensional sketch into a three-dimensional entity according to the starting lap surface and the generation direction; modeling the three-dimensional entity according to the second busbar shape, and defining attributes of the three-dimensional entity according to the specification data to obtain the three-dimensional model.
[0010] Optionally, the obtaining of specification data of the copper busbar to be drawn includes: establishing a preset specification database; and forming the specification data in response to a configuration operation on the preset specification database.
[0011] Optionally, after obtaining the three-dimensional model, the copper busbar three-dimensional model drawing method also includes: obtaining an opening database; wherein the opening database is established based on the correspondence between preset copper busbar specifications, preset lap directions, preset lap sizes and opening data; obtaining the busbar lap directions and busbar lap sizes in the three-dimensional model; traversing the data in the opening database based on the specification data, the busbar lap directions and the busbar lap sizes, generating openings, and displaying the openings in the three-dimensional model.
[0012] According to another aspect of the present invention, a copper busbar three-dimensional model drawing device is provided, comprising: a first data acquisition module, used to obtain specification data of the copper busbar to be drawn; a second data acquisition module, used to obtain the busbar shape and the two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn; a model output module, used to generate a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and display the three-dimensional model in the copper busbar assembly component.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned copper busbar three-dimensional model drawing method.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the above copper busbar three-dimensional model drawing method when executed by a processor.
[0015] The technical solution of the embodiment of the present invention obtains the specification data of the copper busbar to be drawn, obtains the busbar shape and the two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn, generates a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displays the three-dimensional model in the copper busbar assembly component, thereby solving the problem that the existing three-dimensional model drawing method cannot complete the copper busbar sketch drawing and three-dimensional assembly in one step, resulting in low design efficiency, and can shorten the drawing and modification time of the copper busbar three-dimensional model, thereby improving the three-dimensional model design efficiency.
[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flow chart of a copper busbar three-dimensional model drawing method provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of a multi-segment two-dimensional sketch configuration and display interface provided by an embodiment of the present invention;
[0020] Figure 3 A schematic diagram of a multi-segment two-dimensional sketch provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of another multi-segment two-dimensional sketch configuration and display interface provided by an embodiment of the present invention;
[0022] Figure 5 A schematic diagram of another multi-segment two-dimensional sketch provided by an embodiment of the present invention;
[0023] Figure 6 A flowchart of a copper busbar three-dimensional model drawing method based on the corresponding relationship between the busbar shape and the rough line diagram provided by an embodiment of the present invention;
[0024] Figure 7 A flow chart of another copper busbar three-dimensional model drawing method provided by an embodiment of the present invention;
[0025] Figure 8 A schematic diagram of the structure of a copper busbar three-dimensional model drawing device provided by an embodiment of the present invention;
[0026] Fig. 9 A schematic diagram of the structure of an electronic device for implementing the copper busbar three-dimensional model drawing method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Figure 1The present invention provides a flowchart of a copper busbar 3D model drawing method. This embodiment can be applied to the application scenario of automatically generating a copper busbar 3D model of corresponding specifications according to the assembly requirements of the copper busbar, without the need to measure and draw a 2D sketch in advance. The method can be executed by a copper busbar 3D model drawing device, which can be implemented in the form of hardware and / or software. The copper busbar 3D model drawing device can be configured in an electronic device installed with 3D design software. Figure 1 As shown, the copper busbar three-dimensional model drawing method of the present application includes the following steps:
[0030] S1: Obtain the specification data of the copper busbar to be drawn.
[0031] The specification data can be understood as the parameters describing the shape, size and characteristics of the copper busbar, which determine the application scenario and conductive performance of the copper busbar. Optionally, the specification data includes but is not limited to: copper busbar type (such as right angle or rounded corner), copper busbar material (such as hard copper busbar TMY, soft copper busbar TMR), copper busbar size (length, width and thickness), surface treatment process (such as surface silver plating, surface tin plating, bare busbar), conductivity, reference current (such as I 1 ,I 2 ,I 3 ,……), thermal conductivity, reference temperature and number of copper bars.
[0032] Optionally, obtaining specification data of the copper busbar to be drawn includes: establishing a preset specification database; and forming specification data in response to a configuration operation on the preset specification database. Specifically, the preset specification database can be understood as a data set for characterizing different shapes, different sizes, and different characteristics of the copper busbar, which is established based on copper busbar design requirements and specifications. Exemplarily, the preset specification database can store specification data in a spreadsheet format as shown in Table 1.
[0033]
[0034]
[0035] In conjunction with the above Table 1, designers can edit, add, modify, or directly import or export table data in the preset specification database according to actual needs.
[0036] S2: Based on the assembly requirements of the copper busbar to be drawn, a busbar shape and a two-dimensional sketch corresponding to the busbar shape are obtained.
[0037] The assembly requirements of the copper busbar to be drawn can be understood as constraints established based on the installation scenario and connection relationship between the copper busbar and other copper busbars or components, as well as the protection and inspection requirements of the copper busbar.
[0038] The busbar shape can be understood as the shape and structural design of the busbar. In some embodiments, the busbar shape can be determined based on the busbar shape (I-shaped, L-shaped, Z-shaped, U-shaped and multi-segmented) corresponding to the assembly requirements of the copper busbar to be drawn. In other embodiments, the busbar shape can be determined by picking up a pre-stored copper busbar model.
[0039] The two-dimensional sketch corresponding to the busbar shape can be understood as a two-dimensional sketch similar to the busbar shape. In some embodiments, the two-dimensional sketch can be established based on different spatial coordinate points corresponding to the busbar shape. In other embodiments, the two-dimensional sketch can be established based on a table lookup of the correspondence between the busbar shape and the sketch line diagram.
[0040] S3: Generate a 3D model of the copper busbar to be drawn according to the specification data, the busbar shape and the 2D sketch, and display the 3D model in the copper busbar assembly component.
[0041] The copper busbar assembly component can be understood as a component used to install and fix the copper busbar to be drawn.
[0042] Displaying the three-dimensional model in the copper busbar assembly component means assembling the prepared copper busbar three-dimensional model into the copper busbar assembly component to form a final copper busbar assembly model.
[0043] In this embodiment, a three-dimensional model of the copper busbar to be drawn is generated according to the specification data, the busbar shape and the two-dimensional sketch, including: converting the two-dimensional sketch into a three-dimensional entity based on the specification data, modeling the three-dimensional entity based on the busbar shape, and defining attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model.
[0044] Specifically, the copper busbar width, copper busbar length and copper busbar thickness in the specification data can be read, and feature commands such as "stretch" or "rotate" can be used to convert the two-dimensional sketch into a three-dimensional entity; if the busbar shape selected based on the assembly requirements of the copper busbar to be drawn has bending or other modeling requirements, use feature commands such as "bend" or "lofting" to add bending and other shapes to the three-dimensional entity to ensure that the correct bending radius and angle are set. After obtaining the three-dimensional entity, the copper busbar properties can be defined for the three-dimensional entity. For example, the model material is set based on the copper busbar material in the specification data, the model reference current is set based on the conductivity in the specification data, the model reference temperature is set based on the thermal conductivity in the specification data, and the three-dimensional model is assigned copper busbar properties.
[0045] Therefore, the technical solution of the present application can shorten the drawing and modification time of the copper busbar three-dimensional model and improve the efficiency of three-dimensional model design by automatically matching the copper busbar two-dimensional sketch with the busbar shape corresponding to the copper busbar assembly to be drawn and automatically generating a copper busbar three-dimensional model of corresponding specifications.
[0046] In some embodiments, a busbar shape and a two-dimensional sketch corresponding to the busbar shape are obtained based on the assembly requirements of the copper busbar to be drawn, including: forming a first busbar shape in response to a matching operation on a busbar shape database; obtaining at least two overlap nodes based on the assembly overlap path of the first busbar shape, and generating a first two-dimensional sketch according to the spatial coordinates of the overlap nodes. Among them, the busbar shape database can be understood as a data set of various busbar shapes. Typically, busbar shapes include but are not limited to: I-shape, L-shape, Z-shape, U-shape and multi-segment shapes. The assembly overlap path of the first busbar shape can be understood as a path formed by overlapping with other structures (such as components or copper busbars) established based on the installation requirements of the busbar. The shape structure of the assembly overlap path matches the shape structure of the first busbar shape. The overlap node can be understood as the center point of the overlap area between the busbar and other components or busbars.
[0047] Figure 2 A schematic diagram of a multi-segment two-dimensional sketch configuration and display interface provided by an embodiment of the present invention; Figure 3 A schematic diagram of a multi-segment two-dimensional sketch provided by an embodiment of the present invention. In this embodiment, a corresponding two-dimensional sketch is generated based on spatial coordinate points. Figure 2 and Figure 3 As shown, based on the assembly requirements of the first busbar shape, lap surfaces are selected on the three-dimensional models of the components or copper busbars that the assembly lap path of the first busbar shape passes through, such as the starting lap surface A1, the ending lap surface A2 and the middle lap surface A3. Among them, the lap surface is a virtual surface on the component model or the copper busbar model, and the lap surface is not displayed when the copper busbar drawing program is not running. When the copper busbar to be drawn is a multi-segment busbar, the starting lap surface A1, the ending lap surface A2 and at least one middle lap surface A3 are selected, and the first distance between the end and the center of the starting lap area, the second distance between the end and the center of the end lap area, and the third distance between the end and the center of the middle lap area are set. Furthermore, based on the minimum distance between adjacent spatial coordinate points, the center points of the lap areas of the starting lap surface A1 are sequentially connected (see Figure 3 P11 and P12 in the figure), the center point of the overlapping area of the middle overlapping surface (see Figure 3 P21 and P22 in the figure) and the center point of the lap joint area at the end lap joint (see Figure 3 P31 in ), establish a two-dimensional sketch of a multi-segment row. When the copper busbar to be drawn is a straight row, select the starting overlap surface A1 and the end overlap surface A2, and set the first distance between the end and the center of the starting overlap area, and the second distance between the end and the center of the end overlap area. Then, based on the minimum distance between adjacent spatial coordinate points, the center point of the overlap area of the starting overlap surface A1 and the center point of the overlap area of the end overlap surface A2 are connected in sequence to form a two-dimensional sketch of the straight row.
[0048] In this embodiment, a three-dimensional model of a copper busbar to be drawn is generated according to specification data, busbar modeling and a two-dimensional sketch, and the three-dimensional model is displayed in a copper busbar assembly component, including: converting a first two-dimensional sketch into a three-dimensional entity based on dimension data in the specification data; modeling the three-dimensional entity according to the first busbar modeling, and defining attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model. The first two-dimensional sketch is established based on spatial coordinate points.
[0049] The copper busbar three-dimensional model drawing method of the present application comprises the following steps:
[0050] Acquire specification data of the copper busbar to be drawn based on a preset specification database;
[0051] Obtaining the first busbar shape of the copper busbar to be drawn based on the busbar shape database;
[0052] Acquire at least two overlapping nodes based on the assembly overlapping path of the first busbar shape, and generate a first two-dimensional sketch according to the spatial coordinates of the overlapping nodes;
[0053] converting the first 2D sketch into a 3D entity based on the dimension data in the specification data;
[0054] The three-dimensional entity is modeled according to the first busbar modeling, and the attributes of the three-dimensional entity are defined according to the specification data to obtain a three-dimensional model.
[0055] In this embodiment, the specific implementation methods of modeling the three-dimensional entity and defining the attributes of the three-dimensional entity are the same as those described in the above embodiments and will not be repeated herein.
[0056] Therefore, the technical solution of the present application automatically generates a three-dimensional model of a copper busbar of corresponding specifications by selecting the specifications of the copper busbar, the starting and ending points of the three-dimensional model, and the intermediate points, without the need for manual measurement and drawing of a two-dimensional sketch in advance, thereby achieving high design efficiency.
[0057] In other embodiments, a busbar shape and a two-dimensional sketch corresponding to the busbar shape are obtained based on the assembly requirements of the copper busbar to be drawn, including: forming a second busbar shape in response to a pick operation on a pre-stored model of an assembly component; obtaining a starting segment of the second busbar shape; and generating a second two-dimensional sketch based on the second busbar shape and the starting segment.
[0058] Figure 4 A schematic diagram of another multi-segment two-dimensional sketch configuration and display interface provided by an embodiment of the present invention; Figure 5 A schematic diagram of another multi-segment row two-dimensional sketch provided by an embodiment of the present invention. In this embodiment, a corresponding two-dimensional sketch is generated based on the corresponding relationship between the busbar shape and the sketch line diagram. Figure 4 and Figure 5As shown, the draft drawing corresponds to the busbar shape one by one by recording the size and angle of each segment in different busbar shapes.
[0059] In this embodiment, a three-dimensional model of a copper busbar to be drawn is generated according to specification data, busbar modeling and a two-dimensional sketch, and the three-dimensional model is displayed in a copper busbar assembly component, including: obtaining a starting overlap surface and a generation direction based on the assembly requirements of the copper busbar to be drawn; converting a second two-dimensional sketch into a three-dimensional entity according to the starting overlap surface and the generation direction; modeling the three-dimensional entity according to the second busbar modeling, and defining the attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model. The second two-dimensional sketch is established based on the corresponding relationship between the busbar modeling and the sketch line drawing.
[0060] Figure 6 A flowchart of a copper busbar 3D model drawing method based on the corresponding relationship between busbar shape and rough line drawing provided by an embodiment of the present invention, see Figure 6 As shown, the copper busbar three-dimensional model drawing method of the present application includes the following steps:
[0061] S701: In response to a pick-up operation for a pre-stored model of an assembly component, specification data of a copper busbar to be drawn and a second busbar shape are formed.
[0062] S702: Obtain the starting segment of the second busbar shape.
[0063] In this embodiment, the starting segment serves as the data basis for the drawing starting position after the busbar shape is abstracted.
[0064] S703: Generate a second 2D sketch based on the second busbar shape and the starting segment.
[0065] S704: Obtain a starting overlap surface and a generation direction based on assembly requirements of the copper busbar to be drawn.
[0066] S705: Convert the second 2D sketch into a 3D entity based on the starting lap face and the generation direction.
[0067] S706: Modeling the three-dimensional entity according to the second busbar modeling, and defining the attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model.
[0068] Specifically, the abstracted second 2D sketch can be used to name the picked object to distinguish different busbars and their corresponding sketches, and the thumbnail corresponding to the sketch can be abstracted into binary data, for example, recorded as the value of ImageBytes. When in use, select a starting overlap surface and a generation direction, click the "Draw" option, and call the stored data to draw a 3D model. By establishing the correspondence between the busbar shape and the sketch line drawing, combined with the custom starting overlap surface and generation direction, the 3D model of the copper busbar is automatically generated, which is simple and convenient to operate and has high design efficiency.
[0069] Optionally, Figure 7 A flowchart of another copper busbar 3D model drawing method provided by an embodiment of the present invention. Figure 7 As shown, the copper busbar three-dimensional model drawing method of the present application specifically includes:
[0070] S801: Obtain specification data of the copper busbar to be drawn.
[0071] S802: Obtain a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on assembly requirements of the copper busbar to be drawn.
[0072] S803: Generate a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and display the three-dimensional model in the copper busbar assembly component.
[0073] S804: Acquire the opening database.
[0074] The opening database is established based on the correspondence between the preset copper busbar specification, the preset overlap direction, the preset overlap size and the opening data. Typically, the opening data includes but is not limited to: opening size, opening number and opening style. Typically, the opening style includes but is not limited to: round hole, long hole, square hole.
[0075] S805: Obtain the busbar overlap direction and busbar overlap size in the three-dimensional model.
[0076] In this embodiment, obtaining the busbar overlap direction and busbar overlap size in the three-dimensional model includes: calling a configuration window, and obtaining the busbar overlap direction in response to a configuration operation on the busbar overlap direction; and obtaining the busbar overlap size in response to a configuration operation on the busbar overlap size. Typically, the busbar overlap direction includes but is not limited to: a horizontal direction and a vertical direction. The busbar overlap size can be selected through option content or customized by a designer, and is not limited thereto.
[0077] S806: Traverse the data in the opening database based on the specification data, busbar overlap direction and busbar overlap size, generate openings, and display the openings in the three-dimensional model.
[0078] In this embodiment, the data in the opening database can be traversed based on different busbar widths, busbar overlap directions, and busbar overlap sizes to generate the corresponding opening sizes, opening numbers, and opening styles when the copper busbar is overlapped. By customizing the opening database, openings can be automatically added to the copper busbar 3D model to improve design efficiency.
[0079] Based on the same inventive concept as the above embodiments, an embodiment of the present invention further provides a copper busbar 3D model drawing device, which can execute the copper busbar 3D model drawing method provided in any of the above embodiments.
[0080] Figure 8 A schematic diagram of a copper busbar three-dimensional model drawing device provided by an embodiment of the present invention is shown in FIG. Figure 8 As shown, the copper busbar three-dimensional model drawing device of the present application includes: a first data acquisition module 101, a second data acquisition module 102 and a model output module 103.
[0081] Among them, the first data acquisition module 101 is used to obtain the specification data of the copper busbar to be drawn; the second data acquisition module 102 is used to obtain the busbar shape and the two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn; the model output module 103 is used to generate a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and display the three-dimensional model in the copper busbar assembly component.
[0082] Optionally, the second data acquisition module 102 is configured to: form a first busbar shape in response to a matching operation on the busbar shape database; acquire at least two overlap nodes based on the assembly overlap path of the first busbar shape, and generate a first two-dimensional sketch according to the spatial coordinates of the overlap nodes.
[0083] Optionally, the model output module 103 is configured to: convert the first two-dimensional sketch into a three-dimensional entity based on the dimension data in the specification data; perform modeling on the three-dimensional entity according to the first busbar modeling, and define attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model.
[0084] Optionally, the second data acquisition module 102 is further configured to: form a second busbar shape in response to a picking operation on a pre-stored model of an assembly component; obtain a starting segment of the second busbar shape; and generate a second two-dimensional sketch according to the second busbar shape and the starting segment.
[0085] Optionally, the model output module 103 is also configured to: obtain a starting lap surface and a generation direction based on assembly requirements of the copper busbar to be drawn; convert the second two-dimensional sketch into a three-dimensional entity according to the starting lap surface and the generation direction; perform modeling on the three-dimensional entity according to the second busbar modeling, and define attributes of the three-dimensional entity according to the specification data to obtain a three-dimensional model.
[0086] Optionally, the first data acquisition module 101 is configured to: establish a preset specification database; and form specification data in response to a configuration operation on the preset specification database.
[0087] Optionally, the copper busbar three-dimensional model drawing device of the present application is also configured to: obtain an opening database; wherein the opening database is established based on the correspondence between preset copper busbar specifications, preset lap directions, preset lap sizes and opening data; obtain the busbar lap directions and busbar lap sizes in the three-dimensional model; traverse the data in the opening database based on the specification data, busbar lap directions and busbar lap sizes, generate openings, and display the openings in the three-dimensional model.
[0088] The copper busbar 3D model drawing device provided in the embodiment of the present invention can execute the copper busbar 3D model drawing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method, and the same parts will not be repeated.
[0089] Based on the above embodiments, an embodiment of the present invention further provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above copper busbar three-dimensional model drawing method.
[0090] Fig. 9 A schematic diagram of the structure of an electronic device for implementing the copper busbar three-dimensional model drawing method of an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0091] like Fig. 9 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0092] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0093] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the copper busbar three-dimensional model drawing method described above.
[0094] In some embodiments, the copper busbar three-dimensional model drawing method described above may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the copper busbar three-dimensional model drawing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the copper busbar three-dimensional model drawing method described above in any other appropriate manner (e.g., by means of firmware).
[0095] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0096] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0097] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0098] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0099] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0100] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0101] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0102] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A copper busbar three-dimensional model drawing method, characterized in that: include: Get the specification data of the copper busbar to be drawn; Based on the assembly requirements of the copper busbar to be drawn, a busbar shape and a two-dimensional sketch corresponding to the busbar shape are obtained; A three-dimensional model of the copper busbar to be drawn is generated according to the specification data, the busbar shape and the two-dimensional sketch, and the three-dimensional model is displayed in the copper busbar assembly component.
2. The copper busbar three-dimensional model drawing method according to claim 1, characterized in that: The step of obtaining a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn includes: In response to a matching operation on a busbar shape database, a first busbar shape is formed; At least two overlapping nodes are acquired based on the assembly overlapping path of the first busbar shape, and a first two-dimensional sketch is generated according to the spatial coordinates of the overlapping nodes.
3. The copper busbar three-dimensional model drawing method according to claim 2, characterized in that: The method of generating a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displaying the three-dimensional model in the copper busbar assembly component includes: converting the first two-dimensional sketch into a three-dimensional entity based on the dimension data in the specification data; The three-dimensional entity is modeled according to the first busbar modeling, and attributes of the three-dimensional entity are defined according to the specification data to obtain the three-dimensional model.
4. The copper busbar three-dimensional model drawing method according to claim 1, characterized in that: The step of obtaining a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn includes: In response to a pick-up operation on a pre-stored model of an assembly component, a second busbar shape is formed; Obtaining the starting segment of the second busbar shape; A second two-dimensional sketch is generated according to the second busbar shape and the starting segment.
5. The copper busbar three-dimensional model drawing method according to claim 4, characterized in that: The method of generating a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and displaying the three-dimensional model in the copper busbar assembly component includes: Acquire a starting overlap surface and a generation direction based on the assembly requirements of the copper busbar to be drawn; Converting the second two-dimensional sketch into a three-dimensional entity according to the starting overlapping surface and the generating direction; The three-dimensional entity is modeled according to the second busbar modeling, and attributes of the three-dimensional entity are defined according to the specification data to obtain the three-dimensional model.
6. The copper busbar three-dimensional model drawing method according to claim 1, characterized in that: The step of obtaining the specification data of the copper busbar to be drawn includes: Establish a database of preset specifications; The specification data is formed in response to a configuration operation on the preset specification database.
7. The copper busbar three-dimensional model drawing method according to any one of claims 1 to 6, characterized in that: After obtaining the three-dimensional model, the method further includes: Acquire an opening database; wherein the opening database is established based on the correspondence between preset copper busbar specifications, preset overlap directions, preset overlap dimensions and opening data; Obtaining the busbar overlap direction and busbar overlap size in the three-dimensional model; The data in the opening database are traversed based on the specification data, the busbar overlap direction and the busbar overlap size to generate openings, and the openings are displayed in the three-dimensional model.
8. A copper busbar three-dimensional model drawing device, characterized in that: include: A first data acquisition module is used to acquire specification data of the copper busbar to be drawn; A second data acquisition module, used to acquire a busbar shape and a two-dimensional sketch corresponding to the busbar shape based on the assembly requirements of the copper busbar to be drawn; A model output module is used to generate a three-dimensional model of the copper busbar to be drawn according to the specification data, the busbar shape and the two-dimensional sketch, and display the three-dimensional model in the copper busbar assembly component.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the copper busbar three-dimensional model drawing method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the copper busbar three-dimensional model drawing method according to any one of claims 1 to 7 when executed.