The pathExtrude do not change the points coordinates except if you pass aligntopath:true the scale works per Curvesegments, and a scale Number3D is required for that segment. you just pass a series of Number3D's in an array and they will affect the whole segment. Smoothscale prop will define if its interpolating the scale influence or apply same value from start to end of the segment. the last past Number3D will be used until the code reaches the last point.
Look at the second example here

http://www.closier.nl/blog/?p=73

You also need to use the lastest, some updates were done, where indeed last points were not taken in account. especially when you use the smoothPath() to the path you pass to the class. I will check if indeed the problem is remaining in case of scale.

Note that there are some more changes done during past 2 days.

the extrude supports now
multiple textures
mapping per step/entire extrusion remains unchanged. But you can now in case of mulitple texture texture per segment.

the default mapping is also changed, where the points were evenly distributed on the texture, making very difficult to update the geometry profile without ruining the texture, you have now by default a projection that is applied based on percent/distance. so what is left is your left point, what is right on the texture the right point as in the other mode "_mapfit:false", but now the uv's are set respecting the distance between both.

smoothpath and average path are fixed in Path class, but are under "rebuild" in the pathextrude, (its in comments)
and should be back online in few days.

A few other details were improved/corrected as well.

Fabrice


On Jan 16, 2009, at 12:05 AM, sibhod wrote:


I've been doing some tests with PathExtrude, and I've noticed
something odd with using the scales prop. It appears that the scale
value not only scales the projected points, but also the coordinates
for that point.

For example if I extrude a square along a circle path, I get a donut.
When I try changing the scales value it changes both the thickness of
the donut, and their distance from the center of the donut. Also, the
last point in the path doesn't seem to be affected by scale, neither
path or position.

Am I using the extrude wrong? Is this how scaling is supposed to work?

Reply via email to