Sweep1ProblemGrasshopper.3dm (330.3 KB)
I have two curves on the Curves layer.
I want to sweep1 the small curve around the larger.
It works fine when done via the UI, with these settings:
See: HandMadeSweep1 layer.
But it fails when I try to use Brep.CreateFromSweep in a c# script node in grasshopper.
See GrassHopperMadeSweep1 layer.
The code is in this file:
Sweep1Problems.gh (25.4 KB)
Is there a trick to this that would make the rhinocommon call work?
Apparently GH uses an older version of Sweep. A broken one at that. I posted a while back triggered a few people (I was venting to be fair - not the best way to make things work). I usually avoid sweep even if my script becomes convoluted. I’ll loft or pipe or whatever else.
Thanks Joseph, that is very helpful.
I am generating multiple curves by contouring a shape and am generating about 25 Breps with the current iteration of the design and I can move much faster now that I don’t have to hand craft things.