Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  • Users: DesignModeler
  • Order by date
  1. DesignModeler

    SW API curvature method?

    In my situation, the faces/surfaces are only cylindrical. Always. But one face's curvature (from vEval(9) or vEval(10)), who's normal points TOWARD the origin axis of that cylinder, is positive - and one face's curvature(from vEval(9) or vEval(10)), who's normal points AWAY from the origin axis...
  2. DesignModeler

    SW API curvature method?

    Thanks, it seems just FaceInSurfaceSense is all I need, when does negative curvature occur? I haven't encountered it yet.
  3. DesignModeler

    SW API curvature method?

    "...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...
  4. DesignModeler

    SW API help - inside or outside??

    @ 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...
  5. DesignModeler

    SW API help - inside or outside??

    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
  6. DesignModeler

    SW API help - inside or outside??

    @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.
  7. DesignModeler

    SW API help - inside or outside??

    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...
  8. DesignModeler

    Solidworks API - get circular edge center coordinates

    Sorry, thats what I meant to write, center coordinates. Please neglect this thread as I have gone in a different direction. Thanks though.
  9. DesignModeler

    Solidworks API - get circular edge center coordinates

    Wondering if there is way to get the coordinates of circular edge of a model inside an assembly? See attached picture for more details. SolidWorks obviously can... any help?
  10. DesignModeler

    Create A reference plane (special case?)

    @CorBlimeyLimey, in my case, those faces are not accessible in all situations (fillet or chamfer before adjacent faces). This is for a macro and although is possible, the amount of coding to acquire the faces, create planes, etc.. is far more work. I will use your sketch geometry idea instead...
  11. DesignModeler

    Create A reference plane (special case?)

    Your second choice is what I'm looking for, I want a "mid-plane" between the two edges, but reference planes from edge references only include coincident... see photo attachedhttp://files.engineering.com/getfile.aspx?folder=df68598e-0e11-41d0-b3aa-a64f1c26d704&file=refplane.jpg
  12. DesignModeler

    Create A reference plane (special case?)

    Is there is a way to define a reference plane between two concentric edges?
  13. DesignModeler

    SW API - "is parallel" function?

    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...
  14. DesignModeler

    SW API macro runs in background

    I don't need or want a userform. Sub main() Dim Question as Long Question = msgbox("Does this come up first?", vbYesNo) If Question = vbYes Then msgbox "You obviously don't need to do this.", vbOkayOnly Else msgbox "More help is needed.", vbOkayOnly End if End Sub Obviously...
  15. DesignModeler

    SW API macro runs in background

    Sorry, I should've been more specific: MY macro doesn't include any userforms, only msgboxs. ill try these ideas though, thanks.
  16. DesignModeler

    SW API macro runs in background

    Macro does not contain any userforms, just msgboxs... will it work nonetheless?
  17. DesignModeler

    SW API macro runs in background

    I'm sure this topic has been covered, but I've had no luck finding related threads. Most of my macro prompts get lost in the background of Windows 7 and I have to hit Alt-Tab to switch it over and it is starting to get a bit annoying. Is there any easy way to set them to come up in the...
  18. DesignModeler

    SolidWorks API - Add mates by edge name

    After a little trial and error... * SOLUTION * '---------------------------------------- ' Preconditions: ' (1) Assembly document (ASSYNAME) is open and has one or more components (PARTNAME) ' (2) One part has a defined edge entity (ENTNAME) ' Postconditions: Defined...
  19. DesignModeler

    SolidWorks API - Add mates by edge name

    @handleman, Thanks for the input, I'm on the right track. I now have a pointer to the body that the edge exists on. I can't seem to understand how to implement the GetEdges() method but the GetEdgeCount() works and returns a value...

Part and Inventory Search