Simplify Failed on Simple Object

recently i have noticed that very simple geometry does not want to simplify, what is happening?
to be sure i also used set point aligning them along one axis but that does not help.

the geometry was produced i v8, maybe what rhino itself produces does not want to simplify or is it that simplify simply fails for some reason?

simplify fail.3dm (22.5 KB)

Hi @encephalon,

Did you notice this?

 Geometry:
    Valid curve.
    Closed polyline with 15 points.
      (-10.000,0.000,712.680), (-10.000,0.000,750.000), ..., (-10.000,0.000,712.680)
      domain = 0.000 to 275.469

– Dale

i checked this info but i cant decipher what is going on, does simplify rely on an even amount of points?

specifically this point does not want to simplify, i assumed that straight lines always get simplified?

it looked like that before on the left side all worked out

when i explode and rejoin it works but i can not understand why

Hi @encephalon,

I’m not seeing any reason why this shouldn’t work. I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-86176

– Dale

1 Like

@encephalon - moving the curve’s seam to a kink seems to clear up the issue, fwiw.

– Dale

hm interesting keypoint, that indeed only happens when a polyline got closed later on a straight segment/line then the seam gets pushed there. in those cases shown below when i close it with CloseCrv for instance, SimplifyCrv always fails.

but when i open it like here below on the left the seam gets naturally pushed to an open end, simplify then works.

generally on open polylines or lines it always succeeds to simplify.

deleting that one point manually is not a huge issue, but it certainly would be nice if the command could grab these seam/end points either.

RH-86176 is fixed in Rhino WIP