Method, device and equipment for creating discrete beam model

By acquiring the cross-stabilized rod model and generating its axis, the problems of low efficiency and low accuracy of manually creating cross-stabilized rod discrete beam models in the prior art are solved, and efficient automatic generation and improvement of discrete beam models are achieved.

CN119646990APending Publication Date: 2025-03-18CHENGDU GONGDING TECHNOLOGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411810559.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

Existing simulation software cannot automatically create cross-stabilized rod discrete beam models and needs to be created manually, resulting in low efficiency and low accuracy.

Method used

By obtaining the cross-stabilized rod model, the discrete points of the shaft are determined, the central axis is formed, and the corresponding discrete beam model is generated based on the central axis.

Benefits of technology

实现了离散梁模型的自动生成,简化了生成过程,提高了模型的准确性与精确度。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119646990A_ABST
    Figure CN119646990A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for creating a discrete beam model, relates to the technical field of geometric model reconstruction, and aims to solve the problems of relatively low efficiency and relatively low accuracy due to the need of manually creating a transverse stable rod discrete beam model in the prior art. The method comprises the following steps: acquiring a transverse stabilizer bar model; determining a central axis discrete point of the transverse stabilizer bar model based on the transverse stabilizer bar model; forming a central axis of the transverse stabilizer bar model by using the central axis discrete points; and generating a discrete beam model corresponding to the transverse stabilizer bar model according to the central axis of the transverse stabilizer bar model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of geometric model reconstruction, and in particular to a method, device and equipment for creating a discrete beam model. Background Art

[0002] The lateral stabilizer bar, also known as the anti-roll bar or balance bar, is an auxiliary elastic element in the automobile suspension. In the related technology, simulation technology is needed to analyze and optimize the design and development products. However, the existing simulation software cannot automatically create the desired lateral stabilizer discrete beam model. The lateral stabilizer discrete beam model needs to be created manually, which is inefficient and has low accuracy.

[0003] Therefore, it is necessary to provide a method for creating a discrete beam model to solve the above problems. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a method, device and equipment for creating a discrete beam model to solve the problem that the discrete beam model of the stabilizer bar needs to be manually created in the prior art, which is inefficient and has low accuracy.

[0005] To achieve the above technical objectives, this application provides the following technical solutions:

[0006] In a first aspect, an embodiment of the present specification provides a method for creating a discrete beam model, comprising:

[0007] Get the stabilizer bar model;

[0008] Based on the stabilizer bar model, the central axis discrete points of the stabilizer bar model are determined;

[0009] The central axis of the stabilizer bar model is constructed by using the central axis discrete points;

[0010] A discrete beam model corresponding to the stabilizer bar model is generated according to the center axis of the stabilizer bar model.

[0011] In one implementation, obtaining a stabilizer bar model includes:

[0012] Get the geometric model;

[0013] The geometric model with the stabilizer bar topology structure is determined to be the stabilizer bar model.

[0014] In one implementation, determining that the geometric model having the stabilizer bar topology structure is a stabilizer bar model includes:

[0015] When the geometric model is a solid structure and there are a first surface and a second surface in the geometric model, the geometric model is determined to be a stabilizer bar model, wherein the first surface is a surface with a hole, and the second surface is a surface of a side wall of the hole.

[0016] In one implementation, based on the stabilizer bar model, determining the central axis discrete points of the stabilizer bar model includes:

[0017] The center of the second surface is determined as the endpoint discrete point of the stabilizer bar model;

[0018] Determine the middle discrete points of the stabilizer bar model according to the multi-segment spline surface and the endpoint discrete points of the stabilizer bar model;

[0019] The endpoint discrete points and the middle discrete points are determined as the medial axis discrete points.

[0020] In one embodiment, the endpoint discrete points include a first endpoint discrete point and a second endpoint discrete point, and determining the intermediate discrete points of the stabilizer bar model according to the multi-segment spline surface of the stabilizer bar model and the endpoint discrete points includes:

[0021] The first vector and the second vector are formed by using the center point of each segment of the spline surface and the first endpoint discrete point and the second endpoint discrete point respectively;

[0022] Splitting a spline surface whose included angle between the first vector and the second vector is greater than a preset angle into two target spline surfaces, and re-determining the center point of the target spline surface until the included angle between the first vector and the second vector of each segment of the spline surface is less than the preset angle;

