Transform and align

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

  • Transform and align

    Hi. I use 2018R1 and need to be walked through transform and align with cad that comes in with origin out in space. Can someone help? Thanks, Cassie
    Attached Files

  • #2
    1st tell us how you want to set up the part on the machine.

    Comment


    • #3
      do you want -a- up and -c- to the right?
      sigpicV2014mr1

      Comment


      • #4
        Yes, A up and C to right.

        Comment


        • #5
          Maybe C to left so the surface with the profiles is facing me.

          Comment


          • #6
            I went to program mode. Took three points on A and made a plane. I want to align along the "front edge" then origin in the hole.

            Comment


            • #7
              Here is the code.
              Attached Files

              Comment


              • #8
                Startup =alignment/start,recall:use_part_setup,list=yes
                alignment/end
                mode/manual
                format/text,options, ,headings,symbols, ;nom,tol,meas,dev,outtol, ,
                loadprobe/t5
                tip/t5a0_b0, shankijk=-0.36, 0.047, 0.932, angle=-6.801
                pln1 =feat/plane,cartesian,triangle
                theo/<35.168,-0.488,-1.044>,<0.9919081,-0.1269581,0>
                actl/<400.511,212.16,-24.346>,<-0.0006891,0.0022277,0.9999973>
                meas/plane,3
                hit/basic,normal,<35.325,0.736,6.891>,<0.9919081,-0.1269581,0>,<393.102,212.869,-24.353>,use theo=yes
                hit/basic,normal,<35.573,2.676,-7.811>,<0.9919081,-0.1269581,0>,<404.197,215.201,-24.351>,use theo=yes
                hit/basic,normal,<34.607,-4.877,-2.211>,<0.9919081,-0.1269581,0>,<404.234,208.412,-24.336>,use theo=yes
                endmeas/
                a1 =alignment/start,recall:startup,list=yes
                alignment/level,xplus,pln1
                alignment/trans,xaxis,pln1
                alignment/end
                lin1 =feat/line,cartesian,unbounded
                theo/<-30.574,-12.266,0.776>,<-0.9919081,-0.1269581,0>
                actl/<-31.526,194.817,-398.679>,<-0.0115004,0.9999339,0>
                meas/line,2,zplus
                hit/basic,normal,<-30.574,-12.266,4.593>,<0.1269581,-0.9919081,0>,<-31.526,194.817,-392.115>,use theo=yes
                hit/basic,normal,<-30.617,-12.272,-3.042>,<0.1269581,-0.9919081,0>,<-31.531,195.279,-405.244>,use theo=yes
                endmeas/
                a2 =alignment/start,recall:a1,list=yes
                alignment/rotate,xminus,to,lin1,about,zplus
                alignment/trans,yaxis,lin1
                alignment/end
                cir1 =feat/contact/circle/default,cartesian,in,least_sqr
                theo/<0.568,12.722,0>,<0.9919081,-0.1269581,0>,4
                actl/<30.243,-26.249,-398.975>,<0.9919081,-0.1269581,0>,56.611
                targ/<0.568,12.722,0>,<0.9919081,-0.1269581,0>
                start ang=0,end ang=360
                angle vec=<0,0,-1>
                direction=ccw
                show feature parameters=no
                show contact parameters=yes
                numhits=4,depth=1,pitch=0
                sample method=sample_hits
                sample hits=0,spacer=0
                avoidance move=no,distance=10
                find hole=disabled,onerror=no,read pos=no
                show hits=yes
                hit/basic,<-1.04,11.97,-1.76>,<0.0603432,0.471454,0.8798238>,<-215.393,32.447,-398.776>
                hit/basic,<-0.686,14.742,0.774>,<-0.1170525,-0.9145166,-0.3872443>,<-210.463,32.379,-398.756>
                hit/basic,<-0.799,13.856,1.76>,<-0.0603432,-0.4714539,-0.8798238>,<-213.298,32.418,-401.471>
                hit/basic,<-1.131,11.268,1.118>,<0.1052846,0.8225756,-0.5588243>,<-213.307,32.423,-396.548>
                endmeas/
                a3 =alignment/start,recall:a2,list=yes
                alignment/trans,yaxis,cir1
                alignment/trans,zaxis,cir1
                alignment/end

                Comment


                • #9
                  If your goal is to have your model match the way it sits on your CMM table BEFORE you start writing your program, do this:

                  Use "Operation/Graphic Display Window/Transform".

                  The "transform" window will allow you to translate (move), rotate, and scale your model ABOUT the axis that it imported in at.

                  My procedure for using this function:
                  1) Import model
                  2) Click Y- view. This will show me HOW my part imported into PC DMIS.
                  3) Having a clear mental image of how my part imported in at V.S. how I want it sitting on my CMM table...
                  4) Use auto vector points to click the surfaces I want to "move" to get actual "numbers" of where they are. Using the values I get, feed them into my transform window and then click apply and ok.

                  See this example:

                  I have a part. I want to program it with the skinny side facing up and my trihedron on the bottom of the part.

                  I imported my model. Clicked Y- view. It looks like this:
                  pic1.PNG

                  I open up "Operation/Graphic Display Window/Transform". Rotate it 90°. Hit apply and ok.

                  pic2.PNG



                  Part is now rotated. pic3.PNG

                  Now that part is rotated, we'll move the trihedron down. But how far? To find out, I click on autovector point, click the bottom of the part and see this:

                  pic4.PNG

                  I copy the number right out of the "z", open up "Operation/Graphic Display Window/Transform", and paste the 4.005 in Z translation, hit apply, and ok. Will now look like this:

                  pic5.PNG

                  When you're using transform, remember that you're moving your model ABOUT the PC DMIS trihedron. Reach out if you have any questions. Good luck!
                  Last edited by DAN_M; 12-16-2019, 01:23 PM.
                  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
                    Mike Ruff Yeah someone showed me how to do that on the forum a few months ago, I'm just used to doing it this way. Thanks for the reminder though! I think the "select" method is easier to teach a new programmer

                  • pguillory
                    pguillory commented
                    Editing a comment
                    DAN_M this is good stuff! I've yet to really mess with Transform. I've just gotten into Iterative alignments lol. After seeing this, I'm definitely going to give it a try. I'm still learning this stuff. Maybe one day I could send you a model of mine for some assistance if you don't mind. Either way glad I found this thread and good luck on your work Cassandra G!

                  • DAN_M
                    DAN_M commented
                    Editing a comment
                    @pguillory

                    I’m glad you were able to take something away from this, absolutely my friend feel free to reach out anytime you need help. I would be happy to help you with anything you’re working on.

                    The only thing I ask in return is that when you get better at programming, you stay active on the form and pay it forward to other junior members who are trying to learn

                • #10
                  Do you know anything about the ITERATIVE alignment option?
                  sigpic
                  Originally posted by AndersI
                  I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                  Comment


                  • #11
                    it comes in at some ungodly angle. Nothing straight about it!
                    Attached Files

                    Comment


                    • DAN_M
                      DAN_M commented
                      Editing a comment
                      If you want, send me your model.

                      I'll fix it for you & show you how I did it.

                      PM me for email address.

                  • #12
                    Matt, many years ago when I used use 3.5 MR2 I used iterative often. I'm very new to 2018+. I don't exactly understand what is happening when I'm in "probe mode". I never did any offline programming.

                    Comment


                    • #13
                      Originally posted by Cassandra G View Post
                      Matt, many years ago when I used use 3.5 MR2 I used iterative often. I'm very new to 2018+. I don't exactly understand what is happening when I'm in "probe mode". I never did any offline programming.
                      'probe mode', you mean 'programming mode'? I've never used it, not once! (in over 27 years of Pcdmis). Simply open auto-features, select the points/features you want from the cad model (remember, 3 surface sample hits for holes!), then create the alignment, THEN execute it.
                      sigpic
                      Originally posted by AndersI
                      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                      Comment


                      • Cassandra G
                        Cassandra G commented
                        Editing a comment
                        sorry, "program mode" the blue icon, CTRL F4

                      • Matthew D. Hoedeman
                        Matthew D. Hoedeman commented
                        Editing a comment
                        Yeah, I've never used program mode. IMO, waste of time. Other will tell you it's the best feature of Pcdmis, but as far as I am concerned, useless. Put the part on the table, auto features, 3 vector points for the plane, 2 vector points for the edge, 1 circle (w/ 3 sample hits) for the hole.

                    • #14
                      Originally posted by Matthew D. Hoedeman View Post

                      'probe mode', you mean 'programming mode'? I've never used it, not once! (in over 27 years of Pcdmis). Simply open auto-features, select the points/features you want from the cad model (remember, 3 surface sample hits for holes!), then create the alignment, THEN execute it.
                      wait... you've never used program mode? how do you tell machine where the part is?

                      Comment


                      • AndersI
                        AndersI commented
                        Editing a comment
                        That is automatic when *all* theos are correct, as they will be when you click auto features on the model. Doesn't work if there are errors in the CAD model, though.

                      • Matthew D. Hoedeman
                        Matthew D. Hoedeman commented
                        Editing a comment
                        if not doing an iterative alignment, you just measure your 3-2-1 features, and do cad=part with the alignment.

                    • #15
                      I only use program mode to find move points when programming offline.
                      I transform my model as Dan M suggested above, and then use autofeatures for a manual alignment before starting DCC.

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X