Macro Cone Location

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Macro Cone Location

    Hi. I have a cone but I am using a variable for my Y location. Can the software trig out each individual hitpoint, or do I have to do that myself? I know I can do it but it will take a while. Thanks

    Code:
    CON3       =FEAT/CONTACT/CONE/DEFAULT,CARTESIAN,IN
                THEO/<0,4.75+VARA,0>,<0,1,0>,89.9999999,-0.037,0.19
                ACTL/<0,6.106,0>,<0,1,0>,89.9999999,-0.037,0.19
                TARG/<0,4.75+VARA,0>,<0,1,0>
                START ANG=0,END ANG=360
                ANGLE VEC=<-1,0,0>
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=YES
                  NUMHITS=5,NUMLEVELS=2,DEPTH=0.001,END OFFSET=0.001
                  SAMPLE METHOD=SAMPLE_HITS
                  SAMPLE HITS=0,SPACER=0
                  AVOIDANCE MOVE=BOTH,DISTANCE=0.393701
                  ONERROR=NO,READ POS=NO
                SHOW HITS=YES
                  HIT/BASIC,<-0.094,6.17,0>,<0.7071068,0.7071068,0>,<-0.1555618,6.1084283,0.0002797>
                  HIT/BASIC,<-0.0290476,6.17,0.0893993>,<0.218508,0.7071068,-0.6724985>,<-0.0481171,6.1082055,0.148064>
                  HIT/BASIC,<0.0760476,6.17,0.0552518>,<-0.5720614,0.7071068,-0.4156269>,<0.0760476,6.17,0.0552518>
                  HIT/BASIC,<0.0760476,6.17,-0.0552518>,<-0.5720614,0.7071068,0.4156269>,<0.0760476,6.17,-0.0552518>
                  HIT/BASIC,<-0.0290476,6.17,-0.0893993>,<0.218508,0.7071068,0.6724985>,<-0.0290476,6.17,-0.0893993>
                  HIT/BASIC,<-0.018232,6.135,-0.0561123>,<0.218508,0.7071068,0.6724985>,<-0.018232,6.135,-0.0561123>
                  HIT/BASIC,<0.047732,6.135,-0.0346793>,<-0.5720614,0.7071068,0.4156269>,<0.047732,6.135,-0.0346793>
                  HIT/BASIC,<0.047732,6.135,0.0346793>,<-0.5720614,0.7071068,-0.4156269>,<0.047732,6.135,0.0346793>
                  HIT/BASIC,<-0.018232,6.135,0.0561123>,<0.218508,0.7071068,-0.6724985>,<-0.018232,6.135,0.0561123>
                  HIT/BASIC,<-0.059,6.135,0>,<0.7071068,0.7071068,0>,<-0.059,6.135,0>
                ENDMEAS/

  • #2
    There are different solutions, like creating a alignment at the theo cone location (with Y variable), measure the cone at 0,0 and recall the previous alignment.
    You can also create an auto-cone with the Y variable inside.
    I'm not sure that your solution works, but it can be tested offline !

    Comment


    • #3
      Thanks Jefman. I really like your suggestion of creating an alignment with the Y Variable. I'll probably try that.

      I'm not sure but I think your second suggestion is what I attempted? I don't think it works because the "showhits/hitbasic" are using the coordinates of the only model that I have (of the family of parts). So I think it's always going to try probing those coordinates regardless of which part part number I select. Even though the THEO and TARG say "VARA..." I did the same thing a Cylinder location in this program, but I had to give the showhits/hitbasic "VARA" in Y as well.

      I'll post back when I find something that works (probably your first solution)!

      Comment


      • JEFMAN
        JEFMAN commented
        Editing a comment
        instead of 0,0, you just have to ASSIGN/ZERO=0, then use zero instead of 0 !!!!!!!

    • #4
      AFAIK your fist solution should work fine, however I've a feeling I may have seen someone recently reporting that the hits weren't updating in a similar situation, so it may be a bug (Not sure what version but a recent one I assume).


      Applications Engineer
      Hexagon UK

      Comment

      Related Topics

      Collapse

      Working...
      X