1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script to make and save Metric series cap screws

Discussion in 'Alibre Script' started by oldfox, Jun 10, 2019.

  1. oldfox

    oldfox Alibre Super User

    Enjoy.
     

    Attached Files:

  2. jhiker

    jhiker Alibre Super User

    Thanks for that. When I run that script I'm asked for a folder path to save to.
    Is that where I'm going to save the newly-created part?
    Is it relevant if I'm using M-Files - I have to re-enter the data when I save there anyway.


    2019-06-11_09h49_27.png
     
  3. idslk

    idslk Senior Member

    I hope Chris is tolerating my "intrusion"...;)
    yes
    the question for the save location can be disabled (12th line from bottom):
    SaveLocation() # SEE NOTE ABOVE AT LINE 36
    also you can disable the last two lines of the script
    Screw.Save(OutputFolder)
    Screw.Close()

    and do it manually.

    Regards
    Stefan
     
  4. oldfox

    oldfox Alibre Super User

    Intrude! Intrude! Any assist and good answer is always welcome.:cool:
     
  5. albie0803

    albie0803 Alibre Super User

    Oldfox, M14, M16, M20 Hex heads don't build the hex. M10 & M12 do. I haven't tried smaller sizes but something is screwy somewhere.
     
  6. oldfox

    oldfox Alibre Super User

    Albie, I have the problem isolated. I'll fix it and then upload a new version of the script. You can just replace the old one with the new one.
    With all of the combinations possible I didn't try every one. But then that was just Alpha testing. Well done with the Beta testing. :D
     
  7. oldfox

    oldfox Alibre Super User

    The fix is in. M14 thru M16 Hex head problem is fixed and tested. Produces beautiful bolts.
    New Version number is 2.0.2 of 12 June 2019.
    Albie, thanks for the catch on that one. The problem was in the database, which is common to every screw, so it affected ONLY Hex heads in those
    three sizes. (they were 0.0 values, my oversight)

    Now, enjoy.
     

    Attached Files:

  8. jhiker

    jhiker Alibre Super User

    Excellent! It works well.
    And thanks to idslk for the tip regarding disabling the 'Save' location.
     

Share This Page