Panel assembly structure modification method, device, and storage medium
By displaying thickness levels and adjusting contours in two-dimensional vector drawings, batch reconfiguration of panel assembly structures was achieved, solving the problems of high workload and errors caused by manual adjustment in existing technologies, and improving reconfiguration efficiency and accuracy.
Patent Information
- Application Number
- CN202611375191.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-04
- Publication Date
- 2026-11-24
AI Technical Summary
In the field of industrial design and manufacturing, the existing technology requires manual adjustment of all dimensions in the drawings when replacing plates of different thicknesses, which is labor-intensive and prone to errors.
A method for modifying panel assembly structures is provided. By displaying the original two-dimensional vector drawing and its thickness level, the target thickness level is determined and the outline of the assembly structure is adjusted to achieve batch modification. The adjustment effect can be previewed without modifying the original drawing.
It significantly improves the efficiency of modifying and assembling panel structures, reduces user operation steps and time, lowers the risk of errors, and supports batch modification and personalized adjustments.
Smart Images

Figure CN123160715A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laser processing technology, and in particular to a method, equipment and storage medium for modifying sheet metal assembly structures. Background Technology
[0002] In the field of industrial design and manufacturing, especially in scenarios involving two-dimensional planar processing such as laser cutting and engraving, the dimensions of sheet metal assembly structures (such as clips, slots, and holes) are closely related to the sheet metal thickness. When product design requires changing to sheets of different thicknesses, the key dimensions of all assembly structures on the existing drawings need to be modified to match the actual sheet metal thickness. Currently, the modification method usually involves designers manually adjusting the dimensions of all assembly structures on the drawings one by one, which is a huge workload and extremely prone to errors.
[0003] Therefore, how to improve the reconfiguration efficiency of panel assembly structures has become an urgent technical problem to be solved. Summary of the Invention
[0004] In view of the above problems, this application provides a method, equipment, storage medium, and program product for reconfiguring panel assembly structures to improve the efficiency of panel assembly structure reconfiguration. The specific solution is as follows:
[0005] The first aspect of this application provides a method for modifying a panel assembly structure, including:
[0006] Display the original two-dimensional vector graphic paper, and at least one thickness level; wherein, each thickness level corresponds to a set of assembly structures in the original two-dimensional vector graphic paper that are adapted to the same original board thickness, and represents the original board thickness adapted to the set of assembly structures; different thickness levels correspond to different sets of assembly structures.
[0007] Determine the target thickness level and the target sheet thickness;
[0008] Without modifying the original two-dimensional vector paper, the outline of at least part of the assembly structure corresponding to the target thickness level is adjusted to an adjusted outline that is compatible with the thickness of the target board material, and the adjusted outline is displayed.
[0009] In response to the confirmation operation, the modified 2D vector drawing is obtained based on the adjustment results corresponding to the displayed adjustment contour.
[0010] One possible implementation also includes:
[0011] During the display of the adjusted outline, the original outline of the at least part of the assembly structure before adjustment is also displayed.
[0012] In one possible implementation, prior to responding to the acknowledgment operation, the following is also included:
[0013] In response to an exclusion operation for at least one of the assembly structures corresponding to the adjusted profile, the adjusted profile of the at least one assembly structure is de-displayed; the adjustment results of the excluded assembly structures are not used to obtain the modified two-dimensional vector paper.
[0014] One possible implementation also includes:
[0015] In response to the target plate thickness being changed to a new target plate thickness, the outline of at least a portion of the assembled structure is adjusted to an adjusted outline that adapts to the new target plate thickness and displayed.
[0016] One possible implementation also includes:
[0017] In response to the target plate thickness being changed to a new target plate thickness, the outlines of the unexcluded assembly structures are adjusted to fit the new target plate thickness and displayed; the excluded assembly structures remain excluded.
[0018] In one possible implementation, the at least one thickness level is determined in the following manner:
[0019] Based on the geometric dimensions related to the thickness of the sheet material in the assembly structure, the assembly structures of the same category in the original two-dimensional vector paper are divided into at least one group;
[0020] Based on the geometric dimensions of the assembled structures within the same group, determine the thickness level corresponding to that group;
[0021] Accordingly, the at least partial assembly structure is an assembly structure in which the deviation between the geometric dimensions and the original plate thickness represented by the target thickness level is within the deviation range in the group corresponding to the target thickness level.
[0022] In one possible implementation, dividing the assembly structures of the same category in the original two-dimensional vector paper into at least one group includes:
[0023] The assembled structures of the same category are clustered according to the geometric dimensions to obtain at least one cluster of the same category; each cluster is a group.
[0024] Alternatively, the assembly structures of the same category are clustered according to the geometric dimensions to obtain at least one cluster of that category; the thickness of the board material corresponding to the cluster is determined based on the geometric dimensions of the assembly structures within the same cluster; the assembly structures include at least assembly structures of a first category and assembly structures of a second category that are mutually related; the clusters of the first category and the second category that correspond to the same board material thickness are merged into one group; and the unmerged clusters in each category are each grouped as a separate group.
[0025] In one possible implementation, the maximum deviation of the deviation range is the maximum of at least two of the following, or one of the following:
[0026] The input deviation is determined by the user operation, the preset absolute lower limit, and the relative lower limit is determined by the original sheet thickness represented by the target thickness level.
[0027] The relative lower limit is positively correlated with the original sheet thickness represented by the target thickness level.
[0028] In one possible implementation, where the maximum deviation within the deviation range is determined at least based on the input deviation, the following is also included:
[0029] In response to the change in the deviation range, at least a portion of the assembly structure corresponding to the target thickness level is updated according to the updated deviation range;
[0030] The updated outline of the at least partially assembled structure is shown.
[0031] In one possible implementation, the assembly structure includes snap-fit, slot, and hole;
[0032] Among them, the clips and slots that are adapted to the same original board thickness belong to the same thickness level.
[0033] In one possible implementation, after obtaining the modified two-dimensional vector paper, the method further includes:
[0034] In response to a cancellation operation, all adjustments to the assembly structure resulting from this confirmation operation are canceled, restoring the original 2D vector drawing as it was before the confirmation operation.
[0035] In one possible implementation, the display effect of the adjusted contour of at least part of the assembly structure corresponding to the target thickness level is different from the display effect of the unadjusted contour, so as to highlight the adjusted contour of at least part of the assembly structure corresponding to the target thickness level.
[0036] One possible implementation also includes:
[0037] Based on the modified two-dimensional vector drawing, the board processing equipment is controlled to process the board to be processed; the thickness of the board to be processed is the target board thickness.
[0038] The second aspect of this application provides a computer program product, including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement the plate assembly structure modification method described in the first aspect or any implementation thereof.
[0039] A third aspect of this application provides an electronic device, which is a host computer or a processing device, comprising a processor and a memory connected to the processor, wherein:
[0040] The memory is used to store computer programs;
[0041] The processor is used to execute the computer program so that the electronic device can implement the plate assembly structure modification method of the first aspect or any implementation of the first aspect.
[0042] The fourth aspect of this application provides a computer storage medium carrying one or more computer programs, which, when executed by an electronic device, enable the electronic device to implement the plate assembly structure modification method described in the first aspect or any implementation thereof.
[0043] By employing the above technical solution, the panel assembly structure modification method, equipment, storage medium, and program product provided in this application display thickness levels simultaneously with the original two-dimensional vector drawing. This allows users to intuitively understand the original panel thickness distribution adapted to each assembly structure in the drawing based on each thickness level. After determining the target thickness level and the target panel thickness, without modifying the original two-dimensional vector drawing, the outline of at least some of the assembly structures corresponding to the target thickness level is adjusted to an adjusted outline adapted to the target panel thickness, and the adjusted outline is displayed. This allows users to intuitively preview the batch modification effect without making any substantial modifications to the original drawing, thereby promptly identifying potential problems and making adjustments. Subsequently, in response to the confirmation operation, the modified two-dimensional vector drawing is obtained based on the adjustment results corresponding to the displayed adjusted outline, realizing batch modification with a single confirmation. Compared to the prior art, which requires designers to manually adjust the outline of each assembly structure one by one, this application significantly reduces the user's operation steps and time, and significantly improves the efficiency of panel assembly structure modification. Attached Figure Description
[0044] The above and other features, advantages, and aspects of the embodiments of this application will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.
[0045] Figure 1 A flowchart illustrating one implementation of the plate assembly structure modification method provided in this application;
[0046] Figure 2 A flowchart illustrating an implementation of dividing the same type of assembly structure in an original two-dimensional vector drawing into at least one group, as provided in this application;
[0047] Figure 3 A partial example of the interactive interface provided in this application;
[0048] Figure 4 For the purposes of this application Figure 3 The example shown is of multiple thickness levels displayed after the "Select Type" dropdown is expanded.
[0049] Figure 5 Another partial example of the interactive interface provided in this application;
[0050] Figure 6 Example diagram of the adjustment outline of the buckle after the target sheet thickness is adjusted to 4mm for this application;
[0051] Figure 7 Another partial example of the interactive interface provided in this application;
[0052] Figure 8 Another partial example of the interactive interface provided in this application;
[0053] Figure 9 A schematic diagram of the structure of the electronic device provided in this application. Detailed Implementation
[0054] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0055] As will be known to those skilled in the art, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0056] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0057] In the field of industrial design and manufacturing, especially in scenarios involving two-dimensional planar processing such as laser cutting and engraving, the dimensions of sheet metal assembly structures (such as snap-fits, slots, and holes) are closely related to the sheet metal thickness. A snap-fit is a tenon or finger joint structure protruding outwards from the outer edge of the sheet metal, with a depth equal to the thickness of the mating sheet metal. A slot is a U-shaped opening recessed inwards from the outer edge of the sheet metal, with the distance between its two side walls (also called the slot width) equal to the thickness of the mating sheet metal. A hole is a closed, elongated hole completely inside the sheet metal, with its minor axis length equal to the thickness of the mating sheet metal. In other words, once the sheet metal thickness is determined, the depth of the snap-fit, the distance between the two side walls of the slot, and the minor axis length of the hole are also determined, all equal to the sheet metal thickness.
[0058] When a user receives a 2D vector graphic for processing, the dimensions of the assembled structure in the 2D vector graphic are only applicable to a specific board thickness. If the user wants to apply the 2D vector graphic to boards of other thicknesses, the 2D vector graphic needs to be modified. A 2D vector graphic refers to a planar graphic file composed of line segments and Bézier curve segments, expressed in formats such as SVG (Scalable Vector Graphics) or DXF (Drawing Exchange Format).
[0059] Currently, most modifications are made by designers manually adjusting the dimensions of all assembled structures in the drawings one by one, which is a huge workload and prone to errors.
[0060] This application is submitted in order to improve the reconfiguration efficiency of panel assembly structures.
[0061] like Figure 1 The diagram shown is a flowchart of one implementation of the plate assembly structure modification method provided in this application embodiment, which may include:
[0062] Step S101: Display the original two-dimensional vector paper, and at least one thickness setting.
[0063] Each thickness level corresponds to a set of assembly structures in the original two-dimensional vector paper that are adapted to the same original board thickness, and represents the original board thickness adapted to by the set of assembly structures; different thickness levels correspond to different sets of assembly structures.
[0064] The original two-dimensional vector drawing refers to the two-dimensional vector drawing of the assembled structure dimensions (dimensions related to the thickness of the board material) that need to be modified.
[0065] This application groups assembled structures in the original two-dimensional vector drawing that are adapted to the same original board thickness into a group, and determines the original board thickness adapted to the assembled structures in each group. Each group of assembled structures consists of assembled structures adapted to the same original board thickness, and each group includes at least one category of assembled structures. The intersection of different groups of assembled structures is empty, that is, each assembled structure uniquely belongs to a group of assembled structures. Each group of assembled structures corresponds to a thickness level, which may include the original board thickness adapted to its corresponding group of assembled structures, and may also include the category of the group of assembled structures corresponding to that thickness level.
[0066] For example, a certain thickness setting is "5.20mm" or "slot 5.20mm".
[0067] Suppose that the assembly structures in the original 2D vector drawing that adapt to the same original board thickness are grouped into a group, resulting in a total of N groups of assembly structures, where N is a positive integer greater than 0. These N thickness levels can be displayed on the interactive interface at once using N labels, with each label corresponding to one thickness level; alternatively, these N thickness levels can be displayed in a drop-down list, where only one thickness level is displayed at a time. When an unfold operation is detected, all N thickness levels are displayed, and when a selection command for any of the N thickness levels is detected, the selected thickness level is displayed in the drop-down list.
[0068] Step S102: Determine the target thickness level and the target sheet thickness.
[0069] The target thickness level can be: a thickness level that the system selects by default when at least one thickness level is initially displayed; or, a thickness level that the user selects from at least one displayed thickness level according to their needs.
[0070] The target board thickness can be: the original board thickness represented by the target thickness level, or the board thickness entered by the user in the input box, or a board thickness selected by the user within a preset thickness range.
[0071] Step S103: Without modifying the original two-dimensional vector paper, adjust the outline of at least part of the assembly structure corresponding to the target thickness level to an adjusted outline that is compatible with the target board thickness, and display the adjusted outline, i.e., preview the adjusted outline.
[0072] After determining the target thickness level and the target sheet thickness, the outlines of all or part of the assembly structures in a set of assembly structures corresponding to the target thickness level are adjusted according to the target sheet thickness, so that the adjusted outline (i.e., the adjusted outline) matches the target sheet thickness, and the adjusted outline is displayed.
[0073] While displaying the adjusted outlines, the system can also display the unadjusted outlines. The display effect of the unadjusted outlines differs from that of the adjusted outlines of at least some of the assembly structures corresponding to the target thickness level. This is to highlight the adjusted outlines of at least some of the assembly structures corresponding to the target thickness level, allowing users to distinguish which assembly structures have had their outlines modified and the overall effect after the modification. The unadjusted outlines include the outlines of assembly structures not corresponding to the target thickness level, as well as the outlines of other assembly structures corresponding to the target thickness level besides the aforementioned at least some assembly structures.
[0074] The display effect of an unadjusted outline differs from that of an adjusted outline in at least one of the following aspects:
[0075] Different colors, different transparency, different thicknesses of outlines, different line styles, etc.
[0076] When displaying the adjustment outline, the adjustment outline can be drawn on a temporary layer of the original 2D vector paper.
[0077] Optionally, a copy of the adjusted data can be cached in memory and overlaid on the original 2D vector graphic canvas for rendering and display of the adjusted outline; alternatively, it can be rendered and displayed on a canvas different from the original 2D vector graphic canvas; or it can be rendered and displayed in a separate preview window.
[0078] Optionally, the outline of at least part of the assembly structure corresponding to the target thickness level in a copy of the original 2D vector graphic file can be adjusted to an adjusted outline that is compatible with the target board thickness, and then displayed on a canvas (different from the canvas on which the original 2D vector graphic file is located) or in a separate preview window.
[0079] None of the above display methods will modify the original 2D vector graphic.
[0080] Step S104: In response to the confirmation operation, based on the adjustment result corresponding to the displayed adjustment contour, the modified two-dimensional vector paper is obtained.
[0081] After the adjustment outline is displayed, the user can check if it is correct. If it is correct, the user can perform a confirmation operation so that the system can obtain the modified two-dimensional vector paper based on the adjustment result corresponding to the displayed adjustment outline.
[0082] Optionally, the 2D vector graphic before the response confirmation operation can be modified according to the adjustment result corresponding to the displayed adjustment outline to obtain the modified 2D vector graphic.
[0083] Optionally, the adjusted outline of the display can be exported as a 2D vector graphic, which can then be used as the modified 2D vector graphic.
[0084] The plate assembly structure modification method provided in this application displays thickness levels while showing the original two-dimensional vector drawing, allowing users to intuitively understand the original plate thickness distribution adapted to each assembly structure in the drawing based on each thickness level. After determining the target thickness level and the target plate thickness, without modifying the original two-dimensional vector drawing, the outline of at least a portion of the assembly structure corresponding to the target thickness level is adjusted to an adjusted outline adapted to the target plate thickness, and the adjusted outline is displayed. This allows users to intuitively preview the batch modification effect without making any substantial modifications to the original drawing, thereby promptly identifying potential problems and making adjustments. Subsequently, in response to the confirmation operation, the modified two-dimensional vector drawing is obtained based on the adjustment results corresponding to the displayed adjusted outline, realizing batch modification can be completed with a single confirmation. Compared to existing technologies that require designers to manually adjust the outline of each assembled structure one by one, this application transforms the tedious process of requiring users to manually measure, estimate, and adjust one by one into an intuitive gear selection operation. Users do not need to pay attention to the minute dimensional deviations of individual assembled structures in the drawings; they only need to confirm the thickness grade on which the overall design is based. This significantly reduces the user's operation steps and time, and significantly improves the efficiency of modifying the assembly of panel assembled structures.
[0085] In an optional embodiment, the original outline of the assembly structure before adjustment can also be displayed during the display of the adjusted outline.
[0086] The adjusted outline and the original outline can have different display effects. For example, the adjusted outline and the original outline can use different line types, different line thicknesses, different colors, or different transparency.
[0087] By displaying the original outline of at least part of the assembled structure before adjustment while displaying the adjusted outline, users can intuitively judge whether the reconfiguration range is appropriate and whether it will interfere with adjacent structures by comparing the outlines before and after adjustment. This allows them to make more accurate decisions before confirming the operation and effectively reduces the risk of reconfiguration failure due to misjudgment.
[0088] In an optional embodiment, if the user discovers that a certain assembly structure is unsuitable for this reconfiguration before performing the confirmation operation, the unsuitable assembly structure can be excluded. Based on this, the plate assembly structure reconfiguration method provided in this application may further include:
[0089] If an exclusion operation is detected for at least one assembly structure corresponding to an adjustment profile before a confirmation operation is performed, the adjustment profile of the at least one assembly structure is de-displayed in response to the exclusion operation.
[0090] Exclusion operations can include, but are not limited to, click operations (e.g., single-click or double-click) and selection operations.
[0091] For a single assembly structure, you can click on the adjustment outline of the assembly structure to cancel its display, or you can select the adjustment outline of the assembly structure to cancel its display.
[0092] For multiple (at least two) assembly structures, you can click on each assembly structure individually to cancel the display of its adjustment outline; or, you can select a portion of the assembly structures to cancel the display of their adjustment outline, and then click on the remaining assembly structures individually to cancel the display of their adjustment outline; or, you can select all the assembly structures to cancel the display of their adjustment outline.
[0093] After the adjustment outline of the assembly structure is removed from the display, the display effect of the adjustment outline of the removed assembly structure is different from the display effect of the adjustment outline, so that users can confirm which assembly structures have been excluded from this reconfiguration.
[0094] The adjustment results of excluded assembly structures are not used to obtain the modified 2D vector graphic. In other words, in the modified 2D vector graphic, only the outlines of the assembly structures that were not excluded in the original 2D vector graphic are modified, while the outlines of the excluded assembly structures are not modified.
[0095] Furthermore, for excluded assembly structures, if the user wishes to reinstate their participation in this reconfiguration, the adjusted outline of the assembly structure can be restored. Based on this, the panel assembly structure reconfiguration method provided in this application may further include:
[0096] In response to a user's action to restore the highlighting of an assembly that had been de-highlighted, restore the highlighting of the assembly. This restore action may be the same as or different from the exclusion action.
[0097] This exclusion function gives users precise control over the range of configuration changes, meeting the personalized adjustment needs that may arise in actual production.
[0098] In an optional embodiment, the user can also adjust the target plate thickness. Based on this, the plate assembly structure modification method provided in this application can further include:
[0099] In response to a change in the target sheet thickness to a new target sheet thickness, the outline of at least part of the assembled structure is adjusted to an adjusted outline that is compatible with the new target sheet thickness and displayed.
[0100] In practice, users may find that the initially selected target material thickness is unsuitable during the preview stage and need to try other thickness values. Based on this, this application supports users to modify the target material thickness in real time. When the system receives an operation command from the user to change the target material thickness to a new target material thickness, it will immediately readjust the outline of at least part of the assembled structure to an adjusted outline that matches the new target material thickness and update the display.
[0101] For example, a user initially selected a target board thickness of 5.0mm, but after previewing, realized the thickness was incorrect and changed it to 4.8mm. The system then immediately updates the adjustment outlines of all affected structures, allowing the user to instantly see the new configuration effect. This real-time responsive interaction greatly facilitates users in comparing multiple options and adjusting parameters.
[0102] In an optional embodiment, the plate assembly structure modification method provided in this application may further include:
[0103] In response to a change in the target plate thickness to a new target plate thickness, the outlines of the unexcluded assembly structures are adjusted to fit the new target plate thickness and displayed; the excluded assembly structures remain excluded.
[0104] Unlike the previous implementation where the user adjusted the target board thickness, this implementation further optimizes the user experience. When a user first performs an exclusion operation and then changes the target board thickness to a new one, the system will adjust the outline of any remaining assembled structures to match the new target board thickness and display it. For assembled structures that have already been excluded, the system will maintain their excluded state, meaning it will not generate new adjustment outlines for them or participate in subsequent reassemblies. In other words, users no longer need to repeatedly perform the exclusion operation after each change to the target board thickness, simplifying user operations and further improving interaction efficiency and operational smoothness.
[0105] In an optional embodiment, the at least one thickness level is automatically generated, and can be determined in the following way:
[0106] Based on the geometric dimensions related to the thickness of the sheet material in the assembled structure, the assembled structures of the same category in the original two-dimensional vector paper are divided into at least one group.
[0107] For ease of description and distinction, the geometric dimensions related to the thickness of the plate in the assembled structure are referred to as the geometric dimensions of the assembled structure.
[0108] The physical meaning of the geometric dimensions differs for different types of assembly structures: for snap-fit structures, the geometric dimension represents the depth of the snap-fit; for slot structures, the geometric dimension represents the distance between the two side walls; and for hole structures, the geometric dimension represents the width in the direction of the minor axis extension.
[0109] Actual drawings often contain slight dimensional fluctuations due to modeling errors or machining tolerances (for example, multiple slots with a design specification of 3mm may have actual measured values in the range of 2.98mm, 3.01mm, 3.05mm, etc.). By clustering similar assembly structures, the influence of numerical noise can be eliminated to confirm assembly structures with the same geometric dimensions.
[0110] For each category, the assembly structures in the same group are those with similar geometric dimensions, while the assembly structures in different groups are those with significantly different geometric dimensions.
[0111] The grouping method can be any of the following, but is not limited to:
[0112] Grouping by size: Within the same category of assembly structures, those of the same size are grouped together. If no other assembly structure of the same size exists, then that assembly structure is grouped independently.
[0113] The process involves rounding down the dimensions of assembled structures within the same category to determine the integer distribution range of their geometric dimensions. Then, within this integer distribution range, multiple boxes of a preset size are constructed, with the interval between the center values of two adjacent boxes serving as the preset interval. Finally, the assembled structure is assigned to the corresponding box according to its geometric dimensions. For example, if the geometric dimensions of a certain category of assembled structures are 2.98mm, 2.99mm, 3.00mm, 3.01mm, 3.02mm…5.00mm, the integer distribution range of these geometric dimensions is [2.0mm, 5.0mm]. Multiple boxes with a span of 0.5mm can be constructed by setting the center value between two adjacent boxes to 0.5mm. The center value of the first box can be 2.0mm (range [1.75mm, 2.25mm)), the center value of the second box can be 2.5mm (range [2.25mm, 2.75mm)), the center value of the third box can be 3.0mm (range [2.75mm, 3.25mm)), the center value of the fourth box can be 3.5mm (range [3.25mm, 3.75mm)), the center value of the fifth box can be 4.0mm (range [3.75mm, 4.25mm)), the center value of the sixth box can be 4.5mm (range [4.25mm, 4.75mm)), and the center value of the seventh box can be 5.00mm (range [4.75mm, 5.25mm)). Based on this binning result, the assembly structure with a geometric dimension of 2.98mm falls within the range of [2.75mm, 3.25mm] in the third bin, and the assembly structure with a geometric dimension of 3.48mm falls within the range of [3.25mm, 3.75mm] in the fourth bin. Assembly structures falling within the same bin belong to the same group.
[0114] Lookup table mapping. That is, for each category, a mapping table between geometric dimensions and thickness levels is pre-established. The thickness level to which the assembly structure belongs is determined by looking up the table based on the geometric dimensions of the assembly structure in that category.
[0115] Based on the geometric dimensions of the assembled structures within the same group, determine the thickness level corresponding to that group.
[0116] Optionally, the average geometric dimensions of each assembled structure within the same group can be obtained, and this average value can be used as the plate thickness corresponding to the assembled structure in that group. Based on this average value, the thickness level corresponding to the group can be determined, and the original plate thickness represented by this thickness level is the average value.
[0117] Alternatively, the median of the geometric dimensions of each assembled structure within the same group can be obtained. This median can be used as the plate thickness corresponding to the assembled structure in that group. Based on this median value, the thickness level corresponding to the group can be determined. The original plate thickness represented by this thickness level is the median.
[0118] Alternatively, count the frequency of each geometric dimension within the same group, take the geometric dimension with the most frequent occurrence as the plate thickness corresponding to the assembled structure of that group, determine the thickness level corresponding to the group based on the geometric dimension with the most frequent occurrence, and the original plate thickness represented by the thickness level is the geometric dimension with the most frequent occurrence.
[0119] Accordingly, at least some of the assembly structures corresponding to the target thickness level are: in the group corresponding to the target thickness level, the assembly structures whose geometric dimensions deviate from the original plate thickness represented by the target thickness level within the deviation range.
[0120] In other words, at least a portion of the assembly structure corresponding to the target thickness level is determined based on the deviation between the geometric dimensions of the assembly structure in the group corresponding to the target thickness level and the original sheet thickness represented by the target thickness level. If only a portion of the assembly structure in the group corresponding to the target thickness level has a deviation within the deviation range from the original sheet thickness represented by the target thickness level, then the partial assembly structure corresponding to the target thickness level is selected for contour adjustment and the adjusted contour is displayed. If all the assembly structures in the group corresponding to the target thickness level have a deviation within the deviation range from the original sheet thickness represented by the target thickness level, then all the assembly structures corresponding to the target thickness level are selected for contour adjustment and the adjusted contour is displayed.
[0121] In an optional embodiment, the maximum deviation of the deviation range is the maximum of at least two of the following, or one of the following:
[0122] The lower limit is determined based on the input deviation specified by the user's operation, a preset absolute lower limit, and a relative lower limit determined based on the original sheet thickness represented by the target thickness level. The relative lower limit is positively correlated with the original sheet thickness represented by the target thickness level.
[0123] In other words, the maximum deviation within the deviation range is the input deviation determined by the user's operation. The user can input the deviation in the deviation output box, select a deviation from the deviation drop-down box, or select the deviation by moving the slider (different slider positions result in different deviations). Alternatively, the user can choose a deviation level from multiple deviation levels (e.g., strict, standard, lenient). The deviation corresponding to the selected deviation level will be used as the input deviation determined by the user's operation. The deviation corresponding to strict is less than the deviation corresponding to standard, and the deviation corresponding to standard is less than the deviation corresponding to lenient.
[0124] Alternatively, the maximum deviation within the deviation range can be a preset absolute lower limit. The absolute lower limit is a preset fixed deviation value.
[0125] Alternatively, the maximum deviation within the deviation range is a relative lower limit determined based on the original sheet thickness represented by the target thickness level. Optionally, the relative lower limit is a preset proportion of the original sheet thickness, for example, 1% of the original sheet thickness.
[0126] The reason for setting a lower limit (absolute lower limit and / or relative lower limit) is that the gear itself is a statistical value of the geometric dimensions of the assembled structure within the group. If the user sets the deviation to zero and does not retain a lower limit, after selecting a gear that is averaged from multiple approximate values, it is possible that no assembled structure can be selected. Since the relative lower limit is directly related to the original board thickness, its value automatically increases as the original board thickness increases, thus providing an adaptive tolerance baseline for boards of different thicknesses.
[0127] Alternatively, the maximum deviation within the deviation range is the maximum of the input deviation determined by the user operation and the absolute lower limit.
[0128] Alternatively, the maximum deviation within the deviation range is the maximum of the input deviation determined by the user operation and the relative lower limit.
[0129] Alternatively, the maximum deviation within the deviation range is the maximum of the absolute lower limit and the relative lower limit.
[0130] Alternatively, the maximum deviation within the deviation range is the maximum value among the input deviation, absolute lower limit, and relative lower limit determined by the user operation.
[0131] Assuming the maximum deviation is 'a', where 'a' is a positive number greater than 0, the deviation range is [-a, a]. For example, if the maximum deviation is 0.1mm, the deviation range is [-0.1mm, 0.1mm]. For any assembly structure corresponding to the target thickness level, if the difference between the geometric dimensions of the assembly structure and the original plate thickness represented by the target thickness level is within the deviation range of [-0.1mm, 0.1mm], then the assembly structure is determined to participate in this reconfiguration, and its outline will be adjusted to match the target plate thickness and displayed subsequently. If the difference between the geometric dimensions of the assembly structure and the original plate thickness represented by the target thickness level is not within the deviation range of [-0.1mm, 0.1mm], then the assembly structure is determined not to participate in this reconfiguration, and its outline will not be adjusted to match the target plate thickness subsequently.
[0132] By comparing at least two of the above three factors and selecting the maximum value as the maximum deviation within the deviation range, it is ensured that even in the extreme case where the user sets the deviation to zero, the system still retains the necessary discrimination space. This effectively avoids the misfiltering of assembly structures that should match due to floating-point calculation errors or minor distortions during drawing export. The maximum deviation determined in this way provides a quantitative basis for subsequent screening of assembly structures, thereby significantly improving the robustness of the algorithm.
[0133] In an optional embodiment, where the maximum deviation within the deviation range is determined at least based on the input deviation determined by user operation, the plate assembly structure modification method provided in this application may further include:
[0134] In response to a change in the deviation range, at least a portion of the assembly structure corresponding to the target thickness level is updated according to the updated deviation range.
[0135] In this embodiment of the application, the user can adjust the input deviation. After the user adjusts the input deviation, the system updates the deviation range at least according to the adjusted input deviation. Depending on the different adjusted input deviations, the updated deviation range may be the same as or different from the original deviation range.
[0136] The system can update the deviation range based solely on the user-adjusted input deviation. Specifically, the system can use the user-adjusted input deviation as the maximum deviation of the updated deviation range to determine the updated deviation range.
[0137] Alternatively, the system can update the deviation range based on at least one of the absolute lower limit and the relative lower limit, as well as the user-adjusted input deviation. Specifically, the system can use the maximum value of at least one of the absolute lower limit and the relative lower limit, along with the user-adjusted input deviation, as the maximum deviation of the updated deviation range to determine the updated deviation range.
[0138] The at least part of the assembly structure corresponding to the target thickness level is re-determined based on the updated deviation range, that is, the at least part of the assembly structure corresponding to the target thickness level is updated based on the updated deviation range.
[0139] Shows the adjusted outline of at least part of the updated assembly structure.
[0140] After updating at least part of the assembly structure corresponding to the target thickness level, without modifying the original two-dimensional vector drawing, the outline of the updated at least part of the assembly structure is adjusted to an adjusted outline that matches the target board thickness, and the adjusted outline is displayed.
[0141] Based on this embodiment, users can control the size of the reconfiguration range by adjusting the deviation parameter, without having to manually add or exclude structures one by one.
[0142] In an optional embodiment, one way to divide the same type of assembly structure in the original two-dimensional vector paper into at least one group can be:
[0143] Assembled structures of the same category are clustered according to their geometric dimensions to obtain at least one cluster of the same category; each cluster is a group.
[0144] The clustering algorithm can be a common clustering algorithm, such as K-Means clustering, hierarchical clustering, etc., and this application does not make any specific restrictions on it.
[0145] Clustering algorithms can adaptively group structures with similar geometric dimensions into the same group based on the actual distribution of geometric dimensions in the drawings, eliminating the need for manually preset boxing intervals or mapping rules. Compared to methods such as direct grouping by equal dimensions, rounding down by rules, or table lookup mapping, clustering grouping more accurately reflects the natural aggregation characteristics of the data. It avoids the unreasonable splitting of structures within the same natural group into different grades due to fixed boundaries, or the forced grouping of structures with significant differences into the same grade due to improper interval settings. This data-driven grouping method makes the generated thickness grades more closely match the actual size distribution patterns in production, improving the rationality and accuracy of grouping and laying a reliable foundation for subsequent batch reconfiguration operations.
[0146] In one scenario, the assembly structures in the original 2D vector graphic include at least two related categories of assembly structures. For example, the first category of assembly structures might be snap-fit structures, and the second category might be slots or holes; these two types of assembly structures are typically used in pairs. Based on this, in an optional embodiment, a flowchart illustrating one method of dividing the same category of assembly structures in the original 2D vector graphic into at least one group is shown below. Figure 2 As shown, it may include:
[0147] Step S201: Cluster the assembled structures of the same category according to their geometric dimensions to obtain at least one cluster of that category.
[0148] The clustering algorithm can be a common clustering algorithm, such as K-Means clustering, hierarchical clustering, etc., and this application does not make any specific restrictions on it.
[0149] Step S202: Determine the thickness of the board material corresponding to the cluster based on the geometric dimensions of the assembled structure within the same cluster.
[0150] Optionally, the cluster center of the cluster can be determined as the thickness of the plate corresponding to the cluster.
[0151] Alternatively, the mean of the geometric dimensions of each assembled structure within the cluster can be determined as the thickness of the plate corresponding to the cluster.
[0152] Alternatively, the median of the geometric dimensions of each assembled structure within the cluster can be used as the thickness of the plate corresponding to that cluster.
[0153] Alternatively, the frequency of occurrence of each geometric dimension within the same group can be counted, and the geometric dimension that appears most frequently can be determined as the thickness of the board material corresponding to that cluster.
[0154] Step S203: Merge the clusters in the first and second categories that correspond to the same plate thickness into one group; and group the unmerged clusters in each category into their own group.
[0155] If there are clusters in the first category and the second category that correspond to the same board thickness, then the clusters that correspond to the same board thickness will be merged into one group. That is, two clusters that correspond to the same board thickness will generate a thickness level. If the thickness level includes the category of the corresponding assembly structure, the category corresponding to the thickness level can be either the first category or the second category.
[0156] For each cluster that is not merged in the first and second categories, that cluster is treated as a group.
[0157] If the assembly structure in the original 2D vector diagram also includes a third category of assembly structure, such as a card slot, each cluster in the third category is an unmerged cluster, and therefore each cluster in the third category is treated as a separate group.
[0158] By merging clusters of the same sheet thickness in the first and second categories into one group, structures that originally belonged to different categories but had the same thickness can be integrated into the same thickness level. This simplifies the user interface, allowing users to more easily modify related structures in a unified manner, and further improves interaction efficiency and operational smoothness.
[0159] It should be noted that although the clusters corresponding to the same plate thickness in the first and second categories are merged into one group, these two clusters constitute different subgroups of the same group. This is so that when adjusting the outline of the assembly structure, the assembly structure of each category can be adjusted separately, ensuring the rigor of the adjustment logic.
[0160] Optionally, the assembly structure may include, but is not limited to, snap-fit, slot, and hole.
[0161] In this context, clips and slots that adapt to the same original sheet thickness are grouped into the same thickness level. That is, after grouping the clips and slots, if a group of clips and a group of slots correspond to the same original sheet thickness, then those groups correspond to the same thickness level. Thus, when this thickness level is determined as the target thickness level, the outlines of the corresponding clips and slots will be adjusted simultaneously, resulting in an adjusted outline that is then displayed.
[0162] In practical applications, clips and slots are usually used in pairs. Modifying the geometry of the clips requires corresponding modifications to the geometry of the slots. Grouping clips and slots that adapt to the same original sheet thickness into the same thickness range aligns with actual assembly logic and facilitates user understanding and operation.
[0163] Optionally, to optimize the reading experience, the thickness of the board material represented by the thickness level can be quantified when displaying the thickness level, for example, by fixing the display to two decimal places. This quantification operation only applies to the results presented on the front end and does not write back to the thickness level values stored internally, thus ensuring high accuracy in internal calculations while providing a clear and user-friendly interface.
[0164] To avoid splitting assemblies belonging to the same thickness grade into multiple unnecessary small groups due to minor errors or measurement fluctuations, and to prevent assemblies with significant size differences from being forcibly grouped into the same group, a reasonable grouping interval threshold can be set. This allows the system to automatically ignore minor differences between structures with similar but slightly different dimensions, merging them into meaningful thickness grades. This generates a thickness grade list that is appropriately sized, logically clear, and meets actual production needs, providing an accurate and reliable grouping basis for subsequent batch reconfiguration operations. Regardless of the grouping method used, this application determines whether assemblies within the same category should be grouped using the following method:
[0165] For any two assembled structures of the same category, if the difference in their geometric dimensions is less than or equal to the interval threshold, then the two assembled structures belong to the same group; otherwise, the two assembled structures are determined not to belong to the same group.
[0166] The interval threshold is the maximum of the following two options, or one of the following two options:
[0167] The preset absolute value and the relative value determined based on the geometric dimensions of one of the two assembly structures (which may be the assembly structure with the larger geometric dimensions; or, it may be the assembly structure with the smaller geometric dimensions).
[0168] The absolute value is the preset grouping interval; the relative value is positively correlated with the geometric dimensions of the assembled structure, meaning the larger the geometric dimensions of the assembled structure, the larger the relative value. For example, the ratio of the relative value to the geometric dimension data to be grouped is a preset proportion. As an example, the absolute value is 0.08mm, and the relative value is 1% of the geometric dimensions of the assembled structure.
[0169] Generally, the absolute value can range from 0.02mm to 0.2mm, and the relative value can range from 0.5% to 3%. The absolute value must be greater than the modeling and processing error of the same batch of structures, and less than the minimum difference between two adjacent commonly used sheet thicknesses. "Modeling and processing error" and "minimum difference between adjacent commonly used sheet thicknesses" are two empirical values.
[0170] By grouping based on the aforementioned interval thresholds, the assembled structures within each group maintain a high degree of geometric consistency, indicating that they belong to the same original design thickness level. This effectively filters out drawing errors and random noise, summarizing discrete dimensional observations into standard thickness levels with engineering significance.
[0171] In an optional embodiment, the plate assembly structure modification method provided in this application may further include:
[0172] In response to a cancellation operation, all adjustments to the assembly structure resulting from this confirmation operation are canceled, restoring the original 2D vector drawing as it was before the confirmation operation.
[0173] The 2D vector graphic before this confirmation operation may be the original 2D vector graphic or the modified 2D vector graphic obtained after performing at least one confirmation operation.
[0174] To ensure the safety and reversibility of the operation, this application provides an undo function. After obtaining the modified 2D vector drawing, if the user is not satisfied with the modification result, they only need to perform an undo operation once (e.g., press Ctrl+Z or click the "Undo" button). The system will then cancel all adjustments to the assembly structure generated by this confirmation operation and restore the drawing to its original state before the confirmation operation.
[0175] It's important to note that the undo here refers to undoing the entire batch of changes at once, rather than undoing individual structural changes one by one. This design ensures the atomicity of the operation, eliminating concerns about historical data corruption caused by multiple operations. Users can experiment freely, improving the software's fault tolerance and user experience.
[0176] Furthermore, after obtaining the modified two-dimensional vector drawing, the drawing can be applied to the actual production and processing stages. Based on this, the method for modifying the assembly structure of sheet metal provided in this application may further include:
[0177] Based on the modified two-dimensional vector drawing, the board processing equipment is controlled to process the board to be processed; the thickness of the board to be processed is the target board thickness.
[0178] The system can convert modified 2D vector drawings into processing instructions that can be recognized by sheet metal processing equipment, and send them to the equipment via wired or wireless communication interfaces. The sheet metal processing equipment can be a laser cutter or a laser engraving machine, etc.
[0179] Taking a laser cutting machine as an example, the system imports the modified two-dimensional vector drawing into the laser cutting control software. The software generates the laser head's motion trajectory and power parameters based on the vector outline in the drawing, and then controls the laser head to cut or engrave the material to be processed along the predetermined trajectory. In practical applications, other types of material processing equipment can also be selected; this embodiment does not limit this.
[0180] By directly integrating the reconfiguration method with the actual processing stage, users no longer need to manually export and re-import drawings after reconfiguration, achieving an integrated process from design reconfiguration to production. This avoids errors that may be introduced by manual transfer or re-import, and shortens the cycle from design change to finished product output, further improving overall production efficiency. Simultaneously, because the assembly structure dimensions in the reconfigured drawings are precisely matched to the target sheet thickness, the finished product ensures good assembly fit, reducing the scrap rate caused by dimensional mismatches.
[0181] The following explanation, with examples, illustrates the scheme of this application.
[0182] like Figure 3 The image shown is a partial example of the interactive interface provided in an embodiment of this application.
[0183] In this example, the right side shows a 2D vector graphic, and the left side shows a "Thickness Adjustment" pop-up that displays at least one thickness setting. Figure 3 (corresponding to the dropdown menu under "Type Selection"), and the target board thickness ( Figure 3 The corresponding input box is "Target material thickness".
[0184] Figure 3 The pop-up window shown also includes deviation (corresponding to) Figure 3 The "tolerance" input box.
[0185] Users can change at least one of the following as needed: tolerance (i.e., input deviation), thickness level, and target material thickness (i.e., target sheet thickness).
[0186] Figure 3 In the example shown, the user input deviation is 0.15mm, the target thickness setting is "clamp 2.70mm", the target board thickness is 2.70mm, and the adjustment profile of the clamp determined based on this is shown as the orange line on the edge of the board.
[0187] like Figure 4As shown, this is the user's... Figure 3 The example shown illustrates multiple thickness levels displayed after expanding the "Select Type" dropdown menu. In this example, different thickness levels correspond to different colored blocks, allowing users to quickly select the thickness level for a specific type of assembly structure. Furthermore, when displaying the adjusted outline of the assembly structure, lines of the same color as the colored blocks are used, making it easy for users to identify the assembly structure being adjusted.
[0188] If the user selects the "5.20mm slot" thickness setting, and the target board thickness is updated to 5.20mm, the outline of the slot corresponding to the "5.20mm slot" thickness setting will be displayed in the drawing area on the right. For example... Figure 5 The image shown is another partial example of the interactive interface provided in the embodiments of this application.
[0189] exist Figure 3 Based on the example shown, if the user adjusts the target board thickness, for example, to 4mm, the corresponding buckle and thickness-related contour for the target thickness setting will be adjusted accordingly to 4mm. Figure 6 The image shown is an example of the adjustment outline of the clip after the user adjusts the target board thickness to 4mm. Figure 6 In the example shown, the original 2.7mm buckle has been extended to 4mm. The example also shows the original buckle outline, as follows. Figure 6 As shown by the dashed line in the image.
[0190] Figure 3-5 The outline of the board material in the example shown is relatively regular; the solution proposed in this application is also applicable to the modification of drawings with irregular board material outlines. For example... Figure 7 The image shows another partial example of the interactive interface provided in this application embodiment. In this example, the buckles and slots corresponding to the same original board thickness (0.83mm) are classified into the same thickness level "buckle 0.83mm", and the image shows the outline of the slot of the "buckle 0.83mm" thickness level when the target board thickness is 0.83mm.
[0191] like Figure 8 The image shown is another partial example of the interactive interface provided in this application embodiment. This example displays the outline of the card slot corresponding to the thickness setting "card slot 0.85mm" when the target sheet thickness is 0.85mm.
[0192] Corresponding to the method embodiments, this application also provides an electronic device. (See reference...) Figure 9The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of this application. This electronic device can be a host computer (e.g., a large-screen device, mobile phone, tablet computer, laptop computer, desktop computer, etc.) or a sheet metal processing device (e.g., laser cutting equipment, laser engraving equipment, etc.). Figure 9 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0193] like Figure 9 As shown, the electronic device may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. When the electronic device is powered on, the RAM 903 also stores various programs and data required for the operation of the electronic device. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0194] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, memory cards, hard drives, etc.; and communication devices 909. Communication device 909 allows electronic devices to exchange data via wireless or wired communication with other devices. Although Figure 9 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have instead.
[0195] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to implement any of the plate assembly structure modification methods provided in this application.
[0196] This application also provides a computer-readable storage medium that carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any of the plate assembly structure modification methods provided in this application.
[0197] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0198] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0199] In the above embodiments, the functionality can be implemented entirely or partially through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented entirely or partially as a computer program product. Those skilled in the art can use different methods to implement the described functions for each specific solution, but such implementation should not be considered beyond the scope of this application.
[0200] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0201] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0202] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for modifying the assembly structure of sheet metal, characterized in that, include: Display the original two-dimensional vector graphic paper, and at least one thickness level; wherein, each thickness level corresponds to a set of assembly structures in the original two-dimensional vector graphic paper that are adapted to the same original board thickness, and represents the original board thickness adapted to the set of assembly structures; different thickness levels correspond to different sets of assembly structures. Determine the target thickness level and the target sheet thickness; Without modifying the original two-dimensional vector paper, the outline of at least part of the assembly structure corresponding to the target thickness level is adjusted to an adjusted outline that is compatible with the thickness of the target board material, and the adjusted outline is displayed. In response to the confirmation operation, the modified 2D vector drawing is obtained based on the adjustment results corresponding to the displayed adjustment contour.
2. The method according to claim 1, characterized in that, Also includes: During the display of the adjusted outline, the original outline of the at least part of the assembly structure before adjustment is also displayed.
3. The method according to claim 1, characterized in that, Before responding to the confirmation operation, it also includes: In response to an exclusion operation for at least one of the assembly structures corresponding to the adjusted profile, the adjusted profile of the at least one assembly structure is de-displayed; the adjustment results of the excluded assembly structures are not used to obtain the modified two-dimensional vector paper.
4. The method according to claim 1, characterized in that, Also includes: In response to the target plate thickness being changed to a new target plate thickness, the outline of at least a portion of the assembled structure is adjusted to an adjusted outline that adapts to the new target plate thickness and displayed.
5. The method according to claim 3, characterized in that, Also includes: In response to the target plate thickness being changed to a new target plate thickness, the outlines of the unexcluded assembly structures are adjusted to fit the new target plate thickness and displayed; the excluded assembly structures remain excluded.
6. The method according to claim 1, characterized in that, The at least one thickness level is determined in the following manner: Based on the geometric dimensions related to the thickness of the sheet material in the assembly structure, the assembly structures of the same category in the original two-dimensional vector paper are divided into at least one group; Based on the geometric dimensions of the assembled structures within the same group, determine the thickness level corresponding to that group; Accordingly, the at least partial assembly structure is an assembly structure in which the deviation between the geometric dimensions and the original plate thickness represented by the target thickness level is within the deviation range in the group corresponding to the target thickness level.
7. The method according to claim 6, characterized in that, The step of dividing the same category of assembled structures in the original two-dimensional vector paper into at least one group includes: The assembled structures of the same category are clustered according to the geometric dimensions to obtain at least one cluster of the same category; each cluster is a group. Alternatively, the assembly structures of the same category are clustered according to the geometric dimensions to obtain at least one cluster of that category; the thickness of the board material corresponding to the cluster is determined based on the geometric dimensions of the assembly structures within the same cluster; the assembly structures include at least assembly structures of a first category and assembly structures of a second category that are mutually related; the clusters of the first category and the second category that correspond to the same board material thickness are merged into one group; and the unmerged clusters in each category are each grouped as a separate group.
8. The method according to claim 6, characterized in that, The maximum deviation of the deviation range is the maximum of at least two of the following, or one of the following: The input deviation is determined by the user operation, the preset absolute lower limit, and the relative lower limit is determined by the original sheet thickness represented by the target thickness level. The relative lower limit is positively correlated with the original sheet thickness represented by the target thickness level.
9. The method according to claim 8, characterized in that, In cases where the maximum deviation within the deviation range is determined at least based on the input deviation, it also includes: In response to the change in the deviation range, at least a portion of the assembly structure corresponding to the target thickness level is updated according to the updated deviation range; The updated outline of the at least partially assembled structure is shown.
10. The method according to claim 1, characterized in that, The assembly structure includes buckles, slots, and holes; Among them, the clips and slots that are adapted to the same original board thickness belong to the same thickness level.
11. The method according to claim 1, characterized in that, After obtaining the modified two-dimensional vector paper, the process also includes: In response to a cancellation operation, all adjustments to the assembly structure resulting from this confirmation operation are canceled, restoring the original 2D vector drawing as it was before the confirmation operation.
12. The method according to claim 1, characterized in that, The display effect of the adjustment contour of at least part of the assembly structure corresponding to the target thickness level is different from the display effect of the unadjusted contour, so as to highlight the adjustment contour of at least part of the assembly structure corresponding to the target thickness level.
13. The method according to claim 1, characterized in that, Also includes: Based on the modified two-dimensional vector drawing, the board processing equipment is controlled to process the board to be processed; the thickness of the board to be processed is the target board thickness.
14. An electronic device, wherein the electronic device is a host computer or a processing device, characterized in that, The electronic device includes a memory and a processor; the memory stores a computer program, and the processor executes the computer program to implement the panel assembly structure modification method as described in any one of claims 1 to 13.
15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the plate assembly structure modification method as described in any one of claims 1 to 13.
