I’m a bit baffled by one aspect of SweepOneRail.PerformSweep that I’m using in my command in the plug-in I’m developing for v5.
(I see the same results when I choose the Brep.CreateFromSweep option, by the way)
The resulting brep is self-intersecting at a few points, which baffled me because, given the shape, it shouldn’t. So I performed the same action using Sweep1 in the regular Rhino interface and the result was as I expected - perfect, no intersects in the surface.
The only way I could reproduce the self-intersections in the regular Rhino interface is to use Sweep1 with refit ticked! So it appears that SweepOneRail.PerformSweep has internally refit set to true. How do I set it to false?
I’m happy to add the 3dm file and C# code but I thought I’d first ask - is this a known issue? Is there something obvious that I’m missing from what I’ve said so far?
Thanks in advance