

START HEADER:
Strategy file name: /usr/weber/util/strategy.d/operations/inches/tapping/tap05-40NC
Instruction 1:   
Instruction 2:   
END HEADER:

START ENTITY REFERENCES:
END ENTITY REFERENCES:

START TOOL REFERENCES:
#2 Center Drill:/usr/weber/util/tooldata/tools_in/centerdrills/N2cdrill:
.500 Counter sink:/usr/weber/util/tooldata/tools_in/countersinks/csink_.500:
#38 Twist Drill:/usr/weber/util/tooldata/tools_in/twistdrills/twistdrN38:
#5_40NC Tap:/usr/weber/util/tooldata/tools_in/taps/tapN05-40NC:
END TOOL REFERENCES:
  
START VARIABLE REFERENCES:
Xxx_ext_var_name: #5_40NC Tap:  active:
Xxx_ext_var_finish_depth: 1:  active:
Xxx_ext_var_tap_depth: 0.75:  active:
END VARIABLE REFERENCES:

START OBJECT: O1
     
START RECORD:
Record descr: FEATURE DATA: #5-40NC Tap
Vstr=StringConstant(FindNamedVar("Xxx_ext_var_name",WsVariationVars))
V1=FreeParameter("Finish depth","Xxx_ext_var_finish_depth")
V2=FreeParameter("Hole diameter",0.125)
V3=FreeParameter("Chamfer",0.015)
V4=FreeParameter("Tap depth","Xxx_ext_var_tap_depth")
Mdef=HoleFeatureDef(WsTapOperation,V1,V3,V2,V4,WsThruHole)
Stat=NameEntity(Mdef,"Xxx.Ent.Mdef1")
Stat=SetMachDefDescr(Mdef,Vstr)
END RECORD:
     
START RECORD:
Record descr: FEATURE TOOL INFO: #5-40NC Tap
Vstr=StringConstant(FindNamedVar("Xxx_ext_var_name",WsVariationVars))
Vo1=StringConstant("New func: 1"&CHR$(10))
Odata=CreateUserData(WsOperation,Vstr,Vo1)
Vo2=StringConstant("Group name:")
Group1=CreateGroup("Xxx.Ent.G2",WsMachDefGroup)
Stat=PutUserString(Odata,Vo2,"Xxx.Ent.G2")
Tool=FindUserData("#2 Center Drill",WsToolData)
H1=CdrillDefinition("Xxx.Ent.Mdef1",Tool)
Stat=AddToGroup("Xxx.Ent.G2",H1)
Tool=FindUserData("#38 Twist Drill",WsToolData)
H1=DrillDefinition("Xxx.Ent.Mdef1",Tool)
Stat=AddToGroup("Xxx.Ent.G2",H1)
Tool=FindUserData(".500 Counter sink",WsToolData)
Vd1=FreeParameter("Diameter to countersink",GetMachDefValue("Xxx.Ent.Mdef1",WsDiameter1))
H1=CsinkDefinition("Xxx.Ent.Mdef1",Tool,Vd1)
Stat=AddToGroup("Xxx.Ent.G2",H1)
Tool=FindUserData("#5_40NC Tap",WsToolData)
H1=TapDefinition("Xxx.Ent.Mdef1",Tool)
Stat=AddToGroup("Xxx.Ent.G2",H1)
END RECORD:
     
END OBJECT: O1
     

