Dear All,

I tried a LatheExtrusion around the x-axis and never got the result I
was expecting. Finally, I flipped the profile over 90 degrees and did
the LatheExtrusion around the y-axis and got what I was expecting. I
briefly checked LatheExtrusion.as, but haven't found the time to dig
into it.

      var flipOver:Function = function (point : Number3D, index : int, arr : 
Array):void {
        var temp : Number = point.x;
        point.x = point.y;
        point.y = -temp;
      }
      _profile.map(flipOver, this);
      _ring = new LatheExtrusion(_profile, 
                                 {material: goldMaterial, 
                                  axis: "y", 
                                  rotations: 1,
                                  subdivision: 72, 
                                  recenter: true,
                                  scale: 2, 
                                  offsetradius: 20});


Best regards,

Marko

Attachment: pgp5x5Bm4S8er.pgp
Description: PGP signature


Attachment: pgpGBUouhBZuT.pgp
Description: PGP signature

Reply via email to