Brep Transform Component Scale Strange Surface

when transforming a Brep component (non uniform scale of the round cap) i get a strange surface…
What am i missing?

                Vector3d scaleVec = new Vector3d(0, 0, 1);
                var scalePlane = new Plane(pt0, scaleVec);
                var capScale = Transform.Scale(scalePlane, 1.0, 1.0, capHight);
                List<ComponentIndex> coInt = new List<ComponentIndex>();
                ComponentIndex coBrep = cylBrep3.Faces[1].ComponentIndex();
                cylBrep3.TransformComponent(coInt, capScale, tolerance,1.0,true);


Hi @seppeldue,

Can you provide some sample code that isn’t working for you?

– Dale

Hi @dale
thanks for looking at this :slight_smile: !
FJProngsCommand.cs (9.6 KB)