hexagon logo

Using a loop with differents allignments

Hello everyone!

So I want to write a program for fixture with multiple parts which are the same (3 in total) using loops.
Our customer have parts with their own coordinate system (its a assembly of 9 differents parts).

The problem that I have is:
Every part on a fixture must have their own coordinate system - meaning there should be an offset between them.

Is there a way (probably is) to use a loop with offsetting the coordinate systems which each part.

Thanks.

BR
Parents
  • $$ no,
    prepare and save your manual alignments in seperate programs named align1, align2 etc...
    
    
    Assign/v1=1
    v1 =loop/start,id=yes,number=3,start=1,skip=,
    offset:xaxis=0,yaxis=0,zaxis=0,angle=0
    assign/alignx="align" +v1 +".aln"
    recall/alignment,external,alignx
    f1 =generic/point,dependent,cartesian,$
    nom/xyz,<0,0,0>,$
    meas/xyz,<0,0,0>,$
    nom/ijk,<0,0,1>,$
    meas/ijk,<0,0,1>
    dim loc1= location of point f1 units=mm ,$
    graph=off text=off mult=10.00 output=both half angle=no
    ax nominal +tol -tol meas dev outtol
    x 0.0000 0.0500 -0.0500 0.0000 0.0000 0.0000 ----#----
    y 0.0000 0.0500 -0.0500 0.0000 0.0000 0.0000 ----#----
    z 0.0000 0.0500 -0.0500 0.0000 0.0000 0.0000 ----#----
    end of dimension loc1
    loop/end
    
  • Thanks for an example.

    Going to test it.
Reply Children
No Data