Your Products have been synced, click here to refresh
Thanks for the responses folks. I've been programming with this thing for a couple of weeks now and while I AM making progress I'm still not able to make a 100% working program.
Let me start with some very basic questions:
In class I was taught to select two points on the lower edge of the part and then create a line between those two points. Next would be to create an alignment for line 1.
Couldn't I accomplish the same thing by creating an auto line and then an alignment?
I'm measuring flat parts with holes in them. I know I need a manual and a DCC alignment. What are the minimum features needed to make these alignments?
I'm headed back to the machine to work on it now. I'll upload some code later. Maybe you can let me know if I'm doing this right?
Thanks!
PNT1 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<2,-2,0>,<0,0,1> ACTL/<2,-2,0>,<0,0,1> TARG/<2,-2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT2 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<-2,-2,0>,<0,0,1> ACTL/<-2,-2,0>,<0,0,1> TARG/<-2,-2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT3 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<-2,2,0>,<0,0,1> ACTL/<-2,2,0>,<0,0,1> TARG/<-2,2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT4 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<2,2,0>,<0,0,1> ACTL/<2,2,0>,<0,0,1> TARG/<2,2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE,NO THEO/<0,0,0>,<0,0,1> ACTL/<0,0,0>,<0,0,1> CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,, OUTLIER_REMOVAL/OFF,3 FILTER/OFF,WAVELENGTH=0 ALN1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/END PNT5 =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN THEO/<-2,-5,0>,<0,1,0>,<0,0,1> ACTL/<-2,-5,0>,<0,1,0>,<0,0,1> TARG/<-2,-5,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT6 =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN THEO/<2,-5,0>,<0,1,0>,<0,0,1> ACTL/<2,-5,0>,<0,1,0>,<0,0,1> TARG/<2,-5,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO LINE1 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO THEO/<-2,-5,0>,<1,0,0> ACTL/<-2,-5,0>,<1,0,0> CONSTR/LINE,BF,2D,PNT5,PNT6,, OUTLIER_REMOVAL/OFF,3 FILTER/OFF,WAVELENGTH=0 ALN2 =ALIGNMENT/START,RECALL:ALN1,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS ALIGNMENT/END CIR1 =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0,0,0>,<0,0,1>,2,0,0 ACTL/<0,0,0>,<0,0,1>,2,0,0 TARG/<0,0,0>,<0,0,1> ANGLE VEC=<1,0,0> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO ALN3 =ALIGNMENT/START,RECALL:ALN2,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS ALIGNMENT/TRANS,XAXIS,CIR1 ALIGNMENT/TRANS,YAXIS,CIR1 ALIGNMENT/END
Thanks for the responses folks. I've been programming with this thing for a couple of weeks now and while I AM making progress I'm still not able to make a 100% working program.
Let me start with some very basic questions:
In class I was taught to select two points on the lower edge of the part and then create a line between those two points. Next would be to create an alignment for line 1.
Couldn't I accomplish the same thing by creating an auto line and then an alignment?
I'm measuring flat parts with holes in them. I know I need a manual and a DCC alignment. What are the minimum features needed to make these alignments?
I'm headed back to the machine to work on it now. I'll upload some code later. Maybe you can let me know if I'm doing this right?
Thanks!
PNT1 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<2,-2,0>,<0,0,1> ACTL/<2,-2,0>,<0,0,1> TARG/<2,-2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT2 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<-2,-2,0>,<0,0,1> ACTL/<-2,-2,0>,<0,0,1> TARG/<-2,-2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT3 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<-2,2,0>,<0,0,1> ACTL/<-2,2,0>,<0,0,1> TARG/<-2,2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT4 =FEAT/VISION/SURFACE POINT/DEFAULT,CARTESIAN THEO/<2,2,0>,<0,0,1> ACTL/<2,2,0>,<0,0,1> TARG/<2,2,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE,NO THEO/<0,0,0>,<0,0,1> ACTL/<0,0,0>,<0,0,1> CONSTR/PLANE,BF,PNT1,PNT2,PNT3,PNT4,, OUTLIER_REMOVAL/OFF,3 FILTER/OFF,WAVELENGTH=0 ALN1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/END PNT5 =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN THEO/<-2,-5,0>,<0,1,0>,<0,0,1> ACTL/<-2,-5,0>,<0,1,0>,<0,0,1> TARG/<-2,-5,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO PNT6 =FEAT/VISION/EDGE POINT/DEFAULT,CARTESIAN THEO/<2,-5,0>,<0,1,0>,<0,0,1> ACTL/<2,-5,0>,<0,1,0>,<0,0,1> TARG/<2,-5,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO LINE1 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO THEO/<-2,-5,0>,<1,0,0> ACTL/<-2,-5,0>,<1,0,0> CONSTR/LINE,BF,2D,PNT5,PNT6,, OUTLIER_REMOVAL/OFF,3 FILTER/OFF,WAVELENGTH=0 ALN2 =ALIGNMENT/START,RECALL:ALN1,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS ALIGNMENT/END CIR1 =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0,0,0>,<0,0,1>,2,0,0 ACTL/<0,0,0>,<0,0,1>,2,0,0 TARG/<0,0,0>,<0,0,1> ANGLE VEC=<1,0,0> SHOW FEATURE PARAMETERS=NO SHOW_VISION_PARAMETERS=NO ALN3 =ALIGNMENT/START,RECALL:ALN2,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/ROTATE,XPLUS,TO,LINE1,ABOUT,ZPLUS ALIGNMENT/TRANS,XAXIS,CIR1 ALIGNMENT/TRANS,YAXIS,CIR1 ALIGNMENT/END
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |