A vehicle roof assembly modeling method, apparatus, device, and medium

CN122549030APending Publication Date: 2026-08-11CHERY AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]目前结构设计师在使用CATIA软件对于车辆顶盖总成相关零件设计过程中,需要逐个构建顶盖总成结构中各个面的连接关系,从而确定零件结构,不仅增加了零件结构设计过程中的时间成本,还降低工作效率

Benefits of technology

[0019]本申请提供的一种车辆顶盖总成建模方法、装置、设备和介质,通过基于顶盖外板的输入面,生成与输入面关联的过程数据;并将过程数据与输入面作为发布元素;基于发布元素,构建顶盖总成中除顶盖外板以外的其余零件,使发布元素作为修改时驱动其余零件刷新的控制元素,与现有技术中的逐个构建面连接关系、无联动刷新机制的方案相比,本申请通过将输入面与过程数据绑定为发布元素,所有零件均基于同一发布元素构建,避免了重复建模,尤其适用于非天窗、天窗、天幕等多种顶盖版本,当输入面发生变化时,仅需修改发布元素,所有关联零件自动更新,实现只改输入数据、不改模型以提高零件结构设计的时间成本和工作效率的高效设计流程。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122549030A_ABST
    Figure CN122549030A_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, device, and medium for modeling a vehicle roof assembly, relating to the field of vehicle parts design technology. It generates process data associated with the input surface of the roof outer panel; uses the process data and the input surface as publishing elements; and constructs the remaining parts of the roof assembly excluding the roof outer panel based on the publishing elements. The publishing elements serve as control elements that drive the refreshing of the remaining parts during modifications, thereby improving the time cost and work efficiency of parts structure design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle parts design technology, and more specifically, to a method, apparatus, device, and medium for modeling a vehicle roof assembly. Background Technology

[0002] The 3D design software CATIA (Computer Aided Three-dimensional Interactive Application) has been widely used in the design of products and tooling in the manufacturing fields of vehicles, aviation and other related industries.

[0003] Currently, when structural designers use CATIA software to design vehicle roof assembly components, they need to construct the connection relationships of each surface in the roof assembly structure one by one to determine the component structure. This not only increases the time cost in the component structure design process but also reduces work efficiency. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a method, apparatus, device and medium for modeling vehicle roof assemblies, so as to improve the time cost and work efficiency of part structure design.

[0005] Firstly, this application provides a method for modeling a vehicle roof assembly, including: Based on the input surface of the top cover outer panel, process data associated with the input surface is generated; and the process data and the input surface are used as publishing elements. Based on the published element, construct the remaining parts of the top cover assembly excluding the top cover outer panel, so that the published element can be used as the control element to drive the refresh of the remaining parts when modified. Optionally, when the roof assembly is a non-skylight roof or a skylight roof, process data associated with the input surface is generated based on the input surface of the roof outer panel, including: Based on the input surface, process points, process lines, and process surfaces are generated using offset, intersection, and fillet commands as process data.

[0006] Optionally, based on the published elements, construct the remaining parts of the top cover assembly excluding the top cover outer panel, including: When the roof assembly is a non-sunroof roof, the front roof crossbeam surface, middle roof crossbeam surface, and rear roof crossbeam surface in the roof assembly are constructed based on the published elements using the intersection and offset commands; When the roof assembly is a sunroof roof, the front roof crossbeam surface, middle roof crossbeam surface, rear roof crossbeam surface, and sunroof mounting plate surface in the roof assembly are constructed based on the published elements using intersection and offset commands.

[0007] Optionally, the process data generated based on the input surface of the top cover outer panel and associated with the input surface also includes: Based on the first input surface and the reference datum surface, the intersecting edge lines are extracted, and the boundary endpoints of the intersecting edge lines are used as reference points; Based on the reference point and the preset scale parameters, a reference position point is determined on the intersecting edge line, and a segmentation reference plane is created based on the reference position point; The target local region is obtained by segmenting the first input surface based on the segmentation reference surface; The target local area is connected to the second reference surface using a chamfer command to generate a target connection area, which is then added to the process data as a process surface.

[0008] Optionally, the process of constructing the remaining parts of the top cover assembly, excluding the outer top cover panel, based on the published elements, also includes: Based on the published elements, construct the main body of the remaining parts other than the top cover outer plate, and generate the general features of the main body of the parts through preset rules; among which, the general features include positioning features, glue grooves, venting ribs, weight reduction holes and leakage holes.

[0009] Optionally, positioning features of the main body of the part are generated according to preset rules, including: Determine the first reference point, and use the first reference point as the basis to determine the first coordinate point of the positioning feature; Project the first coordinate point onto the main body of the part to obtain the first projection point; A sketch outline is generated based on the first projection point and a sweep operation is performed. It is then connected to the main body of the part using a chamfer command to generate a positioning feature.

[0010] Optionally, the glue application groove of the main body of the part is generated according to preset rules, including: Determine the intersection line of the two base surfaces, and use the intersection line as a reference to determine the second coordinate point of the adhesive application groove; Project the second coordinate point onto the intersecting line to obtain the second projection point; Based on the second projection point, the length of the glue-applying groove is determined by the sketch outline, and the width of the glue-applying groove is determined by sweeping along the parallel lines of the intersecting lines, thus generating the glue-applying groove.

