Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Register Log in

trajpar

skiddy

New member
assuming that trajpar range is 0-1.

I can make a length (of 1) vary from eg. 5-10units

d#=5+(trajpar*5)



But how can you vary the length from eg 5-10 and back to 5?



is there a way to control trajpar so i can work on just half the length, ie using it as 0.5 instead of 1?
 

Moroso

New member
Maybe you can try using a graph instead of just trajpar.



sd#=evalgraph(graph_name,trajpar*d)/(r/n)



sd# = an offset dim. from the trajectory

graph_name = name of your graph (use the quotes ex graph1)

d = max. x value

r = max. y value

n = ratio of the height of the wave



hope this helps



Brian
 

skiddy

New member
thanks for your reply, exactly what i was after!!



But just one more question, in your equation you use trajpar as 0.5 should there be any reason why other values wont regenerate between 0-1?? Im baffled!
 

puppet

Moderator
anyone know any good examples or tutorials of what we can do with trajpar VSS and datam graph





anythign woudl be nice
 

Sponsor

Top