Continue to Site

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.

graph feature syntax...

that work for you ?


if your multiple of trajpar doesn't relate to your graph x-length , then it gets all funky


also ... no vertical lines in a graph.. where xval is the same in 2 yvals
 
Modifying or using Graph Dims out side of Edit Definition is truly horrible They haven't changed this functionality for almost a decade.

It still prompts you for a name every time you Edit the Feature. PTC still uses trajpar which I like saying but could easily be replaced with (t) which is the variable that goes from 0-1 for curve by equation.

PTC should allow you to Create the Graph as a Sketch or convert a Sketch into a graph and get rid of the old functionality.

As long as you aren't using it to create a Variable Sweep you can use IF statements to allow for jumps.

X=evalgraph("G1", t*10)

If trajpar <= .5
Y=evalgraph("G1", t*10)
endif
if trajpar >.5
Y=evalgraph("G1", L+t*10)
endif

Z=0

For the first half of the curve by equation it evaluates the graph from 0-5 and the second part from L+5 to L+10 where L is the x distance of a line conecting the two different y values.

Michael
 

Sponsor

Articles From 3DCAD World

Back
Top