yes so what is problem?
you mean creating the profile of a circle is your issue?

try something like this:

var profile:Vector.<Vector3D> = new Vector.<Vector3D>();
                        var vector3d:Vector3D;
                        var sub:uint = 36;
                        var step:Number = 360/sub;
                        var angle:Number ;
                        var rad:Number = 200;

                        for(var i:uint = 0;i<sub+1;++i){
                                angle = step*i;
                                vector3d = new Vector3D();
                                vector3d.x = Math.cos(angle/180*Math.PI) * rad;
                                vector3d.y = Math.sin(-angle/180*Math.PI) * rad;
                                profile[i] = vector3d;
                        } 


Fabrice


On Jun 10, 2011, at 8:51 AM, thinkingarden wrote:

> i mean , i want to use a curve to extrude alone the path in the space
> to build a tiny circular tube , it's something just like the "Loft"
> command in 3DsMax for modeling.

Reply via email to