hexagon logo

Clear Plane Leaving Z Axis Limits

The clear planes in my program do not want to co-operate today. I'm using a read point for the manual alignment, as far as I can see I did not forget to translate my Z. DCC_ORG Is a circle that takes 3 sample hits on the Z=0 surface I want. The clearplane at the end is where I'm getting the error.


CODE

MODE/DCC
CLEARP/ZPLUS,0.15,ZPLUS,0,OFF
MAN_ORG =FEAT/POINT,CARTESIAN
THEO/<-0.787,-0.102,0>,<0,0,1>
ACTL/<16.5346,6.6828,-27.4938>,<0,0,1>
READPOINT/
A_MAN =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
ALIGNMENT/TRANS,ZAXIS,MAN_ORG
ALIGNMENT/TRANS,XAXIS,MAN_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,MAN_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/END
DCC_ORG =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
THEO/<-0.787,-0.102,0>,<0,0,1>,0.096
ACTL/<-0.799,-0.0971,0.0138>,<0.0001931,0.0005264,0.9999998>,0.0 958
TARG/<-0.7874,-0.1023,0>,<0,0,1>
START ANG=0,END ANG=360
ANGLE VEC=<0.8741573,0.4856429,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC =ALIGNMENT/START,RECALL:A_MAN,LIST=YES
ALIGNMENT/TRANS,XAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/TRANS,ZAXIS,DCC_ORG
ALIGNMENT/END
DCC_ROT =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
THEO/<-3.898,-0.102,0>,<0,0,1>,0.096
ACTL/<-3.9005,-0.0771,0.001>,<-0.0009519,0.0007254,0.9999993>,0.0953
TARG/<-3.898,-0.102,0>,<0,0,1>
START ANG=0,END ANG=360
ANGLE VEC=<1,0,0>
DIRECTION=CCW
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC2 =ALIGNMENT/START,RECALL:A_DCC,LIST=YES
ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
ALIGNMENT/END
CHECK/0.05,1
PREHIT/0.04
RETRACT/0.04
DCC_LVL =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR
THEO/<-1.1563,-0.3114,0>,<0,0,1>
ACTL/<-1.1563,-0.3114,0.0002>,<0.0003244,0.0004314,0.9999999>
TARG/<-1.1563,-0.3114,0>,<0,0,1>
ANGLE VEC=<1,0,0>,SQUARE
SHOW FEATURE PARAMETERS=NO
SHOW CONTACT PARAMETERS=NO
A_DCC3 =ALIGNMENT/START,RECALL:A_DCC2,LIST=YES
ALIGNMENT/LEVEL,ZPLUS,DCC_LVL
ALIGNMENT/TRANS,ZAXIS,DCC_LVL
ALIGNMENT/TRANS,XAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,XAXIS,0.787
ALIGNMENT/TRANS,YAXIS,DCC_ORG
ALIGNMENT/TRANS_OFFSET,YAXIS,0.102
ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,DCC_ROT,AND,DCC_ORG,ABOUT,Z PLUS
ALIGNMENT/END
MOVE/CLEARPLANE
Parents
  • A Clearp declaration will use the current alignment to set the clearance plane. Always keep this in mind when you're building alignments that could have varying Z locations, as the clearance plane will not change unless you redeclare it under the new alignment.

    Also, when building alignments, unless you're trying to accomplish something very specific, the rule of thumb is to always level, rotate, translate in that order. Not following this rule will lead to some tricky situations where your origin is off from where you think it should be.
Reply
  • A Clearp declaration will use the current alignment to set the clearance plane. Always keep this in mind when you're building alignments that could have varying Z locations, as the clearance plane will not change unless you redeclare it under the new alignment.

    Also, when building alignments, unless you're trying to accomplish something very specific, the rule of thumb is to always level, rotate, translate in that order. Not following this rule will lead to some tricky situations where your origin is off from where you think it should be.
Children
No Data