[0011] Optionally, the venting ribs of the main body of the part are generated according to preset rules, including: Determine the intersection line of the base surfaces, and determine the position of the venting ribs by projecting the intersection line and the reference point onto the intersection line; Using the sketch outline and performing a sweep operation, connect it to the main body of the part using the chamfer command to generate venting ribs.

[0012] Optionally, weight-reduction holes for the main body of the part are generated according to preset rules, including: The intersection of the first and second intersecting lines is determined as the center point of the weight reduction hole. A sketch outline is generated based on the location center point and a sweep operation is performed. The outline is then processed with the main body of the part using a chamfering command to generate a weight-reducing hole.

[0013] Optionally, leakage holes in the main body of the part are generated according to preset rules, including: Determine the intersection line between the beam's elevation and bottom surface, and then determine a reference line at the midpoint where the intersection line is parallel to the bottom surface; Establish coordinate points and project them onto the reference line to obtain the third projection point; Based on the third projection point, the sketch outline is extruded, and the leakage hole is generated by extruded and divided with the main body of the part.

[0014] Optionally, when the roof is assembled into a canopy roof, process data associated with the input surface is generated based on the input surface of the roof's outer panel, including: The input information of all parts in the top cover assembly is processed in the same part file, and the modeling surface, stop surface and parting line corresponding to each part are classified into different geometric sets to generate a geometric set. Use the set of geometric figures as process data, and use the process data as the published element.

[0015] Optionally, based on the published elements, construct the remaining parts of the top cover assembly excluding the top cover outer panel, including: When the roof assembly is a canopy roof, based on the published elements, the front roof beam inner plate, front roof beam reinforcement plate, rear roof beam inner plate, rear roof beam reinforcement plate, rear windshield lower beam, wrap rack support plate and rear roof are constructed in the roof assembly through intersection and offset commands.

[0016] Secondly, this application provides a vehicle roof assembly modeling apparatus, comprising: The data association module is used to generate process data associated with the input surface based on the input surface of the top cover outer panel; and to publish the process data and the input surface as publishing elements. The model building module is used to build the remaining parts of the top cover assembly, excluding the outer plate of the top cover, based on the published elements, so that the published elements can be used as control elements to drive the refresh of the remaining parts when modified.

[0017] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described vehicle roof assembly modeling method.

[0018] Fourthly, this application provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the above-described vehicle roof assembly modeling method.

[0019] This application provides a method, apparatus, device, and medium for modeling a vehicle roof assembly. It generates process data associated with the input surface of the roof outer panel; and uses the process data and the input surface as publishing elements. Based on these publishing elements, it constructs the remaining parts of the roof assembly excluding the roof outer panel. The publishing elements act as control elements that drive the refresh of these remaining parts when modifications are made. Compared to existing technologies that construct surface connections one by one without a linked refresh mechanism, this application binds the input surface and process data as publishing elements, ensuring all parts are constructed based on the same publishing element. This avoids redundant modeling and is particularly suitable for various roof versions, such as those without sunroofs, sunroofs, or canopies. When the input surface changes, only the publishing element needs to be modified, and all related parts are automatically updated. This achieves a highly efficient design process that only requires modifying the input data, not the model, thus improving the time cost and work efficiency of part structure design.

[0020] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 A flowchart of a vehicle roof assembly modeling method provided by an embodiment of the present invention is shown; Figure 2 A schematic diagram of the key release elements for assembly linkage provided in an embodiment of the present invention is shown; Figure 3 A schematic diagram showing the result view of the stop and sealing surface of the top cover outer plate provided in an embodiment of the present invention is shown; Figure 4 A schematic diagram of the parametric specification module for the non-sunroof roof assembly provided in an embodiment of the present invention is shown; Figure 5 A schematic diagram of the parametric specification module for the sunroof roof assembly provided in an embodiment of the present invention is shown; Figure 6 A schematic diagram of the trimmed surface provided in an embodiment of the present invention is shown; Figure 7 This diagram illustrates a view of the input information processing results provided in an embodiment of the present invention; Figure 8 This diagram illustrates the structure of the parametric specification module for the canopy assembly provided in an embodiment of the present invention. Figure 9 This diagram illustrates the structure of a vehicle roof assembly modeling device provided in an embodiment of the present invention. Figure 10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention is shown. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0024] This application provides a method for modeling a vehicle roof assembly, see below. Figure 1 As shown, the vehicle roof assembly modeling method provided in this application embodiment includes at least the following steps: Step 110: Based on the input surface of the top cover outer panel, generate process data associated with the input surface; and use the process data and the input surface as publishing elements.

[0025] In this embodiment of the application, when the roof assembly is a non-sunroof roof, the input surface includes the main surface of the roof, the front facade of the roof, the side facade of the roof, and the rear facade of the roof; when the roof assembly is a sunroof roof, the input surface also includes the windshield surface.

