Hi @dale, I am using the same sweep method in the plugin command and plugin’s RhinoReplaceObjectEventListener but adding the result of the sweep method to the document produces different types of surfaces. On command, the added brep is “open polysurface” but on RhinoReplaceObjectEventListener adding the same brep gives a “surface” type object. Can you help me with that?
Left one is result of command (open polysurface) , Right one is result of listener method (surface).
I have tried SweepOneRail, SweepTwoRail, Brep.CreateFromSweep, Brep.CreateFromSweepSegmented but all results same. I guess this is something related to the fired method type?
Are there any trick to convert “surface” to “open polysurface”? I have tried to duplicate the brep and add that but it didn’t help either.