Dimension Distance on a Loop

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

  • Dimension Distance on a Loop

    Hello World of CMM Programmers,

    I am new to the game, running PC-Dmis V4.1

    I have a part that has several Cones in a line, which I have constructed a loop to check, but when it comes to getting the distance from one to the other only the first Cone appears on my dimension list.

    I have Con1[1], Con1[2] and I need to know the distance between the two.

    Most of what I have learned has come from this forum, hopefully there is someone out there that can help me out.
    sigpic
    I reject your reality and substitute my own

  • #2
    This is something that I have also looked into...using data from within a loop.

    At this time there is no way to get this data other than seeing the individual features reported. Getting distance from CIR1(1) to CIR1(2) is not an option.

    The only way to do what you need is to get rid of the looping.
    At this time PCDmis looping is more for repeating "parts" rather than "features".

    I would love to be able to use looping more to cut down on program length and make my programs cleaner. Like being able to edit one feature in a loop instead of all of the features needing an edit. I know find and replace works, but not in all cases.

    hope this helps relieve some headaches
    bob
    Which one gets ridden today? MPH vs MPG..tough choice, both are FUN
    sigpic

    Starrett RGDC 4028-24 :alien:
    Demon vintages 3.7, 4.1, 4.2, 4.3, 2009

    Comment


    • #3
      If these cones are all on a single part, use COPY / PASTE WITH PATTERN and have individual features.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        THANKS A MILLION! I have 384 cones on one part. This will save so much time!
        sigpic
        I reject your reality and substitute my own

        Comment


        • #5
          Originally posted by BWilliams View Post
          THANKS A MILLION! I have 384 cones on one part. This will save so much time!
          Does that make you a conehead? ROFLAMHSOH

          Matt is right. Go with paste with pattern.

          Welcome to our world. Ask questions and be prepared for sarcasm. We like alcohol here too. See OFF-TOPIC side for good laughs!
          When in doubt, post code. A second set of eyes might see something you missed.
          sigpic

          Comment


          • #6
            Not sure how complicated your program is but could you do something like this?
            You can create the DIMENSION and then manually type the NAME[index] of the feature you want. I did it with circles but the method should be about the same.

            MODE/DCC
            V1 =LOOP/START, ID = YES, NUMBER = 5, START = 1, SKIP = ,
            OFFSET: XAXIS = 3, YAXIS = 0, ZAXIS = 0, ANGLE = 0
            CIR1 =FEAT/CIRCLE,RECT,IN,LEAST_SQR
            THEO/1,3,0,0,0,1,1
            ACTL/1,3,0,0,0,1,1
            MEAS/CIRCLE,4,WORKPLANE
            HIT/BASIC,NORMAL,1.5,3,0,-1,0,0,1.5,3,0,USE THEO = YES
            HIT/BASIC,NORMAL,1,3.5,0,0,-1,0,1,3.5,0,USE THEO = YES
            HIT/BASIC,NORMAL,0.5,3,0,1,0,0,0.5,3,0,USE THEO = YES
            HIT/BASIC,NORMAL,1,2.5,0,0,1,0,1,2.5,0,USE THEO = YES
            ENDMEAS/
            IF/V1 > 1
            DIM DIST1= 2D DISTANCE FROM CIRCLE CIR1[V1-0] TO CIRCLE CIR1[V1-1] (CENTER TO CENTER), NO_RADIUS UNITS=IN ,$
            GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
            AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
            M 9.0000 0.0100 0.0100 9.0000 0.0000 0.0000 ----#----
            END_IF/
            LOOP/END

            Comment


            • #7
              I used the copy / paste with patterns, it turned out to be one of the fastest and cleanest programs I done so far.

              I was looking into taking the PC-Dmis Advance course through B&S. Would it be worth my time?
              sigpic
              I reject your reality and substitute my own

              Comment

              Related Topics

              Collapse

              • Donny Wallbanger
                Looping a Loop?
                by Donny Wallbanger
                Good morning all I hope you are all having a good day, I have a program that contains a simple loop to check multiple pockets on a valve rotator body,...
                01-13-2017, 05:37 AM
              • bhska
                Looping Question?
                by bhska
                I have a program to check multiple features on these parts for inspection. I have looped 1-3 with one loop command that translates along X. My question...
                06-15-2006, 05:07 PM
              • B. Jacobs
                Looping Question
                by B. Jacobs
                I have three parts that I am running in a loop. I have a question that ya'll may be able to answer for me.
                By the time my loop gets to the third...
                09-13-2006, 03:13 PM
              • elvis
                dimensions from loop cycle?
                by elvis
                i've made a loop with features inside it
                and a counter;

                pretty basic, it goes from a counter to measuring to testing the counter...
                12-06-2006, 04:22 PM
              • WolfMan
                Yet another Looping thread
                by WolfMan
                I have not done this in a very long time, can someone suggest the best way to loop. I have 4 identical cylindrical parts that I want to measure in one...
                08-09-2017, 11:49 AM
              Working...
              X