[0026] Based on a defined input surface, process data is generated using geometric operation commands. This process data consists of intermediate geometric elements generated from the input surface, including process points, process lines, and process surfaces. The geometric operation commands include, but are not limited to, offset, intersection, and fillet commands. The offset command generates a process surface that maintains a specified distance parameter from the input surface. The intersection command finds the intersection line of two or more input surfaces and / or process surfaces as a process line. The fillet command generates a transition surface as a process surface based on the input edge and a specified radius parameter. The specified distance and radius parameters are determined according to the process clearance standards of the top cover assembly (e.g., welding clearance 0.5mm to 2.0mm) and structural transition requirements (e.g., fillet radius 3mm to 8mm). Furthermore, a geometric association is established between the process data and the input surface through parametric relationships, and this association is stored in the model file of the 3D modeling system as feature history tree nodes. Each process data node records its generation command type, command parameters, and the feature identifier of the input surface node it depends on. When the geometric parameters of the input surface change and the change exceeds the preset tolerance threshold, the process data is automatically regenerated based on the parameterized association relationship. If a geometric calculation error occurs during the regeneration process, the 3D modeling system suspends the automatic update of that branch and marks the error status.

[0027] Furthermore, the input surface and the portion of the generated process data that includes at least the process surface are used as publishing elements, such as... Figure 2 As shown, this is the set of associated geometric data used in subsequent modeling steps. Preferably, to reduce errors during subsequent updates, commands with high parametric association stability, such as offset, intersection, and fillet, are used when creating the process data for the outer plate of the top cover, to strengthen the association between the process data and the input surface.

[0028] Furthermore, each element in the published element is accessed by related components such as the front top crossbeam, middle top crossbeam, rear top crossbeam, and sunroof mounting plate via read-only references. These related components generate their own process data based on the geometric data of the published element and establish cross-part parametric associations with it. When the published element is updated along with the input surface, the related components are automatically updated synchronously, ensuring geometric consistency between components.

[0029] Whether it's a sunroof roof assembly or a non-sunroof roof assembly, the input surface of the corresponding roof outer panel and the process surface in the process data can be used as publishing elements. These elements can then be referenced by other components in the roof assembly module to achieve one-click refresh. Specifically, the associated components create their own data based on the publishing elements of the roof outer panel. When generating the process data for the component, commands such as intersection and offset are used to associate the publishing elements, ensuring that the publishing element is the only external reference element controlling the geometric results of the component. This guarantees the reliability of automatic component updates.

[0030] This application embodiment establishes publishing elements and cross-part parameterized associations, which can drive relevant components to automatically update synchronously when design changes occur on the input surface, avoiding the problem of manual reconstruction due to the failure of subsequent modeling benchmarks caused by input changes.

[0031] In this embodiment, based on the first input surface and the reference datum surface, intersecting edges are extracted, and the boundary endpoints of the intersecting edges are used as reference points; based on the reference points and preset scaling parameters, reference position points are determined on the intersecting edges, and a segmentation datum surface is created based on the reference position points; the first input surface is segmented based on the segmentation datum surface to obtain a target local region; the target local region is connected to the second reference surface using a chamfering command to generate a target connected region, and the target connected region is added to the process data as a process surface.

[0032] Specifically, in the process of generating process data associated with the input surface based on the input surface of the roof outer panel, for cases where it is necessary to extract effective local areas from a large input surface, the following method can be used: First, based on the first input surface and the reference reference surface, extract the intersection line of the first input surface and the reference reference surface, and use the boundary endpoint of the intersection line as the reference point. Here, the first input surface is any input plane or curved surface that needs to be divided, such as the rear door stop surface; the reference reference surface can be a coordinate plane in space, such as a plane determined by the vehicle width direction and height direction. Since in actual design, only a portion of the rear door stop surface is usually needed instead of the entire curved surface, the first input surface needs to be precisely segmented. This can be achieved by extracting the intersecting edge line formed by the intersection of the first input surface and the reference datum surface. This intersecting edge line has two boundary endpoints, and the boundary endpoint closer to the required area is used as the reference point. Then, based on this reference point and a pre-set scaling parameter, a reference position point is determined on the intersecting edge line. The pre-set scaling parameter is used to control the relative position of the reference position point on the intersecting edge line and can be adjusted according to the actual required area range. After determining the reference point, a segmentation reference plane is created based on it. This reference plane typically passes through the reference point and is perpendicular to the intersecting edges or has other preset spatial orientations. Next, the first input surface is segmented using this reference plane to cut out the required local area. This local area is then used as the target local area, ensuring that only the effective portion meeting design requirements is retained, avoiding redundancy and inaccuracies caused by the entire input surface participating in subsequent modeling. Finally, the target local area is connected to the second reference surface using a chamfer command to generate a target connection area. The second reference surface can be the rear bottom surface of the top cover outer plate or other geometric surfaces that need a smooth transition with the target local area. The chamfer command can smoothly connect the two geometric surfaces with rounded or beveled corners to form a continuous target connection area. This target connection area is added to the process data as a process surface for subsequent modeling. For example, since only a portion of the tailgate's stop surface is needed, the generation process uses the stop surface to be divided by the ZX plane (i.e., the plane determined by the vehicle's width and height directions) to obtain the outer edge line of the segmented stop surface. The endpoint closest to the stop surface on the outer edge line is selected as the reference segmentation point. The segmentation point is determined based on the reference segmentation point and the set scaling parameters. A segmentation reference plane is then created based on this point. The tailgate's stop surface is then segmented using this reference plane to obtain the effective area of ​​the stop surface. Figure 3 As shown. Furthermore, the sealing surface of the effective area of ​​the stop is set to have a width of not less than 10mm, depending on process, performance and space requirements; the sealing surface of the effective area of ​​the stop is usually a 90-degree sweeping surface with the stop line parallel to the stop surface by 17mm, and the fillet is generally set to 3mm.