[0023] The center point of each segment of the spline surface is determined as the middle discrete point.

[0024] In one embodiment, the central axis of the stabilizer bar model is formed by using the central axis discrete points, including:

[0025] The endpoint discrete points are taken as the endpoints and the middle discrete points are taken as the middle points to fit the central axis.

[0026] In one implementation, generating a discrete beam model corresponding to the stabilizer bar model according to the center axis of the stabilizer bar model includes:

[0027] Based on the preset section type and the reference point input by the user, the discrete beam model corresponding to the stabilizer bar model is generated using the center axis.

[0028] In a second aspect, an embodiment of the present specification provides a device for creating a discrete beam model, comprising:

[0029] An acquisition unit, used for acquiring a stabilizer bar model;

[0030] A determination unit, used for determining the center axis discrete points of the stabilizer bar model based on the stabilizer bar model;

[0031] A constituting unit, used to construct a central axis of the stabilizer bar model using the central axis discrete points;

[0032] The processing unit is used to generate a discrete beam model corresponding to the transverse stabilizer bar model according to the center axis of the transverse stabilizer bar model.

[0033] In one implementation, the acquisition unit is specifically configured to:

[0034] Get the geometric model;

[0035] The geometric model with the stabilizer bar topology structure is determined to be the stabilizer bar model.

[0036] In one implementation, the acquisition unit is specifically configured to:

[0037] When the geometric model is a solid structure and there are a first surface and a second surface in the geometric model, the geometric model is determined to be a stabilizer bar model, wherein the first surface is a surface with a hole, and the second surface is a surface of a side wall of the hole.

[0038] In one implementation, the determining unit is specifically configured to:

[0039] The center of the second surface is determined as the endpoint discrete point of the stabilizer bar model;

[0040] Determine the middle discrete points of the stabilizer bar model according to the multi-segment spline surface and the endpoint discrete points of the stabilizer bar model;

[0041] The endpoint discrete points and the middle discrete points are determined as the medial axis discrete points.

[0042] In one implementation, the endpoint discrete points include a first endpoint discrete point and a second endpoint discrete point, and the determining unit is specifically configured to:

[0043] The first vector and the second vector are formed by using the center point of each segment of the spline surface and the first endpoint discrete point and the second endpoint discrete point respectively;

[0044] Splitting a spline surface whose included angle between the first vector and the second vector is greater than a preset angle into two target spline surfaces, and re-determining the center point of the target spline surface until the included angle between the first vector and the second vector of each segment of the spline surface is less than the preset angle;

[0045] The center point of each segment of the spline surface is determined as the middle discrete point.

[0046] In one embodiment, the constituent unit is specifically used for:

[0047] The endpoint discrete points are taken as the endpoints and the middle discrete points are taken as the middle points to fit the central axis.

[0048] In one embodiment, the processing unit is specifically configured to:

[0049] Based on the preset section type and the reference point input by the user, the discrete beam model corresponding to the stabilizer bar model is generated using the center axis.

[0050] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for creating a discrete beam model of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0051] In a fourth aspect, an embodiment of the present specification provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for creating a discrete beam model as described in any one of the above items is implemented.

[0052] In a fifth aspect, an embodiment of the present specification provides a computer program product or a computer program, wherein the computer program product includes a computer program, and the computer program is stored in a computer-readable storage medium; the processor of the computer device reads the computer program from the computer-readable storage medium, and when the processor executes the computer program, it implements the method for creating a discrete beam model as described in any one of the above items.

[0053] It can be seen from the above technical solution that the present application provides a method, device and equipment for creating a discrete beam model. The method first obtains the stabilizer bar model, then determines the central axis discrete points of the stabilizer bar model based on the stabilizer bar model, and then uses the central axis discrete points to form the central axis of the stabilizer bar model. Finally, the discrete beam model corresponding to the stabilizer bar model is generated according to the central axis of the stabilizer bar model. When constructing the discrete beam model, the central axis of the stabilizer bar model is directly obtained using the stabilizer bar model, and the discrete beam model corresponding to the stabilizer bar model is generated using the central axis, which provides an automatic generation method for the discrete beam model, simplifies the generation process of the discrete beam model, and improves the accuracy and precision of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0055] Figure 1 A schematic flow chart of a method for creating a discrete beam model provided for an embodiment of this specification;

[0056] Figure 2 A schematic flow chart of a method for identifying a stabilizer bar model provided in an embodiment of this specification;

[0057] Figure 3A schematic diagram of the structure of a stabilizer bar provided for an embodiment of this specification;

[0058] Figure 4 A schematic diagram of the structure of two ends of a lateral stabilizer bar provided for an implementation manner of this specification;

[0059] Figure 5 A schematic diagram of the principle of a stabilizer bar provided for the implementation mode of this specification;

[0060] Figure 6 A schematic flow chart of a specific method for constructing a central axis of a stabilizer bar model provided in an embodiment of this specification;

[0061] Figure 7 A schematic flow chart of a method for generating a discrete beam model provided in an embodiment of this specification;

[0062] Figure 8 A schematic diagram of the structure of a device for creating a discrete beam model provided in an embodiment of this specification;

[0063] Fig. 9 A schematic diagram of the structure of an electronic device provided for an implementation of this specification. DETAILED DESCRIPTION

[0064] Unless otherwise defined, the technical terms or scientific terms used in the embodiments of this specification shall have the common meanings understood by persons skilled in the art to which this specification belongs. The words "first", "second" and similar words used in the embodiments of this specification do not indicate any order, quantity or importance, but are only used to avoid confusion of constituent elements.

[0065] Unless the context requires otherwise, throughout the specification, "plurality" means "at least two", and "including" is interpreted as an open, inclusive meaning, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "examples", "specific examples" or "some examples" are intended to indicate that a particular feature, structure, material or characteristic associated with the embodiment or example is included in at least one embodiment or example of the specification. The schematic representation of the above terms does not necessarily refer to the same embodiment or example.

[0066] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0067] Overview

[0068] As mentioned in the background technology, the lateral stabilizer bar, also known as the anti-roll bar or the balance bar, is an auxiliary elastic element in the automobile suspension. The function of the lateral stabilizer bar is to prevent the vehicle body from excessive lateral tilt when turning and to keep the vehicle body balanced as much as possible. The purpose is to reduce the lateral tilt of the vehicle and improve the ride comfort.

[0069] In the related technology, in order to reduce the product development cycle and shorten the development cycle, it is necessary to use simulation technology to analyze and optimize the design and development products before the prototype vehicle is trial-produced. However, the existing simulation software cannot automatically create the desired discrete beam model of the stabilizer bar. It is necessary to manually create the discrete beam model of the stabilizer bar, which is inefficient and has low accuracy.

[0070] Therefore, it is necessary to provide a method for creating a discrete beam model to avoid the above problems.

[0071] In order to solve the problem that the existing calculation requires manual creation of a discrete beam model of a stabilizer bar, which is inefficient and has low precision, in the technical solution of the present application, the stabilizer bar model is first obtained, and then the central axis discrete points of the stabilizer bar model are determined based on the stabilizer bar model, and then the central axis discrete points are used to form the central axis of the stabilizer bar model, and finally the discrete beam model corresponding to the stabilizer bar model is generated according to the central axis of the stabilizer bar model. When constructing the discrete beam model, the central axis of the stabilizer bar model is directly obtained using the stabilizer bar model, and the discrete beam model corresponding to the stabilizer bar model is generated using the central axis, which provides an automatic generation method for the discrete beam model, simplifies the generation process of the discrete beam model, and improves the accuracy and precision of the model.

[0072] Based on the above-mentioned inventive concept, the method for creating a discrete beam model provided in the embodiment of this specification is exemplarily described below.

[0073] Exemplary Methods

[0074] The embodiment of this specification provides a method for creating a discrete beam model, such as Figure 1 As shown, including:

[0075] S101. Obtain a stabilizer bar model.

[0076] In specific implementation, the sway bar refers to the lateral stabilizer bar (sway bar, anti-roll bar, stabilizer bar), also known as the anti-roll bar, balance bar, which is an auxiliary elastic element in the automobile suspension. The function of the lateral stabilizer bar is to prevent the vehicle body from excessive lateral tilt when turning, and to keep the vehicle body balanced as much as possible. The purpose is to reduce the lateral tilt of the vehicle and improve the ride comfort. Most car models are equipped with lateral stabilizer bars on the front suspension.

[0077] In this step, the stabilizer bar model is first obtained. The model is usually a topological structure. Topology is used to describe the boundary of an object and the connection relationship between objects, that is, a data structure is defined by describing the relationship between bounded and bounded objects.

[0078] S102: Based on the stabilizer bar model, determine the central axis discrete points of the stabilizer bar model.

[0079] In a specific implementation, the structural features of the stabilizer bar model obtained in the above step S101 are identified, and then the endpoints and the middle points of the stabilizer bar model are found to form the central axis discrete points of the stabilizer bar model, wherein the endpoints of the stabilizer bar model refer to the two endpoints of the stabilizer bar, and the middle points refer to the topological feature points of the middle part of the stabilizer bar.

[0080] S103. Use the central axis discrete points to form the central axis of the stabilizer bar model.

[0081] In specific implementation, a spline curve is fitted using the central axis discrete points, and the spline curve is the central axis of the stabilizer bar model.

[0082] S104: Generate a discrete beam model corresponding to the stabilizer bar model according to the center axis of the stabilizer bar model.

[0083] In specific implementation, all points on the discrete beam are calculated according to the section type and reference point set by the user to form a discrete beam model corresponding to the stabilizer bar model.

[0084] Combine the following Figure 2-Figure 7 The method for creating the discrete beam model in this embodiment is described in detail. Figure 2 As shown in FIG. 1 , a method for identifying a stabilizer bar model is shown, which includes:

[0085] S201, obtaining a geometric model.

[0086] In specific implementation, the geometric model of the stabilizer bar is loaded in the project. This model may be generated by loading a step / iges type file of the stabilizer bar, or may be directly created using a 3D modeling function.

[0087] S202: Determine that the geometric model having the stabilizer bar topology structure is a stabilizer bar model.

[0088] In specific implementation, the topological structure is determined based on the geometric model. Topology is a means of describing the limitations of an object. Here, topology is called shapes. Topology is used to define data structures by describing the relationship between bounded and bounded objects. In this embodiment, the following types of topological shapes are defined:

[0089] Vertex: A point.

[0090] Edge: A portion of a curve that is bounded by vertices.

[0091] Wire: A set of edges (connected by their vertices).

[0092] Face: A portion of a surface bounded by boundary lines.

[0093] Shell: A set of faces (connected by their edges).

[0094] Solid: A solid object that is partially confined by a shell.

[0095] Compsolid: A group of solids connected by faces.

[0096] Compound: A group of arbitrary topological shapes.

[0097] Specifically, when making the judgment, firstly, the geometric model must be a solid structure, that is, a Solid, otherwise it is judged that the model does not belong to the stabilizer bar model.

[0098] Secondly, since most of the anti-roll bars are similar to Figure 3 The structure shown in the figure at both ends is as follows Figure 4 As shown in the figure, the two ends of the stabilizer bar have circular holes, and the middle part is a spline surface with a circular cross-section. Therefore, when judging, the first face and the second face must exist in the geometric model. The first face is the face with the hole, called face_1, and the second face is the face of the side wall of the hole, called face_2.

[0099] Of course, in this step, we can further determine whether the geometric model is a stabilizer bar model. First, find other faces that have common topological edges with face_1 and are not cylindrical. Use this method of using common edges to find adjacent faces and find adjacent faces in a specific order. Because the topological structure of the faces at both ends is determined, if there is any mismatch, the judgment fails. After the search, we can get a closed wire1 composed of two edges. It is required that the two edges are both semicircular, then this edge forms a complete circle. Figure 5 As shown, otherwise the judgment fails. Finally, according to the spline surface found, a set of characteristic edges forming a circle can also be obtained on the other side as shown in Figure 5 As shown in the figure, wire2 is used as the starting wire for searching the next segment of the spline surface. This process can be repeated to traverse the entire middle segment of the spline surface. The spline surface after traversal can be used to determine the specific location of the discrete points in the subsequent process.

[0100] By using the method provided in this embodiment, the geometric model of the stabilizer bar can be automatically identified, and the steps of importing the stabilizer bar model can be simplified.

[0101] like Figure 6 As shown, the specific construction method of the center axis of the stabilizer bar model includes:

[0102] S601. Determine the center of the second surface as the endpoint discrete point of the stabilizer bar model.

