Angle vector changes

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

  • Angle vector changes

    Hello all

    Ive have this problem (problably a bug) in PC DMIS.
    The angle vectors keep changing all the time.
    When i make the program i set all nominals to 0,0,1 etc. But after running the program they keep changing to 0,0,0023,1 etc.

    Anyone has this problem? anyone knows how to solve it?

  • #2
    Can you post a little code ?
    What feature type ?
    Check in F5 if "change nominal during execution" or something like this is selected.

    Comment


    • pcdmisstudent
      pcdmisstudent commented
      Editing a comment
      No nothing like that is selected.
      All types of features, Planes, circles, cylinders, cones etc.

      I do primary alignment on a plane, set Y in that
      measure a circle, set X and Z in that.

  • #3
    To start off, I feel this is one of PC-DMIS's biggest weaknesses. If you don't align by the rules, it can and will change the nominal values of features. This is based off of one of it's most powerful features, the ability to alter an alignment and have it adjust the nominal location and vectors of features for you. It just sometimes does it without asking, and that's just terrible in my book.

    That being said, it's most likely an issue in the initial alignment. Are you sure all 6 degrees of freedom are locked down? Could you post the code for the manual alignment?
    PC-DMIS 2016.0 SP8

    Jeff

    Comment


    • pcdmisstudent
      pcdmisstudent commented
      Editing a comment
      Hey
      No all 6 degrees of freedom arent locked down. We are dealing with alot of symmetrical objects. So we only do a primary alignment, with orgin in xyz.
      Can this be an problem? maybe i should try doing iterative alignment?

  • #4
    I've attached a document detailing how to align rotationally symmetric parts - it's from 2013 so some of the screen shots are out of date but the principle is still the same.
    Attached Files
    Neil Challinor
    PC-DMIS Product Owner

    T: +44 870 446 2667 (Hexagon UK office)
    E: [email protected]

    Comment


    • pcdmisstudent
      pcdmisstudent commented
      Editing a comment
      Hey, this is abit late response
      Ive read thru the document and ive applied it to some of our symmetric parts.
      But the nominal angle vectors still change from 0 to 0.000023 etc...
      Any other ideas?

    • neil.challinor
      neil.challinor commented
      Editing a comment
      Can you post your code so we can take a look?

    • pcdmisstudent
      pcdmisstudent commented
      Editing a comment
      Okey im not really sure how to post it the right way so im just copying pasting it.
      Heres alignment

      PLAN_CNC =ELEM/KONTAKT/PLAN/STANDARDVÄRDE,REKTANGULÄRA,TRIANGEL
      TEOR/<0,0,0>,<0,-1,0>
      MÄTT/<0,-0.14,0>,<-0.0017159,-0.9999959,-0.0022758>
      MÅL/<0,0,0>,<0,-1,0>
      VINKELVEKT=<1,0,0>,FYRKANT
      VISA ELEMENTPARAMETRAR=NEJ
      VISA KONTAKTPARAMETRAR=JA
      ANTPKTR=3,ANTRADER=2
      DISTANS=14
      KRINGGÅENDE RÖRELSE=BÅDA,AVSTÅND=20
      VISA MÄTPUNKTER=JA
      MÄTPKT/BASIC,<-18.483,0,-0.622>,<0,-1,0>,<-18.484,-0.089,-0.622>
      MÄTPKT/BASIC,<19.533,0,0.4>,<0,-1,0>,<19.533,-0.156,0.401>
      MÄTPKT/BASIC,<-19.606,0,9.872>,<0,-1,0>,<-19.608,-0.11,9.873>
      MÄTPKT/BASIC,<19.041,0,6.162>,<0,-1,0>,<19.041,-0.169,6.161>
      MÄTPKT/BASIC,<7.01,0,19.905>,<0,-1,0>,<7.009,-0.179,19.906>
      MÄTPKT/BASIC,<-15.575,0,16.556>,<0,-1,0>,<-15.575,-0.134,16.557>
      SLUTMÄT/

      A3 =UPPRIKTNING/START,ÅTERKALLA:A2,LISTA=JA
      UPPRIKTNING/PRIMÄR,YMINUS,PLAN_CNC
      UPPRIKTNING/FLYTTA,Y-AXEL,PLAN_CNC
      UPPRIKTNING/****

      Ø21 =ELEM/KONTAKT/CIRKEL/STANDARDVÄRDE,REKTANGULÄRA,INRE,GAUSS
      TEOR/<0,14.1,0>,<0,-1,0>,21
      MÄTT/<-0.783,14.1,-0.168>,<0,-1,0>,20.985
      MÅL/<0,14.1,0>,<0,-1,0>
      STARTVINKEL=0,SLUTVINKEL=360
      VINKELVEKT=<1,0,0.0000006>
      RIKTNING=CCW
      VISA ELEMENTPARAMETRAR=NEJ
      VISA KONTAKTPARAMETRAR=JA
      ANTPKTR=6,DJUP=-1,STIGNING=0
      STÖDPUNKTER=0,DISTANS=0
      KRINGGÅENDE RÖRELSE=BÅDA,AVSTÅND=50
      SÖK ELEMENT=INAKTIV,VID_FEL=NEJ,LÄS POS=NEJ
      VISA MÄTPUNKTER=JA
      MÄTPKT/BASIC,<10.5,13.1,0>,<-1,0,-0.0000006>,<9.71,13.099,0>
      MÄTPKT/BASIC,<5.25,13.1,9.093>,<-0.4999995,0,-0.8660257>,<4.968,13.097,8.606>
      MÄTPKT/BASIC,<-5.25,13.1,9.093>,<0.5000005,0,-0.8660251>,<-5.352,13.1,9.273>
      MÄTPKT/BASIC,<-10.5,13.1,0>,<1,0,0.0000006>,<-11.275,13.1,0>
      MÄTPKT/BASIC,<-5.25,13.1,-9.093>,<0.4999995,0,0.8660257>,<-5.507,13.101,-9.536>
      MÄTPKT/BASIC,<5.25,13.1,-9.093>,<-0.5000005,0,0.8660251>,<5.109,13.098,-8.844>
      SLUTMÄT/

      A4 =UPPRIKTNING/START,ÅTERKALLA:A3,LISTA=JA
      UPPRIKTNING/FLYTTA,X-AXEL,Ø21
      UPPRIKTNING/FLYTTA,Z-AXEL,Ø21
      UPPRIKTNING/****

      PLAN2 =ELEMENT/PLAN,REKTANGULÄRA,TRIANGEL,JA
      TEOR/<0,0,0>,<0,0,1>
      MÄTT/<0,0,0>,<0,0,1>
      KONSTR/PLAN,UPPR,ARBETSPLAN

      A8 =UPPRIKTNING/START,ÅTERKALLA:A4,LISTA=JA
      UPPRIKTNING/VRID,ZPLUS,TILL,PLAN2,OMKRING,YMINUS
      UPPRIKTNING/****




      And if i go into the autoelement of any of these elements the angle vector is always changed

  • #5
    Originally posted by neil.challinor View Post
    I've attached a document detailing how to align rotationally symmetric parts - it's from 2013 so some of the screen shots are out of date but the principle is still the same.
    Playing around with the alignment plane I see that as stated it is initially constructed based on the current workplane. I also see that you can override that and specify from the command window which workplane you want it to be constructed on.

    As created:
    Code:
    PLN2       =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<0,0,0>,<0,-1,0>
                ACTL/<0,0,0>,<0,-1,0>
                CONSTR/PLANE,ALIGN,WORKPLANE
    As altered:
    Code:
    PLN2       =FEAT/PLANE,CARTESIAN,OUTLINE,NO
                THEO/<0,0,0>,<0,0,1>
                ACTL/<0,0,0>,<0,0,1>
                CONSTR/PLANE,ALIGN,ZPLUS
    PC-DMIS 2016.0 SP8

    Jeff

    Comment

    Related Topics

    Collapse

    Working...
    X