

START HEADER:
Strategy file name: /usr/weber/database/strategies/ShankHolders/MCFNR
Instruction 1:   80 diamond right handed od turn Lead 0
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: MCFNR_164C:
Xxx_ext_var_holder_name: MCFNR_164C: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 1:
START VARIABLE GROUP 2: MCFNR_164D:
Xxx_ext_var_holder_name: MCFNR_164D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 2:
START VARIABLE GROUP 3: MCFNR_204D:
Xxx_ext_var_holder_name: MCFNR_204D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 3:
START VARIABLE GROUP 4: MCFNR_864E:
Xxx_ext_var_holder_name: MCFNR_864E: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 4:
START VARIABLE GROUP 5: MCFNR_244D:
Xxx_ext_var_holder_name: MCFNR_244D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 5:
START VARIABLE GROUP 6: MCFNR_244E:
Xxx_ext_var_holder_name: MCFNR_244E: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 6:
START VARIABLE GROUP 7: MCFNR_165C:
Xxx_ext_var_holder_name: MCFNR_165C: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 7:
START VARIABLE GROUP 8: MCFNR_165D:
Xxx_ext_var_holder_name: MCFNR_165D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 8:
START VARIABLE GROUP 9: MCFNR_205D:
Xxx_ext_var_holder_name: MCFNR_205D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 9:
START VARIABLE GROUP 10: MCFNR_206D:
Xxx_ext_var_holder_name: MCFNR_206D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 10:
START VARIABLE GROUP 11: MCFNR_246D:
Xxx_ext_var_holder_name: MCFNR_246D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MCFNR: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 80_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_edge_dist: 0.032: active: 
Xxx_ext_var_clamp_pin_dia: 0.25: active: 
Xxx_ext_var_clamp_pin_length: 0.4375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 11:
END VARIABLE REFERENCES:

START OBJECT: O1
Object paths off:
     
START RECORD:
Record descr: HOLDER:External Shank Holder MCFNR
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(12000,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: LINE: Parallel
L1=Parallel("Xxx.Ent.G2.L1","Xxx_ext_var_edge_dist",WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L20")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.G2.L7","Xxx_ext_var_edge_dist",WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L21")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
V1=FreeParameter("Distance",0.1)
L1=Parallel("Xxx.Ent.G4.L3",V1,WsUnTrimmed,-1)
Stat=NameEntity(L1,"Xxx.Ent.L22")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel through a point
Pc=ParameterReturnPt("Xxx.Ent.G4.L4",0.02584,WsGeomCenter)
Ln1=PointParallel(Pc,"Xxx.Ent.G4.L4")
Stat=NameEntity(Ln1,"Xxx.Ent.L23")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L21",0.4738898879686648)
No_trim=CornerTrim("Xxx.Ent.L21",0,"Xxx.Ent.L20",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L21",0.9216142851250302)
No_trim=CornerTrim("Xxx.Ent.L21",1,"Xxx.Ent.L22",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L22",0.08374669966064413)
No_trim=CornerTrim("Xxx.Ent.L22",0,"Xxx.Ent.L23",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L23",0.7293658433663445)
No_trim=CornerTrim("Xxx.Ent.L23",1,"Xxx.Ent.L20",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L22",0.06017212441524122,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.11168,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L24")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L22",0.9187765596543227,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.88436,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L25")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: TRIM: Boundary trim multiple
Stat=NullReference("Xxx.Ent.G2")
Isles=CreateGroup("")
Egroup=CreateGroup("")
Stat=AddToGroup(Egroup,"Xxx.Ent.L21")
Stat=AddToGroup(Egroup,"Xxx.Ent.L20")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G2",Isles,Egroup,V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G26")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.G3.P2",0,WsGeomCenter)
V1=FreeParameter("Radius",0.09375)
C1=RadiusCenter(V1,Pc)
Stat=NameEntity(C1,"Xxx.Ent.C27")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: POINT: Incremental XY
Pc=ParameterReturnPt("Xxx.Ent.L22",0.02974681284148127,WsGeomCenter)
V1=FreeParameter("X",0.25)
V2=FreeParameter("Y",-0.25)
Pt=PtIncrXYZ(Pc,V1,V2,0)
Stat=NameEntity(Pt,"Xxx.Ent.P28")
Stat=DeleteEntity(Pc,WsTrue)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P28",0,WsGeometryEnd)
C1=RadiusCenter("Xxx_ext_var_clamp_pin_dia/2",Pc)
Stat=NameEntity(C1,"Xxx.Ent.C29")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: POINT: Vector point
Pc=ParameterReturnPt("Xxx.Ent.P28",0,WsGeometryEnd)
Pt=PtIncrVector(Pc,"Xxx.Ent.G26.L1","Xxx_ext_var_clamp_pin_length")
Stat=NameEntity(Pt,"Xxx.Ent.P31")
Stat=DeleteEntity(Pc,WsTrue)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.P28",0,WsGeometryEnd)
Pe=ParameterReturnPt("Xxx.Ent.P31",0,WsGeometryEnd)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L32")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: LINE: Perpendicular
Pc=ParameterReturnPt("Xxx.Ent.L32",0.9708831425096941,WsGeometryEnd)
L1=Perpendicular("Xxx.Ent.L32",Pc,WsUnTrimmed)
Stat=NameEntity(L1,"Xxx.Ent.L33")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L32","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L34")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L32","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,-1)
Stat=NameEntity(L1,"Xxx.Ent.L35")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: orient circle
Stat=OrientCircle("Xxx.Ent.C29","Xxx.Ent.L32")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L33",0.5023012585901943)
No_trim=CornerTrim("Xxx.Ent.L33",0,"Xxx.Ent.L34",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L33",0.9892484045971515)
No_trim=CornerTrim("Xxx.Ent.L33",1,"Xxx.Ent.L35",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L35",0.9740959109457301)
No_trim=CornerTrim("Xxx.Ent.L35",1,"Xxx.Ent.C29",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L34",0.9763179686970462)
No_trim=CornerTrim("Xxx.Ent.L34",1,"Xxx.Ent.C29",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: DELETE: Entities
Stat=DeleteEntity("Xxx.Ent.G3.P1")
Stat=DeleteEntity("Xxx.Ent.G3.P2")
Stat=DeleteEntity("Xxx.Ent.P31")
Stat=DeleteEntity("Xxx.Ent.L32")
END RECORD:
     
START RECORD:
Record descr: PROPERTY: Layer element
V1=FreeParameter("Layer",1)
Stat=SetLayer("Xxx.Ent.P28",V1)
END RECORD:
     
START RECORD:
Record descr: PROPERTY: Hide
Stat=HideEntity("Xxx.Ent.P28")
END RECORD:
     
START RECORD:
Record descr: CONTOUR: Auto link
G1=CreateGroup("Xxx.Ent.G36",WsContourGroup)
V1=FreeParameter("Contour_color",0)
V2=FreeParameter("Contour_layer",0)
Stat=SetReverseDir("Xxx.Ent.L34",WsReverse)
Stat=AddToContour(G1,"Xxx.Ent.L34",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.C29",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L35",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L33",V1,V2)
Stat=NameEntity(G1,"Xxx.Ent.G36")
Stat=SetNoPathFlag(G1,WsTrue)
END RECORD:
     
START RECORD:
Record descr: TRIM: Boundary trim contour
Stat=NullReference("Xxx.Ent.G36")
Isles=CreateGroup("")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G36",Isles,"Xxx.Ent.G2.L5",V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G37")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P28",0,WsGeomCenter)
V1=FreeParameter("Radius",0.078125)
C1=RadiusCenter(V1,Pc)
Stat=NameEntity(C1,"Xxx.Ent.C38")
Stat=DeleteEntity(Pc)
END RECORD:
     
END OBJECT: O1
     

