Having some issues here with shrinking a single-face Brep here (V5, for compatibility reasons)…
brep.Faces.ShrinkFaces()does indeed work, however it does not “shrink to edge” as in the Rhino _ShrinkTrimmedSrfToEdge, nor do I see an option for doing so. Anything that can be done short of calling the Rhino command (which is not an option here)?
The API guide indicates there is a
BrepFace.ShrinkFace Methodbut it is not listed in the left sidebar in the editor, it does not autocomplete, and errors out when I try it. It does appear to have disappeared for V6, so I guess it was never valid in V5; dunno if anyone wants to edit the V5 guide still…