[0033] This embodiment of the application achieves automatic segmentation of the input surface using the reference datum plane and scaling parameters in the above manner, eliminating the need for manual trimming and ensuring the accuracy and repeatability of the segmentation position. The chamfer command smoothly connects the segmented local areas with adjacent reference surfaces, ensuring a natural and continuous geometric transition. The generated target connection region is incorporated into the process data, maintaining its association with the original input surface. When the first input surface or reference datum plane changes, the intersecting edges, reference points, reference position points, segmentation datum plane, and target local areas are all automatically updated, and the chamfer connection results are regenerated accordingly. This ensures the parametric driving capability of local features such as the effective area of ​​the stop, avoiding the need for manual segmentation and connection due to design changes, and improving the automation level and refresh efficiency of modeling.

[0034] Step 120: Based on the published element, construct the remaining parts of the top cover assembly except for the top cover outer panel, so that the published element can be used as the control element to drive the refresh of the remaining parts when modified. In this embodiment, when the roof assembly is a non-sunroof roof, the front roof crossbeam surface, middle roof crossbeam surface, and rear roof crossbeam surface in the roof assembly are constructed based on the published element using intersection and offset commands; when the roof assembly is a sunroof roof, the front roof crossbeam surface, middle roof crossbeam surface, rear roof crossbeam surface, and sunroof mounting plate surface in the roof assembly are constructed based on the published element using intersection and offset commands.

[0035] Specifically, depending on the type of roof assembly, the basic geometry of the main structural components is constructed using published elements. The construction process directly references these published elements to establish control relationships. For non-skylight roofs, such as... Figure 4 As shown, the top surface, front facade, and side facades generated in the above steps are used as input. The intersection line of each surface is obtained using the intersection command. Based on these intersection lines and preset process clearance parameters, the front top beam surface, middle top beam surface, and rear top beam surface are generated using the offset command. For example, the overlap surface of the front top beam can be obtained by offsetting the intersection line between the top surface and the front facade; for a skylight roof, such as... Figure 5 As shown, in addition to generating the beam surface mentioned above, the sunroof opening-related surface in the published element also needs to be used to generate the sunroof mounting plate surface through the intersection and offset commands. For example, the flange surface of the sunroof mounting plate can be obtained by offsetting the process surface of the sunroof opening.

[0036] Since the geometry of the front top crossbeam, middle top crossbeam, rear top crossbeam, and sunroof mounting plate directly references the published elements, when the input surface of the roof outer panel undergoes a design change that causes the published elements to be updated, the geometry of these parts will be automatically updated synchronously. This enables rapid parametric modeling of the roof assembly under different configurations, eliminating the need for manual reconstruction and improving data refresh efficiency.

[0037] In this embodiment of the application, based on the published elements, the main body of the remaining parts other than the top cover outer plate is constructed, and the general features of the main body of the parts are generated through preset rules; wherein, the general features include positioning features, glue groove, venting ribs, weight reduction holes and leakage holes.

[0038] Furthermore, by determining the first reference point, the first coordinate point of the positioning feature is determined based on the first reference point; the first coordinate point is projected onto the main body of the part to obtain the first projection point; a sketch outline is generated based on the first projection point and a sweep operation is performed, which is then connected to the main body of the part through a chamfer command to generate the positioning feature.

[0039] Furthermore, the intersection line of the two base surfaces is determined, and the second coordinate point of the adhesive groove is determined based on the intersection line; the second coordinate point is projected onto the intersection line to obtain the second projection point; based on the second projection point, the length of the adhesive groove is determined by the sketch outline, and the width of the adhesive groove is determined by sweeping along the parallel line of the intersection line to generate the adhesive groove.

[0040] Furthermore, determine the intersection line of the base surfaces, and determine the position of the venting rib by projecting the intersection line and the reference point onto the intersection line; use the sketch outline and perform a sweep operation to connect it with the main body of the part through the chamfer command to generate the venting rib.

[0041] Furthermore, the intersection of the first and second intersection lines is determined as the center point of the weight reduction hole; a sketch outline is generated based on the center point and a sweep operation is performed, which is then processed with the main body of the part using a chamfer command to generate the weight reduction hole.

[0042] Furthermore, the intersection line between the beam's elevation and bottom surface is determined, and a reference line is established at the midpoint where the intersection line is parallel to the bottom surface; coordinate points are established and projected onto the reference line to obtain a third projection point; based on the third projection point, the sketch outline is extruded, and the leakage hole is generated by extruded and divided with the main body of the part.

[0043] In this embodiment of the application, in the process of constructing the main body of other parts besides the outer panel of the roof based on the published elements, it is also necessary to generate the general features of the main body of the parts through preset rules, so as to integrate various typical features that frequently appear or may appear in the vehicle roof assembly into the parametric model, thereby realizing the automation and standardization of the modeling process.

