algorithmic modeling for Rhino
Not sure I'm interpreting your drawing properly, but it looks like just a sweep of the two circles. If this is what you're after try the SweepOneRail.PerformSweep() method.
SweepOneRail railSweep = new SweepOneRail();
Curve[] xSections = {x,y};
double[] xParams = {0,1};
A = railSweep.PerformSweep(z, xSections, xParams);
thank you,Andrew!i have tried and it works!and how do you know that,from rhinocommon sdk?i have looked up the rhinocommon sdk and find it,but i cannot find out the exact meaning of xParams,can you tell me how to find the explaination of xParams?,thank you !!!
Yeah, I looked in the RhinoCommon SDK. The PerformSweep method takes 3 inputs, in the way I'm using it: the rail curve, a list of section curves, and a list of parameters (points along the rail curve) at which to locate the section curves.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by