[0103] In the specific implementation, the center of the cylindrical surface face_2 is taken as the discrete points at both ends to be obtained, namely the first endpoint discrete point and the second endpoint discrete point. Specifically, the two circular topological edges of the cylindrical surface face_2 are first obtained, and then the centers of the two circles corresponding to each other are obtained, recorded as center1 and center2, and the midpoint between center1 and center2 is calculated to obtain the discrete point center, which is the first endpoint discrete point pt_start. The same is applied to the other end to obtain the second endpoint discrete point pt_end.

[0104] S602: Determine the middle discrete points of the stabilizer bar model according to the multi-segment spline surface and the endpoint discrete points of the stabilizer bar model.

[0105] In this step, the middle discrete points of the stabilizer bar model are determined using the multi-segment spline surface found in the above step S202 and the endpoint discrete points determined in step S601.

[0106] Specifically, the center point of each segment of the spline surface is determined by first determining the midpoints of the middle edges edge1 and edge2, denoted as ptHalf1 and ptHalf2, and then obtaining the UV values ​​of the two points on the spline surface. The UV value is divided into U value and V value, usually denoted as S(U, V), which are two independent parameters in the parameterized surface and define the parameter position of a point on the surface. The two points have the same V value and different U values, namely U1 and U2, and then take the point with the UV value of (0.5*(U1+U2), V), denoted as pt3, and the center of the circle where ptHalf1, ptHalf2 and pt3 are located is recorded as the center point of the spline curve. Then, the center point of each segment of the spline surface is used to form the first vector and the second vector with the first endpoint discrete point and the second endpoint discrete point respectively. If the angle between the first vector and the second vector is greater than the preset angle, the spline surface is split into two new spline surfaces, and the center point of the new spline surface is re-determined until the angle between the first vector and the second vector of each segment of the spline surface is less than the preset angle. The center point of each segment of the spline surface is determined as the intermediate discrete point. The preset angle can be set according to needs. In this embodiment, 5 is taken as an example.

[0107] S603: Determine the endpoint discrete points and the middle discrete points as the medial axis discrete points.

[0108] S604, using the endpoint discrete points as endpoints and the middle discrete points as middle points to fit out the central axis.

[0109] In the specific implementation, the endpoint discrete points are used as endpoints, and the middle discrete points are used as middle points to fit the central axis. First, the middle discrete points of all spline curves are combined in the order of the surface to obtain all the discrete points of the middle part. Then the first endpoint discrete point pt_start is inserted to the front of points, and the second endpoint discrete point pt_end is inserted to the back of points. Finally, these discrete points are used to fit a spline curve, which is the central axis of the stabilizer bar. Because all the discrete points of points are the center of the cross section, that is, the central axis of the stabilizer bar. Then the spline curve of the central axis is obtained by using the fitting method of the spline curve. Using the method provided in this embodiment, the central axis of the geometric model of the stabilizer bar can be automatically obtained, and discrete points can be obtained by discretization according to the specified number of segments, and a discrete beam can be created, which simplifies the generation process of the discrete beam model and improves the accuracy and precision of the model.

[0110] like Figure 7 As shown in FIG. 1 , a method for generating a discrete beam model is shown, including:

[0111] S701. Determine the reference point and section type according to user settings.

[0112] In specific implementation, the reference point is the user input data used to calculate the local coordinate system of the section. The section type is the user selected data that determines the shape of the discrete beam cross section.

[0113] S702: Based on the preset section type and the reference point input by the user, a discrete beam model corresponding to the stabilizer bar model is generated using the center axis.

[0114] In specific implementation, first calculate the local coordinate system of the cross section, and then select two adjacent points ptStart and ptEnd of the discrete beam in sequence. The input reference point is ptOther. Then:

[0115] Z-axis vector: Vector_Z=(ptEnd.x–ptStart.x,ptEnd.y–ptStart.y,ptEnd.z–ptStart.z);

[0116] X-axis vector Vector_X=(ptOther.x–ptStart.x,ptOther.y–ptStart.y,ptOther.z–ptStart.z);

[0117] Y-axis vector Vector_Y = Vector_Z.Cross(Vector_X); (Cross means cross product)

[0118] Correct the X-axis vector again: Vector_X = Vector_Y.Cross(Vector_Z).

[0119] In this way, we get a local coordinate system with the origin as ptStart and the X, Y, and Z axes as Vector_X, Vector_Y, and Vector_Z respectively.

