×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

SW API help - inside or outside??

SW API help - inside or outside??

SW API help - inside or outside??

(OP)
Hey Forum,

I'm designing a macro that automatically creates and adds a custom length o-ring to an assembly based on the cylindrical groove surface diameter. My problem is if its an inside groove, the OD of the oring must be the diameter, or if its an outside groove, the ID of the oring must be the diameter. I am having trouble determining a simple way to check if its an inside or outside groove.

Mathematically, if its an inside groove, if you have a point on the surface, its normal is directed towards the origin of the surface, otherwise, its normal is directed away (negative of) from the origin... anyone else have any simpler ideas?

RE: SW API help - inside or outside??

Seating-face diameter at the bottom of the groove is < or > the open edge?

RE: SW API help - inside or outside??

(OP)
@CBL

Yes, its possible to do it that way, but I'd rather not try to reference adjacent faces and edges due to fillets or chamfers that may exist on seating face and open edge... if I can't come up with anything easier I may have to resort to that, thanks.

RE: SW API help - inside or outside??

OK ... Seating-face diameter at the bottom of the groove is < or > the diameter into which the groove is cut?

 

RE: SW API help - inside or outside??

Ohh!  By "cylindrical groove", do you mean the groove is cut into a cylinder (round shaft or round hole), or the groove itself is cylindrical (semi-circular) in cross-section?

RE: SW API help - inside or outside??

(OP)
The groove is cut into a cylinder for the oring (male or female side) or for simplification, any cylindrical surface should work.
don't know how to recognize if inside or outside

RE: SW API help - inside or outside??

IIR, the groove design is related to the sealing requirements, not the nominal size of the oring or the shaft. I have used this site as a reference in oring design:
http://www.allorings.com/gland_static_axial.htm
The site is a technical asset.

--
Hardie "Crashj" Johnson
SW 2011 SP 2.0
HP Pavillion Elite HPE
W7 Pro, Nvidia Quaddro FX580

 

RE: SW API help - inside or outside??

(OP)
@ Snowcrash,

That has nothing to do with the thread topic or my original question. I didn't mention my lack of knowledge in sealing solutions or O-ring groove design because it is entirely irrelevant. If you are unfamiliar with SW API, don't bother. Please read the entire thread before you post.

@CBL,

"...A positive curvature by convention implies a centre of curvature on the side pointed away from by the surface normal (convex)..." - what does that mean in terms of this method:

http://help.solidworks.com/2011/english/api/sldworksapi/solidworks.interop.sldworks~solidworks.interop.sldworks.isurface~evaluateatpoint.html
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources