An automatic chamfering method and apparatus
By integrating an automatic chamfering method and device into the UG NX tool, the automatic identification of part type and chamfering position is realized, solving the problem of labor-intensive chamfering operations in the prior art and improving chamfering efficiency and design efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
- Filing Date
- 2021-11-16
- Publication Date
- 2026-04-21
AI Technical Summary
Existing product design software requires manual selection of each component during the chamfering process, which consumes a lot of manpower and is particularly inefficient when there are many components to design.
An automatic chamfering method and device are provided, which are integrated into the UG NX tool. By automatically identifying the part type and chamfering position, it supports batch chamfering operations, including chamfering information acquisition, selection of objects to be chamfered, identification of chamfering position, and an automatic chamfering module, to achieve one-click chamfering.
It improves chamfering efficiency, simplifies the operation process, reduces manual intervention, supports multiple selections and batch chamfering, and enhances design efficiency.
Smart Images

Figure CN116136920B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of product design and processing technology, and in particular to an automatic chamfering method and apparatus. Background Technology
[0002] Currently, product tooling design usually relies on software tools, such as UG (Unigraphics NX, a product engineering solution produced by Siemens PLM Software). However, the design tools that come with these software programs usually only meet general design needs, and some functions are relatively independent, making them inconvenient and quick to use, thus providing ample room for secondary development.
[0003] Filleting and chamfering are separate tools in software like UG, used to chamfer some parts. However, the chamfering process requires manual selection of each edge to be chamfered, which is very labor-intensive, especially when the chamfering workload is large in the designed parts. Summary of the Invention
[0004] To address the aforementioned problems, this invention provides an automatic chamfering method and apparatus, effectively solving the technical problems of complex and labor-intensive chamfering operations in existing product design and processing.
[0005] The technical solution provided by this invention is as follows:
[0006] On one hand, the present invention provides an automatic chamfering method, applied to product design and manufacturing based on UG NX, the automatic chamfering method comprising:
[0007] Obtain the selected part types and chamfer types that require automatic chamfering; the part types include: plate parts, L-shaped parts, and support parts;
[0008] Select the corresponding object to be chamfered according to the obtained part type; the object to be chamfered includes at least one corner formed by two adjacent sides that needs to be chamfered;
[0009] Identify the position to be chamfered in the object to be chamfered, and the relative positional relationship between the angle at the position to be chamfered and the object to be chamfered;
[0010] The identified chamfered positions are automatically chamfered based on the chamfer type, the relative position of the angle at the chamfered position to the chamfered object, and the pre-set chamfering rules.
[0011] On the other hand, the present invention provides an automatic chamfering device, applied to product design and processing based on UG NX, the automatic chamfering device comprising:
[0012] The chamfer information acquisition module is used to acquire the selected part type and chamfer type that need to be automatically chamfered; the part types include: plate parts, L-shaped parts and support parts;
[0013] The chamfering object selection module is used to select the corresponding chamfering object according to the obtained part type; the chamfering object includes at least one intersection formed by two adjacent sides that needs to be chamfered;
[0014] The chamfering position recognition module is used to identify the chamfering position in the object to be chamfered, and the relative positional relationship between the angle at the chamfering position and the object to be chamfered;
[0015] The automatic chamfering module is used to automatically chamfer the identified chamfering position according to the chamfering type, the relative positional relationship between the angle at the chamfering position and the chamfering object, and the preset chamfering rules.
[0016] The automatic chamfering method and apparatus provided by this invention can automatically identify the part type and automatically chamfer according to the user's selection. The automatic chamfering function is integrated into the UG NX tool, and the designed UI interface is simple and easy to understand. In particular, after integrating this function into the NX interface, it is convenient for users to operate. The system automatically performs chamfering operation according to the selected part type, eliminating the need for manual chamfering, greatly improving the efficiency of creating chamfers, and ensuring no omissions. In addition, during the automatic chamfering process, it supports multiple selections within the entire assembly and performs batch chamfering at once, further improving chamfering efficiency. Attached Figure Description
[0017] The preferred embodiments will now be described in a clear and easy-to-understand manner, with reference to the accompanying drawings, to further explain the above-mentioned characteristics, technical features, advantages, and implementation methods.
[0018] Figure 1 This is a schematic diagram of the automatic chamfering method of the present invention;
[0019] Figure 2 This is a schematic diagram of a plate-type part in an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of two L-shaped parts in an embodiment of the present invention, wherein (a) in the figure includes one L-shaped part and (b) includes two L-shaped parts;
[0021] Figure 4 This is a schematic diagram of a support-type part in an embodiment of the present invention;
[0022] Figure 5 For the purposes of this invention Figure 2 A schematic diagram showing the determined chamfering positions (including interior and exterior angles) in a plate-type part;
[0023] Figure 6 For the purposes of this invention Figure 3 A schematic diagram showing the determined chamfering positions in the L-shaped part;
[0024] Figure 7 For the purposes of this invention Figure 4 A schematic diagram showing the determined chamfering positions in the support-type parts;
[0025] Figure 8 This is a schematic diagram of the UI interface created in an example of the present invention;
[0026] Figure 9 This is a schematic diagram of the automatic chamfering device of the present invention;
[0027] Figure 10 This is a schematic diagram of automatic chamfering for a plate-type part in an example;
[0028] Figure 11 This is a schematic diagram of automatic chamfering for an L-shaped part in an example;
[0029] Figure 12 This is a schematic diagram of automatic chamfering for a support-type part in an example.
[0030] Explanation of reference numerals in the attached figures:
[0031] 100 - Automatic chamfering device; 110 - Chamfering information acquisition module; 120 - Object to be chamfered selection module; 130 - Chamfered position recognition module; 140 - Automatic chamfering module. Detailed Implementation
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings and other implementation methods can be obtained based on these drawings without any creative effort.
[0033] One embodiment of the present invention provides an automatic chamfering method applied to product design and manufacturing based on UG NX, such as... Figure 1 As shown, the automatic chamfering method includes:
[0034] S10 retrieves the selected part type and chamfer type that require automatic chamfering; part types include: plate parts, L-shaped parts, and support parts;
[0035] S20 selects the corresponding object to be chamfered according to the obtained part type; the object to be chamfered includes at least one corner formed by two adjacent sides that needs to be chamfered;
[0036] S30 identifies the position to be chamfered in the object to be chamfered, and the relative positional relationship between the angle at the position to be chamfered and the object to be chamfered;
[0037] S40 automatically chamfers the identified chamfered position based on the chamfer type, the relative position of the angle at the chamfered position and the chamfered object, and the pre-set chamfer rules.
[0038] The automatic chamfering method provided in this embodiment is an efficiency-enhancing tool for UG NX secondary development. Its purpose is to allow engineers to perform chamfering operations with a single click based on the selected part type during product design, thereby improving their efficiency. In practical applications, this tool is developed using C++ and Visual Studio 2015, resulting in a fast, convenient, and efficient chamfering tool. Furthermore, this automatic chamfering method can also be used in the Teamcenter integrated environment.
[0039] Part types include: plate parts, L-shaped parts, and support parts. Plate parts are specifically flat plate parts. Figure 2 (a) and (b) in the examples are schematic diagrams of two types of plate-shaped parts; L-shaped parts are specifically parts that contain one or two L-shaped components. Figure 3 The diagram shows two types of L-shaped parts in an example, where (a) includes one L-shaped component and (b) includes two L-shaped components; the support-type parts specifically include a support with a bottom surface. Figure 4 The diagram shown is a schematic of a support-type part in an example, with a support 1 on the bottom surface. It should be clear that the part types defined here are mostly components of a product in practical applications. Therefore, as long as a product contains the above three types of parts, the automatic chamfering method of this embodiment is applicable.
[0040] Based on this, for the identification of three part types (selecting objects to be chamfered), when the selected part type to be automatically chamfered is a plate-type part, selecting the corresponding object to be chamfered according to the obtained part type includes: selecting the corresponding plate-type part entity according to the obtained part type; when the selected part type to be automatically chamfered is an L-shaped part, selecting the corresponding L-shaped part entity according to the obtained part type includes: selecting the corresponding L-shaped part entity according to the obtained part type; when the selected part type to be automatically chamfered is a support-type part, selecting the bottom surface of the corresponding support-type part (chamfering the bottom surface). In other embodiments, multiple objects to be chamfered of the same type can be selected simultaneously, that is, selection is supported throughout the entire assembly. When creating chamfering features later, the selected entity or bottom surface can be set as the working part, thereby performing batch chamfering at once and further improving chamfering efficiency.
[0041] In step S30, the position to be chamfered in the object to be chamfered, and the relative positional relationship between the angle at the position to be chamfered and the object to be chamfered are identified:
[0042] For plate-shaped parts, since their bottom surface is the surface with the largest area on the solid object, all adjacent side surfaces can be determined based on the bottom surface of the plate-shaped part. Furthermore, the interior and exterior angles of these adjacent side surfaces (corresponding to the angles at the location to be chamfered and their relative positions to the object to be chamfered) can be further determined. In cases such as... Figure 2 In the plate-type structure shown in (b), the above method can be used to determine that angle R is an interior angle and angle C is an exterior angle, as follows. Figure 5 As shown.
[0043] For L-shaped parts, the L-shaped side is determined specifically based on the solid object of the part (the side where the L-shape is located in the part, such as...). Figure 6 As shown in (a) in the figure), the position to be chamfered is then determined. Figure 3 In the L-shaped part shown, the chamfering position 2 can be determined using the above method, such as... Figure 6 As shown in (b) and (c) in the figure.
[0044] For support-type parts, specifically determine all adjacent side surfaces based on the bottom surface of the part, and then determine the outer or inner angles of the adjacent side surfaces (for bases, it's usually the outer angle), and create chamfers. For example, in... Figure 7 In the support-type parts shown, the chamfering position 3 can be determined using the above method.
[0045] Chamfer types include automatic detection, bevel, and rounded corner. Automatic detection means creating a rounded corner for interior angles and a bevel for exterior angles; bevel means creating a bevel for both interior and exterior angles; and rounded corner means creating a rounded corner for both interior and exterior angles. Specifically:
[0046] When the chamfer type is automatically determined, step S40 automatically chamfers the identified chamfer position based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the chamfered object, and the preset chamfer rules, including:
[0047] S41 When the angle at the location to be chamfered is an interior angle relative to the object to be chamfered, a fillet operation is performed on the angle at that location; the fillet operation is to form an arc surface at the intersection of two planes according to the configured fillet parameters and fillet it into a rounded corner;
[0048] S42 When the angle at the location to be chamfered is an external angle relative to the object to be chamfered, a chamfering operation is performed on the angle at that location; the chamfering operation is to form a new bevel at the intersection of two planes according to the configured bevel parameters and chamfer it.
[0049] When the chamfer type is bevel, step S40 automatically chamfers the identified chamfer position based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the chamfered object, and the preset chamfer rules, including:
[0050] S43 performs a chamfering operation on the intersection of all identified chamfering positions; the chamfering operation is to form a new bevel at the intersection of two planes according to the configured bevel parameters and chamfer it.
[0051] When the chamfer type is rounded corner, step S40 automatically chamfers the identified chamfer position based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the object to be chamfered, and the preset chamfer rules, including:
[0052] S44 performs a fillet operation on all the corners at the intersection of the identified locations to be chamfered; the fillet operation is to form an arc surface at the intersection of two planes according to the configured fillet parameters and fillet it into a rounded corner.
[0053] In addition, before obtaining the selected part type and chamfer type for automatic chamfering in step S10, the process includes: S01 creating a UI interface using the UG NX UI editor. The UI interface includes selectable part types, chamfer types, and chamfer parameters, including fillet parameters and bevel parameters. In one example, the created UI interface looks like this: Figure 8 As shown in the figure, the part types include plate, L-shaped and support for selection, and the chamfer types include automatic judgment, chamfer and fillet for selection. In addition, the chamfer and fillet parameters can be configured on this page.
[0054] In another embodiment of the present invention, an automatic chamfering device 100, such as... Figure 9 As shown, it includes:
[0055] The chamfer information acquisition module 110 is used to acquire the selected part type and chamfer type that need to be automatically chamfered; the part types include: plate parts, L-shaped parts and support parts;
[0056] The chamfering object selection module 120 is used to select the corresponding chamfering object according to the acquired part type; the chamfering object includes at least one intersection formed by two adjacent sides that needs to be chamfered;
[0057] The chamfering position recognition module 130 is used to identify the chamfering position in the object to be chamfered, and the relative positional relationship between the angle at the chamfering position and the object to be chamfered;
[0058] The automatic chamfering module 140 is used to automatically chamfer the identified chamfering position according to the chamfering type, the relative positional relationship between the intersection at the chamfering position and the chamfering object, and the pre-set chamfering rules.
[0059] The automatic chamfering method provided in this embodiment is an efficiency-enhancing tool for UG NX secondary development. Its purpose is to allow engineers to perform chamfering operations with a single click based on the selected part type during product design, thereby improving their efficiency. In practical applications, this tool is developed using C++ and Visual Studio 2015, resulting in a fast, convenient, and efficient chamfering tool. Furthermore, this automatic chamfering method can also be used in the Teamcenter integrated environment.
[0060] The part types include: plate-type parts, L-shaped parts, and support-type parts. Plate-type parts specifically refer to flat plate-like parts; L-shaped parts specifically include parts containing one or two L-shaped components; and support-type parts specifically include supports with a bottom surface. It should be understood that the part types defined here are mostly components of a specific product in practical applications. Therefore, as long as a product contains parts of any of these three types, the automatic chamfering device 100 of this embodiment is applicable.
[0061] Based on this, for the identification of three part types (objects to be chamfered), when the selected part type to be automatically chamfered is a plate-type part, the object selection module 120 selects the corresponding object to be chamfered according to the obtained part type, including: selecting the corresponding plate-type part entity according to the obtained part type; when the selected part type to be automatically chamfered is an L-shaped part, the object selection module 120 selects the corresponding object to be chamfered according to the obtained part type, including: selecting the corresponding L-shaped part entity according to the obtained part type; when the selected part type to be automatically chamfered is a support-type part, the object selection module 120 selects the bottom surface of the corresponding support-type part (chamfering the bottom surface) according to the obtained part type. In other embodiments, multiple objects to be chamfered of the same type can be selected simultaneously, that is, selection is supported throughout the entire assembly. When creating chamfering features later, the selected entity or bottom surface can be set as the working part, thereby performing batch chamfering at once and further improving chamfering efficiency.
[0062] After the object to be chamfered is identified, the chamfering position identification module 130 identifies the chamfering position:
[0063] For plate-shaped parts, the bottom surface is the largest surface area on the solid object. Based on this, all adjacent side surfaces can be determined, and then the interior and exterior angles of these adjacent side surfaces (corresponding to the angles at the chamfering location and their relative positions to the chamfering object) can be further determined. For L-shaped parts, the L-shaped side surfaces are determined based on the solid object, and then the chamfering location is determined. For support-type parts, all adjacent side surfaces are determined based on the bottom surface, and then the exterior angles of these adjacent side surfaces are determined, and the chamfer is created.
[0064] Chamfer types include automatic judgment, bevel, and rounded corners. The pre-set chamfer rules for the automatic chamfer module 140 to perform chamfer operations include:
[0065] When the chamfer type is automatically determined and the angle at the chamfer location is an interior angle relative to the chamfer object, the automatic chamfer module 140 performs a rounding operation on the angle at that location; the rounding operation is to form an arc surface at the intersection of two planes according to the configured rounding parameters and round it into a rounded corner;
[0066] When the chamfer type is automatically determined and the angle at the chamfer position is an exterior angle relative to the chamfered object, the automatic chamfer module 140 performs a chamfering operation on the angle at that position; the chamfering operation is to form a new bevel at the intersection of two planes according to the configured bevel parameters and chamfer it.
[0067] When the chamfer type is chamfer, the automatic chamfer module 140 performs chamfering operation on all the corners at the identified chamfer positions; the chamfering operation is to form a new bevel at the intersection of two planes according to the configured bevel parameters and chamfer it.
[0068] When the chamfer type is rounded, the automatic chamfering module 140 performs rounded operation on all the corners at the identified chamfer positions; the rounded operation is to form an arc surface at the intersection of two planes according to the configured rounded parameters and round it.
[0069] In addition, the automatic chamfering device 100 also includes an interface configuration module for creating a UI interface in conjunction with the UI editor of UG NX. The UI interface includes selectable part types, chamfer types, and chamfer parameters, including fillet parameters and bevel parameters.
[0070] In one instance, based on the created, such as Figure 8The UI interface shown displays a chamfer dialog box when the chamfer button is activated. The part type can be selected as plate, L-shaped, or support. Selecting plate or L-shaped parts displays the selected part entity control; selecting a support displays the selected bottom surface control. Chamfer types can be selected as automatic, bevel, or fillet. Input the bevel and fillet parameters, with the chamfer parameters corresponding to the selected chamfer type. Checking the "Preview" button previews the creation result; otherwise, no preview is displayed. Clicking the "Help Documentation" button displays the help documentation for this function. Clicking the "OK" button creates the chamfer feature according to the selected results and parameter settings. The automatic chamfering process based on this UI interface is as follows:
[0071] 1.1 Obtain the set part type object. If the result is "plate" or "L-shaped", the "Select Entity" control will be displayed. If the result is "support", the "Select Bottom Surface" control will be displayed.
[0072] 1.2 Obtain the selected entity object and identify the chamfering position based on the "plate type" or "L-shaped" result; or obtain the selected bottom surface object and identify the chamfering position based on the "support" result;
[0073] 1.3 Preview the creation of the chamfer feature;
[0074] 1.4 Obtain the changed "Chamfer Settings" object and update the preview chamfer feature;
[0075] 1.5 Click the "OK" button to determine the part type. If the result is assembly, set the model containing the solid as the working part before creating the chamfer feature.
[0076] 1.6 Create chamfer features based on pre-configured chamfer rules.
[0077] More specifically, the steps for quickly creating chamfers on sheet metal parts include:
[0078] (1) Open the chamfer command, select the part type as "plate", and select the plate part entity;
[0079] (2) Select the function to create a chamfer type, and set the chamfer and fillet sizes (both set to 5);
[0080] ① Chamfer type: Automatically determined
[0081] When an interior angle R and an exterior angle C exist, the interior angle R is rounded, and the exterior angle C is chamfered, such as... Figure 10 As shown in (a) in the text;
[0082] When there is an exterior angle C and no interior angle R, the exterior angle C is an oblique angle, such as... Figure 10 As shown in (b);
[0083] ② Chamfer type: Bevel
[0084] All chamfers created are bevels, such as Figure 10 As shown in (c);
[0085] ③ Chamfer type: Rounded corner
[0086] All chamfers created are rounded corners, such as Figure 10 As shown in (d);
[0087] (3) Preview the creation of the chamfer feature;
[0088] (4) Click the “OK” button to create the chamfer feature according to the settings.
[0089] The quick chamfering creation steps for L-shaped parts include:
[0090] (1) Select the part type as "L-type" and select the L-type part solid model;
[0091] (2) Set the “L-shaped” parameter settings: Select the function to create a chamfer type, and set the chamfer and fillet sizes (both set to 10);
[0092] ① Chamfer type: Automatically determined
[0093] When an interior angle R and an exterior angle C exist, the interior angle R is rounded, and the exterior angle C is chamfered, such as... Figure 11 As shown in (a) in the text;
[0094] ② Chamfer type: Bevel
[0095] All chamfers created are bevels, such as Figure 11 As shown in (b) in the image;
[0096] ③ Chamfer type: Rounded corner
[0097] All chamfers created are rounded corners, such as Figure 11 As shown in (c);
[0098] (3) Preview the creation of the chamfer feature;
[0099] (4) Obtain the changed "Chamfer Settings" object and update the preview chamfer feature;
[0100] (5) Click the “OK” button to create the chamfer feature according to the settings.
[0101] The steps for creating a quick chamfer on support-type parts include:
[0102] (1) Select the part type as support. The "Select Bottom Surface" control will be displayed for the "Support" type part. Select the bottom surface (mounting surface) of the support type part.
[0103] (2) “Support” parameter settings: Select the function to create a chamfer type, and set the chamfer and fillet sizes (both set to 10);
[0104] ① Chamfer type: Automatically determined
[0105] When an exterior angle C exists, exterior angle C is an oblique angle, such as... Figure 12 As shown in (a1);
[0106] When an interior angle R and an exterior angle C exist, the interior angle R is rounded, and the exterior angle C is chamfered, such as... Figure 12 As shown in (a2);
[0107] ② Chamfer type: Bevel
[0108] All chamfers created are bevels, such as Figure 12 As shown in (b) in the image;
[0109] ③ Chamfer type: Rounded corner
[0110] All chamfers created are rounded corners, such as Figure 12 As shown in (c);
[0111] (3) Preview the creation of the chamfer feature;
[0112] (4) Click the “OK” button to create the chamfer feature according to the settings.
[0113] Although the present invention has been described in detail above with general descriptions and specific embodiments, modifications or improvements can be made to it, which will be obvious to those skilled in the art. Therefore, all such modifications or improvements made without departing from the spirit of the present invention fall within the scope of protection claimed by the present invention.
Claims
1. An automatic chamfering method, characterized in that, The automatic chamfering method, applied to product design and manufacturing based on UG NX, includes: Obtain the selected part types and chamfer types that require automatic chamfering; the part types include: plate parts, L-shaped parts, and support parts; Select the corresponding object to be chamfered according to the obtained part type; the object to be chamfered includes at least one corner formed by two adjacent sides that needs to be chamfered; Identify the position to be chamfered in the object to be chamfered, and the relative positional relationship between the angle at the position to be chamfered and the object to be chamfered; The identified chamfered positions are automatically chamfered based on the chamfer type, the relative positional relationship between the angle at the chamfered position and the chamfered object, and the pre-set chamfer rules. During the automatic chamfering process, multiple selections are supported throughout the entire assembly for batch chamfering; The chamfer type is automatically determined. Automatic chamfering of the identified chamfer location based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the object to be chamfered, and pre-set chamfering rules includes: When the angle at the location to be chamfered is an interior angle relative to the object to be chamfered, a rounding operation is performed on the angle at that location; the rounding operation is to form an arc surface at the intersection of two planes according to the configured rounding parameters and round it; When the angle at the location to be chamfered is an exterior angle relative to the object to be chamfered, a chamfering operation is performed on the angle at that location; the chamfering operation is to form a new inclined surface at the intersection of two planes according to the configured chamfering parameters and chamfer it.
2. The automatic chamfering method as described in claim 1, characterized in that, When the selected part type that needs to be automatically chamfered is a plate-type part, the step of selecting the corresponding object to be chamfered according to the obtained part type includes: selecting the corresponding plate-type part entity according to the obtained part type; When the selected part type that needs to be automatically chamfered is an L-shaped part, the step of selecting the corresponding object to be chamfered according to the obtained part type includes: selecting the corresponding L-shaped part entity according to the obtained part type; When the selected part type that needs to be automatically chamfered is a support type part, the step of selecting the corresponding object to be chamfered according to the obtained part type includes: selecting the bottom surface of the corresponding support type part according to the obtained part type.
3. The automatic chamfering method as described in claim 1, characterized in that, The chamfer type is a beveled angle; Automatic chamfering of the identified chamfer location based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the object to be chamfered, and pre-set chamfering rules includes: Perform a chamfering operation on all the intersections at the identified chamfer locations; the chamfering operation is to form a new inclined surface at the intersection of two planes according to the configured chamfer parameters and chamfer it.
4. The automatic chamfering method as described in claim 1, characterized in that, The chamfer type is rounded corner; Automatic chamfering of the identified chamfer location based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the object to be chamfered, and pre-set chamfering rules includes: Perform a rounding operation on all the corners at the identified locations to be chamfered; the rounding operation is to form an arc surface at the intersection of two planes according to the configured rounding parameters and round it.
5. The automatic chamfering method according to any one of claims 1-4, characterized in that, Before obtaining the selected part type and chamfer type that need automatic chamfering, the process also includes: A UI interface is created using the UI editor of UG NX. The UI interface includes selectable part types, chamfer types, and chamfer parameters, including fillet parameters and bevel parameters.
6. An automatic chamfering device, characterized in that, The automatic chamfering device, applied to product design and manufacturing based on UG NX, includes: The chamfer information acquisition module is used to acquire the selected part type and chamfer type that need to be automatically chamfered; the part types include: plate parts, L-shaped parts and support parts; The chamfering object selection module is used to select the corresponding chamfering object according to the obtained part type; the chamfering object includes at least one intersection formed by two adjacent sides that needs to be chamfered; The chamfering position recognition module is used to identify the chamfering position in the object to be chamfered, and the relative positional relationship between the angle at the chamfering position and the object to be chamfered; The automatic chamfering module is used to automatically chamfer the identified chamfering position according to the chamfering type, the relative positional relationship between the angle at the chamfering position and the chamfering object, and the preset chamfering rules; during the automatic chamfering process, multiple selections are supported throughout the assembly for batch chamfering. The chamfer type is automatically determined. Automatic chamfering of the identified chamfer location based on the chamfer type, the relative positional relationship between the angle at the chamfer location and the object to be chamfered, and pre-set chamfering rules includes: When the angle at the location to be chamfered is an interior angle relative to the object to be chamfered, a rounding operation is performed on the angle at that location; the rounding operation is to form an arc surface at the intersection of two planes according to the configured rounding parameters and round it; When the angle at the location to be chamfered is an exterior angle relative to the object to be chamfered, a chamfering operation is performed on the angle at that location; the chamfering operation is to form a new inclined surface at the intersection of two planes according to the configured chamfering parameters and chamfer it.
7. The automatic chamfering device as described in claim 6, characterized in that, The chamfering object selection module is also used to: when the selected part type to be automatically chamfered is a plate-type part, select the corresponding plate-type part entity according to the obtained part type; when the selected part type to be automatically chamfered is an L-shaped part, select the corresponding L-shaped part entity according to the obtained part type; and when the selected part type to be automatically chamfered is a support-type part, select the bottom surface of the corresponding support-type part according to the obtained part type.
8. The automatic chamfering device as described in claim 6, characterized in that, The automatic chamfering module is also used to: when the chamfering type is automatically determined and the angle at the chamfering position is an interior angle relative to the chamfered object, perform a rounding operation on the angle at that position; the rounding operation involves forming an arc surface at the intersection of two planes according to the configured rounding parameters and rounding it; when the chamfering type is automatically determined and the angle at the chamfering position is an exterior angle relative to the chamfered object, perform a beveling operation on the angle at that position; the beveling operation involves beveling the angle at the intersection of two planes according to the configured beveling parameters. At the intersection of two planes, a new bevel is formed to bevel the angle. When the bevel type is bevel, bevel operations are performed on the intersections of all identified locations to be beveled. The bevel operation involves forming a new bevel at the intersection of two planes according to the configured bevel parameters. When the bevel type is rounded, rounded operations are performed on the intersections of all identified locations to be beveled. The rounded operation involves forming an arc surface at the intersection of two planes according to the configured rounded corner parameters.
9. The automatic chamfering device as described in any one of claims 6-8, characterized in that, The automatic chamfering device also includes an interface configuration module, which is used to create a UI interface in conjunction with the UI editor of UG NX. The UI interface includes selectable part types, chamfer types, and chamfer parameters, including fillet parameters and bevel parameters.
Citation Information
Patent Citations
Method for making feature modeling system on the basis of extensive markup language (XML) in unigraphics (UG) environment
CN103761357A
Mould component design method based on model retrieval technology
CN108595763A