generative modeling for Rhino
Can you give me an example code of Rhino.Geometry.SweepOneRail class?
I can figure out What the paramments means in the function of "Rhino.Geometry.SweepOneRail.PerformSweepRefit". Hope you can give a simple code to show how to use this function. Thank you, I will be very appreciate for it.
If you are using Rhino 5, then I would highly recommend trying the Brep.CreateFromSweep function. This function is a simplified version of Sweep1 which seems to work better in many cases.
Thank you very much , Can you give me an example used in GH for VB?
A = Brep.CreateFromSweep(railCurve, sweepCurves, railCurve.IsClosed, 0.01)
where railCurve is a single curve and sweepCurves can be either a single curve or a collection of curves. You can use a different value for closed if you want and you can also use a different overload of CreateFromSweep() if you want to use two railcurves.
can you give me a ghx file.Thank you. I am so busy this days that I have no time to surf the net.