Extremes (curve) component doesn't seem to work right

Hiya! The extremes (curve) component doesn’t work right. At least for this curve…
Bug or…?

Thanks, appreciate it!

bug extremes.gh (6.6 KB)

Why you used yz plane ?
and i don’t understand why the curve is so far from grid center

my understanding is that extremes takes into consideration the Z axis of the input plane. i just wanted to show it doesn’t work right (if i manually draw a nurbs curve, it gives the expected result). Why do you think i shouldn’t use this plane if i want the left and right extremes?

what is the relevance of the grid center position relative to the curve?

No i just ask because if you draw the curve on xy plane you already choose your plane
Extremes points changed when the curve moved or rotated, i don’t know if what happened is bug or just you need steps to make it work

Hi guys,

I figured out that zoster’s curve comprises an arc-like and a line-like curve joined to each other. Then, I tried to use “Extremes” command for the line-like curve part of zoster’s curve. It was working fine. When I tried it on the arc-like part, it gave an incorrect result. I also tried to run the extremes command on another sample arc-like curve that I created. It gave wrong result again. So I concluded that it is probably a bug related to arc-like curves.

Note that I used XZ as the base plane in my experiment. Thus Y is our height.

Best,
Tolga

1 Like

conclusion: it is a bug.
right?

Later find: If you rebuild the curve, it works. Simplify curve doesn’t resolve it though

It seems like it has been a bug reported as far back as January 2016:

Any chance of a bug fix soon?
Leo

Bumping this topic in the hopes that this bug will get some attention.

It’s frustrating having to rebuild curves just to get the Extremes component to work!

1 Like

So this bug reported in January 2016 remains unfixed in February 2023.

We’re into year 8 now for this. Can we get a fix please?

What would it take to get a youtrack added for this issue?

Is Tolga’s example not clear enough?

Extremes Grasshopper component does not work with arcs.

Unrelated except it’s another very, very old bug that has been ignored. (on Windows)

If you scroll a text panel, then move away to click something else, sometimes you can’t until you go back and click the text panel again, anywhere. Still happens to me frequently.

2 Likes

Hoping to get attention from anyone from McNeel to fix this bug.

Maybe Andy Payne?

Bump.

8 years and still no acknoledgement from McNeel that this is a bug.

Is there a better place than this to report bugs?

Hi @LeoPedersen,

This is probably a more robust way.

TestCurveExtremeParameters.gh (3.2 KB)

The solution use a C# component that calls the Curve.ExtremeParameters method.

– Dale

1 Like

Thanks very much Dale.

I’ll try out the C# component.

Better still would be to fix the native GH component. Is there any reason why a YouTrack can’t be added for this issue?

Hi @LeoPedersen,

Did the test Gh solution work for you?

– Dale

Hi Dale yes it does.
Thanks very much for the solution!

Hope someone on your team will fix the GH component some day.

Me too.

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

– Dale

1 Like

Hooray!!! :partying_face: