A method and system for automatically thickening complex modeling surfaces of a vehicle body

Through the combination of bias surface, stitching and N-side curved surface commands developed by UG, the complex modeling surface of the vehicle body is automatically processed, solving the problems of low efficiency and large errors in the thickening process in the existing technology, and realizing complex body Rapid thickening and efficient development of the molding surface.

CN118656920BActive Publication Date: 2024-11-08HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411110507.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-08
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

In the process of thickening the complex shaping surface of vehicle body parts, the problems of too small rounded corners, crossing the corners, missing and distorted after offset, resulting in manual trimming and filling of the surface, which is inefficient and error-free.

Method used

UG secondary development is based on a combination method of bias surface command, stitching command, straight marking command and N-side curved surface command to automatically process the complex shape surface of the vehicle body. Through bias, optimization, stitching and secondary optimization, the complex body is achieved. Rapid thickening of the shape surface.

Benefits of technology

It achieves rapid thickening of the complex shaping surface of the vehicle body, reduces manual operation, improves work efficiency, reduces errors, and improves the progress of engineering development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656920B_ABST
    Figure CN118656920B_ABST
Patent Text Reader

Abstract

The present application relates to an automated thickening method and system for complex modeling surfaces of a vehicle body, the method comprising: importing a complex modeling surface of a vehicle body, and using the complex modeling surface of the vehicle body as a sheet body; offsetting all faces in the selected sheet body in a selected direction by using an offset surface command, and optimizing the offset surface; stitching all optimized surfaces by using a stitch command, and creating a body between the cross section of the sheet body and the cross section of the stitched surface by using a ruled command; stitching the body again with the common faces of the sheet body and the stitched surface by using a stitch command to obtain a solid body; and optimizing the solid body twice by using an N-edge surface command to obtain a thickened sheet body. The method realizes the rapid thickening of complex modeling surfaces of a vehicle body, reduces the workload, and brings substantial efficiency improvement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of thickening complex-shaped surfaces of vehicle bodies, and in particular to an automated thickening method and system for complex-shaped surfaces of vehicle bodies. Background Art

[0002] The automated modeling and development of body parts is of vital importance; among them, the following problems mainly exist in the thickening process of complex modeling surfaces of body parts: the fillet of CAS (automobile preliminary modeling surface) is too small, and the surface cannot be thickened or offset, and manual rounding is required according to the material thickness; after the CAS surface is offset, there is an intersection on the B surface, which requires manual repeated trimming; after the CAS surface is offset, the B surface is missing and distorted, which requires manual filling; after the CAS surface is offset, the B surface moves in the opposite direction, which requires sorting out the logic and reconstructing the surface. Summary of the invention

[0003] The purpose of this application is to provide a method and system for automated thickening of complex shaped surfaces of a vehicle body, aiming to achieve automated thickening of complex shaped surfaces of a vehicle body and improve work efficiency.

[0004] The present application embodiment provides a method for automatically thickening a complex modeling surface of a vehicle body, the method is based on UG secondary development, and the method includes:

[0005] S1: importing a complex modeling surface of a vehicle body and using the complex modeling surface of the vehicle body as a sheet body;

[0006] S2: offsetting all faces in the selected sheet toward a selected direction through an offset surface command, and optimizing the offset surfaces;

[0007] S3: stitch all optimized surfaces using the stitch command, and create a volume between the sections of the sheet and the stitched surfaces using the ruled command;

[0008] S4: stitching the common surfaces of the body, the sheet body and the stitched curved surface again by using a stitch command to obtain a solid body;

[0009] S5: The entity is optimized for a second time by using an N-side surface command to obtain a thickened sheet body.

[0010] Preferably, in S2, the offset surface command is to call the OffsetSurfaceBuilder function, and the offset surface command is used to create an offset of one or more existing surfaces.

[0011] Preferably, in S2, the optimizing process of the offset curved surface includes:

[0012] Determining whether the offset curved surface is interfering or out of the air;

[0013] If yes, the offset surface is trimmed or extended by trim and extend commands, and then S3 is executed;

