[C++] RhinoSdkBlend::SurfaceBlend gives inaccurate results


(Menno Deij - van Rijswijk) #1

I’m trying to get a blend between two BRep edges. I’m using the RhinoSdkBlend::SurfaceBlend function and it gives a blend, but the blend is not G2-continuous even though I gave continuity values of 2. Even worse, the edges do not match and the result cannot be joined into a polysurface.

Now, when I use the same input in the BlendSrf command, the result is G2 continuous and is matched correctly to the edges.

How to replicate the same results from C++?

(Dale Fugier) #2

Hi Menno,

This is known:


Can you post some geometry that isn’t working for you? I want to add it to the YouTrack item.

– Dale

(Menno Deij - van Rijswijk) #3

I’m doing this in RH5 SR12. Will post geometry tomorrow.

(Menno Deij - van Rijswijk) #4

See attached, layer names should explain it all.

simple fillet.3dm (153.4 KB)

(Dale Fugier) #5

Got it, thanks.


I see this issue is fixed in Rhino 6, but what about Rhino 5? Will it be fixed there or only in Rhino 6?

(Dale Fugier) #7

We are no longer making fixes to Rhino 5.

– Dale