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

Thread Loft Test

Discussion in 'Alibre Script' started by idslk, Nov 29, 2018.

  1. idslk

    idslk Alibre Super User

    Something to play around with...(V0.1)
    It draws a "real" Thread from scratch with a script.
    Sorry for using mm ;-)

    Hint: I would have loved it, if there were a AddHelix function...

    My first attempt to do it with a self drawn (BSpline) Helix and a sketch sweep failed.
    The swept sketch twisted more as more it gets up the helix.
    So i decided to do it otherways. The next accesible function to me was AddLoftCut.
    Not so easy as i thought...
    At last i drew a sketch like a thread comb, copied (sketch.copyfrom()) this to at 13(2*6+1) planes / sketches and than lofted them in two lofts.

    I is realy slow, works only with in this script created studs, makes only male threads, only metric row 1 threads and and and...
    Thread_Lofted_window1.JPG Thread_Lofted.JPG
    Comments or wishes are very welcome
    Stefan
     

    Attached Files:

    Eddy So and ajayre like this.
  2. albie0803

    albie0803 Alibre Super User

    Don't apologise for using millimeters, there's no need to. :)
     
  3. NateLiqGrav

    NateLiqGrav Alibre Super User

    Quite a creative solution! But some times I tested it reminds me why I avoid lofts whenever I can.
    upload_2020-9-24_10-48-2.png
     
    idslk likes this.
  4. idslk

    idslk Alibre Super User

    you don't have to position your cad pc that near to a room heater...:D
     
    NateLiqGrav likes this.
  5. HaroldL

    HaroldL Alibre Super User

    Nate, What parameters did you use to get that result?
     
  6. NateLiqGrav

    NateLiqGrav Alibre Super User

    If I remember correctly M10 x 1.5 and 30 (or somewhere in the 30s)
    I'll try it in the beta at home and see what it does.
     
  7. HaroldL

    HaroldL Alibre Super User

    I just ran it with M10x1.5 and tested 30 (wonky), 15(OK), 20(OK) and 25(wonky). But it is only Loft2 that goes wonky.:confused: It looks like yours went wonky at ~10.:confused:

    Thread Loft2 Wonky.png
     
  8. NateLiqGrav

    NateLiqGrav Alibre Super User

    The AlibreScript in the Beta is too unstable. I'm afraid I can't even get to the Win.OptionsDialog showing up without hanging.
     

Share This Page