A rapid design method based on CATIA secondary development modular platform
Through secondary development of CATIA design software, modular platform units and connecting plates are automatically generated, which solves the tedious insertion operation problem in traditional design methods, realizes rapid design, and improves design efficiency and corporate competitiveness.
Patent Information
- Application Number
- CN202211137291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-19
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2042-09-19
AI Technical Summary
In the traditional design method of modular platforms, designers need to manually insert modular platform units and connecting plates, which makes the design process cumbersome and inefficient and cannot meet the needs of rapid development.
Through secondary development of CATIA design software, modular platform units and connection plates are automatically generated and assembled to achieve rapid design.
It improves the efficiency of modular platform design, shortens the design cycle, reduces labor costs, and enhances the company's market competitiveness.
Smart Images

Figure CN115577408B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer-aided manufacturing, in particular to the design of aviation parts, and more particularly to a rapid design method based on secondary development of a CATIA modular platform. BACKGROUND
[0002] In the production process of aviation, aerospace and large equipment, various platforms are often built to meet the assembly work requirements of workers and equipment on products, especially in the aircraft assembly and final assembly stages. To adapt to international competition and market demand, the update speed of various products is further accelerated, which puts forward higher requirements on the design cycle, manufacturing cost and reusability of the platform. Therefore, the concept of modular design and manufacturing of the platform is proposed.
[0003] Modular design and manufacturing of the platform has many advantages. First, since the modular platform units can be mass-produced, the manufacturing cycle of the modular platform assembled by the modular platform units can be shortened. Then, using standardized modular platform units can ensure the manufacturing quality of the modular platform, and after widely using the same type of modular platform units to manufacture the modular platform, the manufacturing cost of each set of modular platform can be greatly reduced. Finally, when a set of modular platform exceeds the service life, it can be disassembled and the modular platform units can be re-applied to the manufacturing of new modular platforms after simple inspection and repair, improving the utilization rate of the platform tooling.
[0004] However, in the traditional design method of the modular platform, the designer needs to manually insert the connecting plates between the modular platform units after designing the initial assembly sketch, and complete a series of repetitive assembly constraint operations. The entire operation process has a large amount of repetitive and tedious design work, which leads to low efficiency, time-consuming and labor-intensive, and cannot meet the demand of rapid product development.
[0005] The invention patent with the publication number CN114022591A and the invention name of "work platform drawing method, device, terminal equipment and storage medium" is the application object of the non-modular work platform drawing. This type of work platform is non-modular, non-flexible and non-reconfigurable from the engineering application aspect, so the existing technology needs to draw new parts. However, the present technology is applicable to the modular work platform and does not draw new parts, but directly calls the existing standardized digital model for automatic assembly to realize rapid design. SUMMARY
[0006] In order to solve the problems and deficiencies in the prior art, the application provides a rapid design method of a modular platform based on CATIA secondary development, which automatically generates and assembles the connecting plate between the modular platform units and the platform units by secondary development of the existing CATIA design software, realizes rapid assembly design of the modular platform units and the connecting plate units, and improves the modeling efficiency of the modular platform design.
[0007] In order to achieve the above-mentioned application purposes, the technical scheme of the application is as follows:
[0008] A rapid design method of a modular platform based on CATIA secondary development, which comprises the following steps:
[0009] Step S1. According to the installation position and installation direction of the modular platform to be generated, an initial assembly sketch is drawn;
[0010] Step S2. Based on the drawn initial assembly sketch, two straight lines in the sketch are selected as the X direction and the Y direction of the modular platform;
[0011] Step S3. According to the length and width of the modular platform to be generated, the number of modular platform units to be inserted is determined;
[0012] Step S4. Based on the number of modular platform units, the design of the modular platform is finally completed.
[0013] As a preferred, the specific process of the step S1 is as follows:
[0014] According to the installation position and installation direction of the modular platform to be generated, two mutually perpendicular and intersecting straight lines are drawn in the CATIA sketch function interface, the straight line direction is consistent with the installation direction of the modular platform to be generated, and the CATPart to which the sketch belongs is fixedly constrained.
[0015] As a preferred, the specific process of the step S2 is as follows:
[0016] The drawn initial assembly sketch is selected, and in the CAA secondary development environment of CATIA, the drawn X direction straight line_spCATLineDirX and Y direction straight line_spCATLineDirY are obtained through the IID_CATLine interface, and the two elements are taken as the assembly constraint reference of the first modular platform unit.
[0017] As a preferred, the specific process of the step S3 is as follows:
[0018] Step S3.1. Assuming that the X direction length of the modular platform to be generated is L X , and the Y direction length is L Y;
[0019] Step S3.2. If the length of the modular platform unit in the X direction is L1 and the length of the modular platform unit in the Y direction is L2, then the number of modular platform units in the X direction n X is L X / L1, and the number of modular platform units in the Y direction n Y is L Y / L2.
[0020] Step S3.3. If L X -n X ×L1>L Xt , then n X =n X +1.
[0021] Wherein, L Xt is a pre-set modular platform unit X direction number determination threshold, 0≤L Xt <L1.
[0022] Step S3.4. If L Y -n Y ×L2>L Yt , then n Y =n Y +1.
[0023] Wherein, L Yt is a pre-set modular platform unit Y direction number determination threshold, 0≤L Yt <L2.
[0024] As preferred, the calculation results of n X and n Y are rounded off to the nearest integer.
[0025] As preferred, the specific process of step S4 is as follows:
[0026] Step S4.1. Initialize the loop counter i=1, if i≤n x , wherein i=1, 2, …n x , then loop step S4.2-S4.6, otherwise end the loop and directly enter step S4.11.
[0027] Step S4.2. If i=1, create the assembly constraint relationship of the (1, 1)th modular platform unit with _spCATLineDirX and _spCATLineDirY, otherwise create the assembly constraint relationship of the (i, 1)th modular platform unit in the X direction with the (i-1, 1)th modular platform unit in the Y direction edge, enter step S4.3.
[0028] Step S4.3. If i < nx, looply assemble the long connecting plate of the (i, 1)th modular platform unit in the X direction on the Y direction side, and enter step S4.4;
[0029] Step S4.4. If the number of modular platform units in the Y direction n Y > 1, looply assemble the long connecting plate of the (i, 1)th modular platform unit in the X direction on the X direction side, and enter step S4.5;
[0030] Step S4.5. If i < nx X and n Y > 1, assemble the short connecting plate of the (i, 1)th modular platform unit in the X direction, and enter step S4.6;
[0031] Step S4.6. Initialize the loop counter j = 2, and if j ≤ nx Y , where j = 2, 3, … nx Y , looply execute steps S4.7-S4.10, otherwise end the loop;
[0032] Step S4.7. Create an assembly constraint relationship between the (i, j)th modular platform unit and the (i, j-1)th modular platform unit in the X direction side in the Y direction, and enter step S4.8;
[0033] Step S4.8. If i < nx x , looply assemble the long connecting plate of the (i, j)th modular platform unit in the Y direction on the Y direction side, otherwise directly enter step S4.9;
[0034] Step S4.9. If j < nx Y , looply assemble the long connecting plate of the (i, j)th modular platform unit in the Y direction on the X direction side, otherwise directly enter step S4.10;
[0035] Step S4.10. If i < nx X and j < nx Y , assemble the short connecting plate of the (i, j)th modular platform unit in the Y direction, and return to step S4.7;
[0036] Step S4.11. Update the digital model.
[0037] The application has the following beneficial effects:
[0038] The application provides a rapid design method of a modular platform based on CATIA secondary development, greatly reduces the time consumption caused by the tedious operation of a traditional method, reduces the labor cost, greatly improves the design efficiency of the modular platform, shortens the cycle for the research and production of new products, and promotes the improvement of the market competitiveness of enterprises. BRIEF DESCRIPTION OF DRAWINGS
[0039] The foregoing and below detailed description of the present application will become more apparent when read in conjunction with the following drawings, in which:
[0040] Figure 1 is a flow chart of the method of the present application;
[0041] Figure 2 is a schematic diagram of the modular platform unit of the present application;
[0042] Figure 3 is a schematic diagram of the long connecting plate of the present application;
[0043] Figure 4 is a schematic diagram of the short connecting plate of the present application;
[0044] Figure 5 is a schematic diagram of the effect of the final design of the modular platform of the present application. DETAILED DESCRIPTION
[0045] In order for those skilled in the art to better understand the technical solutions in the present application, the following will further illustrate the technical solutions for achieving the purpose of the present application through several specific embodiments. It should be noted that the technical solutions claimed in the present application include but are not limited to the following embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor shall fall within the scope of protection of the present application.
[0046] At present, in the traditional design method of the modular platform, the designer needs to manually insert the connecting plate between the modular platform unit and the platform unit after designing the initial assembly sketch, and complete a series of repetitive assembly constraint operations. The entire operation process has a large amount of repetitive and tedious design work, which leads to low efficiency, time-consuming and labor-consuming, and cannot meet the demand of rapid product development.
[0047] Based on this, the embodiments of the present application propose a rapid design method of the modular platform based on CATIA secondary development, which automatically generates and assembles the connecting plate between the modular platform unit and the platform unit by secondary development of the existing CATIA design software, realizes the rapid assembly design of the modular platform unit and the connecting plate unit, and thus improves the modeling efficiency of the modular platform design.
[0048] In the present embodiment, it should be first noted that the CATIA secondary development of the present application is carried out under the CAA secondary development environment of CATIA.
[0049] Further, the modular platform is an overall structure formed by assembling and connecting a plurality of modular platform units and connecting plate units, wherein the connecting plate unit includes a long connecting plate and a short connecting plate.
[0050] The embodiment discloses a rapid design method of a modular platform based on CATIA secondary development. Figure 1 , Figure 1 The method flowchart of the application is as follows:
[0051] Step S1. According to the installation position and installation direction of the modular platform to be generated, an initial assembly sketch is drawn.
[0052] In the embodiment, it should be noted that the step S1 includes the following steps:
[0053] According to the installation position and installation direction of the generated modular platform, two mutually perpendicular and intersecting straight lines are drawn on the CATIA sketch function interface, and the two straight lines finally constitute the initial assembly sketch. The straight line direction is consistent with the installation direction of the modular platform to be generated, so the two straight lines represent the X direction and the Y direction of the modular platform, and finally the CATPart to which the sketch belongs is fixedly constrained.
[0054] Step S2. Based on the drawn initial assembly sketch, two straight lines in the sketch are selected as the X direction and the Y direction of the modular platform.
[0055] In the embodiment, it should be noted that the step S2 includes the following steps:
[0056] The drawn initial assembly sketch is selected, and in the CAA secondary development environment of CATIA, the drawn X direction straight line_spCATLineDirX and Y direction straight line_spCATLineDirY are obtained through the IID_CATLine interface, and the two elements are taken as the assembly constraint reference of the first modular platform unit. Wherein, _spCATLineDirX represents the X direction straight line of the CATLine_var type, and _spCATLineDirY represents the Y direction straight line of the CATLine_var type.
[0057] In the embodiment, the drawn initial assembly sketch is selected, that is, the two straight lines drawn in the step S1 are selected, one of the straight lines is specified as the X direction, and the other straight line is specified as the Y direction. The two straight lines are taken as the assembly constraint reference and are used for constraining the first modular platform unit.
[0058] In the embodiment, the two selected CATLine_var type straight lines are basic assembly constraint elements after assembly constraint operation is completed to realize rapid design. The rapid design of the whole modular platform is realized by repeatedly inserting the modular platform unit and the long and short connecting plate unit. The first modular platform unit inserted in the rapid design process is completed by taking the two assembly constraint elements as constraint references.
[0059] In the embodiment, the modular platform unit is a standardized digital module stored in the installation path of the software and can be directly called.
[0060] Step S3. Determine the number of modular platform units to be inserted according to the length and width of the modular platform to be generated.
[0061] In the embodiment, it is necessary to explain that the specific steps of step S3 are as follows:
[0062] Step S3.1. Assume that the X direction length of the modular platform to be generated is L X and the Y direction length is L Y .
[0063] Step S3.2. If the X direction side length of the modular platform unit is L1 and the Y direction side length is L2, then the number of modular platform units in the X direction n X is L X / L1 and the number of modular platform units in the Y direction n Y is L Y / L2.
[0064] Step S3.3. If L X -n X ×L1>L Xt , then n X =n X +1.
[0065] Wherein, L Xt is a pre-set X direction number judgment threshold of the modular platform unit, 0≤L Xt <L1.
[0066] Step S3.4. If L Y -n Y ×L2>L Yt , then n Y =n Y +1.
[0067] Wherein, L Yt is a pre-set Y direction number judgment threshold of the modular platform unit, 0≤L Yt <L2.
[0068] In the present embodiment, it is to be noted that the n X and n Y are calculated by rounding down, so that the cases of L X -n X ×L1<L Xt and L Y -n Y ×L2<L Yt do not occur.
[0069] In the present embodiment, it is to be noted that the n X and n Y are calculated by rounding down after discarding the decimals.
[0070] Step S4. The design of the modular platform units and the connecting plate units is finally completed.
[0071] In the present embodiment, it is to be noted that the specific steps of the step S4 are as follows:
[0072] Step S4.1. Initialize the loop counter i = 1, and if i ≤ n x (i = 1, 2, … n x ), then execute the steps S4.2-S4.6 in a loop, otherwise end the loop and directly enter step S4.11;
[0073] Step S4.2. If i = 1, create the assembly constraint relationship of the (1, 1)th modular platform unit with the _spCATLineDirX and _spCATLineDirY, otherwise create the assembly constraint relationship of the (i, 1)th modular platform unit with the (i-1, 1)th modular platform unit in the Y direction edge, and enter step S4.3;
[0074] Step S4.3. If i < nx, then loop the long connecting plate of the Y direction edge of the (i, 1)th modular platform unit in the X direction, and enter step S4.4;
[0075] Step S4.4. If the number of the modular platform units in the Y direction n Y > 1, then loop the long connecting plate of the X direction edge of the (i, 1)th modular platform unit in the X direction, and enter step S4.5;
[0076] Step S4.5. If i < nx X and n Y > 1, then assemble the short connecting plate of the (i, 1)th modular platform unit in the X direction, and enter step S4.6;
[0077] Step S4.6. Initialize the loop counter j = 2, and if j ≤ n Y , where j = 2, 3, … nY If yes, then looply execute steps S4.7-S4.10, otherwise end the loop;
[0078] Step S4.7. Create the assembly constraint relationship between the (i, j)th modular platform unit in Y direction and the X direction edge of the (i, j-1)th modular platform unit, and go to step S4.8;
[0079] Step S4.8. If i x , then looply assemble the long connecting plate of the Y direction edge of the (i, j)th modular platform unit in Y direction, otherwise directly go to step S4.9;
[0080] Step S4.9. If j Y , then looply assemble the long connecting plate of the X direction edge of the (i, j)th modular platform unit in Y direction, otherwise directly go to step S4.10;
[0081] Step S4.10. If i X and j Y , then assemble the short connecting plate of the (i, j)th modular platform unit in Y direction, and return to step S4.7;
[0082] Step S4.11. Finally, perform Update() operation on the number module to display the final effect.
[0083] In the embodiment, the assembly constraint relationship between the (1, 1)th modular platform unit and the _spCATLineDirX and _spCATLineDirY is mainly used to constrain the position and direction of the first modular platform unit.
[0084] In the application, the looply assembly process of the modular platform is roughly as follows:
[0085] (1, 1) (1, 2) (1, 2) … (1, n x );
[0086] (2, 1) (2, 2) (2, 2) … (2, n x );
[0087] ………………………………;
[0088] (n Y , 1) (n Y , 2) (n Y , 2) … (n Y , n x );
[0089] Except that the modular platform unit (1, 1) in the first row and the first column is constrained with the X direction straight line and the Y direction straight line of picking, every modular platform unit in the first row and the first column is constrained with the modular platform unit in the first row and the first column of the last row.
[0090] The above is only the preferred embodiment of the present application, and does not hinder the present application in any form. Any simple modification or equivalent change of the above embodiment according to the technical essence of the present application falls within the protection scope of the present application.
Claims
1. A modular platform rapid design method based on CATIA secondary development, characterized in that: The specific steps include: Step S1. Draw an initial assembly sketch based on the installation position and installation direction of the modular platform to be generated; Step S2. Based on the drawn initial assembly sketch, select two straight lines in the sketch as the X direction and Y direction of the modular platform; Step S3. Determine the number of modular platform units to be inserted according to the length and width of the modular platform to be generated; Step S4. Based on the number of modular platform units, the design of the modular platform is finally completed; Step S4.
1. Initialize loop counter i=1, if i≤n x , then loop through steps S4.2-S4.6, otherwise end the loop and go directly to step S4.11, where i=1, 2, …n x , n x Indicates the number of modular platform units in the X direction; Step S4.
2. If i = 1, create an assembly constraint relationship between the (1, 1)th modular platform unit and _spCATLineDirX and _spCATLineDirY. Otherwise, create an assembly constraint relationship between the (i, 1)th modular platform unit in the X direction and the (i-1, 1)th modular platform unit in the Y direction, and proceed to step S4.
3. Step S4.
3. If i <n x , then loop and assemble the long connecting plate on the Y-direction side of the (i, 1)th modular platform unit in the X-direction, and proceed to step S4.4; Step S4.
4. If the number of modular platform units in the Y direction is n Y >1, then loop to assemble the long connecting plate on the X-direction side of the (i, 1)th modular platform unit in the X direction and proceed to step S4.5; Step S4.
5. If i < n X And n Y >1, assemble the short connecting plate of the (i, 1)th modular platform unit in the X direction and proceed to step S4.6; Step S4.
6. Initialize loop counter j=2, if j≤n Y , where j = 2, 3, …n Y , then loop through steps S4.7-S4.10, otherwise end the loop; Step S4.
7. Create an assembly constraint relationship between the (i, j)th modular platform unit in the Y direction and the (i, j-1)th modular platform unit in the X direction, and proceed to step S4.8; Step S4.
8. If i <n x , then loop to assemble the long connecting plate of the Y-direction side of the (i, j)-th modular platform unit in the Y-direction, otherwise go directly to step S4.9; Step S4.
9. If j <n Y , then loop to assemble the long connecting plate of the (i, j)th modular platform unit in the X direction, otherwise go directly to step S4.10; Step S4.
10. If i < n X And j <n Y , then assemble the short connecting plate of the (i, j)th modular platform unit in the Y direction and return to step S4.7; Step S4.
11. Update the digital model.
2. The modular platform rapid design method based on CATIA secondary development according to claim 1 is characterized in that: The step S1 comprises: According to the installation position and direction of the modular platform to be generated, draw two mutually perpendicular and intersecting straight lines in the CATIA sketch function interface. The direction of the straight lines is consistent with the installation direction of the modular platform to be generated. At the same time, the CATPart to which the sketch belongs is fixedly constrained.
3. The modular platform rapid design method based on CATIA secondary development according to claim 1 is characterized in that: The step S2 comprises: Select the drawn initial assembly sketch, and in the CAA secondary development environment of CATIA, obtain the drawn X-direction straight line _spCATLineDirX and Y-direction straight line _spCATLineDirY through the IID_CATLine interface, and use these two elements as the assembly constraint benchmark of the first modular platform unit.
4. The modular platform rapid design method based on CATIA secondary development according to claim 3 is characterized in that: The step S3 is specifically as follows: Step S3.
1. Assume that the X-direction length of the modular platform to be generated is L X , the length in the Y direction is L Y ; Step S3.
2. If the length of the side of the modular platform unit in the X direction is L1 and the length of the side in the Y direction is L2, then the number of modular platform units in the X direction is n X That is L X / L1, number of modular platform units in Y direction n Y That is L Y / L2; Step S3.
3. If L X -n X ×L1>L Xt , then n X = n X +1; Among them, L Xt is the pre-set threshold for determining the number of modular platform units in the X direction, 0≤L Xt < L1; Step S3.
4. If L Y -n Y ×L2>L Yt , then n Y = n Y +1; Among them, L Yt is the preset threshold for determining the number of modular platform units in the Y direction, 0≤L Yt < L2.
5. The modular platform rapid design method based on CATIA secondary development according to claim 4 is characterized in that: The n X and n Y The calculation result is rounded after discarding decimals.
Citation Information
Patent Citations
Working platform drawing method and device, terminal equipment and storage medium
CN114022591A
Modeling method based on unified modeling environment
CN104504171A
Module intelligent integration method
CN109894531A