[0014] If no, execute S3.

[0015] Preferably, the trim and extend command is to call a TrimExtendBuilder function, and the trim and extend command is used to extend and trim one or more surfaces through a group of tool objects composed of edges or surfaces.

[0016] Preferably, the stitching command is to call a SewBuilder function, and the stitching command is used to connect two or more surfaces / sheets into a single new surface / new entity.

[0017] Preferably, the ruled command is a call to a RuledBuilder function, and the ruled command is used to create a volume between two sections.

[0018] Preferably, in S5, the second optimization of the entity by using an N-edge surface command comprises:

[0019] Determining whether the entity has a missing offset surface;

[0020] If yes, then a surface for repair is created by using an N-side surface command to repair the entity, and the surface for repair and the entity are sewed into the thickened sheet by using the sew command;

[0021] If not, the entity is regarded as the thickened sheet.

[0022] Preferably, the N-side surface command is a call to an NSidedSurfaceBuilder function, and the N-side surface command is used to create a surface closed by a set of curves connected by endpoints.

[0023] Preferably, the functions called by the offset surface command, the trim and extend command, the stitch command, the ruled command and the N-edge surface command are all from the NXOpen function library.

[0024] The present application also provides a system for automatically thickening a complex-shaped surface of a vehicle body, the system comprising:

[0025] User interaction module, used for interaction between users and UG secondary development software;

[0026] The sheet thickening module is used to perform sheet thickening processing on the sheet, and the sheet thickening module includes:

[0027] An import submodule is used to import a complex modeling surface of a vehicle body and use the complex modeling surface of the vehicle body as a sheet body;

[0028] The offset and optimization submodule is used to offset all the surfaces in the selected sheet toward the selected direction through the offset surface command, and optimize the offset surface;

[0029] The preliminary stitching submodule is used to stitch all optimized surfaces by stitching commands, and to create volumes between the sections of the sheet and the sections of the stitched surfaces by ruling commands;

[0030] A re-stitching submodule is used to stitch the common surfaces of the body, the sheet body and the stitched curved surface again through a stitching command to obtain a solid body;

[0031] The secondary optimization submodule is used for secondary optimizing the entity through the N-side surface command to obtain a thickened sheet body.

[0032] The beneficial effects of the present application are as follows: the method imports complex modeling surfaces of a vehicle body and uses the complex modeling surfaces of the vehicle body as a sheet body; offsets all faces in the selected sheet body in a selected direction through an offset surface command, and optimizes the offset surfaces; stitches all optimized surfaces through a stitch command, and creates a body between the cross section of the sheet body and the cross section of the stitched surface through a ruled command; stitches the body again with the common faces of the sheet body and the stitched surface through the stitch command to obtain a solid body; optimizes the solid body for a second time through an N-edge surface command to obtain a thickened sheet body; and realizes rapid thickening of complex modeling surfaces of a vehicle body, reduces workload, and brings substantial efficiency improvement. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is an optional flow chart of the method for automatically thickening the complex modeling surface of a vehicle body provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0036] At present, the thickening of complex modeling surfaces of body parts requires manual repeated offset, rounding, trimming, and filling, which is time-consuming and inefficient, resulting in slow progress of engineering development. Moreover, when engineers perform thickening work on complex modeling surfaces of body parts, there may be missing or wrong thickening, and there are certain manual errors, which will affect subsequent modeling work. In addition, the existing batch stretching method can only perform batch stretching work on part of the model entity, and cannot cover all face groups to complete the stretching at the same time. There may be interference in the stretching results, and there is a lack of trimming of the stretching results. There is also the problem of manual stretching of the model entity, which leads to huge workload and low work efficiency.

[0037] Based on this, the embodiments of the present application provide a method and system for automatically thickening the complex shaped surfaces of a vehicle body, aiming to achieve automatic thickening of the complex shaped surfaces of a vehicle body and improve work efficiency.

[0038] like Figure 1 As shown, this embodiment provides a method for automatically thickening a complex modeling surface of a vehicle body, which is based on UG secondary development and includes:

[0039] S1: Importing a complex modeling surface of a vehicle body and using the complex modeling surface of the vehicle body as a sheet body.

[0040] S2: offset all faces of the selected sheet toward a selected direction through an offset surface command, and optimize the offset surfaces.

[0041] In this embodiment, the offset surface command is to call the OffsetSurfaceBuilder function, and the offset surface command is used to create an offset of one or more existing surfaces.

[0042] Offset surface command: can create an offset of one or more existing faces. The result is one or more new bodies with an offset relationship with the selected face. By offsetting points along the surface normal of the selected face, the software can create a real offset surface. The specified distance is called the offset distance. The offset surface command can select any type of face to create an offset. 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, usually the u and v directions; use the Bézier basis function 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 the new surface control point according to the adjusted control point position; recalculate the parametric equation of the surface using the new surface control point position; render and display the offset surface to present the final shape.

[0043] Furthermore, the optimization process of the offset curved surface includes:

[0044] Determining whether the offset curved surface is interfering or out of the air;

[0045] If yes, the offset surface is trimmed or extended by trim and extend commands, and then S3 is executed;

[0046] If no, execute S3.

[0047] Furthermore, the trim and extend command is to call the TrimExtendBuilder function, and the trim and extend command is used to extend and trim one or more surfaces through a group of tool objects composed of edges or surfaces.

[0048] Trim and Extend Commands: Extend and trim one or more surfaces through a set of tool objects consisting of edges or surfaces. If an edge is selected, its face will be used to limit the trimming or extension of the target object; if a face is selected, only the target object can be trimmed, that is, the face cannot be used as an extension limit. The basic principle of trimming is: first select a trimming tool, such as a face, surface, edge, etc., as a reference object; then, select the target body, which can be a solid, surface or other geometric element, define the trimming method, which usually includes specifying the direction and tool of the trimming tool, and perform the trimming operation so that the geometry of the area where the trimming tool is located is retained, and the part beyond this area is deleted. The basic principle of extension is: first select the target body, which can be a face or other geometric element of a solid; then, define the extension direction and distance, and perform the extension operation, which will extend the geometry in the specified direction and distance according to the definition, and the new geometry will be added to the target body.

[0049] S3: Use the stitch command to stitch all optimized surfaces, and use the ruled command to create a volume between the sections of the sheet and the sections of the stitched surfaces.

[0050] In this embodiment, the stitching command is to call the SewBuilder function, and the stitching command is used to connect two or more surfaces / sheets into a single new surface / new entity.

[0051] Stitch command: can connect two or more sheets into a single new sheet. If this group of sheets encloses a certain volume, a solid body is created. Among them, any gap between the selected sheets cannot be larger than the specified tolerance, otherwise a sheet body will be obtained. If two entities share one or more common faces, the two entities can also be stitched. The basic principle of stitching is: first select the surface or entity to be connected, create a stitching line to define the connection path, and after the stitching line is defined, the geometric state of the adjacent surfaces will be automatically adjusted to ensure that they have a smooth transition at the connection point. After the stitching is successful, the adjacent surfaces will be automatically merged to form a single, continuous new surface / new entity.

[0052] The ruled command is to call the RuledBuilder function, and the ruled command is used to create a body between two sections.

[0053] Ruled command: creates a volume between two sections, where the ruled shape is a linear transition between sections. A section can be composed of a single object or multiple objects, and each object can be a surface, a solid edge, or an edge of a face. Ruled surfaces can be used to create surfaces that can be flattened on a plane without stretching or tearing. The basic principle of ruled surfaces is that for any point P on a surface S, there is at least one straight line passing through P that falls completely on S. Such a surface is called a ruled surface; it can be understood as a three-dimensional surface spliced ​​from a set of single-parameter straight line segments on different planes, or it can be said that a straight line is swept according to a certain motion pattern to form a surface.

[0054] S4: stitching the common surfaces of the body, the sheet body and the stitched curved surface again through the stitching command to obtain a solid body.