[0044] The specific generation rules are as follows: Positioning features include positioning bosses, positioning holes or positioning grooves, etc. When generating positioning features, a specified vertex of a specific base surface (such as an overlapping surface) on the main body of the part is selected as the first reference point. Based on the first reference point, an offset value is given in the normal or in the plane of the first base point to determine the first coordinate point in space. The first coordinate point is projected onto the surface of the part body to obtain the first projection point as the attachment position. When a positioning boss needs to be generated, a cross-sectional sketch of the boss is created at the first projection point, and a sweep operation is performed along a preset direction to generate a three-dimensional solid. Finally, the three-dimensional solid is connected to the part body using a chamfer command. When a positioning hole needs to be generated, the first projection point is used as the center or reference point of the hole, and the projection plane of the part body is used as the sketch reference plane to create a hole cross-sectional sketch that meets the specifications. The positioning hole is generated by removing material from the part body using commands such as extrusion cut. In order to prevent errors in the assembly of the crossbeam, the left and right positioning holes in symmetrical positions can be in the form of round holes and oblong holes, respectively. When a positioning groove needs to be generated, a groove can be further created on the basis of the above positioning boss by operations such as sketch cut, or the first projection point can be used as the positioning reference of the groove and directly cut out on the part body. In the above way, the position of the positioning feature is precisely controlled by the reference point and coordinate point, and the projection operation ensures that it always fits the surface of the part body. Even if the shape of the part body changes, the positioning feature will automatically update, thereby ensuring the accuracy of the positioning feature and the reliability of the parameterized drive. When generating the glue-applying groove, after determining the intersection line of two base surfaces (such as the beam surface and the reinforcing plate surface) as the layout reference for the glue-applying groove, a second coordinate point is determined to control the position of the glue-applying groove on the intersection line. The second coordinate point is then projected onto the intersection line to obtain a second projection point as a precise positioning point. At the second projection point, a cross-sectional sketch of the glue-applying groove is created based on a reference plane (e.g., a plane perpendicular to the intersection line and tangent to the surface of the part body). The dimensions of the cross-sectional sketch define the length and depth of the glue-applying groove (e.g., a rectangle with a length of 70 mm and a depth of 2.5 mm). Using the intersection line as a guide line, a sweep cut operation is performed on the cross-sectional sketch to generate a complete glue-applying groove feature on the part body. Its width is defined by another dimension of the cross-sectional sketch (e.g., 5 mm). In this way, the position of the glue-applying groove is strongly correlated with the intersection line of the two base surfaces. When the base surfaces change, causing the intersection line to change, the position, length, and depth of the glue-applying groove are automatically updated, ensuring the parametric driving of the feature. When generating the exhaust rib, the intersection line of the base surfaces is determined in the gap area between two adjacent glue-coating grooves. Using another defined geometric point on the main body of the part (e.g., the vertex of the beam end) as a reference point, the reference point is projected onto the intersection line along a specified direction (e.g., the Y-axis of the vehicle coordinate system) to obtain a projection point, which is then used as the positioning point for the exhaust rib. At the positioning point, a sketch outline describing the cross-sectional shape of the exhaust rib (e.g., a rectangular outline 15mm wide and 3mm high) is created based on a plane perpendicular to the intersection line. Using the intersection line as a guide line, a sweep operation is performed on the sketch outline to generate a 3D solid. This 3D solid is then connected to the main body of the part using a chamfer command to generate the final exhaust rib feature. Through this method, the position of the exhaust rib is precisely controlled by the intersection line of the base surfaces and the projection of the reference point, ensuring its reasonable arrangement within the gap area between adjacent glue-coating grooves. When the base surface or reference point changes, the positioning projection point is automatically updated, thereby driving the exhaust rib feature to update automatically accordingly. When generating the weight-reducing hole, the intersection point of the first intersection line (e.g., obtained by projecting the intersection line of the two base surfaces of the top cover beam towards the bottom surface parallel to the mid-plane of the bottom surface) and the second intersection line (e.g., obtained by the intersection of the ZX plane of the vehicle coordinate system and the bottom surface) is determined as the center point of the weight-reducing hole, thereby automatically positioning the weight-reducing hole in a safe area that avoids the mounting point. Based on the center point, a cross-sectional sketch describing the shape of the weight-reducing hole is created, and a sweep cut operation is performed on the cross-sectional sketch with a specified direction as the guide line to remove material from the main body of the part, generating the final weight-reducing hole feature. To optimize the structure, a chamfering operation can be further performed on the connection between the edge of the weight-reducing hole and the main body of the part. In this way, the position of the weight-reducing hole can automatically adapt to the geometric changes of the main body of the part, always being placed in a structurally reasonable position. When generating the drain hole, the intersection line of the beam's vertical and horizontal surfaces is determined. A reference line is then established at the midpoint between the intersection line and the horizontal surface to ensure the drain hole is positioned at the lowest point on the beam's bottom surface. A coordinate point is created to control the drain hole's position, and this coordinate point is projected onto the reference line to obtain a third projection point, serving as the precise positioning point. Based on this third projection point, a cross-sectional sketch describing the drain hole's shape is created, and an extrusion cut operation is performed to remove material from the main body of the part, generating the final drain hole feature. Through this method, the drain hole's position is precisely controlled by projecting the coordinate point onto the reference line, and the rules governing the reference line ensure that it automatically resides at the lowest point at the bottom of the beam, guaranteeing the reliability of the drainage function.

