Angle keeps changing on me.

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

  • Angle keeps changing on me.

    Hi all, I'm really struggling with my angles. They always seem to change on me. Everything will look set up perfectly but then instead of showing the actual number it'll show me something crazy that doesn't in any way match the feature box. It also doesn't show out. And it'll be set up fine and give me great numbers and then bam something will randomly change even though I don't change anything and it'll start giving me crazy out numbers. And it doesn't happen on every angle either. Today it's just affecting one of them. Please help, I don't know what's going on and it's driving me crazy. There's no logical way to fix it, I just bumble around until it goes back to normal. It's so annoying to have to stop running every other part to spend 5 minutes trying to get my angle to report properly and then rerun the part and hope the angle fix sticks. I've included a picture that shows the box is giving me tiny and reasonable numbers but I have no idea where that 359° came from. I literally ran this same part just before and it gave me an angle of like .9°
    Attached Files

  • #2
    Under setup (f5) dimension tab you can select to report angles as ±180° or 0°-360°
    Automettech - Automated Metrology Technology

    Comment


    • gt143744
      gt143744 commented
      Editing a comment
      That seems to have fixed the problem. Hopefully it's a permanent solution.

  • #3
    Also try this: in the dimensioning window: change the 'To/From' to From (or the opposite of what you have selected.
    This is will change the outcome.

    Comment


    • gt143744
      gt143744 commented
      Editing a comment
      I tried that and it does the opposite. I changed my angle reports in the f5 tab like suggested above and that seems to have been working for now. I can do the math to get the right angle but it's just an extra step.

  • #4
    Make sure your workplane is correct when trying to output this as well.
    Jesse Krook

    Comment


    • gt143744
      gt143744 commented
      Editing a comment
      Would the wrong workplane cause it to work sometimes and not other times though?

    • YGOLORTEM
      YGOLORTEM commented
      Editing a comment
      Honestly, for me to accurately answer that question I'd have to see the code, alignments and the workplane the feature is measured in vs. the workplane the feature is output. I've learned there are quite a few variables that affect angle outputs. Workplane lives matter
      Last edited by YGOLORTEM; 09-09-2020, 09:59 AM.

  • #5
    Two things will mess with your program and make angle outputs change.

    1) You need to make sure you're using the correct workplane when constructing AND reporting stuff.

    2) You need to make sure that the alignments you are using (or the base alignment that the one you're using is recalling) has all 6 degrees of freedom constrained. This is most important.

    See below example. If I didn't have the alignments locked down or my workplanes correct, PCD would do weird stuff when running online.


    Code:
    PLN_PT2_TOP=FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,NONE,LEAST_SQR
    THEO/<0,0,0>,<-1,0,0>
    ACTL/<0,0,0>,<-1,0,0>
    TARG/<0,0,0>,<-1,0,0>
    ANGLE VEC=<0,0,1>,RADIAL
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/POINT,NORMAL,<0,0.1,-0.1>
    PLN_PT2_BOT=FEAT/PLANE,CARTESIAN,TRIANGLE
    THEO/<0.03937,-0.00421,0.00083>,<-1,0,0>
    ACTL/<0.03937,-0.00421,0.00083>,<-1,0,0>
    MEAS/PLANE,5
    HIT/BASIC,NORMAL,<0.03937,-0.01612,0.12223>,<-1,0,0>,<0.03937,-0.01612,0.12223>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.03937,0.11402,0.02371>,<-1,0,0>,<0.03937,0.11402,0.02371>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.03937,0.01912,-0.10378>,<-1,0,0>,<0.03937,0.01912,-0.10378>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.03937,-0.12154,-0.02194>,<-1,0,0>,<0.03937,-0.12154,-0.02194>,USE THEO=YES
    HIT/BASIC,NORMAL,<0.03937,-0.01654,-0.01605>,<-1,0,0>,<0.03937,-0.01654,-0.01605>,USE THEO=YES
    ENDMEAS/
    A3 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,XMINUS,PLN_PT2_BOT
    ALIGNMENT/ROTATE,YPLUS,TO,LIN_THEO_YP,ABOUT,XMINUS
    ALIGNMENT/TRANS,XAXIS,PLN_PT2_BOT
    ALIGNMENT/TRANS,YAXIS,PNT_ORI_THEO_PT2
    ALIGNMENT/TRANS,ZAXIS,PNT_ORI_THEO_PT2
    ALIGNMENT/END
    WORKPLANE/ZPLUS
    CLEARP/XMINUS,-0.25,XMINUS,-0.25,ON
    MOVE/INCREMENT,<-0.25,0,0>
    CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR1
    ALIGNMENT/TRANS,YAXIS,CIR1
    ALIGNMENT/END
    RAD_252_1_1=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_1=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    ACTL/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    TARG/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_1=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_1,RAD_252_1_1
    A5 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/ROTATE_OFFSET,-60,ABOUT,XPLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE
    CIR2 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A6 =ALIGNMENT/START,RECALL:A5,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR2
    ALIGNMENT/TRANS,YAXIS,CIR2
    ALIGNMENT/END
    RAD_252_1_2=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_2=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.15
    ACTL/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.15
    TARG/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_2=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_2,RAD_252_1_2
    A7 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/ROTATE_OFFSET,-120,ABOUT,XPLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE
    CIR3 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A8 =ALIGNMENT/START,RECALL:A7,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR3
    ALIGNMENT/TRANS,YAXIS,CIR3
    ALIGNMENT/END
    RAD_252_1_3=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_3=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    ACTL/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    TARG/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_3=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_3,RAD_252_1_3
    A9 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/ROTATE_OFFSET,-180,ABOUT,XPLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE
    CIR4 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A10 =ALIGNMENT/START,RECALL:A9,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR4
    ALIGNMENT/TRANS,YAXIS,CIR4
    ALIGNMENT/END
    RAD_252_1_4=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_4=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    ACTL/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    TARG/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_4=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_4,RAD_252_1_4
    A11 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/ROTATE_OFFSET,-240,ABOUT,XPLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE
    CIR5 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A12 =ALIGNMENT/START,RECALL:A11,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR5
    ALIGNMENT/TRANS,YAXIS,CIR5
    ALIGNMENT/END
    RAD_252_1_5=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_5=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.15
    ACTL/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.15
    TARG/<0,0.2,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_5=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_5,RAD_252_1_5
    A13 =ALIGNMENT/START,RECALL:A3,LIST=YES
    ALIGNMENT/ROTATE_OFFSET,-300,ABOUT,XPLUS
    ALIGNMENT/END
    MOVE/CLEARPLANE
    CIR6 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
    THEO/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    ACTL/<-0.03937,0.15748,0>,<0,0,1>,0.07874
    TARG/<-0.03937,0.15748,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    A14 =ALIGNMENT/START,RECALL:A13,LIST=YES
    ALIGNMENT/TRANS,XAXIS,CIR6
    ALIGNMENT/TRANS,YAXIS,CIR6
    ALIGNMENT/END
    RAD_252_1_6=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,0,0>,<0,0,1>,0.07874
    ACTL/<0,0,0>,<0,0,1>,0.07874
    TARG/<0,0,0>,<0,0,1>
    START ANG=10,END ANG=80
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    MOVE/CLEARPLANE
    LIN_252_1_6=FEAT/CONTACT/LINE/DEFAULT,CARTESIAN,UNBOUNDED
    THEO/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    ACTL/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>,0.2
    TARG/<0,0.25,0>,<0,-1,0>,<-1,0,0>,<0,0,1>
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    PNT_253_1_6=FEAT/POINT,CARTESIAN,NO
    THEO/<0,0.03937,0>,<0,-1,0>
    ACTL/<0,0.03937,0>,<0,-1,0>
    CONSTR/POINT,PIERCE,LIN_252_1_6,RAD_252_1_6
    RECALL/ALIGNMENT,INTERNAL,A3
    WORKPLANE/XMINUS
    CIR_PT2 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR,NO
    THEO/<-0.03937,0,0>,<-1,0,0>,0.3937
    ACTL/<-0.03937,0,0>,<-1,0,0>,0.3937
    CONSTR/CIRCLE,BF,2D,PNT_253_1_1,PNT_253_1_2,PNT_253_1_3,P NT_253_1_4,PNT_253_1_5,PNT_253_1_6,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,UPR=0
    RECALL/ALIGNMENT,INTERNAL,ALI_W_R_S_POS1
    WORKPLANE/ZPLUS
    DIM IMS_252_1= LOCATION OF CIRCLE RAD_252_1_1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=YES
    AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
    R 0.03937 0.03937 0.01000 0.01000 0.00000 0.00000 ----#----
    END OF DIMENSION IMS_252_1
    WORKPLANE/XMINUS
    DIM IMS_253_1= LOCATION OF CIRCLE CIR_PT2 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=YES
    AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
    D 0.39370 0.39370 0.01000 0.01000 0.00000 0.00000 ----#----
    END OF DIMENSION IMS_253_1
    WORKPLANE/ZPLUS
    DIM IMS_254_1= 2D DISTANCE FROM PLANE PLN_PT2_BOT TO PLANE PLN_PT2_TOP PAR TO XAXIS,NO_RADIUS UNITS=IN,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
    AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
    M 0.03937 0.03937 0.01000 0.01000 0.00000 0.00000 ----#----
    WORKPLANE/XMINUS
    DIM IMS_256= POSITION OF CIRCLE CIR_PT2 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
    AX MEAS NOMINAL +TOL -TOL BONUS DEV OUTTOL
    Y -1.52362 -1.52362*1 0.00000
    Z -0.33465 -0.33465*1 0.00000
    TP 0.00000 RFS 0.00984 0.00000 0.00000 0.00000 #--------
    END OF DIMENSION IMS_256
    picgroup.JPG
    SF7107(PCD), SF454(PCD), 152614(Quindos), 9159(Quindos), 7107(Quindos), B&S Manual, M&M Gear Checker

    Comment


    • DAN_M
      DAN_M commented
      Editing a comment
      As your programs get more complex, correct alignment structure as well as correct workplane usage will become CRITICAL.

      If you weren't even leveled, I question the accuracy of your program, in general. What has worked for you in the past is all well and good and I respect it, however you'll keep on having issues with this type of stuff unless you button up your programming technique a little. Hexagon does a great job, would highly recommend going to them for training.
      Last edited by DAN_M; 09-10-2020, 09:09 AM.

    • gt143744
      gt143744 commented
      Editing a comment
      I usually level but I wasn't sure where to level on a round surface. I wasted my time writing a program anyway because they were so full of chatter I couldn't get reliable results regardless. I had a similar issue with a different part that did have a Z surface to level on. My company won't spring for the fancy Hexagon training, I had 2 days with the guy who sold us the machine and that was that. The only thing I remember from the training is "level, rotate, origin" in regards to alignment. I've learned most of this by myself and I'm sure it shows.

    • DAN_M
      DAN_M commented
      Editing a comment
      You're doing one H3LL of a job! That's how I started out, too. We'll help you as much as we can, just trying to stress the importance of a proper education. Hopefully you'll find a company that will invest in you one day.

Related Topics

Collapse

Working...
X