

START HEADER:
Strategy file name: /usr/weber/database/strategies/holefeatures/inches/tapping/1_2-13_NC_No_csink
Instruction 1:   
Instruction 2:   
END HEADER:

START ENTITY REFERENCES:
END ENTITY REFERENCES:

START TOOL REFERENCES:
#3 Center Drill:/usr/weber/util/tooldata/tools_in/centerdrills/N3cdrill:
.4218 Twist Drill:/usr/weber/util/tooldata/tools_in/twistdrills/twistdr.4219:
.500_13NC Tap:/usr/weber/util/tooldata/tools_in/taps/tap.500-13NC:
END TOOL REFERENCES:
  
START VARIABLE REFERENCES:
Xxx_ext_var_name: .500_13NC Tap:active:
Xxx_ext_var_finish_depth: 1:  active:
Xxx_ext_var_tap_depth: 0.75:  active:
END VARIABLE REFERENCES:

START OBJECT: O1
Object paths off:
     
START RECORD:
Record descr: FEATURE DATA: 1/2-13 NC No csink
Vstr=StringConstant(FindNamedVar("Xxx_ext_var_name",WsVariationVars))
V1=FreeParameter("Finish depth","Xxx_ext_var_finish_depth")
V2=FreeParameter("Hole diameter",0.5)
V3=FreeParameter("Chamfer",0.03)
V4=FreeParameter("Tap depth","Xxx_ext_var_tap_depth")
Mdef=HoleFeatureDef(WsTapOperation,V1,V3,V2,V4,WsThruHole)
Stat=NameEntity(Mdef,"Xxx.Ent.Mdef2")
Stat=SetMachDefDescr(Mdef,Vstr)
END RECORD:
     
START RECORD:
Record descr: FEATURE TOOL INFO: 1/2-13 NC No csink
Vstr=StringConstant(FindNamedVar("Xxx_ext_var_name",WsVariationVars))
V1=FreeParameter("Finish depth","Xxx_ext_var_finish_depth")
Vstr=StringConstant("1/2-13 NC No csink")
Stat=NullReference("Xxx.Ent.G3")
Vo1=StringConstant(JoinStrings("New func: 1",CHR$(10)))
Odata=CreateUserData(WsOperation,Vstr,Vo1)
Vo2=StringConstant("Group name:")
Group1=CreateGroup("Xxx.Ent.G3",WsMachDefGroup)
Stat=PutUserString(Odata,Vo2,"Xxx.Ent.G3")
! ------------------------------ 
Tool=FindUserData("#3 Center Drill",WsToolData)
H1=CdrillDefinition("Xxx.Ent.Mdef2",Tool)
Stat=AddToGroup("Xxx.Ent.G3",H1)
! ------------------------------ 
Tool=FindUserData(".4218 Twist Drill",WsToolData)
H1=DrillDefinition("Xxx.Ent.Mdef2",Tool)
Stat=AddToGroup("Xxx.Ent.G3",H1)
! ------------------------------ 
Tool=FindUserData(".500_13NC Tap",WsToolData)
H1=TapDefinition("Xxx.Ent.Mdef2",Tool)
Stat=AddToGroup("Xxx.Ent.G3",H1)
END RECORD:
     
END OBJECT: O1
     

