SweepOneRail fails to trim surfaces at kinks

SweepOneRail.PerformSweep does not trim the created surfaces at the kinks. The Rhino command Sweep 1 Rail, with exactly the same rail (a polycurve) and the same cross sections trims the surfaces correctly and creates nice miters.

I have tested it with all possible values (0, 1, 2) for the SweepOneRail.MiterType property.

Is the Rhino command implemented using the SDK class?

Hi Jordi,

See if this method works any better:


– Dale

It works fine.
Thanks a lot, Dale.