Assignments

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

  • Assignments

    Could some one send out 3 or 4 samples of assignments.
    1) Measuring a cone and trying to callout 1/2 the angle.
    2) Measuring a point in Z, then taking a plane and point and creating a 3D
    distance then I,m needing to add 2.102 to the distance for the callout.
    3)I have a blueprint of a part that covers four parts numbers, every dimension
    is the same except for a inside diameters how could I use a single program
    to check all 4 parts numbers and only change that diameter.

    Any and All help will be greatly appreciated.
    sigpic

  • #2
    This is how I do one of my cones. I construct the cone from vector points, due to using multiple tips to measure it.
    Code:
    CON1       =FEAT/CONE,RECT,OUT,LENG
                THEO/0,0,-0.0801,0,0,1,0.0246,3.7747,3.9099
                ACTL/0.0021,-0.0026,-0.0794,-0.0001613,0.0005859,0.9999998,0.0259,3.6058,3.7505
                CONSTR/CONE,BF,PNT1,PNT3,PNT5,PNT6,PNT7,PNT8,PNT9,PNT10,PNT11,PNT12,PNT13,PNT14,PNT16,PNT2,,
                ASSIGN/V5 = ABS(180-CON1.A.MEAS)/2
    CON2       =GENERIC/CONE,DEPENDENT,RECT,OUT,$
                NOM/XYZ,0,0,0,$
                MEAS/XYZ,0,0,0,$
                NOM/IJK,0,0,1,$
                MEAS/IJK,0,0,1,$
                DISTANCE/0,0,$
                ANGLE/20,V5
    DIM D10= LOCATION OF CONE CON2  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=1.00  OUTPUT=BOTH
    AX  NOMINAL    +TOL     -TOL     MEAS    OUTTOL 
    A   20.0000   0.5000   0.5000  19.7026   0.0000 #
    END OF DIMENSION D10
    I came up with this distance code on the fly this morning, you will need to double check and modify it as you go.
    Code:
    DIM D14 = 3D DISTANCE FROM PLANE DATUM -A- TO PLANE PLN2, NO_RADIUS  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
    AX  NOMINAL    +TOL     -TOL     MEAS    OUTTOL 
    M    0.0730   0.0100   0.0100   0.0733   0.0000 #
                ASSIGN/V10 = ABS(D14.M.MEAS+2.012)
    SLT1       =GENERIC/NONE,DEPENDENT,RECT,OUT,$
                NOM/XYZ,2.092,0,0,$
                MEAS/XYZ,V10,0,0,$
                NOM/IJK,0,0,1,$
                MEAS/IJK,0,0,1,$
                RADIUS/0,0,$
                ANGLE/0,0,$
                DISTANCE/0,0
    DIM D16= LOCATION OF PLANE SLT1  UNITS=IN ,$
    GRAPH=OFF  TEXT=OFF  MULT=1.00  OUTPUT=BOTH
    AX  NOMINAL    +TOL     -TOL     MEAS    OUTTOL 
    X    2.0920   0.0040   0.0040   2.0853   0.0027 <
    END OF DIMENSION D16
    The third item I would use a COMMENT/INPUT, LABELS and IFGOTO statements. If I get some time today I will try to come up with something.
    When in doubt, post code. A second set of eyes might see something you missed.
    sigpic

    Comment


    • #3
      For the 3rd part of your question, try something like this...

      You may have to add the 3rd and 4th part...code would be same-


      After your STARTUP and LOADPROBE somewhere in the beginning of your program -

      RESTART =LABEL/
      C1 =COMMENT/INPUT,Which part is being measured?
      ,1= Part with 3" hole, 1" height in Z axis
      ,2= Part with 2" hole, 5" height in Z axis
      IF/C1.INPUT<>1 AND C1.INPUT<>2
      COMMENT/OPER, Input not valid !
      GOTO/RESTART
      END_IF/
      IF/C1.INPUT==1
      ASSIGN/V1 = 3
      ASSIGN/V2 = 1
      END_IF/
      IF/C1.INPUT==2
      ASSIGN/V1 = 2
      ASSIGN/V2 = 5
      END_IF/
      CIR1 =AUTO/CIRCLE, SHOWALLPARAMS=NO, SHOWHITS=NO
      THEO/1,1,0.95,0,0,1,V1
      ACTL/1,1,0.95,0,0,1,3
      TARG/1,1,0.95,0,0,1,V1
      PLN1 =FEAT/PLANE,RECT
      THEO/4,1.5,V2,0,0,1
      ACTL/4,1.5,1,0,0,1
      MEAS/PLANE,3
      HIT/BASIC,......
      HIT/BASIC,......
      HIT/BASIC,......
      DIM LOC1= LOCATION OF CIR1 UNITS=IN , $
      GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
      AX NOMINAL +TOL -TOL MEAS DEV
      D V1 0.0000 0.0000 3.0000 0.0000 ----#----
      END OF DIMENSION LOC1
      DIM LOC2= LOCATION OF PLN1 UNITS=IN , $
      GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
      AX NOMINAL +TOL -TOL MEAS DEV
      Z V2 0.0000 0.0000 1.0000 0.0000 ----#----
      END OF DIMENSION LOC2

      PC-DMIS CAD++ 3.7 from 4.2 MR1

      Comment


      • #4
        Thanks, this new data that ya'll have sent out will be used now and in the future.
        sigpic

        Comment


        • #5
          hey AuRules...how 'bout that B-ball game last night? Hehe...heheeheh.
          ** "Well, ain't this place a geographical oddity. Two weeks from everywhere!"~ Ulysses Everett McGill **

          Comment


          • #6
            Seen the game and matter of fact my wife is a Alabama fan (poor girl)and I rub it in the whole night...
            sigpic

            Comment


            • #7
              Originally posted by AuRules View Post
              Seen the game and matter of fact my wife is a Alabama fan (poor girl)and I rub it the whole night...
              What, team loses and you gotta take care of it yourself?.......
              When in doubt, post code. A second set of eyes might see something you missed.
              sigpic

              Comment


              • #8
                Originally posted by John Kingston View Post
                What, team loses and you gotta take care of it yourself?.......
                Dang, that's pretty cruel twisting his words like that . . .
                sigpic
                Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
                PCDMIS 2012
                Windows Office XP

                Comment


                • #9
                  War Eagle!!!!!.......81-57!!!

                  Comment


                  • #10
                    Doberman, been a while. Cool to see you around.
                    <internet bumper sticker goes here>

                    Comment


                    • #11
                      Originally posted by AuRules View Post
                      Seen the game and matter of fact my wife is a Alabama fan (poor girl)and I rub it in the whole night...
                      "rubbing it in" on the wife. hehehehheheheee
                      ** "Well, ain't this place a geographical oddity. Two weeks from everywhere!"~ Ulysses Everett McGill **

                      Comment


                      • #12
                        Originally posted by craiger_ny View Post
                        Doberman, been a while. Cool to see you around.
                        what is this, like reunion day??
                        Links to my utilities for PCDMIS

                        Comment

                        Related Topics

                        Collapse

                        Working...
                        X