Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IFRs on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NXOpen a Ruled Surface in NX8

Status
Not open for further replies.

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
 
Replies continue below

Recommended for you

Hello All (again) -

I think I answered my own question. Everything seems to be working correctly. I just gathered the direction of the unit vectors defining the ruled surface and determined if the norm of their sum was greater than the norm of any of the original vectors. If this is false, then one of the original vectors needed to be switched.

Unless there is a more elegant way of doing this (i.e. an NX method already created) then I guess this one is solved.

sumBuddy (Mechanical)

--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor