

START HEADER:
Strategy file name: /usr/weber/database/strategies/SRACR
Instruction 1:   
Instruction 2:   
END HEADER:


START STRATEGY SETTINGS:
single strategy: 1
END STRATEGY SETTINGS:

START ENTITY REFERENCES:
END ENTITY REFERENCES:

START TOOL REFERENCES:
END TOOL REFERENCES:
  
START VARIABLE REFERENCES:
START VARIABLE GROUP 1: SRACR_162D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_162D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 1:
START VARIABLE GROUP 2: SRACR_202D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_202D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 2:
START VARIABLE GROUP 3: SRACR_163D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_163D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 3:
START VARIABLE GROUP 4: SRACR_203D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_203D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 4:
START VARIABLE GROUP 5: SRACR_164D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_164D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 5:
START VARIABLE GROUP 6: SRACR_204D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/SRACR: inactive: 
Xxx_ext_var_holder_name: SRACR_204D: inactive: 
Xxx_ext_var_tool_prefix: Round: inactive: 
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/: inactive: 
Xxx_ext_var_tool_template: 80_turn_Q1: inactive: 
Xxx_ext_var_edge_dist: 0.06: active: 
Xxx_ext_var_screw_diameter: 0.25: active: 
Xxx_ext_var_inset_dist: 0.032: active: 
END VARIABLE GROUP 6:
END VARIABLE REFERENCES:

START OBJECT: O1
Object paths off:
     
START RECORD:
Record descr: HOLDER:External Shank Holder SRACR
V3=StringConstant(FindNamedVar("Xxx_ext_var_prop_directory",WsVariationVars))
V4=StringConstant(FindNamedVar("Xxx_ext_var_holder_name",WsVariationVars))
V5=StringConstant(JoinStrings(V3,"/",V4))
Holder_ent=ReadUserData(12025,V4,V5,WsTrue)
Stat=NameEntity(Holder_ent,"Xxx.Ent.Uds1")
V6=StringConstant(FindNamedVar("Xxx_ext_var_tool_prefix",WsVariationVars))
V7=StringConstant(JoinStrings(V6,"(",V4,")"))
V8=StringConstant(FindNamedVar("Xxx_ext_var_tool_library",WsVariationVars))
V9=StringConstant(FindNamedVar("Xxx_ext_var_tool_template",WsVariationVars))
V10=StringConstant(JoinStrings(V8,"/",V9))
Tool_ent=ReadUserData(WsToolData,V7,V10,WsTrue)
Stat=PutUserString(Tool_ent,"Tool id name:",V7)
Stat=PutUserString(Tool_ent,"Tool image:",LWC$(VariableString(V7)))
Stat=PutUserString(Tool_ent,"Holder file:",VariableString(V5))
V11=StringConstant(JoinStrings(V6," ",V4))
V12=StringConstant(MakeNameValid(V11,WsValidFileName))
V13=StringConstant(JoinStrings("shanktools","/",V12))
Stat=PutUserString(Tool_ent,"Tool image file:",V13)
V13=StringConstant("Insert orientation:")
V14=StringConstant("acute")
Stat=PutUserString(Tool_ent,V13,V14)
V15=FreeParameter("Quadrant",1)
Stat=PutUserValue(Tool_ent,"Tool quadrant:",V15)
Stat=CopyFieldsIntoTool(Holder_ent,Tool_ent)
V17=FreeParameter("Tool tip",1)
Insert_profile=ToolInsertProfile(Tool_ent,V17)
Stat=AutoNameGroup(Insert_profile,"Xxx.Ent.G2")
Pt_group=CreateGroup("")
Pz=PointXYZ(0,0,0)
Stat=AddToGroup(Pt_group,Pz)
Pc=ToolInsertCenter(Tool_ent,V17)
Stat=AddToGroup(Pt_group,Pc)
Stat=AutoNameGroup(Pt_group,"Xxx.Ent.G3")
Shank_path=ShankToolBar(Tool_ent,V17,WsTrue)
Stat=AutoNameGroup(Shank_path,"Xxx.Ent.G4")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Offset
C1=OffsetCircle("Xxx.Ent.G2.C1","Xxx_ext_var_edge_dist",-1)
Stat=NameEntity(C1,"Xxx.Ent.C13")
END RECORD:
     
START RECORD:
Record descr: LINE: Point angle
Pc=ParameterReturnPt("Xxx.Ent.G4.L3",0.05272631578947368,WsGeomCenter)
L1=PointAngle(Pc,"Xxx.Ent.G4.L2")
Stat=NameEntity(L1,"Xxx.Ent.L16")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Tangent at known angle
Pt=ParameterPt("Xxx.Ent.C13",0.007677097661623109)
V1=FreeParameter("Angle",90)
Ln1=SelectTanAngle("Xxx.Ent.C13",V1,Pt,WsUnTrimmed)
Stat=DeleteEntity(Pt)
Stat=NameEntity(Ln1,"Xxx.Ent.L17")
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.L17",0.6114165)
Pt=Intersect("Xxx.Ent.L17","Xxx.Ent.C13",Selectpt)
No_trim=TrimEntity("Xxx.Ent.L17",Pt,1)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.L17",0.009113)
Pt=Intersect("Xxx.Ent.L17","Xxx.Ent.G4.L3",Selectpt)
No_trim=TrimEntity("Xxx.Ent.L17",Pt,0)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.L16",0.5021185)
Pt=Intersect("Xxx.Ent.L16","Xxx.Ent.G2.C1",Selectpt)
No_trim=TrimEntity("Xxx.Ent.L16",Pt,0)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.L16",0.9944612709497866)
Pt=Intersect("Xxx.Ent.L16","Xxx.Ent.G4.L3",Selectpt)
No_trim=TrimEntity("Xxx.Ent.L16",Pt,1)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: LINE: Point angle
Pc=ParameterReturnPt("Xxx.Ent.L17",0.9380266666666667,WsGeomCenter)
V1=FreeParameter("Angle",45)
L1=PointAngle(Pc,V1)
Stat=NameEntity(L1,"Xxx.Ent.L18")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: CONTOUR: Unlink 
Stat=UnLink("Xxx.Ent.G4")
Stat=DeleteEntity("Xxx.Ent.G4")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.G4.L4",0.210178)
No_trim=CornerTrim("Xxx.Ent.G4.L4",1,"Xxx.Ent.L18",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L18",0.9919605547962673)
No_trim=CornerTrim("Xxx.Ent.L18",1,"Xxx.Ent.L17",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.L17",0.9435066666666667)
Pt=Intersect("Xxx.Ent.L17","Xxx.Ent.G2.C1",Selectpt)
No_trim=TrimEntity("Xxx.Ent.L17",Pt,1)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: DELETE: Entities
Stat=DeleteEntity("Xxx.Ent.G4.L3")
Stat=DeleteEntity("Xxx.Ent.C13")
Stat=DeleteEntity("Xxx.Ent.G3.P1")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.G3.P2",0,WsGeomCenter)
C1=RadiusCenter("Xxx_ext_var_screw_diameter/2",Pc)
Stat=NameEntity(C1,"Xxx.Ent.C19")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Offset
C1=OffsetCircle("Xxx.Ent.G2.C1","Xxx_ext_var_inset_dist",1)
Stat=NameEntity(C1,"Xxx.Ent.C20")
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.C20",0.3219992158015978)
Pt=Intersect("Xxx.Ent.C20","Xxx.Ent.L16",Selectpt)
No_trim=TrimEntity("Xxx.Ent.C20",Pt,0)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Trim to an element
Selectpt=ParameterPt("Xxx.Ent.C20",0.04506086142322097)
Pt=Intersect("Xxx.Ent.C20","Xxx.Ent.L17",Selectpt)
No_trim=TrimEntity("Xxx.Ent.C20",Pt,0)
Stat=DeleteEntity(Selectpt)
Stat=DeleteEntity(Pt)
Stat=DeleteEntity("Xxx.Ent.G3.P2")
END RECORD:
     
END OBJECT: O1
     

