Faster/easier way on programming similar parts.

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

  • Faster/easier way on programming similar parts.

    Hi, is there a faster/easier way to program parts if they are really similar?
    The shape is similar but one might be longer etc.
    I tried to just import another part in a program and overwrite the current cad file and change all the points/circles and stuff to fit the new part.
    But when i get down to my dimensions it crashes.
    Using 2020R1.

    Mainly it's just boring(tedious) and takes long time to program one from the start, longer then running the part.

    Or is that a no-no to overwrite the cad and re-use the program?

    Sorry for the rambling.

    Thanks.
    Last edited by Grasfer; 03-13-2021, 05:38 AM.

  • #2
    You can use variables to parameterize your program. If the parts only differ by a single length, for example, then use a variable in place of the length (in feature THEO’s, move points, etc...). At the beginning of the program you can use an input comment to let the operator specify which part they are running. The variable can be assigned depending on the result of the input comment.

    Comment


    • #3
      What you are attempting is easily possible, and it doesn't sound like you're doing much wrong.

      Are you using Ecaxt Measure dimensions? Make sure you save often through the process and you might be able to identify where it's crashing exactly.

      I often swap CAD models out (sometimes even on fairly different parts).

      We might need more information to help you and identify where it's going wrong?

      I assume you are just F9'ing (editing) the original features and clicking on the CAD to update them to their new location?
      Automettech - Automated Metrology Technology

      Comment


      • #4
        Originally posted by Grasfer View Post
        Hi, is there a faster/easier way to program parts if they are really similar?
        The shape is similar but one might be longer etc.
        I tried to just import another part in a program and overwrite the current cad file and change all the points/circles and stuff to fit the new part.
        But when i get down to my dimensions it crashes.
        Using 2020R1.

        Mainly it's just boring(tedious) and takes long time to program one from the start, longer then running the part.

        Or is that a no-no to overwrite the cad and re-use the program?

        Sorry for the rambling.

        Thanks.
        MAKE SURE YOU SUBMIT THOSE CRASH REPORTS!!!!
        How are you replacing the cad? Use the CAD ASSEMBLY button, right click on your model name and select replace and choose what type. this works better for me than just using the import button.
        Are you using IGES, STEP< SolidQuirks ??? I have trouble with SW frequently.

        Making separate programs is not a bad idea. If they use the same fixture import you manual alignment and reprgram. if you run them seldomly save the variable stuff for something worth it. can be too complex answering questions for some operators.....ERROR PROOF your program..lol
        Last edited by Benedictj1; 03-13-2021, 05:18 PM.
        sigpicTAU ALPHA PI INDIANA DELTA CHAPTER
        "Due to the highly confidential nature of my job, I am not allowed to know what I am doing" - author unknown

        Comment


        • #5
          Yeah, i submit them, sometimes with more info sometimes not.

          I just drag my CATIA file into pcdmis and select no(remove old cad and replace with new).

          Funny thing is, I measured a part where the flatness and parallelism was off by 0.5mm each and we had to grind it down flat. Think they took off 0.5mm+ or something.
          But when I measure it again with the same program it crashes when it calculates the dimensions and stuff.

          So it's not just when I replace a cad file.
          So if anyone from support here wants that program, i saved it. My local Hexagon support here in Sweden experienced the same problem with it, dont know if they escalated it or not.


          To get it working again i have to remove all dimensions or F9 and reselect all the elements, then it does not crash.

          These are just one off parts, like 10-15 different ones but 1-2 each. So just need to get them thru the machine.

          Comment


          • JacobCheverie
            JacobCheverie commented
            Editing a comment
            Can you post your code?

        • #6
          When I replace CAD (IGES or SW), I regenerate scans and usually only the GD&T.
          I will try that today. I also am running 2020R1. I have also had a handful of crashes with this version.
          sigpicTAU ALPHA PI INDIANA DELTA CHAPTER
          "Due to the highly confidential nature of my job, I am not allowed to know what I am doing" - author unknown

          Comment


          • #7
            JacobCheverie
            PCDMIS crash when i get down to DATDEF/A,FEATURES=REF_A,, and start generating dimensions. As I wrote earlier, this program is run with a part that is slightly thinner(like 0.5mm).
            When I ran this program before we had to face the part it did not crash.


            Code:
            PART NAME : mall_jmt
            REV NUMBER : 1
            SER NUMBER : 1
            STATS COUNT : 1
            
            START =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
            ALIGNMENT/END
            MODE/MANUAL
            PREHIT/2
            RETRACT/2
            CHECK/2,1
            MOVESPEED/ 385
            MANRETRACT/0.5
            FLY/ON
            FORMAT/TEXT,OPTIONS,ID,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,DEVANG,OUTTOL,MAXMIN
            LOADPROBE/D5L50
            TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
            TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE=Kund ; Kund : dsa
            TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE= ; Benämning : Plate 1
            TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE= ; Modellnr. : 305-205
            TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE= ; Övrigt :
            TRACEFIELD/DISPLAY=YES,REPORT=NO,DISPLAY MESSAGE= ; Mätoperatör : Mg
            PKT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4827.796,312.446,4530.74>,<0,0,1>
            ACTL/<4463.057,2460.509,4517.393>,<-0.0006051,0.0007676,0.9999995>
            TARG/<4827.796,312.446,4530.74>,<0,0,1>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4989.587,311.748,4530.74>,<0,0,1>
            ACTL/<4624.848,2459.531,4517.492>,<-0.0006051,0.0007676,0.9999995>
            TARG/<4989.587,311.748,4530.74>,<0,0,1>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4989.712,104.323,4531.738>,<0,0,1>
            ACTL/<4624.593,2252.11,4518.649>,<-0.0006051,0.0007676,0.9999995>
            TARG/<4989.712,104.323,4531.738>,<0,0,1>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4996.25,107.936,4526.622>,<1,0,0>
            ACTL/<4631.137,2255.67,4513.524>,<0.9999981,-0.0018371,0.0006065>
            TARG/<4996.25,107.936,4526.622>,<1,0,0>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4996.25,307.824,4526.312>,<1,0,0>
            ACTL/<4631.505,2455.55,4513.063>,<0.9999981,-0.0018371,0.0006065>
            TARG/<4996.25,307.824,4526.312>,<1,0,0>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4986.631,319,4526.41>,<0,1,0>
            ACTL/<4621.908,2466.785,4513.147>,<0.0018376,0.999998 ,-0.0007665>
            TARG/<4986.631,319,4526.41>,<0,1,0>
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            A1 =ALIGNMENT/START,RECALL:START,LIST=YES
            ALIGNMENT/ITERATE
            PNT TARGET RAD=0.5,START LABEL=,FIXTURE TOL=0.5,ERROR LABEL=
            MEAS ALL FEAT=ONCE,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
            LEVEL=PKT1,PKT2,PKT3,,
            ROTATE=PKT4,PKT5,,
            ORIGIN=PKT6,,
            ALIGNMENT/END
            COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
            CNC_LÄGE!!!
            MODE/DCC
            PKT7 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4827.796,312.446,4530.74>,<0,0,1>
            ACTL/<4827.799,312.459,4530.74>,<0,0.000001,1>
            TARG/<4827.796,312.446,4530.74>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT8 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4989.587,311.748,4530.74>,<0,0,1>
            ACTL/<4989.588,311.758,4530.74>,<0,0.000001,1>
            TARG/<4989.587,311.748,4530.74>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT9 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4989.712,104.323,4531.738>,<0,0,1>
            ACTL/<4989.712,104.335,4531.738>,<0,0.000001,1>
            TARG/<4989.712,104.323,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT10 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4996.25,107.936,4526.622>,<1,0,0>
            ACTL/<4996.25,107.91,4526.62>,<1,-0.0000011,0>
            TARG/<4996.25,107.936,4526.622>,<1,0,0>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT11 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4996.25,307.824,4526.312>,<1,0,0>
            ACTL/<4996.25,307.786,4526.312>,<1,-0.0000011,0>
            TARG/<4996.25,307.824,4526.312>,<1,0,0>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT12 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4986.631,319,4526.41>,<0,1,0>
            ACTL/<4986.627,319,4526.411>,<0.0000011,1,-0.000001>
            TARG/<4986.631,319,4526.41>,<0,1,0>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            A2 =ALIGNMENT/START,RECALL:A1,LIST=YES
            ALIGNMENT/ITERATE
            PNT TARGET RAD=0.5,START LABEL=,FIXTURE TOL=0.5,ERROR LABEL=
            MEAS ALL FEAT=NO,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
            LEVEL=PKT7,PKT8,PKT9,,
            ROTATE=PKT10,PKT11,,
            ORIGIN=PKT12,,
            ALIGNMENT/END
            PKT13 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4986.709,265.118,4531.738>,<0,0,1>
            ACTL/<4986.709,265.103,4531.733>,<0,0,1>
            TARG/<4986.709,265.118,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT14 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4906.968,259.508,4531.738>,<0,0,1>
            ACTL/<4906.968,259.514,4531.74>,<0,0,1>
            TARG/<4906.968,259.508,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT15 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4828.789,263.551,4531.738>,<0,0,1>
            ACTL/<4828.789,263.539,4531.742>,<0,0,1>
            TARG/<4828.789,263.551,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT16 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4831.774,185.172,4531.738>,<0,0,1>
            ACTL/<4831.771,185.175,4531.759>,<0,0,1>
            TARG/<4831.774,185.172,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT17 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4871.263,224.192,4531.738>,<0,0,1>
            ACTL/<4871.264,224.187,4531.747>,<0,0,1>
            TARG/<4871.263,224.192,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT18 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4918.663,113.941,4531.738>,<0,0,1>
            ACTL/<4918.664,113.93,4531.762>,<0,0,1>
            TARG/<4918.663,113.941,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT19 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4988.85,112.213,4531.738>,<0,0,1>
            ACTL/<4988.848,112.215,4531.737>,<0,0,1>
            TARG/<4988.85,112.213,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT20 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4987.41,201.521,4531.738>,<0,0,1>
            ACTL/<4987.412,201.534,4531.734>,<0,0,1>
            TARG/<4987.41,201.521,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            PKT21 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
            THEO/<4932.585,201.976,4531.738>,<0,0,1>
            ACTL/<4932.585,201.979,4531.744>,<0,0,1>
            TARG/<4932.585,201.976,4531.738>,<0,0,1>
            SNAP=NO
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            SHOW HITS=NO
            REF_A =FEAT/PLANE,CARTESIAN,TRIANGLE,NO,LEAST_SQR
            THEO/<4917.001,203.021,4531.738>,<0,0,1>
            ACTL/<4917.001,203.019,4531.744>,<0.0001262,0.0001136,1 >
            CONSTR/PLANE,BF,PKT14,PKT15,PKT17,PKT19,PKT20,PKT21,PKT16 ,PKT18,PKT13,,
            OUTLIER_REMOVAL/OFF,3
            FILTER/OFF,WAVELENGTH=0
            A3 =ALIGNMENT/START,RECALL:A2,LIST=YES
            ALIGNMENT/LEVEL,ZPLUS,REF_A
            ALIGNMENT/TRANS,ZAXIS,REF_A
            ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,PKT10,AND,PKT11,ABOUT,ZPLUS
            ALIGNMENT/TRANS,XAXIS,PKT11
            ALIGNMENT/TRANS,YAXIS,PKT12
            ALIGNMENT/END
            CYL1 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
            THEO/<-40,-30,-0.998>,<0,0,1>,12,11.002
            ACTL/<-40,-30,-0.995>,<-0.0006628,-0.0010976,0.9999992>,12,11.002
            TARG/<-40,-30,-0.998>,<0,0,1>
            START ANG=0,END ANG=360
            ANGLE VEC=<1,0,0>
            DIRECTION=CCW
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            NUMHITS=5,NUMLEVELS=2,DEPTH=2,END OFFSET=4,PITCH=0
            SAMPLE METHOD=SAMPLE_HITS
            SAMPLE HITS=3,SPACER=2
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
            SHOW HITS=NO
            CYL2 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
            THEO/<-134,-30,-0.998>,<0,0,1>,12,11.002
            ACTL/<-126.745,-31.665,-0.998>,<0.0000041,-0.0000281,1>,12,11.002
            TARG/<-134,-30,-0.998>,<0,0,1>
            START ANG=0,END ANG=360
            ANGLE VEC=<1,0,0>
            DIRECTION=CCW
            SHOW FEATURE PARAMETERS=NO
            SHOW CONTACT PARAMETERS=YES
            NUMHITS=5,NUMLEVELS=2,DEPTH=2,END OFFSET=4,PITCH=0
            SAMPLE METHOD=SAMPLE_HITS
            SAMPLE HITS=3,SPACER=2
            AVOIDANCE MOVE=BOTH,DISTANCE=50
            FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
            SHOW HITS=NO
            REF_B =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
            THEO/<-40,-30,-0.998>,<-1,0,0>
            ACTL/<145.116,-28.72,-0.576>,<-0.9984514,-0.0555928,0.0020762>
            CONSTR/LINE,BF,2D,CYL1,CYL2,,
            OUTLIER_REMOVAL/OFF,3
            FILTER/OFF,WAVELENGTH=0
            REF_C =FEAT/POINT,CARTESIAN,NO
            THEO/<-40,-30,-0.998>,<0,0,1>
            ACTL/<145.116,-28.72,-0.503>,<0.0011422,-0.0012649,0.9999985>
            CONSTR/POINT,CAST,CYL1
            A4 =ALIGNMENT/START,RECALL:A3,LIST=YES
            ALIGNMENT/LEVEL,ZPLUS,REF_A
            ALIGNMENT/TRANS,ZAXIS,REF_A
            ALIGNMENT/ROTATE,XMINUS,TO,REF_B,ABOUT,ZPLUS
            ALIGNMENT/TRANS,XAXIS,REF_C
            ALIGNMENT/TRANS,YAXIS,REF_C
            ALIGNMENT/END

            Comment


            • #8
              Code:
              CYL3 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<-100.65,-94.413,0>,<0,0,1>,20,12
              ACTL/<-100.672,-94.41,-0.075>,<-0.0027078,0.0003492,0.9999963>,19.97,12
              TARG/<-100.65,-94.413,0>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=2,END OFFSET=4,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=2
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              CYL4 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<-84,-128,0>,<0,0,1>,12,12
              ACTL/<-84.025,-128.007,-0.1>,<-0.0025231,-0.0000168,0.9999968>,12.017,12
              TARG/<-84,-128,0>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=2,END OFFSET=4,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=2
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              CYL5 =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<5,-163,0>,<0,0,1>,12,12
              ACTL/<4.984,-163.008,-0.114>,<-0.0012414,0.0001696,0.9999992>,12.012,12
              TARG/<5,-163,0>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=2,END OFFSET=4,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=2
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              SLTR1 =FEAT/CONTACT/ROUND SLOT/DEFAULT,CARTESIAN,IN
              THEO/<-47.5,-86.5,0>,<0,0,1>,<0,1,0>,30,93
              ACTL/<-47.492,-86.492,-0.059>,<-0.0001714,-0.000833,0.9999996>,<-0.0002495,0.9999996,0.0008329>,30.012,92.968
              TARG/<-47.5,-86.5,0>,<0,0,1>,<0,1,0>
              MEAS ANGLE=90
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=10,DEPTH=2
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              PKT23 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-125.686,23.758,-0.998>,<0,0,1>
              ACTL/<-125.683,23.755,-0.92>,<-0.0001714,-0.000833,0.9999996>
              TARG/<-125.686,23.758,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PKT24 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-125.878,-8.707,-0.998>,<0,0,1>
              ACTL/<-125.877,-8.708,-0.911>,<-0.0001714,-0.000833,0.9999996>
              TARG/<-125.878,-8.707,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PKT25 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-53.749,-10.85,-0.998>,<0,0,1>
              ACTL/<-53.746,-10.829,-0.801>,<-0.0001714,-0.000833,0.9999996>
              TARG/<-53.749,-10.85,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PKT26 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<-50.658,21.995,-0.998>,<0,0,1>
              ACTL/<-50.658,21.993,-0.804>,<-0.0001714,-0.000833,0.9999996>
              TARG/<-50.658,21.995,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PKT27 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<24.81,21.514,-0.998>,<0,0,1>
              ACTL/<24.812,21.535,-0.672>,<-0.0001714,-0.000833,0.9999996>
              TARG/<24.81,21.514,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PKT28 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<30.066,-9.009,-0.998>,<0,0,1>
              ACTL/<30.066,-9.012,-0.648>,<-0.0001714,-0.000833,0.9999996>
              TARG/<30.066,-9.009,-0.998>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=50
              SHOW HITS=NO
              PLAN2 =FEAT/PLANE,CARTESIAN,TRIANGLE,NO,LEAST_SQR
              THEO/<-50.183,6.45,-0.998>,<0,0,1>
              ACTL/<-50.181,6.456,-0.793>,<-0.001666,0.0003317,0.9999986>
              CONSTR/PLANE,BF,PKT23,PKT24,PKT25,PKT26,PKT27,PKT28,,
              OUTLIER_REMOVAL/OFF,3
              FILTER/OFF,WAVELENGTH=0
              MOVE/POINT,NORMAL,<29.909,-23.916,320.278>
              DATDEF/A,FEATURES=REF_A,,
              DATDEF/B,FEATURES=REF_B,,
              DATDEF/C,FEATURES=REF_C,,
              DIM DIM1= LOCATION OF PLANE REF_A UNITS=MM ,$
              GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
              AX NOMINAL +TOL -TOL MEAS DEV OUTTOL MAX MIN
              Z 0.000 0.050 -0.050 -0.618 -0.618 0.568 -0.351 -0.901 <---
              END OF DIMENSION DIM1
              DIM DIM2= LOCATION OF LINE REF_B UNITS=MM ,$
              GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
              AX NOMINAL +TOL -TOL MEAS DEV OUTTOL MAX MIN
              Y 0.000 0.050 -0.050 0.000 0.000 0.000 0.000 0.000 --#-
              END OF DIMENSION DIM2
              DIM DIM3= LOCATION OF POINT REF_C UNITS=MM ,$
              GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
              AX NOMINAL +TOL -TOL MEAS DEV OUTTOL MAX MIN
              X 0.000 0.050 -0.050 0.000 0.000 0.000 0.000 0.000 -#--
              Y 0.000 0.050 -0.050 0.000 0.000 0.000 0.000 0.000 -#--
              END OF DIMENSION DIM3
              PLANHET REF A =FLATNESS : REF_A
              FEATCTRLFRAME/SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              PER UNIT=NO,
              STANDARDTYPE=ASME_Y14_5
              DIMENSION/FLATNESS,0.1
              NOTE/PLANHET REF A
              FEATURES/REF_A,,
              FCFVRIKT1 =PERPENDICULARITY : CYL1
              FEATCTRLFRAME/SHOWNOMS=NO,SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              STANDARDTYPE=ASME_Y14_5
              SIZE TOLERANCES/1,DIAMETER,12,0.01,-0.01
              DIMENSION/PERPENDICULARITY,DIAMETER,0.5,<MC>,<PZ>,<len>,A,<d at>,<dat>
              NOTE/FCFVRIKT1
              FEATURES/CYL1,,
              FCFDIM1 =POSITION : CYL2
              FEATCTRLFRAME/SHOWNOMS=NO,SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              COMPOSITE=NO,FIT TO DATUMS=YES,DEV PERPEN CENTERLINE=ON,OUTPUT ALIGNMENT=Datum Reference Frame
              CUSTOMIZED DRF=NO
              STANDARDTYPE=ASME_Y14_5
              SIZE TOLERANCES/1,DIAMETER,12,0.01,-0.01
              PRIMARY DIMENSION/POSITION,DIAMETER,0.5,<MC>,<PZ>,<len>,A,C,<dat>
              SECONDARY DIMENSION/,<tol>,<MC>,<dat>,<dat>,<dat>
              NOTE/FCFDIM1
              FEATURES/CYL2,,
              D12 =POSITION : CYL4,CYL5
              FEATCTRLFRAME/SHOWNOMS=NO,SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              COMPOSITE=NO,FIT TO DATUMS=YES,DEV PERPEN CENTERLINE=ON,OUTPUT ALIGNMENT=Datum Reference Frame
              CUSTOMIZED DRF=NO
              STANDARDTYPE=ASME_Y14_5
              SIZE TOLERANCES/2,DIAMETER,12,0.01,-0.01
              PRIMARY DIMENSION/POSITION,DIAMETER,0.5,<MC>,<PZ>,<len>,A,B,C
              SECONDARY DIMENSION/,<tol>,<MC>,<dat>,<dat>,<dat>
              NOTE/D12
              FEATURES/CYL4,CYL5,,
              FCFDIM3 =POSITION : PLAN2
              FEATCTRLFRAME/SHOWNOMS=NO,SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              COMPOSITE=NO,FIT TO DATUMS=YES,DEV PERPEN CENTERLINE=ON,OUTPUT ALIGNMENT=Datum Reference Frame
              CUSTOMIZED DRF=NO
              STANDARDTYPE=ASME_Y14_5
              PRIMARY DIMENSION/POSITION,0.1,A,<dat>,<dat>
              SECONDARY DIMENSION/,<tol>,<dat>,<dat>,<dat>
              NOTE/FCFDIM3
              FEATURES/PLAN2,,
              FORMFEED/
              FCFDIM2 =POSITION : PKT23,PKT24,PKT25,...
              FEATCTRLFRAME/SHOWNOMS=NO,SHOWPARAMS=YES,SHOWEXPANDED=YES,
              CADGRAPH=OFF,REPORTGRAPH=OFF,TEXT=OFF,MULT=10.00,A RROWDENSITY=100,OUTPUT=BOTH,UNITS=MM,
              COMPOSITE=NO,FIT TO DATUMS=YES,DEV PERPEN CENTERLINE=ON,OUTPUT ALIGNMENT=Datum Reference Frame
              CUSTOMIZED DRF=NO
              STANDARDTYPE=ASME_Y14_5
              PRIMARY DIMENSION/POSITION,0.1,A,<dat>,<dat>
              SECONDARY DIMENSION/,<tol>,<dat>,<dat>,<dat>
              NOTE/FCFDIM2
              FEATURES/PKT23,PKT24,PKT25,PKT26,PKT27,PKT28,,

              Comment


              • JacobCheverie
                JacobCheverie commented
                Editing a comment
                I don't see anything that stands out in your code that would cause a crash. Hexagon should be able to debug and track down the cause of the crash.

            • #9
              I am a noobie but this is what has worked for me. OFFLINE. When I replace the CAD, first I make sure the coordinate Z0,X0,Y0 are transform from CAD to measure retune are the same. then I Update Nominals From CAD, then Reset measured Values to Nominals. This can be found in Operation tab, Features. once i have aligned everything, I run the program offline to update nominals. the report would also conform the deviations from other CAD of course. then i make my changes in the program and dimensioning.

              Hope it make since and helps.
              best of luck.

              Comment

              Related Topics

              Collapse

              Working...
              X