A method and system for automatically bridging vehicle body target parts and parts
Through the combination of offset surfaces, extracted geometric features, trimmed bodies and merge commands, the problem of automatic bridging of car body parts and thickened bodies is solved, rapid bridging is achieved, manual errors are reduced, and work efficiency and engineering benefits are improved.
Patent Information
- Application Number
- CN202410729653.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-06
AI Technical Summary
During the car body structure modeling process, existing technology cannot realize the automatic and rapid combination of car body parts and thickened bodies, resulting in missing or incorrect models, which affects the development progress of automobile projects.
Through the offset surface command, extract geometric feature command, trim body command and merge command, realize the automatic bridging of the car body part and the thickened body, including selecting the bridge target, automatically selecting the bridge surface, offset surface, extracting a copy, trimming body and Merge entities and use related functions in the UFun function library to operate.
It achieves rapid bridging of car body parts and thickened bodies, reduces manual errors, and improves work efficiency and engineering benefits.
Smart Images

Figure CN118313066B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of bridging between vehicle body target parts and components, and in particular to a method and system for automatically bridging between vehicle body target parts and components. Background Art
[0002] After completing the step of thickening the body modeling surface, the next step of structural modeling needs to be carried out on the thickened body. When engineers are modeling similar structures, the model may be missing or wrong, which will affect the subsequent modeling work and there will be certain manual errors. In addition, this part of the structure in the existing body parts is mainly designed according to the design rules such as mechanical properties and material properties, so there are similar parts. The repeated modeling of this part greatly affects the progress of automobile project development. Since the body parts are integrated structures and cannot be joined through the assembly function of 3D software, similar structures are considered to be joined by generating smooth surfaces. The commands in 3D software that can generate smooth surfaces for part structures mainly include offset surface, bridge and other commands; however, the offset surface command and bridge command cannot meet the requirements of automatic and rapid combination of imported parts and thickened bodies according to rules. Summary of the invention
[0003] Based on this, it is necessary to provide a method and system for automatically bridging vehicle body target parts and components.
[0004] The present invention provides a method for automatically bridging a vehicle body target part and a part, the method comprising:
[0005] S1: Select the bridge target;
[0006] S2: Automatically selecting a bridging surface for the bridging part corresponding to the bridging target, and selecting a bridging surface of the bridging part;
[0007] S3: offsetting the bridge surface to the bridge surface of the bridge target through an offset surface command;
[0008] S4: trim off the part of the body at the bridge;
[0009] S5: Repeat S2-S4 until all bridges are processed, and merge the bridge target and the bridge part into a single body.
[0010] Preferably, in S3, before performing the bias processing, the step further includes:
[0011] Choose whether to hide the bridge target;
[0012] If yes, hide the bridge target by using a hide command, check the bridge target and the bridge surface of the bridge target manually selected, and display the bridge target of the manually selected bridge surface by using a show command;
[0013] Otherwise, the bridge surface of the bridge target is automatically selected.
[0014] Preferably, the offset face command is to call a UF_MODL_create_face_offset function, and the offset face command is used to offset one or more faces along the normal of the face.
[0015] Preferably, S3 further includes: extracting a face or an area at the bridge by extracting geometric features command to create a copy, wherein the copy is used for not modifying the original model when testing and changing the model and retaining the inner volume of the original model.
[0016] Preferably, the extract geometric feature command is to call the UF_MODL_extract_face function, and the extract geometric feature command is used to extract geometric features from an existing object to create a copy of an associated or non-associated body, point, curve, reference plane, region or mirror body.
[0017] Preferably, in S4, trimming off a portion of the body at the bridge includes: trimming off a portion of the body at the bridge using a trim body command.
[0018] Preferably, the trim body command is to call a UF_MODL_trim_body function, and the trim body command is used to trim one or more target bodies through a face or a reference plane.
[0019] Preferably, in S5, the bridging target and the bridging part are merged into a single body through a merge command; the merge command is to call the UF_MODL_unite_bodies function, and the merge command is used to combine the volumes of two or more entities into a single body.
[0020] Preferably, the functions called by the offset surface command, the extract geometric feature command, the trim body command and the merge command are all from the UFun function library.
[0021] The present invention also provides a vehicle body target part and parts automatic bridging system, the system comprising:
[0022] User interaction module, used for interaction between users and UG secondary development software;
[0023] A part bridging module is used to perform part bridging processing on a bridging target and a bridging part, and the part bridging module includes:
[0024] Select submodule, used to select the bridge target;
[0025] A bridging part bridging surface selection submodule is used to automatically select a bridging surface for the bridging part corresponding to the bridging target, and select the bridging surface of the bridging part;
[0026] An offset submodule, used for offsetting the bridge surface to the bridge surface of the bridge target through an offset surface command;
[0027] An extraction submodule, used for extracting a face or an area at the bridge through an extraction geometric feature command to create a copy, wherein the copy is used for not modifying the original model when testing and changing the model, and retaining the internal volume of the original model;
[0028] The trimming submodule is used to trim off part of the body at the bridge;
[0029] A merging submodule is used to merge the bridge target and the bridge part into a single body.
[0030] Beneficial effects: This method achieves rapid bridging of vehicle body target parts and components, improves work efficiency, reduces manual errors, and effectively improves engineering benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 Flow chart of the method for automatically bridging a vehicle body target part and a component according to an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0034] like Figure 1 As shown, this embodiment provides a method for automatically bridging a vehicle body target part and a part, the method comprising:
[0035] S1: Select the bridge target.
[0036] S2: Automatically select a bridging surface for the bridging part corresponding to the bridging target, and select a bridging surface of the bridging part.
[0037] S3: offset the bridge surface onto the bridge surface of the bridge target through an offset surface command.
[0038] Specifically, before the bias processing is performed, the following steps are also included:
[0039] Choose whether to hide the bridge target;
[0040] If yes, hide the bridge target by using a hide command, check the bridge target and the bridge surface of the bridge target manually selected, and display the bridge target of the manually selected bridge surface by using a show command;
[0041] Otherwise, the bridge surface of the bridge target is automatically selected.
[0042] Furthermore, the offset face command is to call the UF_MODL_create_face_offset function.
[0043] Offset Face Command: One or more faces can be offset along the face normal; if the topology of the body does not change, faces can be offset based on positive or negative distances. A single offset face feature can be added to multiple bodies. The Offset Face command can be used to: add or remove machine tool profiles for selected faces, add gaps to selected faces of component features such as cavities, plates, and holes, and remove overlapping geometry before completing Boolean operations. The basic principle of the Offset Face command is: first determine the degree of the surface, select the corresponding number of control points, and form a control point matrix; determine the offset direction of the surface, usually the u and v directions; use Bézier basis functions to represent the parametric equations of the surface and describe the shape of the surface; adjust the position of the control points according to the offset direction; calculate new surface control points based on the adjusted control point positions; recalculate the parametric equations of the surface using the new control point positions; render and display the offset surface to present the final shape.
[0044] In this embodiment, S3 also includes: extracting a face or an area at the bridge through an extract geometric feature command to create a copy, wherein the copy is used for not modifying the original model when testing and changing the model, and retaining the internal volume of the original model.
[0045] Furthermore, the geometric feature extraction command is to call the UF_MODL_extract_face function.
[0046] Extract Geometry Command: Creates a copy of an associative or non-associative body, point, curve, plane, region, or mirrored body by extracting geometric features from an existing object; association means that all changes made to the parent of the extracted geometry are updated in the extracted geometry. If a face or region is extracted, a sheet body is created as a copy; if a body is extracted, the type of the extracted body will be the same as the original body (solid or sheet body). Using extracted bodies can retain the internal volume of the part for analysis; and multiple bodies can be created in one file showing the part being processed; test changes to the analysis scheme without modifying the original model to provide input for the component module.
[0047] S4: trimming a portion of the body at the bridge by using a trim body command.
[0048] Specifically, the trim body command is to call the UF_MODL_trim_body function.
[0049] Trim Volume Command: Trim one or more target volumes through faces or reference planes. You can specify the parts of the volume to be retained and the parts to be discarded, where the target volume is in the shape of the trimmed geometric elements, and at least one target volume must be selected; the specific implementation method is to select a single face or multiple faces from the same volume / or select a reference plane to trim the target volume, or define a new plane to trim the target volume. The basic principle of the Trim Volume Command is: first select a trimming tool, such as a face, surface, edge, etc., as a reference object; then, select one or more target volumes and define the trimming method. The trimming method usually includes specifying the direction and position of the trimming tool, performing the trimming operation, so that the geometric shape of the area where the trimming tool is located is retained, and the part outside this area is deleted.
[0050] S5: Repeat S2-S4 until all bridges are processed, and merge the bridge target and the bridge part into a single body through a merge command.
[0051] Specifically, the merge command is to call the UF_MODL_unite_bodies function.
[0052] Merge Command: Combines the volumes of two or more entities into a single body.
[0053] In the Merge command, the merged entity must overlap or share faces with the entity before merging to produce a valid entity. This command creates a "Merge" feature, which can use a set of entities as tool entities to merge, or save and save a copy of the target entity and tool entity without modification.
[0054] In this embodiment, the functions called by the offset surface command, the extract geometric feature command, the trim body command, and the merge command are all from the UFun function library.
[0055] This embodiment also provides a vehicle body target part and parts automatic bridging system, including:
[0056] User interaction module, used for interaction between users and UG secondary development software;
[0057] A part bridging module is used to perform part bridging processing on a bridging target and a bridging part, and the part bridging module includes:
[0058] Select submodule, used to select the bridge target;
[0059] A bridging part bridging surface selection submodule is used to automatically select a bridging surface for the bridging part corresponding to the bridging target, and select the bridging surface of the bridging part;
[0060] An offset submodule, used for offsetting the bridge surface to the bridge surface of the bridge target through an offset surface command;
[0061] An extraction submodule, used for extracting a face or an area at the bridge through an extraction geometric feature command to create a copy, wherein the copy is used for not modifying the original model when testing and changing the model, and retaining the internal volume of the original model;
[0062] The trimming submodule is used to trim off part of the body at the bridge;
[0063] A merging submodule is used to merge the bridge target and the bridge part into a single body.
[0064] Assume that a car body modeling surface is thickened into a thickened body, and the thickened body is imported into the system as a bridge target, and parts corresponding to the thickened body are imported into the system, and the system is run. The operation process of the system is as follows:
[0065] Select the thickened body as the bridging target by selecting the submodule. After selecting, the "Part Bridging" dialog box in the user interaction module will refresh the new parameters for the bridging function.
[0066] Automatically select the bridging surface of the bridging part corresponding to the bridging target through the bridging part bridging surface selection submodule, and select the bridging surface of the bridging part (in the refreshed "Part Bridging" dialog box, select "Auxiliary Surface" to quickly select the bridging surface or directly select "Bridge Surface", and after confirming that all bridging surfaces have been selected, click "Bridge" to start the automatic bridging process);
[0067] Then, the bridge target and the bridge part are finally merged into a single entity through the bias submodule, the extraction submodule, the pruning submodule, and the merging submodule in sequence;
[0068] Then, after the "Bridging Completed" pop-up window pops up, click "Apply" or "OK" in the "Part Bridging" dialog box, the bridging data will be saved and the process ends (if you click "Cancel" in the "Part Bridging" dialog box, the bridging data will not be saved).
[0069] The system provides a parts bridging module, which can achieve rapid bridging between the target parts and parts of the vehicle body by selecting the bridging target and the bridging surface of the bridging parts, reducing the workload of engineers and bringing substantial efficiency improvement. Intelligent design is realized through the C++ programming language, reducing manual errors and effectively improving engineering benefits.
[0070] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0071] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A method for automatic bridging of vehicle body target parts and components, based on UG secondary development, characterized in that: include: S1: Select the bridge target; S2: Automatically selecting a bridging surface for the bridging part corresponding to the bridging target, and selecting a bridging surface of the bridging part; S3: offsetting the bridge surface to the bridge surface of the bridge target through an offset surface command; Extract a face or an area at the bridge by using the Extract Geometric Features command to create a copy, wherein the copy is used for not modifying the original model when testing or changing the model, and retaining the internal volume of the original model; Offset one or more faces along the face normal; if the topology of the body does not change, offset the face by a positive or negative distance to add a single offset face feature to multiple bodies; The offset surface command is used to: add or remove machine tool profiles of selected surfaces, add gaps to selected surfaces of cavities, plates and holes, and remove overlapping geometry before completing Boolean operations; the basic principle of the offset surface command is: first determine the degree of the surface, select the corresponding number of control points, and form a control point matrix; determine the offset direction of the surface; use Bézier basis functions to represent the parametric equation of the surface and describe the shape of the surface; adjust the position of the control point according to the offset direction; calculate new surface control points according to the adjusted control point positions; recalculate the parametric equation of the surface using the new control point positions; render and display the offset surface to present the final shape; S4: trim off the part of the body at the bridge; S5: Repeat S2-S4 until all bridges are processed, and merge the bridge target and the bridge part into a single body.
2. The method for automatically bridging a vehicle body target part and a component according to claim 1, characterized in that: In S3, before the bias processing is performed, the following steps are also included: Choose whether to hide the bridge target; If yes, hide the bridge target by using a hide command, check the bridge target and the bridge surface of the bridge target manually selected, and display the bridge target of the manually selected bridge surface by using a show command; Otherwise, the bridge surface of the bridge target is automatically selected.
3. The method for automatically bridging a vehicle body target part and a component according to claim 1, characterized in that: The offset face command is to call the UF_MODL_create_face_offset function, and the offset face command is used to offset one or more faces along the normal of the face.
4. The method for automatically bridging a vehicle body target part and a component according to claim 1, characterized in that: The extract geometric feature command is to call the UF_MODL_extract_face function, and the extract geometric feature command is used to extract geometric features from an existing object to create a copy of an associated or non-associated body, point, curve, reference plane, region or mirror body.
5. The method for automatically bridging a vehicle body target part and a component according to claim 1, characterized in that: In S4, trimming off a portion of the body at the bridge includes: trimming off a portion of the body at the bridge using a trim body command.
6. The method for automatically bridging a vehicle body target part and a component according to claim 5, characterized in that: The trim body command is to call the UF_MODL_trim_body function, and the trim body command is used to trim one or more target bodies through a face or a reference plane.
7. The method for automatically bridging a vehicle body target part and a component according to claim 5, characterized in that: In S5, the bridge target and the bridge part are merged into a single body through a merge command; the merge command is to call the UF_MODL_unite_bodies function, and the merge command is used to combine the volumes of two or more entities into a single body.
8. The method for automatically bridging a vehicle body target part and a component according to claim 7, characterized in that: The functions called by the offset surface command, the extract geometric feature command, the trim body command, and the merge command are all from the UFun function library.
9. An automatic bridging system for vehicle body target parts and parts, characterized in that: include: User interaction module, used for interaction between users and UG secondary development software; A part bridging module is used to perform part bridging processing on a bridging target and a bridging part, and the part bridging module includes: Select submodule, used to select the bridge target; A bridging part bridging surface selection submodule is used to automatically select a bridging surface for the bridging part corresponding to the bridging target, and select the bridging surface of the bridging part; An offset submodule, used for offsetting the bridge surface to the bridge surface of the bridge target through an offset surface command; Offset one or more faces along the normal of the face; if the topology of the body does not change, offset the face according to the positive or negative distance, and add a single offset face feature to multiple bodies; the offset face command is used to: add or remove machine tool profiles of selected faces, add gaps to selected faces of cavities, plates and holes, and remove overlapping geometry before completing Boolean operations; the basic principle of the offset face command is: first determine the degree of the surface, select the corresponding number of control points, and form a control point matrix; determine the offset direction of the surface; use Bézier basis functions to represent the parametric equation of the surface and describe the shape of the surface; adjust the position of the control point according to the offset direction; calculate new surface control points according to the adjusted control point positions; recalculate the parametric equation of the surface using the new control point positions; render and display the offset surface to present the final shape; An extraction submodule, used for extracting a face or an area at the bridge through an extraction geometric feature command to create a copy, wherein the copy is used for not modifying the original model when testing and changing the model, and retaining the internal volume of the original model; The trimming submodule is used to trim off part of the body at the bridge; A merging submodule is used to merge the bridge target and the bridge part into a single body.
Citation Information
Patent Citations
Design method and system for trimming cutter block in automobile stamping die
CN116049986A
Cross section optimization method based on full-parameterization vehicle body mathematical model
CN117235902A
Bridging component and decorative strip for board edge and system comprising same
EP3168085A1
Systems and methods for merging and splitting intersecting solids and surfaces
US20120236028A1
