The derivation of TUBEFIT involves drawing a side view of two tubes with their centerlines intersecting at some arbitrary angle (AF). The assumed intersection curve where the ID of the CUT TUBE meets the OD of the UNCUT TUBE is then sketched on this drawing. What is desired is to calculate the Y OFFSET which is the distance down from the plane defined by the point where the centerlines of the two tubes intersect which is perpendicular to the centerline of the CUT TUBE. By choosing this intersection point as a reference, the CUT TUBE may be cut to a precise length to fit between two uncut tubes. This Y OFFSET as a function of distance around the OD of the CUT TUBE will allow calculation of a template to wrap around the tube to mark it for a perfect fit to the UNCUT TUBE. It will be seen that two hacksaw cuts will provide about 90 percent of the amount of cutting required with the remainder being ground or filed away -- all in a direction as viewed in Figure 1.

To solve for the Y OFFSET (YO) two triangles are constructed as shown in Figure 1. A point where the two tubes meet is picked and labeled A. Right triangle ABC is constructed with one side perpendicular to the center line of the CUT TUBE. Notice that the angle at point C is the angle of fit (AF) between the tubes. Construct a second right triangle (CDE) from point C on the first triangle with one side perpendicular to the center line of the UNCUT TUBE. This time point D has the right angle, and point E has AF. The Y OFFSET from the plane of intersection is distance BE which is equal to EC - BC. If we solve the two triangles for lengths BC and EC, we will have a general equation for Y OFFSET. We eventually want this to be a function of the distance around the OD of the CUT TUBE for plotting the template. First we will solve for Y OFFSET as a function of angle ID which is easily converted to distance around the perimeter of the tube.

`CB=tan(90-AF)*RI*cos(ID) (Eq 1)`

`CE=RU*cos(UC)/sin(AF) (Eq 2)`

Substituting Equations 1 and 2 into our original equation for YO:

`YO=CE-CB`

`YO=RU*cos(UC)/sin(AF)- tan(90-AF)*RI*cos(ID) (Eq 3)`

From Figure 2 one can see that the relationship between these angles are as described in the following equations. This relationship is solved for RU*cos(UC) so that it may be substituted into Equation 3.

`RU*sin(UC)=RI*sin(ID) (Eq 4)`

Dividing both sides of the equation by RU:

`sin(UC)=(RI/RU)*sin(ID)`

From a trig identity: cos^2=1-sin^2. Therefore:

`cos(UC)=sqrt(1-((RI/RU)*sin(ID))^2)`

Multiplying both sides of the equation by RU:

`RU*cos(UC)=sqrt(RU^2-(RI*sin(ID))^2 (Eq 5)`

`YO= sqrt(RU^2-(RI*sin(ID))^2) /sin(AF)- tan(90-AF)*RI*cos(ID) (Eq 6)`

If we want to mill or cut directly toward the ID from the OD at right angles to the tube centerline, then substituting OD for ID in Equation 6 will give the solution for YO as a function of angle OD. The only problem with this solution is that for angles other than 90 degrees, part of the OD of the CUT TUBE interferes with letting the ID touch the UNCUT TUBE. If we were to substitute RO for RI in Equation 6, and then take the greater of the Y OFFSET values for each angle for the template, this problem would be solved.

From Figure 3 it can be seen that:

`RI*cos(ID)=RO*cos(OD) (Eq 7)`

Dividing both sides of the equation by RI:

`cos(ID)=(RO/RI)*cos(OD)`

From the same identity as used earlier:

`(sin(ID))^2=1-((RO/RI)*cos(OD))^2`

Multiplying both sides of the equation by RI^2:

`(RI*sin(ID))^2=RI^2-(RO*cos(OD))^2 (Eq 8)`

Equations 7 and 8 may now be substituted into Equation 6 for the final TUBEFIT equation:

`YO= sqrt(RU^2- RI^2+(RO*cos(OD))^2) /sin(AF)- tan(90-AF)* RO*cos(OD) (Eq 9)`

In the program TUBEFIT Equation 9 is solved 180 times (every 2 degrees) around the CUT TUBE and plotted on the template. Reference lines are plotted at 90, 180 and 270 degrees as well as 2, 4 and 6 inches away from the intersection plane. These reference lines allow you to control the length and rotation of the CUT TUBE. They also enable you to fit a CUT TUBE to several UNCUT TUBES. In aircraft fuselage construction this is called a cluster. To do this you would make a template for each fit and mark the CUT TUBE, keeping the reference lines matched. Then the CUT TUBE would be cut to the minimum length of all the templates.

Daniel H. Hopper

Walton, IN

April 24, 2006