basic variable assignment for offset construct point

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

  • basic variable assignment for offset construct point

    I have a tab that i need to construct a point on. cannot directly measure the point due to flash around the feature. I orginally simply measured a half circle, aligned to it (translated) offset a point by the nominal radius and was done with it. Now I see that I should have created a variable of the measured circle, then recalled the radius of the variable and use it as an offset.

    I do not know exactly how to do this, but i assume that it would be more accurate than offsetting a point from a nominal radial distance.

    mind the horribly crude drawing
    Attached Files
    Feed us-Fetus-Fajitas:monkey::monkey:

  • #2
    Did you try VAR1=CIRC1.R.MEAS ?

    Comment


    • #3
      Since i have no experience working with variables, I know thus far how to assign a feature as a variable. (i did this with the circle).
      would I just make a constructed point, create it as a variable, and assign its nominal position as "VAR1=CIRC1.R.MEAS"?

      thanks btw
      Feed us-Fetus-Fajitas:monkey::monkey:

      Comment


      • #4
        Originally posted by KaSaBiS View Post
        Since i have no experience working with variables, I know thus far how to assign a feature as a variable. (i did this with the circle).
        would I just make a constructed point, create it as a variable, and assign its nominal position as "VAR1=CIRC1.R.MEAS"?

        thanks btw
        You don't need to create an assigned variable. Just enter the feature's attribute you want to use into your generic point then tolerance it. Many ways to skin that cat.

        Code:
        F1         =GENERIC/POINT,DEPENDENT,RECT,$
                    NOM/XYZ,CIRC1.R.MEAS,0,0,$
                    MEAS/XYZ,0,0,0,$
                    NOM/IJK,0,0,1,$
                    MEAS/IJK,0,0,1
        or you may also need to add or subtract that features location to get what you want depending on which side of zero you are on.

        Code:
        F1         =GENERIC/POINT,DEPENDENT,RECT,$
                    NOM/XYZ,CIRC1.X+CIRC1.RAD,0,0,$
                    MEAS/XYZ,0,0,0,$
                    NOM/IJK,0,0,1,$
                    MEAS/IJK,0,0,1
        Last edited by dwade; 01-29-2010, 06:47 AM.
        Xcel & MicroVal Pfx & Global 37mr4 thru 2012mr1sp3
        Contura Calypso 5.4

        Lord, keep Your arm around my shoulder and Your hand over my mouth. Amen.

        Comment


        • #5
          I just measured a post to see the code in action and the actuals in the generic feature do not change after the circle is measured. (there is no rotate in the alignment, using machine startup alignment to recall rotate from, would that prevent actuals from showing in a generic feature?)

          Code:
          PLN1       =AUTO/PLANE,SHOWALLPARAMS = YES,SHOWHITS = YES
                      THEO/0,0,0,0,0,1
                      ACTL/0,-0.002,-0.009,0.0003556,0,0.9999999
                      TARG/0,0,0,0,0,1
                      THEO_THICKNESS = 0,RECT,TRIANGLE,$
                      AUTO MOVE = BOTH,DISTANCE = 8,RMEAS = None,None,None,$
                      NUMHITS = 3,NUMROWS = 1,SPACER = 7.5,RADIAL,$
                      ANGLE VEC = 1,0,0
                      MEAS/PLANE
                      HIT/BASIC,7.5,0,0,0,0,1,7.5,0,-0.012
                      HIT/BASIC,-3.75,6.495,0,0,0,1,-3.748,6.49,-0.008
                      HIT/BASIC,-3.75,-6.495,0,0,0,1,-3.748,-6.495,-0.008
                      ENDMEAS/
                      MOVE/CLEARPLANE
          CIR2       =AUTO/CIRCLE,SHOWALLPARAMS = NO,SHOWHITS = YES
                      THEO/0,0,-0.4,0,0,1,19.07,0
                      ACTL/0.029,-0.028,-0.4,0,0,1,19.034,0
                      TARG/0,0,-0.4,0,0,1
                      MEAS/CIRCLE
                      HIT/BASIC,9.535,0,-4.4,1,0,0,9.547,-0.001,-4.399
                      HIT/BASIC,2.946,9.068,-4.4,0.309,0.951,0,3.001,9.015,-4.399
                      HIT/BASIC,-7.714,5.605,-4.4,-0.809,0.588,0,-7.714,5.499,-4.399
                      HIT/BASIC,-7.714,-5.605,-4.4,-0.809,-0.588,0,-7.748,-5.521,-4.399
                      HIT/BASIC,2.946,-9.068,-4.4,0.309,-0.951,0,3.03,-9.056,-4.399
                      ENDMEAS/
          TMP0       =ALIGNMENT/START,RECALL:TMP3, LIST= YES
                      ALIGNMENT/LEVEL,ZPLUS,PLN1
                      ALIGNMENT/TRANS,XAXIS,
                      ALIGNMENT/TRANS,YAXIS,
                      ALIGNMENT/TRANS,ZAXIS,PLN1
                      ALIGNMENT/END
          F3         =GENERIC/POINT,DEPENDENT,RECT,$
                      NOM/XYZ,0,CIR2.Y-CIR2.DIAM/2,0,$
                      MEAS/XYZ,0,0,0,$
                      NOM/IJK,0,0,1,$
                      MEAS/IJK,0,0,1
          Last edited by KaSaBiS; 03-19-2010, 08:14 AM.
          Feed us-Fetus-Fajitas:monkey::monkey:

          Comment


          • #6
            What are you trying to check? Distance to the edge?
            sigpicIt's corona time!
            737 Xcel Cad++ v2009MR1....SE HABLA ESPAƑOL

            Comment


            • #7
              Check your alignment...
              Then, try to set actual values : generic feature work like this !
              TMP0 =ALIGNMENT/START,RECALL:TMP3, LIST= YES
              ALIGNMENT/LEVEL,ZPLUS,PLN1
              ALIGNMENT/TRANS,XAXIS, ?
              ALIGNMENT/TRANS,YAXIS, ?
              ALIGNMENT/TRANS,ZAXIS,PLN1
              ALIGNMENT/END
              F3 =GENERIC/POINT,DEPENDENT,RECT,$
              NOM/XYZ,0,CIR2.Y-CIR2.DIAM/2,0,$
              MEAS/XYZ,0,CIR2.Y-CIR2.DIAM/2,0,$
              NOM/IJK,0,0,1,$
              MEAS/IJK,0,0,1

              Comment


              • #8
                F3 =GENERIC/POINT,DEPENDENT,RECT,$
                NOM/XYZ,0,CIR2.TY-CIR2.TR,0,$
                MEAS/XYZ,0,CIR2.Y-CIR2.R,0,$
                NOM/IJK,0,0,1,$
                MEAS/IJK,0,0,1
                Add T to nominal for theoretical and use R for radius
                sigpic...engineering

                Comment


                • #9
                  Can you provide a print of the datum structure and the area in question (if not the same areas of course).
                  sigpic

                  James Mannes

                  Comment


                  • #10
                    Thanks Dwade for telling me the variable was unnecessary. Thanks Jefman for telling me that the measured value has to be keyed in as well, that was my problem. to James, this was just to lock down a method that I can apply for future scenerios.

                    to Obelix thanks, this tip took my example one step further and now i can get full use out of my generic points.
                    Originally posted by Obelix View Post
                    Add T to nominal for theoretical and use R for radius
                    Feed us-Fetus-Fajitas:monkey::monkey:

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X