FilletEdge needs a lot of help

@pascal, see the attached…

Rhino has a hard time to fillet this object. It seems to be related to the side surfaces.
filletedge_fail.3dm (747.6 KB)

Side note: the rebuilt object also fillets well with FilletEdgeOld

Checking, thanks.

Got it, thanks - RH-71246 FilletEdge fails to trim
-Pascal

_explode
_untrimAll
of the “Original” shows some unexpected overlaps of the R10.

(1)
removing this overlap from the planar Surface
(_split, Shrink …)
or
(2)
delete the R10
_connectSrf
_createSolid
redoing the R10 fillet

both allows FilletEdge to do the R5 job

did not find the precise aspect, that is wrong with the r10 fillet
But when i try to use the original R10 fillet i get a strange / unexpected 2.4 degree tangent continuity at the edge. (not for _edgeContinuety … ???)

R5_fails.3dm (533.7 KB)

Indeed a weird result on the edge continuity.

I suspect this fail has something to do with faces modified by SolidEditing. The front face is edited that way and is no longer a simple rectangular surface. That also explains why there is a small overlap. _ShrinkTrimmedSrfToEdge can also be used to remove that.

Looks like that is likely the case - there are stacked vertices and edges there where the trim fails.
@Gijs - do you recall what solid edits you did to this thing?

-Pascal

Yes, these 2 microedges are tripping up _FilletEdge:
image image

They can be removed by _Extract the adjacent faces and running your ReTrimSurfaces script on them.

As explained in Rhinoceros Help - SplitEdge | Rhino 3-D modeling (mcneel.com)
_RemoveAllNakedMicroEdges removes “edges that fold or loop back on themselves and have no matching edge”. Removing that limitation would simplify the cleanup of this model. Better yet would be to have a “RemoveAllMicroEdges” command.

1 Like

good find!

Yes indeed that would be great, and possibly something that is run automatically in the process of a FilletEdge, when it fails at a first attempt.

Hi Gijs - I believe that is supposed to happen… Chuck is looking at it. If you happen to recall what edit you made, it would be helpful to know so we can try to reproduce the situation.

-Pascal

I only more or less remember the steps, but they don’t lead to a failed result.