No problem Michael.
What trajpar really is , is that its "just a valuebetween 0 - 1" .
In a VSS , at the start of your trajectory the value is 0 , and at the end the value is 1. In your sketch, you add a relation and tell i to look at a dimension, and let it also look at trajpar.
For ex. if you sweep a line along a curve (your trajectory) and your sketched line is 10 mm , then if you dont add a relation your line will stay 10mm along the curve.
But if you add a relation that says sd20 (or whatever your din in the sketch is called) sd20=10+trajpar , then at the start your value will be 10 (since trajpar = 0 there, sd20= 10+0 ) And at the end your line will be 11 , since trajpar = 1 (sd20=10+1)At the middle of your curve your line will be 10.5 , since trajpar=0.5 at that point. (sd20=10+0.5)
In the example i posted above , i did the opposite. I told proe to look at a dim, and then wrote my relation to be "sd27=10+trajpar*-10" in that way, my top line will be 10 at the start of the sweep (sd27=10+(0*-10))=10and at the end it will be 0 , since sd27=10+(1*-10) =0
I also use VSS to create springs. In my sketch , instead of changing the length of a line, i choose to change the angle of a line. If i add a relation to change the angle, and tell it too look at trajpar, then i get a trajectory for a spring coil.
In this example , in the first supressed feature i change the length of a line using trajpar. And the 2 second VSS is for making a spring. (the relation for the spring trajectory is "sd6=75+trajpar*360*5" in that way the spring line starts at 75 degrees and at the end its 360*5+75 degrees. so in that way, the number of revs is 5. change the 5 to 2 and you got a spring that has got 2 revs... and so on.
2010-09-21_062128_vss.prt.zip
//Tobias
Edited by: tobbo