[0045] The aforementioned preset rules enable the automatic generation of positioning features, glue application grooves, venting ribs, weight reduction holes, and leakage holes, replacing the manual construction of each feature by designers. The preset rules establish clear parametric constraints between general features and the main body of the part driven by the published elements through geometric elements such as reference points, intersection lines, projection points, and intersection points. When the design input of the top cover assembly changes, the aforementioned general features will be automatically regenerated based on these constraints, thereby reducing the workload of manual modifications and ensuring design consistency while lowering the probability of human error.

[0046] Furthermore, in this embodiment of the application, when constructing the parts of the top cover assembly, the principle of parameter automation is adopted to trim the parts.

[0047] Specifically, for trimming the stop area, the intersection line between the base surface and the reference surface related to the stop is extracted as the trimming line. Using the trimming line as a guide line, a sweeping surface with a preset angle (such as 90 degrees) is created as the stop trimming surface. For trimming the area where the front top crossbeam overlaps with the outer roof panel, reference the trimming surface of the outer roof panel in the published element, and generate the trimming surface of the front top crossbeam using the offset command (the offset distance is set according to process requirements, such as offsetting inward by 1mm). Figure 6 As shown, this is to ensure the process clearance between the two.

[0048] The two trimmed surfaces mentioned above are rounded to form a complete trimmed surface with other necessary adjacent surfaces of the main body of the part. Then, the complete trimmed surface is used to perform a segmentation and cutting operation on the main body of the part to remove the waste material and obtain the final trimmed result of the part.

[0049] In this way, the generation of trimmed surfaces is entirely driven by the geometric data in the published elements. When the input surface of the top cover outer panel changes, the trimmed lines and trimmed surfaces will be automatically updated and re-divided without the need to manually rebuild the trimmed features.

[0050] In this embodiment of the application, when the top cover assembly is a canopy top cover, the input information of all parts in the top cover assembly is concentrated in the same part file for processing, and the shape surface, stop surface and seam line corresponding to each part are classified into different geometric set to generate a geometric set; the geometric set is used as process data, and the process data is used as publishing element.

[0051] Specifically, when the roof assembly is used as a canopy roof, the input information of all parts in the roof assembly (such as the inner plates of each crossbeam, reinforcing plates, etc.), including the required shaping surfaces, stop surfaces, and joint lines for each part, is centrally managed in a single part file. Figure 7As shown, within the part file, a corresponding geometry set is created for each part, categorizing and grouping its required shaping surfaces, stop surfaces, and seam lines into it, thus forming a structured geometry set containing all part input information. Then, the geometry set in the part file is used as a publishing element for reference during subsequent part modeling. Each part in its own file obtains input information by associating it with the corresponding geometry set in the publishing element, and generates its own part body and general features based on this. Through this centralized management method, the input information of all parts of the canopy roof is gathered in one place. When design modifications are needed, only the input surfaces or reference lines in the corresponding geometry set within the centralized part file need to be modified. The models of all related parts will automatically and synchronously refresh based on the updated publishing element, alleviating the problems of asynchronous modifications and difficulty in traceability caused by scattered part files, and improving modeling efficiency and data consistency.

[0052] In this embodiment of the application, when the roof assembly is a canopy roof, based on the published elements, the front top beam inner plate, the front top beam reinforcing plate, the rear top beam inner plate, the rear top beam reinforcing plate, the rear windshield lower beam, the wrap rack support plate, and the rear roof in the roof assembly are constructed by intersection and offset commands.

[0053] Specifically, when the roof becomes a canopy roof, after concentrating the input information of all parts into a single part file and generating a set of geometric shapes as a publishing element, the remaining parts are constructed based on this publishing element using intersection and offset commands. These include: the inner panel of the front roof crossbeam, the front roof crossbeam reinforcement plate, the inner panel of the rear roof crossbeam, the rear roof crossbeam reinforcement plate, the lower rear windshield crossbeam, the wrap rack support plate, and the rear roof, such as... Figure 8 As shown. When constructing these parts, the modeling surfaces, stop surfaces, and seam lines within the corresponding geometry set of the published element are directly referenced as input. In this way, the construction of each part of the canopy roof is based on the same published element. When design modifications are needed, only the input information in the centralized part file needs to be changed, and all related part models will automatically and synchronously refresh based on the updated published element. This avoids inconsistencies and repeated modifications caused by scattered input information, ensuring design consistency and improving modeling efficiency and refresh reliability.

[0054] This application provides a vehicle roof assembly modeling method that establishes a unified parametric modeling process for three types of roof assemblies: non-sunroof, sunroof, and panoramic sunroof. The method generates associated process data based on the input surfaces of the roof's outer panel, using these process data and the input surfaces as publishing elements. Other parts (such as the front roof crossbeam, middle roof crossbeam, rear roof crossbeam, sunroof mounting plate, various reinforcing plates, and inner panels) are constructed based on these publishing elements using commands such as intersection and offset. Common features such as positioning, glue grooves, venting ribs, weight-reducing holes, and leakage holes are automatically generated using preset rules. For the panoramic sunroof version, the input information for all parts is centralized in a single part file, categorized into geometric sets, and then used as publishing elements for reference. This approach establishes clear parametric reference relationships between input surfaces and parts, as well as between different parts, reducing the duplication of identical input information. When design changes occur, related parts can be automatically updated synchronously, significantly improving modeling efficiency and data consistency.

