hexagon logo

Extract theos from an auto sphere and convert them into individual vector points

I created an auto sphere with 25 hits, and I want to make 25 individual vector points out of them. Is there an easy way to do it?
Parents
  • or anyone, I used file IO to write all the looped points to a text file with XYZIJK info. I then used another program to read the text file that creates all the individual vector points and it works as intended. How would you take those looped points and use them to re construct the sphere?

    FPTR =FILE/OPEN,C:\USERS\*************\DESKTOP\DATA_1.TXT,READ
    
    V2 =LOOP/START,ID=YES,NUMBER=20,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=0
    
    V1 =FILE/READLINE,FPTR,{XX}+","+{YY}+","+{ZZ}+","+{II}+","+ {JJ}+","+{KK}
    
    PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<XX,YY,ZZ>,<II,JJ,KK>
    ACTL/<0.4755,-0.1545,0>,<0.9510657,-0.3089888,0>
    TARG/<XX,YY,ZZ>,<II,JJ,KK>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=0.3937
    SHOW HITS=NO
    
    LOOP/END
    
    FILE/CLOSE,FPTR,KEEP
    
Reply
  • or anyone, I used file IO to write all the looped points to a text file with XYZIJK info. I then used another program to read the text file that creates all the individual vector points and it works as intended. How would you take those looped points and use them to re construct the sphere?

    FPTR =FILE/OPEN,C:\USERS\*************\DESKTOP\DATA_1.TXT,READ
    
    V2 =LOOP/START,ID=YES,NUMBER=20,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=0
    
    V1 =FILE/READLINE,FPTR,{XX}+","+{YY}+","+{ZZ}+","+{II}+","+ {JJ}+","+{KK}
    
    PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<XX,YY,ZZ>,<II,JJ,KK>
    ACTL/<0.4755,-0.1545,0>,<0.9510657,-0.3089888,0>
    TARG/<XX,YY,ZZ>,<II,JJ,KK>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=0.3937
    SHOW HITS=NO
    
    LOOP/END
    
    FILE/CLOSE,FPTR,KEEP
    
Children
No Data