Brep.Faces.ShrinkFaces() partially fails

while shrinktrimmedsrftoedge command will work as expected.

Try on the attached:

import rhinoscriptsyntax as rs
filter = rs.filter.surface | rs.filter.polysurface
surface = rs.GetObject("Select surface or polysurface to shrink", filter )
if surface: rs.ShrinkTrimmedSurface( surface )

shrinkfacesfail.3dm (38.3 KB)

Hi @Asterisk,

Your comparing apples to oranges. Use BrepFace.ShrinkSurfaceToEdge instead.

– Dale

1 Like

Oops, that did it, but still ShrinkFaces behavior doesn’t make sense to me. Why is it shrinking some sides, but not the others?