[0055] This application provides a vehicle roof assembly modeling device, see reference. Figure 9 As shown in the embodiment of this application, the vehicle roof assembly modeling device includes: The data association module 210 is used to generate process data associated with the input surface based on the input surface of the top cover outer panel; and to use the process data and the input surface as publishing elements. Model building module 220 is used to build the remaining parts of the top cover assembly, excluding the top cover outer plate, based on the published elements, so that the published elements can be used as control elements to drive the refresh of the remaining parts when modified.

[0056] It should be noted that the principle of the vehicle roof assembly modeling device provided in this application embodiment to solve the technical problem is similar to that of the vehicle roof assembly modeling method provided in this application embodiment. Therefore, the implementation of the vehicle roof assembly modeling device provided in this application embodiment can refer to the implementation of the vehicle roof assembly modeling method provided in this application embodiment, and the repeated parts will not be described again.

[0057] After introducing the vehicle roof assembly modeling method and apparatus provided in the embodiments of this application, the electronic equipment provided in the embodiments of this application will be briefly introduced next.

[0058] See Figure 10 As shown, the electronic device 500 provided in this application embodiment includes at least a processor 501, a memory 502, and a computer program stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program, it implements the vehicle roof assembly modeling method provided in this application embodiment.

[0059] The electronic device 500 provided in this application embodiment may further include a bus 503 connecting different components (including processor 501 and memory 502). The bus 503 represents one or more types of bus structures, including memory bus, peripheral bus, local area bus, etc.

[0060] Memory 502 may include a readable storage medium in the form of volatile memory, such as random access memory (RAM) 5021 and / or cache memory 5022, and may further include read-only memory (ROM) 5023. Memory 502 may also include a program tool 5025 having a set (at least one) of program modules 5024, including but not limited to an operating subsystem, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0061] Processor 501 can be a single processing element or a collective term for multiple processing elements. For example, processor 501 can be a central processing unit (CPU) or one or more integrated circuits configured to implement the vehicle roof assembly modeling method provided in the embodiments of this application. Specifically, processor 501 can be a general-purpose processor, including but not limited to CPUs, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0062] Electronic device 500 can communicate with one or more external devices 504 (e.g., keyboard, remote control, etc.), and also with one or more devices that enable a user to interact with electronic device 500 (e.g., mobile phone, computer, etc.), and / or with devices that enable electronic device 500 to communicate with one or more other electronic devices 500 (e.g., router, modem, etc.). This communication can be performed through input / output (I / O) interface 505. Furthermore, electronic device 500 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) through network adapter 506. Figure 10As shown, network adapter 506 communicates with other modules of electronic device 500 via bus 503. It should be understood that, although... Figure 10 As not shown, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to microcode, device drivers, redundant processors, external disk drive arrays, Redundant Arrays of Independent Disks (RAID) subsystems, tape drives, and data backup storage subsystems.

[0063] It should be noted that, Figure 10 The electronic device 500 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0064] The computer-readable storage medium provided in the embodiments of this application is described below. The computer-readable storage medium provided in the embodiments of this application stores computer instructions, which, when executed by a processor, implement the vehicle roof assembly modeling method provided in the embodiments of this application. Specifically, the computer instructions can be built into or installed in a processor, so that the processor can implement the vehicle roof assembly modeling method provided in the embodiments of this application by executing the built-in or installed computer instructions.

[0065] In addition, the vehicle roof assembly modeling method provided in this application embodiment can also be implemented as a computer program product, which includes program code. The program code implements the vehicle roof assembly modeling method provided in this application embodiment when it is run on a processor.

[0066] The computer program product provided in this application embodiment may employ one or more computer-readable storage media, which may be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination thereof. Specifically, more specific examples (a non-exhaustive list) of computer-readable storage media include electrical connections with one or more wires, portable disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM), optical fibers, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0067] The computer program product provided in this application embodiment can be a CD-ROM and include program code, and can also run on electronic devices such as computers. However, the computer program product provided in this application embodiment is not limited thereto. In this application embodiment, the computer-readable storage medium can be any tangible medium that contains or stores program code, which can be used by or in conjunction with an instruction execution system, device, or apparatus.

[0068] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.

[0069] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0070] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0071] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of the embodiments of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

Claims

1. A method of modeling a vehicle roof assembly, the method comprising: include: Based on the input surface of the top cover outer panel, process data associated with the input surface is generated; The process data and the input surface are then used as publishing elements. Based on the published element, construct the remaining parts of the top cover assembly excluding the outer plate of the top cover, so that the published element serves as the control element that drives the refresh of the remaining parts when modified.

2. The vehicle roof assembly modeling method of claim 1, wherein, When the roof assembly is a non-skylight roof or a skylight roof, process data associated with the input surface of the roof outer panel is generated based on the input surface of the roof outer panel, including: Based on the input surface, process points, process lines, and process surfaces generated using offset, intersection, and fillet commands are used as the process data.

