Method for preparing a revised body-in-white positioning
By creating a parameterized model of the reference block in the body-in-white positioning and implementing a program adjustment parameter import strategy, the problem of low efficiency in manually compiling and revising the body-in-white positioning strategy is solved. This enables fast and accurate reference block revision and import, thereby improving the overall revision efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGFENG LIUZHOU MOTOR
- Filing Date
- 2023-06-02
- Publication Date
- 2026-07-21
AI Technical Summary
The existing body-in-white positioning strategy requires manual compilation and revision, resulting in a large workload and low efficiency, especially when body-in-white data is constantly updated and process solutions change, the workload of compilation and revision is extremely large.
The system uses (0,0,0) as the origin to create an axis system, establishes a parameterized model of the reference block, obtains the zero-point axis system parameters, and creates a reference point and target axis system based on the target position parameters. The parameter import strategy of the reference block is adjusted through the program, supporting creation and revision modes and reducing duplicate data import.
It enables rapid and accurate revision of reference blocks, improves positioning efficiency, reduces manual operation time, especially the import time of reference blocks for large assemblies, and improves overall revision efficiency.
Smart Images

Figure CN117150638B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of body-in-white manufacturing technology, and in particular to a method for compiling and revising body-in-white positioning. Background Technology
[0002] In existing technologies, during body-in-white manufacturing, to facilitate later problem analysis, major automakers often need to ensure the consistency of the baseline for all body-in-white components, from individual parts to sub-assemblies, and finally to the assembly. The body-in-white positioning strategy plays a crucial role in achieving this consistency. Drawings for individual parts, sub-assemblies, and assemblies are selected from the body-in-white positioning strategy, and fixture design is based on it. While the transition from traditional 2D to 3D positioning strategies has been a significant leap, major automakers currently rely on purely manual compilation and revision, resulting in extremely low efficiency. A newly developed A-class passenger car model typically involves approximately 150 sets of positioning strategies. Throughout the development cycle, body-in-white data is continuously updated and released, requiring the body-in-white positioning strategy to be updated accordingly. Furthermore, changes in process procedures also occur, making the compilation and revision of the body-in-white positioning strategy extremely labor-intensive. Summary of the Invention
[0003] The main objective of this invention is to propose a method for compiling and revising body-in-white positioning, which aims to solve the problem that existing body-in-white positioning strategies require manual compilation and revision, resulting in a huge workload and extremely low efficiency.
[0004] To achieve the above objectives, this invention proposes a method for compiling and revising the positioning of a white body, comprising:
[0005] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the reference block, and obtain the zero-point axis system parameters of the reference block;
[0006] Obtain the target position parameters of multiple reference blocks that need to be placed on the white vehicle body;
[0007] Based on the multiple target location parameters, multiple reference points are created accordingly;
[0008] At each of the aforementioned reference points, a corresponding target axis system is created, and the target axis system parameters of the corresponding reference points are obtained;
[0009] Obtain the current mode type, wherein the current mode type includes creation mode and revision mode;
[0010] The parameter import strategy of the reference block is adjusted according to the current mode type, the zero-point axis parameters, and the target axis parameters.
[0011] Optionally, an axis system is created with (0,0,0) as the origin, and a parameterized model of the reference block is created using this axis system. The zero-point axis system parameters of the reference block are then obtained, including:
[0012] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin reference block, and obtain the pin zero point axis system parameters. The pin reference block includes a two-way positioning pin and a one-way positioning pin.
[0013] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block, and obtain the block class zero-point axis system parameters.
[0014] Optionally, the parameterized model includes a parameterized model of a pin-type reference block;
[0015] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin-type reference block. Obtain the pin-type zero-point axis system parameters, including:
[0016] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin-type reference block;
[0017] Based on the parameterized model of the pin-type reference block, pin-type reference points are established in the first type of geometric set;
[0018] Based on the pin reference point, obtain the pin zero-point axis system parameters.
[0019] Optionally, the parametric model includes a parametric model of the support / compression reference block;
[0020] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block. Obtain the block class zero-point axis system parameters, including:
[0021] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parametric model of the support / compression reference block;
[0022] Based on the parameterized model of the support / compression reference block, block reference points are established in the second type of geometric set;
[0023] Based on the block class reference point, obtain the block class zero-point axis system parameters.
[0024] Optionally, after the steps of creating an axis system with (0,0,0) as the origin, creating a parameterized model of the pin-type reference block using this axis system, and obtaining the pin-type zero-point axis system parameters, the method further includes:
[0025] Obtain the sales benchmark point and use it as the first reference point;
[0026] Obtain the first part on the body-in-white assembly and use it as the first comparison target reference;
[0027] Calculate the target distance D0 based on the first reference point and the first comparison target reference;
[0028] Obtain multiple comparison target references for the body-in-white assembly other than the first target reference, wherein the number of comparison target references is N, and N≥1. When N=1, the target distance is D0.
[0029] Sort the N comparison target references according to their distance;
[0030] Based on the first reference point and the N comparison target references, the comparison distance D is calculated sequentially from near to far. N-1 ;
[0031] Compare D1 (N=2) with D0. When D1 is less than D0, record D1 as the new target distance D0.
[0032] Compare D2 (N=3) with the updated D0. When D2 is less than D0, record D2 as the new target distance D0.
[0033] The above comparison steps are repeated for N comparison distances in sequence, and the final updated D0 is obtained as the final target distance;
[0034] The radius of the pin-type reference block is determined based on the final target distance.
[0035] Optionally, the target distance D0 is calculated based on the first reference point and the first comparison target reference, including:
[0036] Using SPAWorkbench and Measurable, the first reference point and the first comparison target reference parameters are obtained;
[0037] Use the GetMinimumDistance method to obtain the target distance D0.
[0038] Optionally, the current mode type includes a creation mode;
[0039] Based on the current mode type, the zero-point axis system parameters, and the target axis system parameters, adjust the parameter import strategy of the reference block, including:
[0040] Iterate through the reference points of all reference blocks;
[0041] Using GetMeasurable and GetPoint, the coordinate parameters of multiple target reference points of the multiple reference points are obtained;
[0042] Use GetOrigin to traverse all the target axis systems and obtain the origin coordinate parameters of each target axis system;
[0043] By comparing the coordinate parameters of the target reference point with the coordinate parameters of the origin of each target axis system, the target axis system that matches the coordinate parameters of the target reference point is selected and used as the target axis system to be created.
[0044] Use GetXAxis or similar tools to obtain the direction of the target axis system being created;
[0045] Obtain the reference point type, wherein the reference point type includes pin reference points and support clamping reference points;
[0046] Using GetCustomerFactory, the parameter import strategy of the reference block is adjusted according to the direction of the target axis system, the reference point type, and the zero-point axis system parameters.
[0047] Optionally, the reference point type is a pin-type reference point;
[0048] Using GetCustomerFactory, the parameter import strategy of the reference block is adjusted according to the direction of the target axis system and the reference point type, including:
[0049] Using GetParameter and ValuateFromString, the diameter parameter of the pin-type reference block is revised according to the parameter of the pin-type reference block.
[0050] Optionally, the current mode type includes a revision mode;
[0051] Based on the current mode type, the zero-point axis system parameters, and the target axis system parameters, adjust the parameter import strategy of the reference block, including:
[0052] Use GetMeasurable and GetPoint to obtain the revision reference point coordinate parameters of the target revision reference point;
[0053] Obtain the reference point type corresponding to all target revision reference points, wherein the reference point type includes pin reference points and support clamping reference points;
[0054] Traverse all target revision baselines;
[0055] Use GetOrigin to traverse all the axis systems corresponding to the reference points and obtain the origin parameters of each target axis system;
[0056] By comparing the coordinate parameters of the revised reference point with the origin parameters of each target axis system, the origin parameters of the target axis system that are consistent with the coordinate parameters of the revised reference point are obtained and used as the revision target axis system;
[0057] The direction of the revised target axis system is obtained using GetXAxis, etc.
[0058] Based on the direction of the target axis system and the type of the revision reference point, the parameter import strategy of the reference block is adjusted according to the zero-point axis system parameters.
[0059] Optionally, the reference point type is a pin-type reference point;
[0060] Based on the direction of the target axis system and the type of the revision reference point, the parameter import strategy of the reference block is adjusted according to the zero-point axis system parameters, including:
[0061] The diameter parameter of the pin-type reference block is revised using GetParameter and ValuateFromString, based on the parameters of the pin-type reference block.
[0062] In the technical solution of this invention, the method for compiling and revising the white body positioning includes: creating an axis system with (0,0,0) as the origin, creating a parameterized model of a reference block using this axis system, and obtaining the zero-point axis system parameters of the reference block; obtaining multiple target position parameters for which reference blocks need to be placed on the white body; creating multiple reference points according to the multiple target position parameters; creating corresponding target axis systems at each of the reference points, and obtaining the target axis system parameters of the corresponding reference points; obtaining the current mode type, wherein the current mode type includes creation mode and revision mode; adjusting the parameter import strategy of the reference block according to the current mode type, the zero-point axis system parameters, and the target axis system parameters; thus, by creating a parameterized model of the reference block, the purpose of facilitating parameter revision by program is achieved, thereby realizing rapid revision of the reference block; at the same time, the import of the reference block is related to the direction, since the reference block modeling process only involves the axis system, not points, lines, and surfaces; therefore, the adjustment of the direction is important. The entire shaft system is significantly superior to points, lines, and surfaces. Furthermore, manually inputting the radius of pin-type reference blocks after manual measurement is not only inefficient but also prone to errors. This invention, however, modifies the radius through a control program, achieving accuracy and efficiency. Moreover, to meet different needs, users can select the appropriate mode type. When the current mode type is the revision mode, the parameter import strategy of the reference block is adjusted, requiring only the revised parameters to be imported, eliminating the need to re-import all data, thus saving revision time and improving revision efficiency. It should be noted that for large assemblies like the body-in-white assembly, there are approximately 300 positioning references. Manually drawing and importing these reference blocks would take a considerable amount of time. The method for compiling and revising body-in-white positioning provided by this invention significantly shortens the import time, thereby improving import efficiency. Furthermore, the parameterized model file of the reference block only needs to be created once and can be directly called upon in subsequent body-in-white positioning strategy creation. Attached Figure Description
[0063] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0064] Figure 1 A flowchart of the first embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention;
[0065] Figure 2 A flowchart of the second embodiment of the method for revising the body-in-white positioning provided by the present invention;
[0066] Figure 3 A flowchart of the third embodiment of the method for revising the body-in-white positioning provided by the present invention;
[0067] Figure 4 A flowchart of the fourth embodiment of the method for revising the body-in-white positioning provided by the present invention;
[0068] Figure 5 The flowchart is for the fifth embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0069] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0070] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0071] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicators will also change accordingly.
[0072] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the meaning of "and / or" throughout the text includes three parallel solutions; for example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.
[0073] In existing technologies, during body-in-white manufacturing, to facilitate later problem analysis, major automakers often need to ensure the consistency of the baseline for all body-in-white components, from individual parts to sub-assemblies, and finally to the assembly. The body-in-white positioning strategy plays a crucial role in achieving this consistency. Drawings for individual parts, sub-assemblies, and assemblies are selected from the body-in-white positioning strategy, and fixture design is based on it. While the transition from traditional 2D to 3D positioning strategies has been a significant leap, major automakers currently rely on purely manual compilation and revision, resulting in extremely low efficiency. A newly developed A-class passenger car model typically involves approximately 150 sets of positioning strategies. Throughout the development cycle, body-in-white data is continuously updated and released, requiring the body-in-white positioning strategy to be updated accordingly. Furthermore, changes in process procedures also occur, making the compilation and revision of the body-in-white positioning strategy extremely labor-intensive.
[0074] In view of this, the present invention provides a method for compiling and revising the positioning of the body-in-white. Figures 1 to 5 This is a specific embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0075] Please see Figure 1 , Figure 1 This is the first embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0076] The method for compiling and revising the body-in-white positioning includes:
[0077] S10: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the reference block, and obtain the zero-point axis system parameters of the reference block;
[0078] S20: Obtain the target position parameters of multiple reference blocks that need to be placed on the white vehicle body;
[0079] S30: Create multiple reference points based on the multiple target position parameters;
[0080] S40: At each of the aforementioned reference points, create a corresponding target axis system and obtain the target axis system parameters for the corresponding reference points;
[0081] S50: Obtain the current mode type, wherein the current mode type includes creation mode and revision mode;
[0082] S60: Adjust the parameter import strategy of the reference block according to the current mode type, the zero-point axis system parameters, and the target axis system parameters.
[0083] In the technical solution of this invention, the method for compiling and revising the white body positioning includes: creating an axis system with (0,0,0) as the origin, creating a parameterized model of a reference block using this axis system, and obtaining the zero-point axis system parameters of the reference block; obtaining multiple target position parameters for which reference blocks need to be placed on the white body; creating multiple reference points according to the multiple target position parameters; creating corresponding target axis systems at each of the reference points, and obtaining the target axis system parameters of the corresponding reference points; obtaining the current mode type, wherein the current mode type includes creation mode and revision mode; adjusting the parameter import strategy of the reference block according to the current mode type, the zero-point axis system parameters, and the target axis system parameters; thus, by creating a parameterized model of the reference block, the purpose of facilitating parameter revision by program is achieved, thereby realizing rapid revision of the reference block; at the same time, the import of the reference block is related to the direction, since the reference block modeling process only involves the axis system, not points, lines, and surfaces; therefore, the adjustment of the direction is important. The entire shaft system is significantly superior to points, lines, and surfaces. Furthermore, manually inputting the radius of pin-type reference blocks after manual measurement is not only inefficient but also prone to errors. This invention, however, modifies the radius through a control program, achieving accuracy and efficiency. Moreover, to meet different needs, users can select the appropriate mode type. When the current mode type is the revision mode, the parameter import strategy of the reference block is adjusted, requiring only the revised parameters to be imported, eliminating the need to re-import all data, thus saving revision time and improving revision efficiency. It should be noted that for large assemblies like the body-in-white assembly, there are approximately 300 positioning references. Manually drawing and importing these reference blocks would take a considerable amount of time. The method for compiling and revising body-in-white positioning provided by this invention significantly shortens the import time, thereby improving import efficiency. Furthermore, the parameterized model file of the reference block only needs to be created once and can be directly called upon in subsequent body-in-white positioning strategy creation.
[0084] Please refer to further information. Figure 1 A system of axes is created with (0,0,0) as the origin, and a parameterized model of the reference block is created using this system of axes. The zero-point axis system parameters S10 of the reference block are obtained, including:
[0085] S101: Create an axis system with (0,0,0) as the origin, and create a parameterized model of the pin reference block with this axis system, and obtain the pin zero point axis system parameters. The pin reference block includes a two-way positioning pin and a one-way positioning pin.
[0086] S112: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block, and obtain the block class zero-point axis system parameters.
[0087] It should be noted that there is no specific order between the two steps mentioned above.
[0088] Please see Figure 2 , Figure 2 This is a second embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0089] The parameterized model includes the parameterized model of the pin-type benchmark block;
[0090] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin-type reference block. Obtain the pin-type zero-point axis system parameters S101, including:
[0091] S1011: Create an axis system with (0,0,0) as the origin, and create a parameterized model of the pin-type reference block using this axis system;
[0092] S1012: Based on the parameterized model of the pin reference block, establish pin reference points in the first type of geometric set;
[0093] S1013: Obtain the zero-point axis system parameters of the pin based on the pin reference point.
[0094] Specifically, the parameterized model includes a parameterized model of the support / compression reference block;
[0095] Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block. Obtain the block class zero-point axis system parameter S112, including:
[0096] S1121: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parametric model of the support / compression reference block;
[0097] S1122: Based on the parameterized model of the support / compression reference block, establish block reference points in the second type of geometric set;
[0098] S1123: Obtain the block class zero-point axis system parameters based on the block class reference point.
[0099] It should be noted that there is no clear sequential relationship between steps S101 and S112.
[0100] Please see Figure 3 , Figure 3 This is a third embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0101] Specifically, after the steps of creating an axis system with (0,0,0) as the origin, creating a parameterized model of the pin-type reference block using this axis system, and obtaining the pin-type zero-point axis system parameters, step S101 includes:
[0102] S102: Obtain the sales benchmark point and use it as the first reference point;
[0103] S103: Obtain the first part on the body-in-white assembly and use it as the first comparison target reference;
[0104] S104: Calculate the target distance D0 based on the first reference point and the first comparison target reference;
[0105] S105: Obtain multiple comparison target references for the body-in-white assembly other than the first target reference, wherein the number of comparison target references is N, and N≥1. When N=1, the target distance is D0.
[0106] S106: Sort the distances of the N comparison target references according to their proximity;
[0107] S107: Based on the first reference point and the N comparison target references, calculate the comparison distance D sequentially from near to far. N-1 ;
[0108] S108: Compare D1 (N=2) with D0. When D1 is less than D0, record D1 as the new target distance D0.
[0109] S109: Compare D2 (N=3) with the updated D0. When D2 is less than D0, record D2 as the new target distance D0.
[0110] S110: Repeat the above comparison steps for N comparison distances in sequence, and obtain the final updated D0 as the final target distance;
[0111] S111: Determine the radius of the pin-type reference block based on the final target distance.
[0112] Specifically, step S104, which calculates the target distance D0 based on the first reference point and the first comparison target reference, includes:
[0113] S1041: Use SPAWorkbench and Measurable to obtain the first reference point and the first comparison target reference parameters;
[0114] S1042: Use the GetMinimumDistance method to obtain the target distance D0.
[0115] Please see Figure 4 , Figure 4 This is the fourth embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0116] The current mode type includes creation mode;
[0117] Based on the current mode type, the zero-point axis system parameters, and the target axis system parameters, the parameter import strategy S60 of the reference block is adjusted, including:
[0118] S601: Traverse the reference points of all reference blocks;
[0119] S602: Use GetMeasurable and GetPoint to obtain the coordinate parameters of multiple target reference points of the multiple reference points;
[0120] S603: Use GetOrigin to traverse all the target axis systems and obtain the origin coordinate parameters of each target axis system;
[0121] S604: Compare the coordinate parameters of the target reference point with the coordinate parameters of the origin of each target axis system, select the target axis system that matches the coordinate parameters of the target reference point, and use it as the target axis system to be created;
[0122] S605: Use GetXAxis, etc., to obtain the direction of the target axis system to be created;
[0123] S606: Obtain the reference point type, wherein the reference point type includes pin reference points and support clamping reference points;
[0124] S607: Using GetCustomerFactory, adjust the parameter import strategy of the reference block according to the direction of the target axis system and the reference point type.
[0125] Specifically, the reference point type is a pin-type reference point;
[0126] Using GetCustomerFactory, the parameter import strategy S607 of the reference block is adjusted according to the direction of the target axis system and the reference point type, including:
[0127] S6071: Using GetParameter and ValuateFromString, revise the diameter parameter of the pin-type reference block according to the parameter of the pin-type reference block.
[0128] Please see Figure 5 , Figure 5 This is the fifth embodiment of the method for compiling and revising the body-in-white positioning provided by the present invention.
[0129] The current mode type includes revision mode;
[0130] Based on the current mode type, the zero-point axis system parameters, and the target axis system parameters, the parameter import strategy S60 of the reference block is adjusted, including:
[0131] S601': Use SelectElement3 and InputObType to obtain the target revision reference point that needs to be revised;
[0132] S602': Obtain the reference point type corresponding to all target revision reference points, wherein the reference point type includes pin reference points and support clamping reference points;
[0133] S603': Traverse all target revision baselines;
[0134] S604': Use GetOrigin to traverse all the axis systems corresponding to the reference points and obtain the origin parameters of each target axis system;
[0135] S605': Compare the coordinate parameters of the revised reference point with the origin parameters of each of the target axes, obtain the origin parameters of the target axes that are consistent with the coordinate parameters of the revised reference point, and use them as the revised target axes;
[0136] S606': Obtain the direction of the revised target axis system according to GetXAxis, etc.;
[0137] S607': Adjust the parameter import strategy of the reference block according to the direction of the target axis system and the type of the reference point, the zero-point axis system parameters.
[0138] Specifically, the reference point type is a pin-type reference point;
[0139] Based on the direction of the target axis system and the type of the revision reference point, the parameter import strategy S608' of the zero-point axis system parameters is adjusted, including:
[0140] S6071': Using GetParameter and ValuateFromString, and based on the parameters of the pin-type reference block, revise the diameter parameter of the pin-type reference block.
[0141] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A method for compiling and revising the positioning of a white body, characterized in that, include: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the reference block, and obtain the zero-point axis system parameters of the reference block; Obtain the target position parameters of multiple reference blocks that need to be placed on the white vehicle body; Based on the multiple target location parameters, multiple reference points are created accordingly; At each of the aforementioned reference points, a corresponding target axis system is created, and the target axis system parameters of the corresponding reference points are obtained; Obtain the current mode type, wherein the current mode type includes creation mode and revision mode; The parameter import strategy of the reference block is adjusted according to the current mode type, the zero-point axis system parameters, and the target axis system parameters. Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the reference block. Obtain the zero-point axis system parameters of the reference block, including: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin reference block, and obtain the pin zero point axis system parameters. The pin reference block includes a two-way positioning pin and a one-way positioning pin. Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block, and obtain the block class zero-point axis system parameters; After the steps of creating an axis system with (0,0,0) as the origin, creating a parameterized model of the pin-type datum block using this axis system, and obtaining the pin-type zero-point axis system parameters, the process also includes: Obtain the sales benchmark point and use it as the first reference point; Obtain the first part on the body-in-white assembly and use it as the first comparison target reference; Calculate the target distance D0 based on the first reference point and the first comparison target reference; Obtain multiple comparison target references for the body-in-white assembly in addition to the first comparison target reference, wherein the number of comparison target references is N, and N≥1. When N=1, the target distance is D0. Sort the N comparison target references according to their distance; Based on the first reference point and the N comparison target references, the comparison distance D is calculated sequentially from near to far. N-1 ; Compare D1 and D0. When D1 is less than D0, record D1 as the new target distance D0. Compare D2 with the updated D0. If D2 is less than D0, record D2 as the new target distance D0. The above comparison steps are repeated for N comparison distances in sequence, and the final updated D0 is obtained as the final target distance; The radius of the pin-type reference block is determined based on the final target distance; When the current mode type is set to creation mode, the parameter import strategy of the reference block is adjusted according to the current mode type, the zero-point axis system parameters, and the target axis system parameters. This includes: traversing the reference points of all reference blocks; using GetMeasurable and GetPoint to obtain multiple target reference point coordinate parameters of the multiple reference points; using GetOrigin to traverse all target axes and obtain the origin coordinate parameters of each target axis system; comparing the target reference point coordinate parameters with the origin coordinate parameters of each target axis system, filtering out target axes that match the target reference point coordinate parameters, and using these as the creation target axes; using GetXAxis to obtain the direction of the creation target axes; obtaining the reference point type, where the reference point type includes pin reference points and support clamping reference points; and using GetCustomerFactory to adjust the parameter import strategy of the reference block according to the direction of the creation target axes, the reference point type, and the zero-point axis system parameters. When the current mode type is set to revision mode, the parameter import strategy of the reference block is adjusted according to the current mode type, the zero-point axis system parameters, and the target axis system parameters. This includes: using GetMeasurable and GetPoint to obtain the revision reference point coordinate parameters of the target revision reference point; obtaining the reference point types corresponding to all target revision reference points, wherein the reference point types include pin reference points and support clamping reference points; traversing all target revision reference points; using GetOrigin to traverse all target axis systems corresponding to all reference points and obtaining the origin parameters of each target axis system; comparing the revision reference point coordinate parameters with the origin parameters of each target axis system, obtaining the origin parameters of the target axis system that are consistent with the revision reference point coordinate parameters, and using them as the revision target axis system; obtaining the direction of the revision target axis system according to GetXAxis; and adjusting the parameter import strategy of the reference block according to the direction of the revision target axis system, the revision reference point type, and the zero-point axis system parameters.
2. The method for compiling and revising the positioning of the white body according to claim 1, characterized in that, Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin-type reference block. Obtain the pin-type zero-point axis system parameters, including: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the pin-type reference block; Based on the parameterized model of the pin-type reference block, pin-type reference points are established in the first type of geometric set; Based on the pin reference point, obtain the pin zero-point axis system parameters.
3. The method for compiling and revising the body-in-white positioning according to claim 1, characterized in that, Create an axis system with (0,0,0) as the origin, and use this axis system to create a parameterized model of the support / compression reference block. Obtain the block class zero-point axis system parameters, including: Create an axis system with (0,0,0) as the origin, and use this axis system to create a parametric model of the support / compression reference block; Based on the parameterized model of the support / compression reference block, block reference points are established in the second type of geometric set; Based on the block class reference point, obtain the block class zero-point axis system parameters.
4. The method for compiling and revising the body-in-white positioning according to claim 1, characterized in that, Based on the first reference point and the first comparison target reference, the target distance D0 is calculated, including: Using SPAWorkbench and Measurable, the first reference point and the first comparison target reference parameters are obtained; Use the GetMinimumDistance method to obtain the target distance D0.
5. The method for compiling and revising the positioning of the white body according to claim 1, characterized in that, The reference point type is a pin-type reference point; Using GetCustomerFactory, the parameter import strategy of the reference block is adjusted according to the direction of the target axis system, the reference point type, and the zero-point axis system parameters, including: Using GetParameter and ValuateFromString, the diameter parameter of the pin-type reference block is revised according to the parameter of the pin-type reference block.
6. The method for compiling and revising the body-in-white positioning according to claim 1, characterized in that, The reference point type is a pin-type reference point; Based on the direction of the target axis system, the type of the revision reference point, and the parameters of the zero-point axis system, the parameter import strategy of the reference block is adjusted, including: The diameter parameter of the pin-type reference block is revised using GetParameter and ValuateFromString, based on the parameters of the pin-type reference block.