Offset Surface not flipping direction

Hey Internet!

I am having some trouble keeping the direction of a offsetted surface.
In my c# node I have some simple code:

List<Surface> srfs = new List<Surface>();
    for(int i = 0;i < B.Faces.Count;i++)
      srfs.Add(B.Faces[i].Offset(-1.0, RhinoDocument.ModelAbsoluteTolerance));

which works like a charm, except for the trimming, but I don’t care whether the surface is retrimmed or not for my goal.

However, it seems that flipping the actual surface in Rhino does not flip the direction of the offset, negating the distance in the node’s code does though.
Also does the standard ‘offset surface’ node respect the direction by flipping the base surface in Rhino, but not the coded one.

I don’t even know what COULD be the problem. Someone knows better than me?

Thanks in advance


you might want to use this method:

1 Like

thank you very much for the hint!!