Hi @Hend-Eng
I am not sure if anyone else has any more to say about this so I hope I am not being rude by adding some information. I think that your model has shown up some problems that probably require some discussion for new users and since it is such a good example of the problem with variable radius fillets I though it worth trying to document these issues.
I have attached a screencast of a workflow for your model that addresses the tangency problems without altering your original sketches, removing the guide rails or changing the workflow too much. This method improves the quality of the surfaces of the model keeps the parameters you sketched and also allows for the variable radius fillet to be used with G2 continuity, that is to say smoother transitions from the pipe Body 1 to the curved extrusion body (I don’t know what else to call it).
1. The first deviation from your workflow occurs at 0.40 in the screencast. I have added a Create > Extrude of Sketch 1. The extrude distance is 1mm though the distance is not relevant, the extrusion must be in the right direction, i.e. opposite to the features being modelled (Y+) creating a New Body (Body 5)
2. The same at 1.15, this is another Create > Extrude, this time of Sketch 3 in the opposite direction to the first (Y-) (Body 6). Again, the distance is unimportant.
3. What steps 1 and 2 do is to create two solids on either side of our loft that can help to give the solver more information about what we want the loft to do. This was the principle problem in my opinion with your original loft, The loft tool can only adhere to the guidance of the rails at the rails, the further the geometry from the rails the less information the tool has to make decisions about how tangent the surfaces are to the perpendicular of the sketch planes (this may require some more explanation for new users).
You touched on this when you said ‘The thing that confused me about the rails not giving tangent geometry was that the arcs were drawn on centre with the centreline plane. I never realised things could diverge from that initial condition so easily.’ The loft tool has to contend also with the other sketch geometry and if you need to maintain perpendiculararity all around the feature it needs this input, hence when @laugingcreek broke the dependency on the rails and used the ‘Direction’ setting this allowed the loft tool to prioritise the planar sketch rather than the rails and hey presto perpendicularity at the planar surface but at the expense of the rails. (I think perpendicularity is also a made-up word).
The way of overcoming this is to use the ‘overbuild’ method and hence the solids created in steps 1 and 2. Actually the one on step 2 should not be necessary since we could theoretically use the sketch plane however that does not always work and I did not want to get bogged down on that point.
4. At 1.53 I have demonstrated how to use the profile of an ‘overbuild’ solid to guide the tangency of a Create > Loft. Because the profile I am lofting from (Body 5) is now a 3D solid and not an infinitely thin planar sketch entity, the loft tool has something to maintain tangency with at its outer edge. This means that the surfaces of the body resulting from the loft (Body 7) can maintain G2 curvature with the side surfaces (the surfaces perpendicular to the profile we used for the loft (Body 5)) as well as using the rails to guide the shape. The end points of the rails are planar to the sketches that created Body 5 and Body 6 and therefore valid inputs to guide the resulting surface. Non planar points are a common cause of failure for loft rails.
For new users wanting to understand the distinction between lofting between sketches, surfaces and solids with G1 or G2 curvature it is worth checking out this short video.
https://www.youtube.com/watch?v=n4NOIPbELBQ
Because we do not need to use Body 5 as anything other than a guide, I have used New Body rather than Join for the Operation field. This is another departure from your original timeline. It seems that you can use either Keep or Merge for the Tangent Edges setting under this scenario, it does not affect the later fillet.
5. At 2.44 I have demonstrated a straightforward Create > Mirror about the Origin XZ Plane.
6. At 3.05 there is a reference to the Modify > Combine of the relevant bodies, the two Extrude bodies, Body 5 and Body 6 are hidden but they could just as easily be deleted at this stage.
7. You can see from the Inspect > Zebra Analysis at 1.15 that there is good curvature continuity between the two combined halves and this should allow the fillet to work through the surfaces created.
This I guess is the point of this screencast and discussion that may help beginners, even if you use proper tangent rails to guide a loft, the tangency may only apply to a surface at or near the rail (which itself is an infinitely thin line). The further from the rail the less likely the rail is to have an impact and the more likely other geometry considerations are going to drive the resultant surface. This is why a fillet, variable or not may work up to a certain radius, but no larger, because the surface it is filleting is not sufficiently tangent at the radius desired.
That is it for the description and motivation behind this screencast. To anyone who already knows this stuff I apologise for the length of this post but as always, I am hoping to document something in a way that new users might be able to get something from, asks questions about or ignore entirely; also for experienced users to tell me I am wrong, being wrong is the only way anyone really learns anything so corrections are not only welcome but desirable.
This was the easy part however and in the next screencast I will attempt to document how I was able to produce the G2 Curvature variable fillet which conforms to your drawing. I think I mentioned on one of my earlier posts this tool is why I would always prefer to use surface modelling for this type of situation. That variable fillet tool is riven with inconsistent and unhelpful behaviours and this model is a great example of how if you can get a handle on them it can be made to work and produce really pleasing results, just don’t try to edit the underlying geometry however….
Anyway, if anyone got to the end of this post, thanks for listening.