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

Did feature patterning ever get added to scripting?

Discussion in 'Alibre Script' started by albie0803, Sep 4, 2020.

  1. albie0803

    albie0803 Alibre Super User

    What I want is:
    P = CurrentPart()
    f1 = P.AddExtrudeCut('ESplineTeeth', S, LG , True)
    f2 = P.AddRevolveCut('Runout',SR,HA,360)

    P.AddCirclePattern([f1, f2] , X-Axis, 10, 36)

    AddCirclePattern(Feature List, Axis, Count, Degrees)

    I wrote a little script that gives me a generic (eye candy) spline tooth but I have to manually do the pattern.
    I would like to get the script to do it.

    upload_2020-9-5_10-3-38.png
     
  2. NateLiqGrav

    NateLiqGrav Alibre Super User

    Patterns are currently NOT supported by the API and therefor not by AlibreScript either.

    However you can emulate the pattern's result by making new features over and over at calculated angles/locations.

    Another option I have been working on is to get an AutoHotkey like scripting (that operates like a user) working in AlibreScript. I have so far been successful with making one that can operate Alibre Design's menus using keyboard entry. I believe that could work to make patterns but I've more testing to do.
     
  3. albie0803

    albie0803 Alibre Super User

    bummer. Oh well
     

Share This Page