3. The vehicle roof assembly modeling method of claim 1, wherein, Based on the published elements, construct the remaining parts of the top cover assembly excluding the outer top cover panel, including: When the roof assembly is a non-sunroof roof, the front roof crossbeam surface, middle roof crossbeam surface, and rear roof crossbeam surface in the roof assembly are constructed based on the published element using intersection and offset commands. When the roof assembly is a sunroof roof, the front top crossbeam surface, middle top crossbeam surface, rear top crossbeam surface, and sunroof mounting plate surface in the roof assembly are constructed based on the published element using intersection and offset commands.

4. The vehicle roof assembly modeling method of claim 1, wherein, The process data generated based on the input surface of the top cover outer panel, and associated with the input surface, also includes: Based on the first input surface and the reference datum surface, the intersecting edge lines are extracted, and the boundary endpoints of the intersecting edge lines are used as reference points; Based on the reference point and the preset ratio parameters, a reference position point is determined on the intersecting edge, and a segmentation reference plane is created based on the reference position point; Based on the segmentation reference surface, the first input surface is segmented to obtain the target local region; The target local area is connected to the second reference surface using a chamfering command to generate a target connection area, which is then added to the process data as a process surface.

5. The vehicle roof assembly modeling method according to any one of claims 1 to 4, characterized in that, Based on the published elements, the process of constructing the remaining parts of the top cover assembly, excluding the outer top cover panel, also includes: Based on the published elements, the main body of the remaining parts other than the top cover outer plate is constructed, and the general features of the main body of the parts are generated through preset rules; wherein, the general features include positioning features, glue grooves, venting ribs, weight reduction holes and leakage holes.

6. The vehicle roof assembly modeling method of claim 5, wherein, The positioning features of the main body of the part are generated by using preset rules, including: Determine a first reference point, and determine the first coordinate point of the positioning feature based on the first reference point; The first coordinate point is projected onto the main body of the part to obtain the first projection point; A sketch outline is generated based on the first projection point and a sweep operation is performed. The outline is then connected to the main body of the part using a chamfer command to generate the positioning feature.

7. The vehicle roof assembly modeling method of claim 5, wherein, The glue application groove of the main body of the part is generated according to preset rules, including: Determine the intersection line of the two base surfaces, and use the intersection line as a reference to determine the second coordinate point of the adhesive application groove; Project the second coordinate point onto the intersecting line to obtain the second projection point; Based on the second projection point, the length of the adhesive groove is determined by the sketch outline, and the width of the adhesive groove is determined by sweeping along the parallel lines of the intersecting lines, thus generating the adhesive groove.

8. The vehicle roof assembly modeling method according to claim 5, characterized in that, The venting ribs of the main body of the component are generated according to preset rules, including: Determine the intersection line of the base surfaces, and determine the position of the venting rib by the projection of the intersection line and the reference point onto the intersection line; Using the sketch outline and performing a sweep operation, the vent rib is generated by connecting it to the main body of the part using a chamfer command.

9. The vehicle roof assembly modeling method according to claim 5, characterized in that, The weight-reduction holes in the main body of the part are generated according to preset rules, including: The intersection point of the first and second intersecting lines is determined as the center point of the weight reduction hole. A sketch outline is generated based on the center point of the location and a sweep operation is performed. The outline is then processed with the main body of the part using a chamfering command to generate the weight reduction hole.

10. The vehicle roof assembly modeling method according to claim 5, characterized in that, The leakage hole in the main body of the component is generated according to a preset rule, including: Determine the intersection line between the vertical surface and the bottom surface of the beam, and determine a reference line at the midpoint where the intersection line is parallel to the bottom surface; Establish coordinate points and project them onto the reference line to obtain a third projection point; Based on the third projection point, the sketch outline is extruded, and the leakage hole is generated by extruded and divided with the main body of the part.

11. The vehicle roof assembly modeling method according to claim 1, characterized in that, When the top cover is assembled into a canopy top cover, process data associated with the input surface of the outer panel of the top cover is generated based on the input surface of the input surface, including: The input information of all parts in the top cover assembly is processed in the same part file, and the modeling surface, stop surface and parting line corresponding to each part are classified into different geometric set to generate a geometric set. The set of geometric figures is used as the process data, and the process data is used as the publishing element.

12. The vehicle roof assembly modeling method according to claim 11, characterized in that, Based on the published elements, construct the remaining parts of the top cover assembly excluding the outer top cover panel, including: When the roof assembly is a canopy roof, based on the published element, the front top beam inner plate, front top beam reinforcing plate, rear top beam inner plate, rear top beam reinforcing plate, rear windshield lower beam, wrap rack support plate and rear roof in the roof assembly are constructed by intersection and offset commands.

13. A vehicle roof assembly modeling device, characterized in that, include: The data association module is used to generate process data associated with the input surface based on the input surface of the top cover outer panel; The process data and the input surface are then used as publishing elements. The model building module is used to build the remaining parts of the top cover assembly, excluding the outer plate of the top cover, based on the published element, so that the published element serves as the control element that drives the refresh of the remaining parts when modified.

14. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the vehicle roof assembly modeling method as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the vehicle roof assembly modeling method as described in any one of claims 1 to 12.