

START HEADER:
Strategy file name: /usr/weber/database/strategies/ShankHolders/MSDNN
Instruction 1:   90 square od turn lead 45
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: MSDNN_083A:
Xxx_ext_var_holder_name: MSDNN_083A: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 1:
START VARIABLE GROUP 2: MSDNN_103A:
Xxx_ext_var_holder_name: MSDNN_103A: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.375: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 2:
START VARIABLE GROUP 3: MSDNN_124A:
Xxx_ext_var_holder_name: MSDNN_124A: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.500: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 3:
START VARIABLE GROUP 4: MSDNN_124B:
Xxx_ext_var_holder_name: MSDNN_124B: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.500: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 4:
START VARIABLE GROUP 5: MSDNN_164C:
Xxx_ext_var_holder_name: MSDNN_164C: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.500: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 5:
START VARIABLE GROUP 6: MSDNN_164D:
Xxx_ext_var_holder_name: MSDNN_164D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.500: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 6:
START VARIABLE GROUP 7: MSDNN_854D:
Xxx_ext_var_holder_name: MSDNN_854D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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.500: active: 
Xxx_ext_var_clamp_pin_width: 0.15: active: 
END VARIABLE GROUP 7:
START VARIABLE GROUP 8: MSDNN_856D:
Xxx_ext_var_holder_name: MSDNN_856D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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: MSDNN_206D:
Xxx_ext_var_holder_name: MSDNN_206D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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: MSDNN_248D:
Xxx_ext_var_holder_name: MSDNN_248D: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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: MSDNN_248E:
Xxx_ext_var_holder_name: MSDNN_248E: active: 
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MSDNN: active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 90_turn_Q5:  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 MSDNN
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(12006,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",5)
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: Radius center
Pc=ParameterReturnPt("Xxx.Ent.G3.P2",0,WsGeomCenter)
V1=FreeParameter("Radius",0.09375)
C1=RadiusCenter(V1,Pc)
Stat=NameEntity(C1,"Xxx.Ent.C20")
Stat=DeleteEntity(Pc)
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.L21")
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.L22")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel through a point
Pc=ParameterReturnPt("Xxx.Ent.G4.L3",0.8288,WsGeomCenter)
Ln1=PointParallel(Pc,"Xxx.Ent.G4.L4")
Stat=NameEntity(Ln1,"Xxx.Ent.L23")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel through a point
Pc=ParameterReturnPt("Xxx.Ent.G4.L3",0.1346666666666667,WsGeomCenter)
Ln1=PointParallel(Pc,"Xxx.Ent.G4.L2")
Stat=NameEntity(Ln1,"Xxx.Ent.L24")
Stat=DeleteEntity(Pc)
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.L25")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L24",0.6346666666666667)
No_trim=CornerTrim("Xxx.Ent.L24",1,"Xxx.Ent.L25",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L25",0.0599132530120482)
No_trim=CornerTrim("Xxx.Ent.L25",0,"Xxx.Ent.L23",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L23",0.44525)
No_trim=CornerTrim("Xxx.Ent.L23",1,"Xxx.Ent.L21",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L22",0.4997595834287928)
No_trim=CornerTrim("Xxx.Ent.L22",1,"Xxx.Ent.L24",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L22",0.0307601163481173)
No_trim=CornerTrim("Xxx.Ent.L22",0,"Xxx.Ent.L21",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L25",0.1215733333333333,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.1215733333333333,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L26")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L25",0.9031066666666666,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.8537466666666667,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L27")
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.L22")
Stat=AddToGroup(Egroup,"Xxx.Ent.L21")
Stat=AddToGroup(Egroup,"Xxx.Ent.L23")
Stat=AddToGroup(Egroup,"Xxx.Ent.L24")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G2",Isles,Egroup,V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G28")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
START RECORD:
Record descr: POINT: Incremental XY
Pc=ParameterReturnPt("Xxx.Ent.L25",0.46601,WsGeomCenter)
V1=FreeParameter("X",0)
V2=FreeParameter("Y",-0.375)
Pt=PtIncrXYZ(Pc,V1,V2,0)
Stat=NameEntity(Pt,"Xxx.Ent.P39")
Stat=DeleteEntity(Pc,WsTrue)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P39",0,WsGeometryEnd)
C1=RadiusCenter("Xxx_ext_var_clamp_pin_dia/2",Pc)
Stat=NameEntity(C1,"Xxx.Ent.C40")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.P39",0,WsGeometryEnd)
Pe=ParameterReturnPt("Xxx.Ent.G3.P2",0,WsGeometryEnd)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L41")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: POINT: Vector point
Pc=ParameterReturnPt("Xxx.Ent.P39",0,WsGeometryEnd)
Pt=PtIncrVector(Pc,"Xxx.Ent.L41","Xxx_ext_var_clamp_pin_length")
Stat=NameEntity(Pt,"Xxx.Ent.P42")
Stat=DeleteEntity(Pc,WsTrue)
END RECORD:
     
START RECORD:
Record descr: LINE: Perpendicular
Pc=ParameterReturnPt("Xxx.Ent.P42",0,WsGeometryEnd)
L1=Perpendicular("Xxx.Ent.L41",Pc,WsUnTrimmed)
Stat=NameEntity(L1,"Xxx.Ent.L44")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L41","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L45")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L41","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,-1)
Stat=NameEntity(L1,"Xxx.Ent.L46")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: orient circle
Stat=OrientCircle("Xxx.Ent.C40","Xxx.Ent.L41")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L46",0.4933522466761233)
No_trim=CornerTrim("Xxx.Ent.L46",1,"Xxx.Ent.C40",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L45",0.4939702469851235)
No_trim=CornerTrim("Xxx.Ent.L45",1,"Xxx.Ent.C40",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L44",0.502472)
No_trim=CornerTrim("Xxx.Ent.L44",0,"Xxx.Ent.L45",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L44",0.9882620347394541)
No_trim=CornerTrim("Xxx.Ent.L44",1,"Xxx.Ent.L46",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P39",0,WsGeometryEnd)
V1=FreeParameter("Radius",0.09375)
C1=RadiusCenter(V1,Pc)
Stat=NameEntity(C1,"Xxx.Ent.C48")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: DELETE: Entities
Stat=DeleteEntity("Xxx.Ent.G3.P1")
Stat=DeleteEntity("Xxx.Ent.G3.P2")
Stat=DeleteEntity("Xxx.Ent.L41")
END RECORD:
     
START RECORD:
Record descr: PROPERTY: Layer element
V1=FreeParameter("Layer",1)
Stat=SetLayer("Xxx.Ent.P39",V1)
END RECORD:
     
START RECORD:
Record descr: PROPERTY: Hide
Stat=HideEntity("Xxx.Ent.P39")
END RECORD:
     
START RECORD:
Record descr: CONTOUR: Auto link
G1=CreateGroup("Xxx.Ent.G49",WsContourGroup)
V1=FreeParameter("Contour_color",0)
V2=FreeParameter("Contour_layer",0)
Stat=SetReverseDir("Xxx.Ent.L44",WsReverse)
Stat=AddToContour(G1,"Xxx.Ent.L44",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L46",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.C40",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L45",V1,V2)
Stat=NameEntity(G1,"Xxx.Ent.G49")
Stat=SetNoPathFlag(G1,WsTrue)
END RECORD:
     
START RECORD:
Record descr: TRIM: Boundary trim contour
Stat=NullReference("Xxx.Ent.G49")
Isles=CreateGroup("")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G49",Isles,"Xxx.Ent.G2.L3",V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G50")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
START RECORD:
Record descr: DELETE: Entity
Stat=DeleteEntity("Xxx.Ent.P42")
END RECORD:
     
END OBJECT: O1
     

