Curved surface component splicing method, device and electronic equipment
By determining the interval equations represented by curves and surfaces, and calculating the intersection points between surface components, the problem of fast and accurate splicing of surface components of different sizes in surface splicing is solved, and the processing efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202211270737.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-10-17
AI Technical Summary
In surface modeling design, how to quickly and accurately seamlessly splice multiple surface components with different sizes and degrees of freedom is an important problem that needs to be solved.
By determining the target rational curve and the rational parameter curve and surface representation of the rational surface components, establish a system of interval equations, calculate the intersection point between the curve and the surface, determine the splicing target point, and determine the splicing curve based on this point to complete the splicing of the surface components. .
The processing efficiency and accuracy of splicing of curved surface parts are improved, and the intersection points between multiple curved surfaces can be quickly found to ensure the accuracy and smoothness of splicing.
Smart Images

Figure CN116070361B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of mechanical parts processing, and more specifically, to a curved surface component splicing method, device and electronic equipment. Background Art
[0002] It is widely used in mold modeling, aircraft, ships, automobiles and other curved surface parts. In the field of curved surface modeling, for some products with complex shapes, although their appearance is "integrated", their complexity determines that it cannot be composed of a single curved surface. Generally, it is composed of several or even dozens of free-form surfaces of different sizes. Splicing two surfaces is a key link in surface modeling design. How to make multiple surfaces of different sizes and different degrees of freedom be seamlessly spliced quickly and accurately is an important problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the present disclosure provides a curved component splicing method, a curved component splicing device, and an electronic device.
[0004] One aspect of the present disclosure provides a method for splicing curved surface components, comprising:
[0005] Determining a rational parametric curve representation of a target rational curve, wherein the target rational curve is a curve on the first rational surface component;
[0006] determining a rational parametric surface representation of the second rational surface component;
[0007] Based on the rational parametric curve representation and the rational parametric surface representation, determining an interval equation group, wherein the interval equation group is used to characterize the intersection relationship between the target rational curve and the second rational surface component;
[0008] Based on the interval equation group, determining at least one intersection point between the target rational curve and the second rational surface component;
[0009] Determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point; and
[0010] Based on the target point, a splicing curve between the first rational surface component and the second rational surface component is determined to complete the splicing between the first rational surface component and the second rational surface component.
[0011] According to an embodiment of the present disclosure, the above-mentioned interval equation group includes two surface parameters in the above-mentioned rational parameter surface representation and one curve parameter in the above-mentioned rational parameter curve representation;
[0012] The step of determining at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group includes:
[0013] Repeat the following operations until multiple predetermined curve parameter values in the interval threshold of the curve parameter represented by the rational parameter curve are calculated:
[0014] Acquire a predetermined curve parameter value from the plurality of predetermined curve parameter values as a target curve parameter value;
[0015] Based on the target curve parameter values and the interval equation group, a curve equation group about the two surface parameters is obtained;
[0016] Determine the solution interval of the curve equation group with respect to the two surface parameters; and
[0017] At least one intersection point between the target rational curve and the second rational surface component is determined based on the interval threshold of the curve parameter and the solution interval of at least one set of the two surface parameters.
[0018] According to an embodiment of the present disclosure, the determining of at least one intersection point between the rational curve and the second rational surface component based on the interval threshold of the curve parameter and the solution interval of at least one set of the two surface parameters comprises:
[0019] Based on the above interval equations, determine the verification formula;
[0020] Using the verification formula, determining the target solution interval of the curve parameter from the interval threshold; and
[0021] The target solution interval of the curve parameter and the solution interval of at least one set of the two surface parameters are used as at least one intersection point between the target rational curve and the second rational surface component.
[0022] According to an embodiment of the present disclosure, the target solution interval of the curve parameter is determined from the interval threshold using the verification formula, including:
[0023] The following operations are performed repeatedly until the solution interval of the above curve parameters meets the predetermined conditions:
[0024] Input the initial solution interval of the curve parameter and the solution intervals of the two surface parameters into the verification formula to obtain a conditional threshold, wherein the initial solution interval is the interval threshold;
[0025] When it is determined that the condition threshold satisfies the predetermined threshold, adjusting the solution interval of the curve parameter as the initial solution interval;
[0026] In the case where it is determined that the solution interval of the curve parameter satisfies the predetermined accuracy, determining that the solution interval of the curve parameter satisfies the predetermined condition; and
[0027] The solution interval of the curve parameter that satisfies the predetermined condition is used as the target solution interval of the curve parameter.
[0028] According to an embodiment of the present disclosure, the verification formula is determined based on the above interval equation group, including:
[0029] Based on the above rational parameter curve representation, determining a curve verification coordinate formula about the above target rational curve;
[0030] Based on the rational parametric surface representation, determining a surface verification coordinate formula for the second rational surface component; and
[0031] Based on the above curve verification coordinate formula and the above surface verification coordinate formula, the above verification formula is determined.
[0032] According to an embodiment of the present disclosure, the step of determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point includes:
[0033] Based on the rational parameter curve representation, determining the tangent vector representation of the target rational curve;
[0034] Determine the rational parametric surface representation, and determine the normal vector representation of the second rational surface component;
[0035] Determining whether the intersection point is a unique intersection point based on the tangent vector representation of the target curve and the normal vector representation of the second rational surface component; and
[0036] When it is determined that the intersection point is the only intersection point, the intersection point is used as the target point.
[0037] According to an embodiment of the present disclosure, the step of determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point further includes:
[0038] In the case where it is determined that the intersection point is not the only intersection point, generating a spatial model of the target rational curve and a spatial model of the second rational surface component based on the above and the above interval equation groups; and
[0039] Based on the spatial model of the target rational curve and the spatial model of the second rational surface component, the target point is determined.
[0040] According to an embodiment of the present disclosure, the above-mentioned interval equation group includes a first coordinate interval equation and a second coordinate interval equation;
[0041] Based on the above rational parameter curve representation and the above rational parameter surface representation, the interval equation group is determined, including:
[0042] Based on the rational parameter curve representation, determining a first coordinate formula and a second coordinate formula of the target rational curve;
[0043] Based on the rational parametric surface representation, determining a first surface coordinate formula and a second surface coordinate formula of the second rational surface component;
[0044] Determine the first coordinate interval equation of the interval equation group based on the first coordinate formula of the curve and the first coordinate formula of the surface;
[0045] Based on the second coordinate formula of the curve and the second coordinate formula of the surface, the second coordinate interval equation of the interval equation group is determined.
[0046] Another aspect of the present disclosure provides a curved component splicing device, comprising:
[0047] A first representation determination module, used to determine a rational parameter curve representation of a target rational curve, wherein the target rational curve is a curve on the first rational surface component;
[0048] A second representation determination module, used to determine a rational parametric surface representation of a second rational surface component;
[0049] An equation group determination module, used for determining an interval equation group based on the rational parameter curve representation and the rational parameter surface representation, wherein the interval equation group is used for characterizing the intersection relationship between the target rational curve and the second rational surface component;
[0050] A first point determination module, used for determining at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group;
[0051] A second point determination module is used to determine a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point; and
[0052] The splicing module is used to determine the splicing curve between the first rational surface component and the second rational surface component based on the target point, and complete the splicing between the first rational surface component and the second rational surface component.
[0053] Another aspect of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more processors, the one or more processors implement the method as described above.
[0054] According to the embodiments of the present disclosure, the rational parameter curve representation of the target rational curve is determined; the rational parameter surface representation of the second rational surface component is determined; based on the rational parameter curve representation and the rational parameter surface representation, an interval equation group is determined; based on the interval equation group, at least one intersection point between the target rational curve and the second rational surface component is determined; from the at least one intersection point, a target point for splicing between the first rational surface component and the second rational surface component is determined; and based on the target point, a splicing curve between the first rational surface component and the second rational surface component is determined to complete the splicing between the first rational surface component and the second rational surface component. The interval equation group is determined by the rational parameter curve representation and the rational parameter surface representation, and the interval equation group includes curve parameters and surface parameters, which are parametric equations. Therefore, the interval equation group is used to determine at least one intersection point between the target rational curve and the second rational surface component, which has the effect of fast processing speed and high processing accuracy. Furthermore, the surface component splicing method provided by the embodiments of the present disclosure can improve processing efficiency while improving processing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0056] Figure 1 A flow chart of a method for splicing curved surface components according to an embodiment of the present disclosure is schematically shown;
[0057] Figure 2A , 2B 2C and 2C schematically show curve diagrams determined by a curve equation group according to an embodiment of the present disclosure;
[0058] Figure 3A , 3B 3C and 3C schematically show schematic diagrams of the second curved surface component according to an embodiment of the present disclosure being a biquadric surface and intersecting with a target rational curve, wherein: Figure 3A The target rational curve in is a quadratic curve. Figure 3B The target rational curve in is a cubic curve line type, Figure 3C The target rational curve in is a quintic curve line type;
[0059] Figure 4A , 4B4C schematically show the second curved surface component according to the embodiment of the present disclosure as a bicubic surface, and the schematic diagram of the intersection with the target rational curve, wherein: Figure 4A The target rational curve in is a quadratic curve. Figure 4B The target rational curve in is a cubic curve line type, Figure 4C The target rational curve in is a quintic curve line type;
[0060] Figure 5A , 5B 5C schematically show the second curved surface component according to the embodiment of the present disclosure as a double quintic surface, and the schematic diagram of the intersection with the target rational curve, wherein: Figure 5A The target rational curve in is a quadratic curve. Figure 5B The target rational curve in is a cubic curve line type, Figure 5C The target rational curve in is a quintic curve line type;
[0061] Fig. 6A A schematic diagram schematically shows a tangent point between a second curved surface component and a target rational curve according to an embodiment of the present disclosure;
[0062] Figure 6B A schematic diagram schematically shows an embedding relationship between a target rational curve and a second curved surface component according to an embodiment of the present disclosure;
[0063] Figure 7 A block diagram schematically shows a curved component splicing device according to an embodiment of the present disclosure; and
[0064] Figure 8 A block diagram of an electronic device 800 according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0065] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0066] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0067] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0068] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0069] The embodiment of the present disclosure provides a method for splicing surface components. The method includes determining a rational parameter curve representation of a target rational curve, wherein the target rational curve is a curve on a first rational surface component; determining a rational parameter surface representation of a second rational surface component; determining an interval equation group based on the rational parameter curve representation and the rational parameter surface representation, wherein the interval equation group is used to characterize the intersection relationship between the target rational curve and the second rational surface component; determining at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group; determining a target point for splicing between the first rational surface component and the second rational surface component from at least one intersection point; and determining a splicing curve between the first rational surface component and the second rational surface component based on the target point, and completing the splicing between the first rational surface component and the second rational surface component.
[0070] Figure 1 A flow chart of a method for splicing curved surface parts according to an embodiment of the present disclosure is schematically shown.
[0071] like Figure 1 As shown, the method includes operations S101 to S106.
[0072] In operation S101 , a rational parametric curve representation of a target rational curve is determined, wherein the target rational curve is a curve on a first rational surface component.
[0073] According to an embodiment of the present disclosure, the first rational surface component and the second rational surface component described below can be curved surface components of the type of molds, airplanes, ships, cars, etc. In the field of curved surface modeling, for some products with complex shapes, although their appearance is "integrated", their complexity determines that it cannot be composed of a single curved surface component, and generally needs to be spliced from several or even more than a dozen free-form surface components of different sizes. To seamlessly splice two curved surface components, the first task is to determine the intersection curve between the two curved surface components. In the process of determining the intersection curve between two curved surface components, one of the curved surface components can be divided into multiple rational curves, and the intersection point between the rational curve and the other curved surface component is determined, and the intersection curve is determined by multiple intersection points.
[0074] According to the embodiments of the present disclosure, a target rational curve can be determined on the first rational surface component, and the intersection point between the target rational curve and the second rational surface component can be determined by using the surface component splicing method provided by the embodiments of the present disclosure. Then, the intersection curve between the first rational surface component and the second rational surface component can be determined through the intersection point, and the splicing work between the two surface components can be completed.
[0075] According to an embodiment of the present disclosure, a rational parameter curve representation of a target rational curve can be determined based on the geometric data of the target rational curve. For example, the rational parameter curve representation of the target rational curve is L(t), where the curve parameter in the rational parameter curve representation is t, t∈[0,1]. The degree of L(t) is r, and L(t) is defined as the following formula (1).
[0076]
[0077] In operation S102 , a rational parametric surface representation of a second rational surface component is determined.
[0078] According to an embodiment of the present disclosure, the rational parametric surface representation of the second rational surface component can be determined based on the geometric data such as curvature and edge curve in the second rational surface component. For example, the rational parametric surface representation R(u, v) of the second rational surface component is determined based on the geometric data of the second rational surface component, where u and v are surface parameters in the rational parametric surface representation. (u, v)∈[0,1]×[0,1], R(u,v) is called the degree (m,n) as defined in formula (2).
[0079]
[0080] Among them, F1(u, v), F2(u, v), F3(u, v), F4(u, v) are bivariate polynomials with the degree of u not greater than m and the degree of v not greater than n, and they are linearly independent, and gcd(F1, F2, F3, F4) = 1.
[0081] In operation S103, an interval equation group is determined based on the rational parametric curve representation and the rational parametric surface representation, wherein the interval equation group is used to characterize the intersection relationship between the target rational curve and the second rational surface component.
[0082] According to an embodiment of the present disclosure, the interval equation group can be expressed as: L(t)=R(u,v).
[0083] In operation S104, at least one intersection point between the target rational curve and the second rational surface component is determined based on the interval equation group.
[0084] In operation S105 , a target point for splicing between the first rational surface component and the second rational surface component is determined from at least one intersection point.
[0085] In operation S106, based on the target point, a splicing curve between the first rational surface component and the second rational surface component is determined to complete the splicing between the first rational surface component and the second rational surface component.
[0086] According to the embodiments of the present disclosure, there are multiple ways to determine the splicing curve between the first rational surface component and the second rational surface component, such as segmentation method, tracking method, etc. Taking the tracking method as an example, after a point on the intersection line is known, such as a target point on the intersection line, the local geometric characteristics of the intersecting surface are used to infer the approximate value of the next adjacent point, and multiple intersection points are obtained by iterative method until the boundary of the segmented piece of the surface component or the singular point on the intersection line is reached.
[0087] It should be noted that the method of determining the target rational curve from the first rational surface component can be determined according to the method of obtaining the splicing curve. The method of determining the target rational curve from the first rational surface component can be consistent with the method of obtaining the splicing curve without specific limitation.
[0088] According to an embodiment of the present disclosure, the interval equation group is determined by a rational parameter curve representation and a rational parameter surface representation, and the interval equation group includes curve parameters and surface parameters, which are parametric equations. Compared with implicit equations, using the interval equation group to determine at least one intersection point between the target rational curve and the second rational surface component has the effects of fast processing speed and high processing accuracy. Furthermore, using the surface component splicing method provided by the embodiment of the present disclosure can improve processing efficiency while improving processing accuracy.
[0089] Refer to Figure 2 below. Figure 6B , combined with specific embodiments Figure 1 The method shown is further explained.
[0090] According to an embodiment of the present disclosure, the interval equation group includes a first coordinate interval equation and a second coordinate interval equation.
[0091] According to an embodiment of the present disclosure, with respect to operation S103, determining a group of interval equations based on a rational parameter curve representation and a rational parameter surface representation may include the following operations.
[0092] For example, based on the rational parameter curve representation, determine the first coordinate formula and the second coordinate formula of the curve about the target rational curve. Based on the rational parameter surface representation, determine the first coordinate formula and the second coordinate formula of the surface about the second rational surface component. Based on the first coordinate formula of the curve and the first coordinate formula of the surface, determine the first coordinate interval equation of the interval equation group. Based on the second coordinate formula of the curve and the second coordinate formula of the surface, determine the second coordinate interval equation of the interval equation group.
[0093] The rational parametric curve is expressed as: The rational parametric surface is represented as:
[0094] According to an embodiment of the present disclosure, the first coordinate formula of the curve is: The second coordinate formula of the curve is:
[0095] According to an embodiment of the present disclosure, the first coordinate formula of the curved surface is: The second coordinate formula of the surface:
[0096] According to an embodiment of the present disclosure, the first coordinate interval equation is: The equation for the second coordinate interval is:
[0097] According to an embodiment of the present disclosure, the interval equation group includes two surface parameters in the rational parameter surface representation, such as u and v, and one curve parameter in the rational parameter curve representation, such as t.
[0098] According to the embodiments of the present disclosure, Figure 1 The operation S104 shown, determining at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group, may include the following operations.
[0099] For example, the following operations are repeatedly performed until multiple predetermined curve parameter values in the interval threshold of the curve parameter represented by the rational parameter curve are calculated: a predetermined curve parameter value is obtained from the multiple predetermined curve parameter values as the target curve parameter value. Based on the target curve parameter value and the interval equation group, a curve equation group about two surface parameters is obtained. The solution interval of the curve equation group about the two surface parameters is determined.
[0100] and determining at least one intersection point between the target rational curve and the second rational surface component based on an interval threshold of the curve parameter and a solution interval of each of at least one set of two surface parameters.
[0101] According to an embodiment of the present disclosure, the interval threshold of the curve parameter t represented by the rational parameter curve may be I, and the predetermined curve parameter value may be, for example, t′, t′∈I. The more predetermined curve parameter values are determined, the more curve equation groups about the two surface parameters are obtained, and thus, the greater the probability of the intersection point that may be obtained.
[0102] According to an embodiment of the present disclosure, the predetermined curve parameter value is used as the target curve parameter value and substituted into the interval equation group to obtain the curve equation group about the two surface parameters u and v. For example, the curve equation group is:
[0103] According to an embodiment of the present disclosure, the operation of determining the solution intervals of the curve equation group with respect to the two surface parameters may be repeatedly performed until all predetermined curve parameter values are calculated.
[0104] Figure 2A , 2B 2C and 2C respectively schematically show curve schematic diagrams determined by the curve equation group according to an embodiment of the present disclosure.
[0105] like Figure 2A and Figure 2C As shown, the solution intervals of the two surface parameters of the interval equations can be determined, such as Figure 2B As shown, different numbers of predetermined curve parameter values or uncertain intervals between multiple predetermined curve parameter values will result in missing solutions in the curve equation group, thereby failing to obtain a complete number of solution intervals for the two surface parameters.
[0106] According to the embodiments of the present disclosure, by repeatedly performing operations, the probability of determining the intersection point can be increased, thereby avoiding the problem of missing solutions.
[0107] According to an embodiment of the present disclosure, determining a verification formula based on a group of interval equations may include the following operations.
[0108] For example, based on the rational parameter curve representation, a curve verification coordinate formula for the target rational curve is determined. Based on the rational parameter surface representation, a surface verification coordinate formula for the second rational surface component is determined. Based on the curve verification coordinate formula and the surface verification coordinate formula, a verification formula is determined.
[0109] According to an embodiment of the present disclosure, the curve verification coordinate formula is: The surface verification coordinate formula is:
[0110] According to an embodiment of the present disclosure, the verification formula is:
[0111] According to an embodiment of the present disclosure, determining at least one intersection point between a target rational curve and a second rational surface component based on an interval threshold of a curve parameter and respective solution intervals of at least one set of two surface parameters may include the following operations.
[0112] For example, based on the interval equation group, a verification formula is determined. Using the verification formula, a target solution interval of the curve parameter is determined from the interval threshold. The target solution interval of the curve parameter and the solution intervals of at least one set of two surface parameters are used as at least one intersection point between the rational curve and the second rational surface component.
[0113] According to the embodiments of the present disclosure, a verification formula can be used to determine the target solution interval of the curve parameter from the interval threshold. Based on the verification formula, the sub-interval threshold that does not contain the target solution interval is excluded to avoid unnecessary interval subdivision and improve processing efficiency.
[0114] As an alternative example, the parameters in the rational parameter curve representation can be substituted into the rational parameter surface representation to obtain the matrix determinant. The real roots of the matrix determinant are isolated by assigning points and checking the signs. For example, by checking the positive and negative results of the endpoints of the parameter interval thresholds in the two matrix determinants, it is determined whether there are real roots within the parameter interval threshold.
[0115] The method of using the difference in the sign of the result to determine whether there are real roots in the parameter interval threshold is prone to missing some roots, and the parameter interval threshold needs to be subdivided at the beginning, resulting in slow processing efficiency. Compared with the method of using the difference in the sign of the result to determine whether there are real roots in the parameter interval threshold, the surface component splicing method provided by the embodiment of the present disclosure uses the verification formula to determine the target solution interval of the curve parameter from the interval threshold, and can exclude the sub-interval threshold that does not contain the target solution interval, thereby improving the processing efficiency and the determination accuracy.
[0116] According to an embodiment of the present disclosure, determining a target solution interval of a curve parameter from an interval threshold using a verification formula may include the following operations.
[0117] For example, the following operations are performed cyclically until the solution interval of the curve parameter meets the predetermined conditions:
[0118] The initial solution interval of the curve parameter and the solution intervals of the two surface parameters are input into the verification formula to obtain the conditional threshold, wherein the initial solution interval is the interval threshold. When it is determined that the conditional threshold satisfies the predetermined threshold, the solution interval of the curve parameter is adjusted as the initial solution interval. When it is determined that the solution interval of the curve parameter satisfies the predetermined accuracy, it is determined that the solution interval of the curve parameter satisfies the predetermined condition.
[0119] And the solution interval of the curve parameter that meets the predetermined condition is used as the target solution interval of the curve parameter.
[0120] According to an embodiment of the present disclosure, the solution intervals of the two surface parameters may include: the solution interval of the surface parameter u is: (u0, u1), the solution interval of the surface parameter v is: (v0, v1). The initial solution interval of the curve parameter is I.
[0121] According to an embodiment of the present disclosure, the initial solution interval of the curve parameter and the solution intervals of the two surface parameters are input into the verification formula, and the conditional threshold value obtained is:
[0122] According to an embodiment of the present disclosure, the condition threshold meeting the predetermined threshold may be: On the contrary, the condition threshold does not meet the predetermined threshold can be:
[0123] According to an embodiment of the present disclosure, when the condition threshold satisfies the predetermined threshold, it indicates that there is an intersection point in the initial solution interval, and further operations can be performed. When the condition threshold does not satisfy the predetermined threshold, it indicates that there is no intersection point in the initial solution interval, and the initial solution interval can be excluded.
[0124] According to an embodiment of the present disclosure, when it is determined that the condition threshold satisfies a predetermined threshold, adjusting the solution interval of the curve parameter may include: reducing the initial solution interval according to a predetermined reduction interval ratio or a predetermined reduction interval threshold. There is no specific limitation on this, and it can be determined according to actual conditions.
[0125] According to an embodiment of the present disclosure, the reduced solution interval is used as the initial solution interval, and Newton iteration is performed until the solution interval of the curve parameter meets the predetermined accuracy. When it is determined that the solution interval of the curve parameter meets the predetermined accuracy, it is determined that the solution interval of the curve parameter meets the predetermined condition.
[0126] According to an embodiment of the present disclosure, the solution interval of the curve parameter satisfies the predetermined accuracy, which may mean that the range of the solution interval of the curve parameter reaches a predetermined range threshold. The solution interval of the curve parameter that reaches the predetermined range threshold can be combined with the solution intervals of the two surface parameters to serve as the intersection point between the target rational curve and the second surface component.
[0127] According to the embodiments of the present disclosure, the above method can be used to quickly eliminate non-solution areas using a verification formula. In addition, a loop iteration method can be used to ensure that intersection points are not missed, thereby improving processing efficiency while ensuring that the determined intersection points are not missed.
[0128] According to an embodiment of the present disclosure, determining a target point for splicing between a first rational surface component and a second rational surface component from at least one intersection point may include the following operations.
[0129] For example, based on the rational parametric curve representation, a tangent vector representation of the target rational curve is determined. A rational parametric surface representation is determined, and a normal vector representation of the second rational surface component is determined. Based on the tangent vector representation of the target curve and the normal vector representation of the second rational surface component, it is determined whether the intersection point is the only intersection point. If it is determined that the intersection point is the only intersection point, the intersection point is used as the target point.
[0130] According to an embodiment of the present disclosure, determining whether the intersection point is a unique intersection point based on the tangent vector representation of the target curve and the normal vector representation of the second rational surface component may include: determining an intersection point verification formula based on the tangent vector representation of the target curve and the normal vector representation of the second rational surface component. Determining whether the intersection point is a unique intersection point based on the intersection point verification formula, the target solution interval of the curve parameter, and the solution intervals of the two surface parameters.
[0131] According to an embodiment of the present disclosure, the tangent vector representation may be: The normal vector representation can be:
[0132] According to an embodiment of the present disclosure, the intersection point verification formula may be:
[0133] According to an embodiment of the present disclosure, based on the intersection point verification formula, the target solution interval (t0, t1) of the curve parameter and the solution intervals of the two surface parameters, for example, the solution interval of the surface parameter u is: (u0, u1), and the solution interval of the surface parameter v is: (v0, v1), determining whether the intersection point is the only intersection point may include: In the case of , the intersection point is determined to be the only intersection point. In the case of , it is determined that the intersection point is not the only intersection point.
[0134] According to the embodiments of the present disclosure, the uniqueness of the intersection point can be determined by using the positional relationship between the tangent vector representation of the target curve and the normal vector representation of the second rational surface component at the intersection point, thereby further improving the accuracy of determining the intersection point.
[0135] According to an embodiment of the present disclosure, the above intersection point verification formula may also be used to determine whether the intersection point is a tangent point.
[0136] For example, Then the intersection point (t0, u0, v0) is the tangent point.
[0137] According to the embodiments of the present disclosure, by using the above intersection point verification formula, the accuracy of determining the intersection points can be improved while improving the diversity of determining the intersection points, enriching the processing results, so that the streamlined splicing of the first curved surface component and the second curved surface component can be made smoother.
[0138] According to an embodiment of the present disclosure, determining a target point for splicing between a first rational surface component and a second rational surface component from at least one intersection point may further include the following operations.
[0139] For example, when it is determined that the intersection point is not the only intersection point, a spatial model of the target rational curve and a spatial model of the second rational surface component are generated based on the sum of interval equations. Based on the spatial model of the target rational curve and the spatial model of the second rational surface component, a target point is determined.
[0140] According to an embodiment of the present disclosure, when it is determined that the intersection point is not the only intersection point, the spatial model of the target rational curve and the spatial model of the second rational surface component in the same coordinate system can be drawn in drawing software, for example, using CAD management software Computer Aided Design (MS-CAD), and the target point can be determined through the actual intersection model.
[0141] According to an embodiment of the present disclosure, the target point is determined by using a spatial model in the same coordinate system, so that the determination accuracy of the target point can be improved in the case of multiple suspected solutions.
[0142] Figure 3A , 3B 3C and 3C schematically show schematic diagrams of the second curved surface component according to an embodiment of the present disclosure being a biquadric surface and intersecting with a target rational curve, wherein: Figure 3A The target rational curve in is a quadratic curve. Figure 3B The target rational curve in is a cubic curve line type, Figure 3C The target rational curve in is a quintic curve line type.
[0143] Figure 4A , 4B 4C schematically show the second curved surface component according to the embodiment of the present disclosure as a bicubic surface, and the schematic diagram of the intersection with the target rational curve, wherein: Figure 4A The target rational curve in is a quadratic curve. Figure 4B The target rational curve in is a cubic curve line type, Figure 4C The target rational curve in is a quintic curve line type.
[0144] Figure 5A , 5B5C schematically show the second curved surface component according to the embodiment of the present disclosure as a double quintic surface, and the schematic diagram of the intersection with the target rational curve, wherein: Figure 5A The target rational curve in is a quadratic curve. Figure 5B The target rational curve in is a cubic curve line type, Figure 5C The target rational curve in is a quintic curve line type.
[0145] like Figure 3A , 3B , 3C, 4A, 4B, 4C, 5A, 5B and 5C, using the surface component splicing method provided by the embodiment of the present disclosure, it can be determined that the second surface component is a bicubic surface type, a biquadric surface type and a biquintic surface type, and the intersection points between the target rational curves are a quadratic curve type, a cubic curve type and a quintic curve type. The surface component splicing method provided by the embodiment of the present disclosure can adapt to the splicing between multiple types of surface components and has a wide range of applications.
[0146] Fig. 6A A schematic diagram schematically shows a tangent point between a second curved surface component and a target rational curve according to an embodiment of the present disclosure.
[0147] Figure 6B The diagram schematically shows an embedding relationship between a target rational curve and a second curved surface component according to an embodiment of the present disclosure.
[0148] like Fig. 6A and 6B As shown, by using the surface component splicing method provided by the embodiment of the present disclosure, it is possible to determine whether the intersection point between the second surface component and the target rational curve is a tangent point, and it is also possible to determine whether the second surface component and the target rational curve are in an embedded relationship. The surface component splicing method provided by the embodiment of the present disclosure can adapt to the splicing between multiple types of surface components and has a wide range of applications.
[0149] It should be noted that, unless it is explicitly stated that there is a sequence of execution between different operations shown in the flowchart in the embodiments of the present disclosure, or there is a sequence of execution between different operations in technical implementation, otherwise, the execution order of multiple operations may not be prioritized, and multiple operations may also be executed simultaneously.
[0150] Figure 7 A block diagram of a curved component splicing device according to an embodiment of the present disclosure is schematically shown.
[0151] like Figure 7As shown, the curved surface component splicing device 700 includes a first representation determination module 710, a second representation determination module 720, an equation group determination module 730, a first point determination module 740, a second point determination module 750 and a splicing module 760.
[0152] The first representation determination module 710 is used to determine a rational parametric curve representation of a target rational curve, wherein the target rational curve is a curve on the first rational surface component.
[0153] The second representation determination module 720 is used to determine the rational parametric surface representation of the second rational surface component.
[0154] The equation group determination module 730 is used to determine an interval equation group based on the rational parametric curve representation and the rational parametric surface representation, wherein the interval equation group is used to characterize the intersection relationship between the target rational curve and the second rational surface component.
[0155] The first point determination module 740 is used to determine at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group.
[0156] The second point determination module 750 is used to determine a target point for splicing between the first rational surface component and the second rational surface component from at least one intersection point.
[0157] The splicing module 760 is used to determine a splicing curve between the first rational surface component and the second rational surface component based on the target point, and complete the splicing between the first rational surface component and the second rational surface component.
[0158] According to an embodiment of the present disclosure, the interval equation group includes two surface parameters in the rational parameter surface representation and one curve parameter in the rational parameter curve representation.
[0159] According to an embodiment of the present disclosure, the first point determination module includes a predetermined curve parameter value calculation submodule and a first point determination submodule.
[0160] The predetermined curve parameter value calculation submodule is used to repeatedly perform the following operations until multiple predetermined curve parameter values in the interval threshold of the curve parameter represented by the rational parameter curve are calculated:
[0161] Acquire a predetermined curve parameter value from a plurality of predetermined curve parameter values as a target curve parameter value;
[0162] Based on the target curve parameter values and the interval equation group, a curve equation group about two surface parameters is obtained;
[0163] Determine the interval of solutions for the system of equations for the curve with respect to each of the two surface parameters.
[0164] The first point determination submodule is used to determine at least one intersection point between the target rational curve and the second rational surface component based on the interval threshold of the curve parameter and the solution interval of each of at least one set of two surface parameters.
[0165] According to an embodiment of the present disclosure, the first point determination submodule includes a verification formula determination unit, a target solution interval determination unit and a first point determination unit.
[0166] The verification formula determination unit is used to determine the verification formula based on the interval equation group.
[0167] The target solution interval determination unit is used to determine the target solution interval of the curve parameter from the interval threshold value by using the verification formula.
[0168] The first point determination unit is used to use the target solution interval of the curve parameter and the solution intervals of at least one set of two surface parameters as at least one intersection point between the rational curve and the second rational surface component.
[0169] According to an embodiment of the present disclosure, the target solution interval determining unit includes a solution interval satisfying a predetermined condition determining subunit and a target solution interval determining subunit.
[0170] The solution interval satisfies the predetermined condition determination subunit, which is used to cyclically perform the following operations until the solution interval of the curve parameter satisfies the predetermined condition:
[0171] Input the initial solution interval of the curve parameter and the solution intervals of the two surface parameters into the verification formula to obtain the conditional threshold, where the initial solution interval is the interval threshold;
[0172] When it is determined that the condition threshold satisfies the predetermined threshold, the solution interval of the curve parameter is adjusted as the initial solution interval;
[0173] In the case where the solution interval of the determined curve parameters satisfies a predetermined accuracy, the solution interval of the determined curve parameters satisfies a predetermined condition.
[0174] The target solution interval determination subunit is used to use the solution interval of the curve parameter that meets the predetermined condition as the target solution interval of the curve parameter.
[0175] According to an embodiment of the present disclosure, the verification formula determination unit includes a curve verification coordinate formula determination subunit, a surface verification coordinate formula determination subunit, and a verification formula determination subunit.
[0176] The curve verification coordinate formula determination subunit is used to determine the curve verification coordinate formula about the target rational curve based on the rational parameter curve representation.
[0177] The surface verification coordinate formula determining subunit is used to determine the surface verification coordinate formula about the second rational surface component based on the rational parametric surface representation.
[0178] The verification formula determination subunit is used to determine the verification formula based on the curve verification coordinate formula and the surface verification coordinate formula.
[0179] According to an embodiment of the present disclosure, the second point determination module includes a tangent vector representation determination submodule, a normal vector representation determination submodule, a unique intersection point determination submodule, and a target point determination submodule.
[0180] The tangent vector representation determination submodule is used to determine the tangent vector representation of the target rational curve based on the rational parameter curve representation.
[0181] The normal vector representation determination submodule is used to determine the rational parametric surface representation and determine the normal vector representation of the second rational surface component.
[0182] The unique intersection point determination submodule is used to determine whether the intersection point is a unique intersection point based on the tangent vector representation of the target curve and the normal vector representation of the second rational surface component.
[0183] The target point first determination submodule is used to take the intersection point as the target point when it is determined that the intersection point is the only intersection point.
[0184] According to an embodiment of the present disclosure, the second point determination module further includes a space model generation submodule and a second target point determination submodule.
[0185] The spatial model generation submodule is used to generate the spatial model of the target curve and the second rational surface component spatial model based on the sum of interval equations when it is determined that the intersection point is not the only intersection point.
[0186] The second target point determination submodule is used to determine the target point based on the spatial model of the target curve and the second rational surface component spatial model.
[0187] According to an embodiment of the present disclosure, the interval equation group includes a first coordinate interval equation and a second coordinate interval equation.
[0188] According to an embodiment of the present disclosure, the equation group determination module includes a curve coordinate formula determination submodule, a surface coordinate formula determination submodule, a first coordinate interval equation determination submodule, and a second coordinate interval equation determination submodule.
[0189] The curve coordinate formula determination submodule is used to determine the first curve coordinate formula and the second curve coordinate formula of the target rational curve based on the rational parameter curve representation.
[0190] The surface coordinate formula determination submodule is used to determine the first surface coordinate formula and the second surface coordinate formula of the second rational surface component based on the rational parametric surface representation.
[0191] The first coordinate interval equation determination submodule is used to determine the first coordinate interval equation of the interval equation group based on the first coordinate formula of the curve and the first coordinate formula of the surface.
[0192] The second coordinate interval equation determination submodule is used to determine the second coordinate interval equation of the interval equation group based on the second coordinate formula of the curve and the second coordinate formula of the surface.
[0193] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0194] For example, any of the identification signal sending module 410, the identification signal receiving module 420, the identification module 430, and the information signal transceiver module 440 can be combined in one module / unit / subunit, or any of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the identification signal sending module 410, the identification signal receiving module 420, the identification module 430, and the information signal transceiver module 440 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware and firmware or by a suitable combination of any of them. Alternatively, at least one of the identity signal sending module 410, the identity signal receiving module 420, the identity module 430, and the information signal transceiving module 440 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0195] It should be noted that the curved component splicing device part in the embodiment of the present disclosure corresponds to the curved component splicing method part in the embodiment of the present disclosure. The description of the curved component splicing device part specifically refers to the curved component splicing method part, which will not be repeated here.
[0196] Figure 8 A block diagram of a computer system suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 8 The computer system shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0197] like Figure 8As shown, the computer system 800 according to the embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to the embodiment of the present disclosure.
[0198] In RAM 803, various programs and data required for the operation of system 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other through bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0199] According to an embodiment of the present disclosure, the system 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The system 800 may further include one or more of the following components connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.
[0200] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0201] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0202] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0203] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 802 and / or the RAM 803 described above and / or one or more memories other than the ROM 802 and the RAM 803 .
[0204] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method provided by the embodiment of the present disclosure. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the curved component splicing method provided by the embodiment of the present disclosure.
[0205] When the computer program is executed by the processor 801, the above functions defined in the system / device of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0206] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0207] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0208] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0209] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for splicing curved surface components, comprising: Determining a rational parametric curve representation of a target rational curve, wherein the target rational curve is a curve on a first rational surface component; determining a rational parametric surface representation of the second rational surface component; Determining an interval equation group based on the rational parametric curve representation and the rational parametric surface representation, wherein the interval equation group is used to characterize the intersection relationship between the target rational curve and the second rational surface component; Based on the interval equation system, determining at least one intersection point between the target rational curve and the second rational surface component; Determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point; and Based on the target point, determining a splicing curve between the first rational surface component and the second rational surface component, and completing the splicing between the first rational surface component and the second rational surface component; Wherein, the interval equation group includes two surface parameters in the rational parameter surface representation and one curve parameter in the rational parameter curve representation; The determining, based on the interval equation group, at least one intersection point between the target rational curve and the second rational surface component comprises: Repeat the following operations until multiple predetermined curve parameter values in the interval threshold of the curve parameter represented by the rational parameter curve are calculated: Acquire a predetermined curve parameter value from the plurality of predetermined curve parameter values as a target curve parameter value; Based on the target curve parameter values and the interval equation group, a curve equation group related to the two surface parameters is obtained; Determining the solution interval of the curve equation group with respect to each of the two surface parameters; and determining at least one intersection point between the target rational curve and the second rational surface component based on an interval threshold of the curve parameter and a solution interval of each of at least one set of the two surface parameters; Wherein, determining at least one intersection point between the rational curve and the second rational surface component based on the interval threshold of the curve parameter and at least one set of solution intervals of the two surface parameters comprises: Based on the interval equation group, determining a verification formula; Using the verification formula, determining a target solution interval of the curve parameter from the interval threshold; and Using the target solution interval of the curve parameter and the solution interval of at least one set of the two surface parameters as at least one intersection point between the rational curve and the second rational surface component; Wherein, determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point comprises: Determining a tangent vector representation of the target rational curve based on the rational parametric curve representation; Determining the rational parametric surface representation, and determining a normal vector representation of the second rational surface component; Determining whether the intersection point is a unique intersection point based on the tangent vector representation of the target rational curve and the normal vector representation of the second rational surface component; and When it is determined that the intersection point is the only intersection point, the intersection point is used as the target point.
2. The method according to claim 1, wherein: The step of using the verification formula to determine a target solution interval of the curve parameter from the interval threshold comprises: The following operations are performed cyclically until the solution interval of the curve parameter meets the predetermined condition: Inputting the initial solution interval of the curve parameter and the solution intervals of the two surface parameters into the verification formula to obtain a conditional threshold, wherein the initial solution interval is the interval threshold; When it is determined that the condition threshold satisfies a predetermined threshold, adjusting the solution interval of the curve parameter as the initial solution interval; In the case where it is determined that the solution interval of the curve parameter satisfies the predetermined accuracy, determining that the solution interval of the curve parameter satisfies the predetermined condition; and The solution interval of the curve parameter that meets the predetermined condition is used as the target solution interval of the curve parameter.
3. The method according to claim 1, wherein: The step of determining a verification formula based on the interval equation group includes: Determining a curve verification coordinate formula about the target rational curve based on the rational parameter curve representation; Determining a surface verification coordinate formula for the second rational surface component based on the rational parametric surface representation; and The verification formula is determined based on the curve verification coordinate formula and the surface verification coordinate formula.
4. The method according to claim 1, wherein: The step of determining a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point further includes: In the case where it is determined that the intersection point is not the only intersection point, generating a spatial model of the target rational curve and a spatial model of the second rational surface component based on the and the interval equation group; and The target point is determined based on the spatial model of the target rational curve and the spatial model of the second rational surface component.
5. The method according to claim 1, wherein: The interval equation group includes a first coordinate interval equation and a second coordinate interval equation; The determining of the interval equation group based on the rational parameter curve representation and the rational parameter surface representation comprises: Based on the rational parameter curve representation, determining a first curve coordinate formula and a second curve coordinate formula with respect to the target rational curve; Based on the rational parametric surface representation, determining a first surface coordinate formula and a second surface coordinate formula of the second rational surface component; Determine the first coordinate interval equation of the interval equation group based on the first coordinate formula of the curve and the first coordinate formula of the surface; Based on the second coordinate formula of the curve and the second coordinate formula of the surface, the second coordinate interval equation of the interval equation group is determined.
6. A curved component splicing device, comprising: A first representation determination module, used to determine a rational parameter curve representation of a target rational curve, wherein the target rational curve is a curve on a first rational surface component; A second representation determination module, used to determine a rational parametric surface representation of a second rational surface component; An equation group determination module, used for determining an interval equation group based on the rational parametric curve representation and the rational parametric surface representation, wherein the interval equation group is used for characterizing the intersection relationship between the target rational curve and the second rational surface component; a first point determination module, configured to determine at least one intersection point between the target rational curve and the second rational surface component based on the interval equation group; A second point determination module, configured to determine a target point for splicing between the first rational surface component and the second rational surface component from the at least one intersection point; and A splicing module, used for determining a splicing curve between the first rational surface component and the second rational surface component based on the target point, and completing the splicing between the first rational surface component and the second rational surface component; Wherein, the interval equation group includes two surface parameters in the rational parameter surface representation and one curve parameter in the rational parameter curve representation; The first point determination module includes: The predetermined curve parameter value calculation submodule is used to repeatedly perform the following operations until multiple predetermined curve parameter values in the interval threshold of the curve parameter represented by the rational parameter curve are calculated: Acquire a predetermined curve parameter value from the plurality of predetermined curve parameter values as a target curve parameter value; Based on the target curve parameter values and the interval equation group, a curve equation group related to the two surface parameters is obtained; Determining the solution interval of the curve equation group with respect to each of the two surface parameters; and A first point determination submodule, configured to determine at least one intersection point between the target rational curve and the second rational surface component based on an interval threshold of the curve parameter and a solution interval of at least one set of respective two surface parameters; Wherein, the first point determination submodule includes: A verification formula determination unit, used to determine a verification formula based on the interval equation group; a target solution interval determining unit, configured to determine a target solution interval of the curve parameter from the interval threshold using the verification formula; and A first point determination unit, configured to use a target solution interval of the curve parameter and a respective solution interval of at least one set of the two surface parameters as at least one intersection point between the rational curve and the second rational surface component; Wherein, the second point determination module includes: a tangent vector representation determination submodule, configured to determine a tangent vector representation of the target rational curve based on the rational parameter curve representation; A normal vector representation determination submodule, used to determine the rational parametric surface representation, and determine the normal vector representation of the second rational surface component; a unique intersection point determination submodule, configured to determine whether the intersection point is a unique intersection point based on the tangent vector representation of the target rational curve and the normal vector representation of the second rational surface component; and The first target point determination submodule is used to use the intersection point as the target point when it is determined that the intersection point is the only intersection point.
7. An electronic device comprising: one or more processors; A memory for storing one or more instructions, Wherein, when the one or more instructions are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 5.
