hexagon logo

Cad=part

I am beginning to attempt to program off a cad model. I have a sample part, every time I press cad=part my alignment moves off my cad model. I am actually trying to program off of cad on a part I have a sample for before I make a program off a part that I have no sample for.
  • The automakers. THEY have to have the XYZ be in body postition, at all times, for all points. They also assign SPC points, X.... Y.... Z...., and they have to be at those body co-ordinates. They do this so they can 'see' the entire assembly from just numbers, if ya follow me. Yeah, don't do automotive in anything BUT body position, or you will be re-doing it all IN body position.
  • why does it HAVE to stay in the native cad system?

    who cares if you translate it to match the machine axis if the end result is the same?


    If your doing sheet metal especially for Ford, they have what they call level 3 & 4 points that they give you xyz&ijk coordinates, you need to measure those for capability studies. I seen other customers give point charts also and those have to be reported for studies, usually the CAD is in autobody coordinates.

    (or what Matt posted while I was typing this)
  • interesting. i've never done automotive stuff before but it makes sense.

    i've just worked on rockets, missile components, landing gear assemblies, turbo pumps, composites, mostly aerospace stuff......

    Stuck out tongue closed eyes
  • CAD=PART is one of those things that works fine in theory, but in actual usage, usually falls flat on it's *****. There is no panacea; you just have to learn how to program.
  • CAD=PART is one of those things that works fine in theory, but in actual usage, usually falls flat on it's *****. There is no panacea; you just have to learn how to program.


    You hit the nail on the head as it were, and it maybe SHOULD say "I just have to learn how to program" as I have been using CAD=PART for about 18 years and never had a bit of problem with it.
  • So i used to use C=P all the time.
    You don't need it.

    Import your model.
    Translate your model to match your machine coordinates or your drawing callout. (I like to put the coordinates somewhere I can easily eyeball and put my READPOINT at {0,0,0}
    Create your READPOINT.
    Create your alignment.
    Done.

    No need for C=P

    I tried to make a program just off the cad model without c=p. Luckily I found the sample part, I tried running the program and after the manual alignment the probe moved about an inch off the part and tried to take the first hit. How do you use read point, maybe this is my issue?
  • I tried to make a program just off the cad model without c=p. Luckily I found the sample part, I tried running the program and after the manual alignment the probe moved about an inch off the part and tried to take the first hit. How do you use read point, maybe this is my issue?


    So a readpoint is simply a theoretical point that you create in order to help start your program. its placement helps determine where the probe goes for your first feature to inspect. it determines where the operator should manually move the probe at the beginning of the program.

    the READPOINT eliminates the need for a 3-2-1 manual alignment on just about everything.


    what I LIKE TO DO, since i have the freedom to orientate the CAD model anyway i see fit, i try to keep it consistent. i translate the model so that X+ on the model is X+ on the machine and so on and so forth. remember, your initial alignment doesn't have you be your final alignment, it's just used to give the machine an idea of where the part is on the granite.

    so i orientate the CAD MODEL to match the way i have the part oriented on the machine. your RP can be anywhere on the part, but i like to usually use a feature that is well defined, like a particular circle, or corner point. when I translate the part, i usually try to put the CAD coordinates right where my first RP is going to be.

    place the RP in the program, and manually input the x,y,z coordinates as 0,0,0.
    create an alignment using your RP as x,y,z, origin. make sure your vector is correct.
    if you are at A0B0 for your probe, and you are working in the zaxis, make sure your vector is 0,0,1.
    or as you see fit.

    make sure before you create your RP, that you put a OPER note to place the probe as closely to your designated starting feature as possible.


  • TIP/T1A90B180, SHANKIJK=0, -1, 0, ANGLE=180
                COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=NO,
                *************************
                
                flush to face, center to part. 
                make sure part is squared up. 
                
                **************************
    START      =FEAT/POINT,CARTESIAN
                THEO/<0,0,0>,<0,-1,0>
                ACTL/<18.5057,40.1019,-12.9218>,<0,-1,0>
                READPOINT/
    A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                ALIGNMENT/TRANS,XAXIS,START
                ALIGNMENT/TRANS,YAXIS,START
                ALIGNMENT/TRANS,ZAXIS,START
                ALIGNMENT/END
                MODE/DCC
                PREHIT/0.3
                RETRACT/0.3
                CLEARP/YMINUS,-0.5,ZPLUS,0,ON
                MOVE/CLEARPLANE
    CIR_1      =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0.2,0>,<0,-1,0>,5.1691
                ACTL/<0,0.2,0>,<0,-1,0>,5.1691
                TARG/<0,0.2,0>,<0,-1,0>
                START ANG=0,END ANG=360
                ANGLE VEC=<1,0,0>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    A2         =ALIGNMENT/START,RECALL:A1,LIST=YES
                ALIGNMENT/TRANS,XAXIS,CIR_1
                ALIGNMENT/TRANS,ZAXIS,CIR_1
                ALIGNMENT/END
                WORKPLANE/YMINUS
                MOVE/CLEARPLANE
    PNT1       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,0,2.8>,<0,-1,0>
                ACTL/<0,-0.0472,2.8>,<0,-1,0>
                TARG/<0,0,2.8>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT2       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-1.9799,0,1.9799>,<0,-1,0>
                ACTL/<-1.9799,-0.0374,1.9799>,<0,-1,0>
                TARG/<-1.9799,0,1.9799>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT3       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-2.8,0,0>,<0,-1,0>
                ACTL/<-2.8,-0.0301,0>,<0,-1,0>
                TARG/<-2.8,0,0>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT4       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-1.9799,0,-1.9799>,<0,-1,0>
                ACTL/<-1.9799,-0.0311,-1.9799>,<0,-1,0>
                TARG/<-1.9799,0,-1.9799>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT5       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,0,-2.8>,<0,-1,0>
                ACTL/<0,-0.0395,-2.7998>,<0,-1,0>
                TARG/<0,0,-2.8>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT6       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<1.9799,0,-1.9799>,<0,-1,0>
                ACTL/<1.9798,-0.0493,-1.9803>,<0,-1,0>
                TARG/<1.9799,0,-1.9799>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT7       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<2.8,0,0>,<0,-1,0>
                ACTL/<2.8001,-0.0559,-0.0001>,<0,-1,0>
                TARG/<2.8,0,0>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT8       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<1.9799,0,1.9799>,<0,-1,0>
                ACTL/<1.9799,-0.0541,1.9798>,<0,-1,0>
                TARG/<1.9799,0,1.9799>,<0,-1,0>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PLN1       =FEAT/PLANE,CARTESIAN,TRIANGLE,NO
                THEO/<0,0,0>,<0,-1,0>
                ACTL/<0,-0.0431,0>,<-0.0045013,-0.9999889,-0.0013818>
                CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,PNT5,PNT6,PNT7,PNT8,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    A3         =ALIGNMENT/START,RECALL:A2,LIST=YES
                ALIGNMENT/LEVEL,YMINUS,PLN1
                ALIGNMENT/TRANS,YAXIS,PLN1
                ALIGNMENT/END
                MOVE/CLEARPLANE
    CIR_2      =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<-0.76,0,3.2652>,<0,-1,0>,0.76
                ACTL/<-0.7618,0,3.2827>,<0,-1,0>,0.7899
                TARG/<-0.76,0,3.2652>,<0,-1,0>
                START ANG=283.1027,END ANG=343.995
                ANGLE VEC=<1,0,0.0000062>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
                MOVE/CLEARPLANE
    CIR_3      =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0.76,0,3.2652>,<0,-1,0>,0.76
                ACTL/<0.7897,0,3.2827>,<0,-1,0>,0.8048
                TARG/<0.76,0,3.2652>,<0,-1,0>
                START ANG=196.005,END ANG=256.8973
                ANGLE VEC=<1,0,0.0000062>
                DIRECTION=CCW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT9       =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0,3.2652>,<-0.0000062,0,1>
                ACTL/<0.0139,0,3.2827>,<-0.0000062,0.0013818,0.999999>
                CONSTR/POINT,MID,CIR_2,CIR_3
    LIN1       =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0,0.2,0>,<-0.0000062,-0.0611372,0.9981294>
                ACTL/<-0.0009,0.2431,-0.0003>,<0.0045094,-0.073837,0.9972601>
                CONSTR/LINE,BF,3D,CIR_1,PNT9,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    A4         =ALIGNMENT/START,RECALL:A3,LIST=YES
                ALIGNMENT/ROTATE,ZPLUS,TO,LIN1,ABOUT,YMINUS
                ALIGNMENT/END


    notice how i gave myself a decent sized prehit retract in the beginning. it's kinda hard to eyeball the center of a big diameter, but you can generally get pretty close.

    also note my vector.
  • I had programmed using a cad model before but needed the help of a more senior member of the team help me set it up. I have been programming since then on my own with no tutor and only cad level 1 training. Is there some more information some where that can teach me what I need to do to use a cad model because so far I'm not doing so well. You all help me with a lot of things but some things just go over my head.
  • I had programmed using a cad model before but needed the help of a more senior member of the team help me set it up. I have been programming since then on my own with no tutor and only cad level 1 training. Is there some more information some where that can teach me what I need to do to use a cad model because so far I'm not doing so well. You all help me with a lot of things but some things just go over my head.


    level II training.

    can you or do you have the ability to TRANSLATE your cad model?