Using Variables

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

  • Using Variables

    Here is my question-
    Can I assign a variable or something that would allow me to take a vector point hit on the radius of a slot?
    I have a slot that should be in the middle of my part thickness. I want to take the radius of the slot and hit a point right in the middle of that radius so I know I am at the widest point.
    After I measure the radius the variable would be able to pick the radius and then hit according to the radius. Each slot may be off a little in the thickness so thats why I would like to get it in the middle. This way I am not taking the hit to high or to low.
    B. Jacobs
    B&S Global 12.15.10
    2014.1

  • #2
    I'm trying to picture this and I might have the wrong idea when you say slot. Is this a woodruf type of slot that the radius goes "down" into the material? Or is this an end mill type of slot that goes "along" the material? Or do I not make sense?
    <internet bumper sticker goes here>

    Comment


    • #3
      the best I could describe it is like this-
      If you take a piece of somthing that is 8.25" long, 2.5" wide, and .6250" thick. and lay it down so you only see the thickness and the lenght. Now take a hole a go through it olong the width. This is the slot I am refering to.
      I have loaded a picture. I hope this helps.
      Last edited by B. Jacobs; 04-02-2008, 08:24 AM.
      B. Jacobs
      B&S Global 12.15.10
      2014.1

      Comment


      • #4
        Yeah assign a variable to the R. centerline measured value and then input that variable into the theo and target fields on the point. it may look something like this....

        ASSIGN/V1 = CIR2.X
        PNT6 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES
        THEO/V1+0,0.30787,0.21018,-0.2588199,0.08419,0.9622496
        ACTL/-0.85606,0.30787,0.21018,-0.2588199,0.08419,0.9622496
        TARG/V1+0,0.30787,0.21018,-0.2588199,0.08419,0.9622496
        THEO_THICKNESS = 0,RECT,SNAP = YES,$
        AUTO MOVE = NO,DISTANCE = 0

        you may want to throw a "+0" behind the variable. I know in 3.5mr2 ( havent tested others yet ) the values would change by a small amount without the +0 added.
        Last edited by Sean Harris; 07-05-2006, 02:09 PM.
        Badges..... We don't need no stinkin badges.

        Comment


        • #5
          Sean,
          I am trying what you suggested but I can't seem to get it to work.
          I have inserted a variable and when I put in the text infront of the theo hit I get a message that it is an INvalid Number.

          ASSIGN/V1 = CIR5.R
          PNT17 =AUTO/VECTOR POINT, SHOWALLPARAMS=YES
          THEO/V1+0,7.3698,-0.286,-0.318,-1,0,0
          ACTL/7.3698,-0.286,-0.318,-1,0,0
          TARG/7.3698,-0.286,-0.318,-1,0,0
          THEO_THICKNESS = 0, RECT, SNAP = YES ,$
          AUTO MOVE = NO, DISTANCE = 0.15
          PNT6 =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
          THEO/7.3698,-0.286,-0.318,-0.7071068,0.7071068,0
          ACTL/7.3872,-0.3034,-0.318,-0.7071068,0.7071068,0
          TARG/7.3
          B. Jacobs
          B&S Global 12.15.10
          2014.1

          Comment


          • #6
            Might it be easer to do a distance minus radius.

            just a thought

            Comment


            • #7
              You are using the "R" " CIR.R " This might give you a problem here.

              Comment


              • #8
                This is the first time I have gotten into any variables. I don't quit know what I am doing. I tried both the CIR.R and the CIR.X Not sure where to go from here.
                Thanks for any help
                B. Jacobs
                B&S Global 12.15.10
                2014.1

                Comment


                • #9
                  Sorry my net was down. Im not sure the work plane you are using so I just threw "R" out there as an example. You need to assign the variable to the axis measured value for what you need and, insert it into the corresponding axis for the point. You dont want to use the R, becaus thats a size, you will want to use the measured x,y,or z cuz thats the location of the "center". Sorry for the confusion.
                  Badges..... We don't need no stinkin badges.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X