[0055] S5: The entity is optimized for a second time by using an N-side surface command to obtain a thickened sheet body.

[0056] Specifically, the second optimization of the entity by using the N-side surface command includes:

[0057] Determining whether the entity has a missing offset surface;

[0058] If yes, then a surface for repair is created by using an N-side surface command to repair the entity, and the surface for repair and the entity are sewed into the thickened sheet by using the sew command;

[0059] If not, the entity is regarded as the thickened sheet.

[0060] Furthermore, the N-side surface command is to call the NSidedSurfaceBuilder function, and the N-side surface command is used to create a surface closed by a set of curves connected by endpoints.

[0061] N-Sided Surface command: You can create a surface closed by a set of curves connected by endpoints. It can do the following: create a surface by using an unlimited number of surfaces or edges and specify its continuity with external faces (the curves or edges used form a simple open or closed loop); remove holes or gaps on surfaces that are not four faces; specify constraint faces and internal curves to modify the shape of the N-Sided Surface; control the sharpness of the center point of the N-Sided Surface while maintaining continuity constraints. This command allows users to smoothly fill gaps between surfaces without trimming, untrimming, or changing the edges of the external surfaces.

[0062] In this embodiment, the functions called by the offset surface command, the trim and extend command, the stitch command, the ruled command, and the N-edge surface command are all from the NXOpen function library.

[0063] This embodiment also provides a system for automatically thickening a complex shaped surface of a vehicle body, the system comprising:

[0064] User interaction module, used for interaction between users and UG secondary development software;

[0065] The sheet thickening module is used to perform sheet thickening processing on the sheet, and the sheet thickening module includes:

[0066] An import submodule is used to import a complex modeling surface of a vehicle body and use the complex modeling surface of the vehicle body as a sheet body;

[0067] The offset and optimization submodule is used to offset all the surfaces in the selected sheet toward the selected direction through the offset surface command, and optimize the offset surface;

[0068] The preliminary stitching submodule is used to stitch all optimized surfaces by stitching commands, and to create volumes between the sections of the sheet and the sections of the stitched surfaces by ruling commands;

[0069] A re-stitching submodule is used to stitch the common surfaces of the body, the sheet body and the stitched curved surface again through a stitching command to obtain a solid body;

[0070] The secondary optimization submodule is used for secondary optimizing the entity through the N-side surface command to obtain a thickened sheet body.

[0071] Example: There is a complex modeling surface of a car body part. Import it into UG secondary development. The software is already equipped with an automatic thickening plug-in for complex modeling surfaces of the car body.

[0072] In the function selection menu in the user interaction module, open the "Sheet Thickening" dialog box;

[0073] Select the sheet that needs to be thickened (i.e. the complex modeling surface of the existing body parts). After selection, the "Sheet Thickening" dialog box will refresh the new parameters for the thickening function;

[0074] Set parameters for the selected sheet, quickly select the exclusion surface by selecting "Auxiliary Surface" in the dialog box or directly select "Exclusion Surface", then determine the leveling reference surface, and after determining the thickening thickness and thickening direction, click "Thicken" to start the automatic thickening process;

[0075] After the thickening process is completed, the sheet will be thickened into a solid;

[0076] Finally, click "Apply" or "OK" in the dialog box, the thickening data will be saved and the process ends (if you click "Cancel", the thickening data will not be saved).

[0077] The system realizes intelligent design through C++ programming language, reduces human errors and effectively improves engineering benefits.

[0078] The beneficial effects of the present application are as follows: the method and system import the complex modeling surface of the vehicle body and use the complex modeling surface of the vehicle body as a sheet body; offset all the faces in the selected sheet body in a selected direction by using the offset surface command, and optimize the offset surface; stitch all the optimized surfaces by using the stitch command, and create a body between the cross section of the sheet body and the cross section of the stitched surface by using the ruled command; stitch the body again with the common faces of the sheet body and the stitched surface by using the stitch command to obtain a solid body; optimize the solid body for a second time by using the N-edge surface command to obtain a thickened sheet body; and realize the rapid thickening of the complex modeling surface of the vehicle body, reduce the workload, and bring about a substantial efficiency improvement.

