Weird stuff???

 From:  Michael Gibson
4434.2 In reply to 4434.1 
Hi Felix - those weird areas are spots where the scaling rail is not coming into effect or kind of jumping because it has a kind of ambiguous case to deal with.

One problem at the tip is that the scaling rail does not quite extend the full length of the rail, if you zoom in on the tip you can see this:





Also on top of that, just in general the scaling rail mechanism does not work well when you try to make the scaling rail swoop inwards at a 90 degree angle to the main rail. The scaling rail mechanism needs to find intersection points on the scaling rail from the main rail, and that doesn't work very well when the scaling rail swoops totally inwards towards the rail.

See these previous posts for some explanation on this:
http://moi3d.com/forum/index.php?webtag=MOI&msg=2681.3
http://moi3d.com/forum/index.php?webtag=MOI&msg=1807.7


Then additionally the scaling rail mechanism will have a problem when you've got a profile curve that touches the rail instead of being positioned around the rail.

The way the scaling rail works with a tubular type sweep is like this - say here the circle is the profile, the red curve is the rail and the blue curve is the scaling rail:



The way the scaling rail mechanism works is that it first tries to find a reference point on the profile curve by shooting out a line like this (or really a plane but similar to this) to intersect with it:


Then it also finds the intersection of the scaling rail with the sweep plane at that point and scales the profile by the difference between those reference points from the sweep rail point.

But in your case that intersection method is not going to work well because your sweep profile consists of a line basically in the same spot as the intersection line that is sent out, so that makes for a complicated and overlapping intersection instead of a single point intersection as in the tubular case.

So basically at least right now with the current mechanism you can't use a scaling rail on a profile curve that touches the rail and shoots outwards from it rather than being a kind of semi-tubular shape that goes around the rail.


Instead of using a scaling rail, you can try using a 2-rail sweep instead, and pick both those curves as rails to use for the 2-rail sweep, rather than 1 rail + scaling rail.

- Michael