[0120] Then, according to the local coordinate system obtained in the previous step, a cross section face_section is generated in this coordinate system according to the section type, and this face_section is stretched in the Vector_Z direction, and the stretching height is the distance between ptStart and ptEnd, so that the geometric model of the discrete beam is generated. Finally, the center of mass of this geometric model is calculated, and the mechanical elements such as beam force of this discrete beam are created at the same time. Until all discrete beams are created.

[0121] In a method for creating a discrete beam model provided in this embodiment, a stabilizer bar model is first obtained, and then based on the stabilizer bar model, the central axis discrete points of the stabilizer bar model are determined, and then the central axis discrete points are used to form the central axis of the stabilizer bar model, and finally a discrete beam model corresponding to the stabilizer bar model is generated according to the central axis of the stabilizer bar model. When constructing a discrete beam model, the central axis of the stabilizer bar model is directly obtained using the stabilizer bar model, and the discrete beam model corresponding to the stabilizer bar model is generated using the central axis, which provides an automatic generation method for a discrete beam model, simplifies the generation process of the discrete beam model, and improves the accuracy and precision of the model.

[0122] Exemplary Devices

[0123] In an exemplary embodiment of the present specification, a discrete beam model creation device 800 is also provided, such as Figure 8 As shown, including:

[0124] An acquisition unit 801 is used to acquire a stabilizer bar model;

[0125] A determination unit 802 is used to determine the central axis discrete points of the stabilizer bar model based on the stabilizer bar model;

[0126] A forming unit 803 is used to form a central axis of the stabilizer bar model using the central axis discrete points;

[0127] The processing unit 804 is used to generate a discrete beam model corresponding to the stabilizer bar model according to the center axis of the stabilizer bar model.

[0128] In one implementation, the acquisition unit 801 is specifically configured to:

[0129] Get the geometric model;

[0130] The geometric model with the stabilizer bar topology structure is determined to be the stabilizer bar model.

[0131] In one implementation, the acquisition unit 801 is specifically configured to:

[0132] When the geometric model is a solid structure and there are a first surface and a second surface in the geometric model, the geometric model is determined to be a stabilizer bar model, wherein the first surface is a surface with a hole, and the second surface is a surface of a side wall of the hole.

[0133] In one implementation, the determining unit 802 is specifically configured to:

[0134] The center of the second surface is determined as the endpoint discrete point of the stabilizer bar model;

[0135] Determine the middle discrete points of the stabilizer bar model according to the multi-segment spline surface and the endpoint discrete points of the stabilizer bar model;

[0136] The endpoint discrete points and the middle discrete points are determined as the medial axis discrete points.

[0137] In one implementation, the endpoint discrete points include a first endpoint discrete point and a second endpoint discrete point, and the determining unit 802 is specifically configured to:

[0138] The first vector and the second vector are formed by using the center point of each segment of the spline surface and the first endpoint discrete point and the second endpoint discrete point respectively;

[0139] Splitting a spline surface whose included angle between the first vector and the second vector is greater than a preset angle into two target spline surfaces, and re-determining the center point of the target spline surface until the included angle between the first vector and the second vector of each segment of the spline surface is less than the preset angle;

[0140] The center point of each segment of the spline surface is determined as the middle discrete point.

[0141] In one implementation, the constituent unit 803 is specifically configured to:

[0142] The endpoint discrete points are taken as the endpoints and the middle discrete points are taken as the middle points to fit the central axis.

[0143] In one implementation, the processing unit 804 is specifically configured to:

[0144] Based on the preset section type and the reference point input by the user, the discrete beam model corresponding to the stabilizer bar model is generated using the center axis.

[0145] The device for creating a discrete beam model provided in this embodiment belongs to the same application concept as the method for creating a discrete beam model provided in the above embodiments of this application, and can execute the method for creating a discrete beam model provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the method for creating a discrete beam model. For technical details not fully described in this embodiment, please refer to the specific processing content of the method for creating a discrete beam model provided in the above embodiments of this application, and will not be repeated here.

[0146] Exemplary Devices

[0147] In an exemplary embodiment of the present specification, an electronic device is also provided, such as Fig. 9 As shown, the electronic device may include: a processor 910, a communication interface 920, a memory 930 and a communication bus 940, wherein the processor 910, the communication interface 920 and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call the logic instructions in the memory 930 to execute the method for creating a discrete beam model, which includes:

[0148] Get the stabilizer bar model;