[0079] The exemplary embodiments of the present disclosure are specifically shown and described above. It should be understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.

Claims

1. An automated thickening method for complex car body surfaces, based on UG secondary development, characterized in that: include: S1: importing a complex modeling surface of a vehicle body and using the complex modeling surface of the vehicle body as a sheet body; S2: offset all faces in the selected sheet toward the selected direction through the offset surface command, and optimize the offset surfaces, including: Determining whether the offset curved surface is interfering or out of the air; If yes, the offset curved surface is trimmed or extended by trim and extend commands, and then S3 is executed; If not, execute S3; S3: stitch all optimized surfaces using the stitch command, and create a volume between the sections of the sheet and the stitched surfaces using the ruled command; S4: stitching the body created in S3 with the common surfaces of the sheet body and the stitched surface again by using the stitch command to obtain a solid body; S5: The solid body is optimized again by using an N-side surface command to obtain a thickened sheet body, including: Determining whether the entity has a missing offset surface; If yes, then a surface for repair is created by using an N-side surface command to repair the entity, and the surface for repair and the entity are sewed into the thickened sheet by using the sew command; If not, the entity is regarded as the thickened sheet.

2. The method for automatically thickening a complex vehicle body surface according to claim 1, characterized in that: In S2, the offset surface command is to call the OffsetSurfaceBuilder function, and the offset surface command is used to create an offset of one or more existing surfaces.

3. The method for automatically thickening a complex vehicle body surface according to claim 1, characterized in that: The trim and extend command is to call the TrimExtendBuilder function, and the trim and extend command is used to extend and trim one or more surfaces through a group of tool objects composed of edges or surfaces.

4. The method for automatically thickening a complex vehicle body surface according to claim 1, characterized in that: The stitch command is to call the SewBuilder function, and the stitch command is used to connect two or more surfaces / sheets into a single new surface / new entity.

5. The method for automatically thickening a complex vehicle body surface according to claim 1, characterized in that: The ruled command is to call the RuledBuilder function, and the ruled command is used to create a body between two sections.

6. The method for automatically thickening a complex vehicle body surface according to claim 1, characterized in that: The N-side surface command is to call the NSidedSurfaceBuilder function, and the N-side surface command is used to create a surface closed by a set of curves connected by endpoints.

7. The method for automatically thickening a complex vehicle body surface according to claim 3, characterized in that: The functions called by the offset surface command, the trim and extend command, the stitch command, the ruled command and the N-edge surface command are all from the NXOpen function library.

8. An automatic thickening system for complex vehicle body surfaces, characterized in that: include: User interaction module, used for interaction between users and UG secondary development software; The sheet thickening module is used to perform sheet thickening processing on the sheet, and the sheet thickening module includes: An import submodule is used to import a complex modeling surface of a vehicle body and use the complex modeling surface of the vehicle body as a sheet body; The offset and optimization submodule is used to offset all the surfaces in the selected sheet toward the selected direction through the offset surface command, and optimize the offset surface, including: Determining whether the offset curved surface is interfering or out of the air; If yes, the offset curved surface is trimmed or extended by trim and extend commands, and then a preliminary stitching submodule is executed; If not, the preliminary suturing submodule is executed; The preliminary stitching submodule is used to stitch all optimized surfaces by stitching commands, and to create volumes between the sections of the sheet and the sections of the stitched surfaces by ruling commands; A secondary stitching submodule is used to stitch the body created in the preliminary stitching submodule with the common surfaces of the sheet body and the stitched curved surface again through stitching commands to obtain a solid body; The secondary optimization submodule is used to secondary optimize the entity through the N-side surface command to obtain a thickened sheet body, including: Determining whether the entity has a missing offset surface; If yes, then a surface for repair is created by using an N-side surface command to repair the entity, and the surface for repair and the entity are sewed into the thickened sheet by using the sew command; If not, the entity is regarded as the thickened sheet.