Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

SW API - "is parallel" function?

Status
Not open for further replies.

DesignModeler

Mechanical
Joined
May 17, 2011
Messages
23
Location
CA
Hey forum,

I've been on here for almost a week, and I can't explain how grateful I am for all your input.

I have another question about SW API. If you have a selected component, is there a way to check if any of its planes are parallel with any of the assembly planes? I know how to select planes inside components, but not how to compare to another plane.

All help is really appreciated!
 
Personally when I need that I just add a mate between the 2 planes and use parallel and that works for me. hope this helps.
 
Get the normal vector of each plane and cross them. The magnitude of the cross product of two parallel vectors is zero.

-handleman, CSWP (The new, easy test)
 
This is a tube which was extruded and there is a one loop helix in the middle of it. Not the easiest thing to copy into another part.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top