sumBuddy
Mechanical
- Jun 3, 2011
- 31
Hello All -
I am creating a utility that places a surface across a set of curves. I am utilizing a combination of through curve mesh, and ruled surfaces. When using the RuledBuilder, I add my curves, etc and generate the surface. My issue occurs after the surface has been generated. About 1/3 of the time, the second curve's direction vector needed to be switched. I know how to program this switch (SecondSection.ReverseDirection()), but do not know how to programmatically predict that the switch is necessary. Is there a method for determining if a ruled surface will be twisted, or not?
Any help would be greatly appreciated. Thank you in advance
I am creating a utility that places a surface across a set of curves. I am utilizing a combination of through curve mesh, and ruled surfaces. When using the RuledBuilder, I add my curves, etc and generate the surface. My issue occurs after the surface has been generated. About 1/3 of the time, the second curve's direction vector needed to be switched. I know how to program this switch (SecondSection.ReverseDirection()), but do not know how to programmatically predict that the switch is necessary. Is there a method for determining if a ruled surface will be twisted, or not?
Any help would be greatly appreciated. Thank you in advance