hexagon logo

Iterative Alignment Error

Hey, friends. Hoping someone can help me. I keep getting an 'Iterative Alignment Error' on my programs and I'm not sure why... I've attached my code and a picture of the CAD I'm working with.

I'm aligning on 3 sample hits on top of 3 bushings pointing in the x
I'm rotating in two bushings into the Z
I'm using one bushing for the origin.

I don't know why it isn't working Disappointed

Save meeeeeeeeeee






Parents
  • That's an interesting output... Try this instead:

    Copy your code on the edit screen from cir1 to the end of the iterative alignment. (Ctrl + C). Paste it into the reply window (Ctrl + V). Put
    infront of your code, and
    after your code (delete the spaces inside the brackets.) It will look like:

    here's my code


    On second thought, I see the problem. You're rotating to Cir1 and Cir2 to Z. You can either rotate to Cir2 and 3 to Z, or rotate Cir1 and 2 to Y.

    Is Cir2 designated as bushing 2 on the piece? Usually the 90 degree corner is #1 (origin), the longer leg has #2 (rotate) and the shorter leg has the #3 (level).
Reply
  • That's an interesting output... Try this instead:

    Copy your code on the edit screen from cir1 to the end of the iterative alignment. (Ctrl + C). Paste it into the reply window (Ctrl + V). Put
    infront of your code, and
    after your code (delete the spaces inside the brackets.) It will look like:

    here's my code


    On second thought, I see the problem. You're rotating to Cir1 and Cir2 to Z. You can either rotate to Cir2 and 3 to Z, or rotate Cir1 and 2 to Y.

    Is Cir2 designated as bushing 2 on the piece? Usually the 90 degree corner is #1 (origin), the longer leg has #2 (rotate) and the shorter leg has the #3 (level).
Children
No Data