“Trimming line” is a spline curve obtained by sequentially connecting the trimming points obtained earlier on the “Process Supplementary Surface”. The accuracy of the trimming line directly affects the design and manufacturing cycle of the drawing die and the trimming die for stamping parts.
Program development process
Dongguan stamping parts According to the above principles, we use the secondary development method of the CATIA software's Automation API (Automation API), and use the Visual Basic language to program to automatically draw the trimming line. This program divides the drawing of trimming line into three functional interfaces to realize:
(1) The function interface for creating the trimming point by selecting the curve and the number of normal faces. In this interface, the system requires the user to interactively select the reference curve (as shown in Figure 1, the "intersection of the process supplementary surface and the flanging surface"), select the outer surface (as shown in Figure 2, the "process supplementary surface"), and select the inner surface (as shown in Figure 2). "Flanging Surface"), set the number of normal surfaces (that is, the number of trimming points to be generated), and click Create to produce the corresponding number of trimming points after setting;
(2) The function interface for creating a trimming point by selecting two points. This interface is to generate a number of trimming points between any two trimming points that have been generated in the first step, which plays the role of locally increasing the density of trimming points. The operation is the same as the first operation.
(3) Operation interface for creating trimming curves. In this interface, we only need to interactively select the surface where the trimming line is located (select "Process Supplementary Surface"), and then we can get the trimming line we need.