[0149] Based on the stabilizer bar model, the central axis discrete points of the stabilizer bar model are determined;

[0150] The central axis of the stabilizer bar model is constructed by using the central axis discrete points;

[0151] A discrete beam model corresponding to the stabilizer bar model is generated according to the center axis of the stabilizer bar model.

[0152] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0153] Exemplary computer program products and storage media

[0154] In addition to the above-mentioned methods and devices, the method for creating a discrete beam model provided in the embodiments of the present specification may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method for creating a discrete beam model according to various embodiments of the present specification described in the above “Exemplary Method” section of the present specification.

[0155] The computer program product can be written in any combination of one or more programming languages ​​to write program codes for executing the operations of the embodiments of this specification, and the programming languages ​​include object-oriented programming languages, such as Java, C++, etc., and also include conventional procedural programming languages, such as "C" language or similar programming languages.

[0156] In addition, an embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps in the method for creating a discrete beam model according to various embodiments of the present specification described in the above "Exemplary Method" section of the present specification.

[0157] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this specification can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0158] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0159] The above-mentioned embodiments only express several implementation methods of this specification, and the descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the solutions provided by the embodiments of this specification. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of this specification, which all belong to the protection scope of this specification. Therefore, the protection scope of the patent of this specification shall be based on the attached claims.

Claims

1. A method for creating a discrete beam model, characterized in that: include: Get the stabilizer bar model; Based on the stabilizer bar model, determining the central axis discrete points of the stabilizer bar model; Using the central axis discrete points to form the central axis of the stabilizer bar model; A discrete beam model corresponding to the stabilizer bar model is generated according to the central axis of the stabilizer bar model.

2. The method according to claim 1, characterized in that The step of obtaining the stabilizer bar model comprises: Get the geometric model; The geometric model having a stabilizer bar topology structure is determined to be the stabilizer bar model.

3. The method according to claim 2, characterized in that The step of determining that the geometric model having the stabilizer bar topology structure is the stabilizer bar model includes: When the geometric model is a solid structure and there are a first surface and a second surface in the geometric model, the geometric model is determined to be the stabilizer bar model, wherein the first surface is a surface with a hole, and the second surface is a surface of a side wall of the hole.

4. The method according to claim 3, characterized in that The determining of the central axis discrete points of the stabilizer bar model based on the stabilizer bar model includes: Determine the center of the second surface as the endpoint discrete point of the stabilizer bar model; Determining the middle discrete points of the stabilizer bar model according to the multi-segment spline surface of the stabilizer bar model and the endpoint discrete points; The endpoint discrete points and the middle discrete points are determined as the medial axis discrete points.

5. The method according to claim 4, characterized in that The endpoint discrete points include a first endpoint discrete point and a second endpoint discrete point, and determining the intermediate discrete points of the stabilizer bar model according to the multi-segment spline surface of the stabilizer bar model and the endpoint discrete points includes: The first vector and the second vector are formed by using the center point of each segment of the spline surface and the first endpoint discrete point and the second endpoint discrete point respectively; Splitting the spline surface in which the angle between the first vector and the second vector is greater than a preset angle into two target spline surfaces, and re-determining the center point of the target spline surface until the angle between the first vector and the second vector of each segment of the spline surface is less than the preset angle; The center point of each segment of the spline surface is determined as the intermediate discrete point.

6. The method according to claim 5, characterized in that The method of using the central axis discrete points to form the central axis of the stabilizer bar model includes: The endpoint discrete points are taken as endpoints, and the middle discrete points are taken as middle points to fit the central axis.

7. The method according to claim 5, characterized in that The step of generating a discrete beam model corresponding to the stabilizer bar model according to the central axis of the stabilizer bar model comprises: Based on the preset cross-section type and the reference point input by the user, a discrete beam model corresponding to the stabilizer bar model is generated using the central axis.

8. A device for creating a discrete beam model, characterized in that: include: An acquisition unit, used for acquiring a stabilizer bar model; A determination unit, configured to determine a central axis discrete point of the stabilizer bar model based on the stabilizer bar model; A construction unit, used to construct the center axis of the stabilizer bar model using the center axis discrete points; A processing unit is used to generate a discrete beam model corresponding to the stabilizer bar model according to the center axis of the stabilizer bar model.

9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for creating a discrete beam model according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for creating a discrete beam model according to any one of claims 1 to 7.