Hi,
I have an issue when using Transform.Scale(plane, x, y, z) in RhinoCommon. As you can see from the image below I am scaling from the purple dot, where the arrow points. The resulting geometry is however somewhat translated. Anybody has an idea why this is happening?
The code that performs this scale is roughly this:
var scalePlane = new Plane(purplePt, Vector3d.ZAxis);
var trafo = Transform.Scale(scalePlane, scalingFact.X, scalingFact.Y, 1.0);
var nuCurve = sampleSizeCurve.DuplicateCurve();
nuCurve.Transform(trafo);
return nuCurve;
am I doing something wrong?
Thanks a lot
Alberto