Alignment Help

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

  • Alignment Help

    Hi

    I need to create a Datum as shown in the attachment. I've created 2 points on each face then a offset line with an intersection point. As you can see in the code below and CAD. But I'm stuck on how to use this information to become a Datum. Any help would be great TIA

    CAST_1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11,-174.8,134>,<0.0261769,-0.7068645,0.7068645>
    ACTL/<-11,-174.8,134>,<0.0261769,-0.7068645,0.7068645>
    TARG/<-11,-174.8,134>,<0.0261769,-0.7068645,0.7068645>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=10
    SHOW HITS=NO

    CAST_2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11,-179.8,129>,<0.0261769,-0.7068645,0.7068645>
    ACTL/<-11,-179.8,129>,<0.0261769,-0.7068645,0.7068645>
    TARG/<-11,-179.8,129>,<0.0261769,-0.7068645,0.7068645>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=10
    SHOW HITS=NO

    L_CAST_1_2 =FEAT/LINE,CARTESIAN,UNBOUNDED,YES
    THEO/<-17,-174.8,131.5>,<0,-1,0>
    ACTL/<-11,-179.043,138.243>,<0,-0.7071068,-0.7071068>
    CONSTR/LINE,OFFSET
    SURFACE NORMAL = <1,0,0>,MULTI POINT
    ID = CAST_1,CAST_2,,
    OFFSET = -6,-6

    CAST_3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11,-174.8,138>,<0.0261769,-0.7068645,-0.7068645>
    ACTL/<-11,-174.8,138>,<0.0261769,-0.7068645,-0.7068645>
    TARG/<-11,-174.8,138>,<0.0261769,-0.7068645,-0.7068645>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=10
    SHOW HITS=NO

    CAST_4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
    THEO/<-11,-177.8,141>,<0.0261769,-0.7068645,-0.7068645>
    ACTL/<-11,-177.8,141>,<0.0261769,-0.7068645,-0.7068645>
    TARG/<-11,-177.8,141>,<0.0261769,-0.7068645,-0.7068645>
    SNAP=NO
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=BOTH,DISTANCE=10
    SHOW HITS=NO

    L_CAST_4_5 =FEAT/LINE,CARTESIAN,UNBOUNDED,YES
    THEO/<-17,-174.8,139.5>,<0,-1,0>
    ACTL/<-11,-179.043,133.757>,<0,-0.7071068,0.7071068>
    CONSTR/LINE,OFFSET
    SURFACE NORMAL = <-1,0,0>,MULTI POINT
    ID = CAST_3,CAST_4,,
    OFFSET = -6,-6

    PNT_L_CAST =FEAT/POINT,CARTESIAN,NO
    THEO/<-17,-153.189,135.5>,<0,-1,0>
    ACTL/<-11,-181.285,136>,<0,-0.7071068,-0.7071068>
    CONSTR/POINT,INT,L_CAST_1_2,L_CAST_4_5
    Attached Files
    Last edited by JNeville89; 10-16-2020, 05:47 AM.

  • #2
    You can use construct circle -> tangent to two lines and select your two lines (depending on your version).
    PC-DMIS CAD++ 2o19 R1 SP10

    Comment


    • #3
      Originally posted by vpt.se View Post
      You can use construct circle -> tangent to two lines and select your two lines (depending on your version).
      Brilliant thank you. Thats sorted it

      Comment


      • #4
        Well thought it was sorted. Worked fine on CAD. Come to measure part and its about 8mm off in Y.

        Tried 2 points on each face with a line. Same X position still the same. Then tried Auto Line and still showing off 8mm in Y.

        What am I doing wrong?

        Comment


        • #5
          Originally posted by JNeville89 View Post
          Well thought it was sorted. Worked fine on CAD. Come to measure part and its about 8mm off in Y.

          Tried 2 points on each face with a line. Same X position still the same. Then tried Auto Line and still showing off 8mm in Y.

          What am I doing wrong?
          It sounds like it is placing it in the wrong location. There are 4 possible locations that the constructed circle could be in. You need to flip the direction of one or both of the lines to change the quadrant it gets placed in (change the order of the features you selected to construct the lines OR construct reverse lines from your current lines to flip the direction). Also double-check that the diameter you specified is correct.

          Comment


          • #6
            Originally posted by Mike Ruff View Post

            It sounds like it is placing it in the wrong location. There are 4 possible locations that the constructed circle could be in. You need to flip the direction of one or both of the lines to change the quadrant it gets placed in (change the order of the features you selected to construct the lines OR construct reverse lines from your current lines to flip the direction). Also double-check that the diameter you specified is correct.
            Thanks Mike

            I'll give that a go on Monday. Hadn't thought about that. OCD kicked in and said select in numerical order!!

            Comment


            • #7
              Originally posted by JNeville89 View Post

              Thanks Mike

              I'll give that a go on Monday. Hadn't thought about that. OCD kicked in and said select in numerical order!!
              Hi Mike

              I've given that a go but still having issues. The vector keeps changing when run around and I'm unable to keep it in X

              Also the circle doesn't sit where I need it to be. F1 is a generic circle showing the correct position (Could I just use this)?

              I'm trying to measure from a Cast Datum to a Machining Datum

              Program Code

              CAST_1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-48.15,-2.8,134>,<0.0261769,-0.7068645,0.7068645>
              ACTL/<-48.15,-2.8,134>,<0.0261769,-0.7068645,0.7068645>
              TARG/<-48.15,-2.8,134>,<0.0261769,-0.7068645,0.7068645>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              CAST_2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-48.15,-7.8,129>,<0.0261769,-0.7068645,0.7068645>
              ACTL/<-48.15,-7.8,129>,<0.0261769,-0.7068645,0.7068645>
              TARG/<-48.15,-7.8,129>,<0.0261769,-0.7068645,0.7068645>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              L_CAST_1_2 =FEAT/LINE,CARTESIAN,UNBOUNDED,YES
              THEO/<-54.15,-2.8,131.5>,<0,-1,0>
              ACTL/<-48.15,-7.043,138.243>,<0,-0.7071068,-0.7071068>
              CONSTR/LINE,OFFSET
              SURFACE NORMAL = <1,0,0>,MULTI POINT
              ID = CAST_1,CAST_2,,
              OFFSET = -6,-6
              L_CAST_2_1 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
              THEO/<-42.15,-7.8,131.5>,<0,1,0>
              ACTL/<-42.15,-7.8,131.5>,<0,1,0>
              CONSTR/LINE,OFFSET
              SURFACE NORMAL = <0,0,1>,MULTI POINT
              ID = CAST_2,CAST_1,,
              OFFSET = -6,-6
              CAST_3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-48.15,-2.8,138>,<0.0261769,-0.7068645,-0.7068645>
              ACTL/<-48.15,-2.8,138>,<0.0261769,-0.7068645,-0.7068645>
              TARG/<-48.15,-2.8,138>,<0.0261769,-0.7068645,-0.7068645>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              CAST_4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-48.15,-5.8,141>,<0.0261769,-0.7068645,-0.7068645>
              ACTL/<-48.15,-5.8,141>,<0.0261769,-0.7068645,-0.7068645>
              TARG/<-48.15,-5.8,141>,<0.0261769,-0.7068645,-0.7068645>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              F1 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$
              NOM/XYZ,<-48.5,-9.5,136>,$
              MEAS/XYZ,<-48.5,-9.5,136>,$
              NOM/IJK,<1,0,0>,$
              MEAS/IJK,<1,0,0>,$
              DIAMETER/0,12
              L_CAST_3_4 =FEAT/LINE,CARTESIAN,UNBOUNDED,YES
              THEO/<-54.15,-2.8,139.5>,<0,-1,0>
              ACTL/<-48.15,-7.043,133.757>,<0,-0.7071068,0.7071068>
              CONSTR/LINE,OFFSET
              SURFACE NORMAL = <-1,0,0>,MULTI POINT
              ID = CAST_3,CAST_4,,
              OFFSET = -6,-6
              L_CAST_4_3 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
              THEO/<-42.15,-5.8,139.5>,<0,1,0>
              ACTL/<-42.15,-5.8,139.5>,<0,1,0>
              CONSTR/LINE,OFFSET
              SURFACE NORMAL = <0,0,1>,MULTI POINT
              ID = CAST_4,CAST_3,,
              OFFSET = -6,-6
              CIR_12_34 =FEAT/CIRCLE,CARTESIAN,IN,YES
              THEO/<-48.15,-10.8,135.706>,<1,0,0>,12
              ACTL/<-42.15,-11.285,137.811>,<1,0,0>,12
              CONSTR/CIRCLE,TANLINES,L_CAST_1_2,L_CAST_3_4,
              CIR_21_43 =FEAT/CIRCLE,CARTESIAN,IN,YES
              THEO/<-48.15,-8.8,135.294>,<1,0,0>,12
              ACTL/<-48.15,-10.8,135.5>,<1,0,0>,12
              CONSTR/CIRCLE,TANLINES,L_CAST_2_1,L_CAST_4_3,
              PNT_L_CAST =FEAT/POINT,CARTESIAN,NO
              THEO/<-54.15,25.127,135.5>,<0,-1,0>
              ACTL/<-48.15,-9.285,136>,<0,-0.7071068,-0.7071068>
              CONSTR/POINT,INT,L_CAST_1_2,L_CAST_3_4
              Attached Files

              Comment


              • #8
                The offset lines are what is throwing it off. Construct 2D Best Fit lines instead and it should work.

                Comment

                Related Topics

                Collapse

                Working...
                X