

START HEADER:
Strategy file name: /usr/weber/database/strategies/MTRNR
Instruction 1:  Triangle od turn
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: MTRNR_164C:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_164C:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 1:
START VARIABLE GROUP 2: MTRNR_164D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_164D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 2:
START VARIABLE GROUP 3: MTRNR_854D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_854D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 3:
START VARIABLE GROUP 4: MTRNR_204D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_204D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 4:
START VARIABLE GROUP 5: MTRNR_864E:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_864E:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 5:
START VARIABLE GROUP 6: MTRNR_244D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_244D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 6:
START VARIABLE GROUP 7: MTRNR_244E:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_244E:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.25:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 7:
START VARIABLE GROUP 8: MTRNR_165D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_165D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 8:
START VARIABLE GROUP 9: MTRNR_855D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_855D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 9:
START VARIABLE GROUP 10: MTRNR_205D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_205D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 10:
START VARIABLE GROUP 11: MTRNR_245D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_245D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 11:
START VARIABLE GROUP 12: MTRNR_245E:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_245E:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 12:
START VARIABLE GROUP 13: MTRNR_246D:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_246D:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 13:
START VARIABLE GROUP 14: MTRNR_246E:
Xxx_ext_var_prop_directory: /usr/weber/database/properties/Holders.d/ShankHolders.d/MTRNR:  active:
Xxx_ext_var_holder_name: MTRNR_246E:  active:
Xxx_ext_var_tool_library: /usr/weber/util/tooldata/ltools_in/turn/:  active:
Xxx_ext_var_tool_prefix: 60_turn_Q1:  active:
Xxx_ext_var_tool_template: 80_turn_Q1:  active:
Xxx_ext_var_dist1: 0.1:  active:
Xxx_ext_var_dist2: 0.375:  active:
Xxx_ext_var_dist3: 0.1:  active:
Xxx_ext_var_edge_dist: 0.032:  active:
Xxx_ext_var_angle1: 15:  active:
Xxx_ext_var_clamp_pin_dia: 0.25:  active:
Xxx_ext_var_clamp_pin_width: 0.15:  active:
END VARIABLE GROUP 14:
END VARIABLE REFERENCES:

START OBJECT: O1
Object paths off:
     
START RECORD:
Record descr: HOLDER:Shank Holder MTRNR
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(12018,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: Point distance angle
Pc=ParameterReturnPt("Xxx.Ent.G3.P1",0,WsGeomCenter)
V2=FreeParameter("Angle",90)
L1=PtDistAngle(Pc,"Xxx_ext_var_dist1",V2,1)
Stat=NameEntity(L1,"Xxx.Ent.L44")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Point distance angle
Pc=ParameterReturnPt("Xxx.Ent.G3.P1",0,WsGeomCenter)
L1=PtDistAngle(Pc,"Xxx_ext_var_edge_dist","Xxx_ext_var_angle1",1)
Stat=NameEntity(L1,"Xxx.Ent.L45")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
V1=FreeParameter("Distance",0.05)
L1=Parallel("Xxx.Ent.G4.L3",V1,WsUnTrimmed,-1)
Stat=NameEntity(L1,"Xxx.Ent.L46")
END RECORD:
     
START RECORD:
Record descr: LINE: Point angle
Pc=ParameterReturnPt("Xxx.Ent.G4.L4",0.02834666666666667,WsGeomCenter)
V1=FreeParameter("Angle",90)
L1=PointAngle(Pc,V1)
Stat=NameEntity(L1,"Xxx.Ent.L47")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L44",0.556307)
No_trim=CornerTrim("Xxx.Ent.L44",1,"Xxx.Ent.L45",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L44",0.1149925308859304)
No_trim=CornerTrim("Xxx.Ent.L44",0,"Xxx.Ent.L46",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L46",0.06420084917435122)
No_trim=CornerTrim("Xxx.Ent.L46",0,"Xxx.Ent.L47",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L47",0.9839748582661892)
No_trim=CornerTrim("Xxx.Ent.L47",1,"Xxx.Ent.L45",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L46",0.1014207440831366,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.16572,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L48")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.L46",0.9176996315298914,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.G4.L3",0.87264,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L49")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Three tangents
C1=ThreeTangents("Xxx.Ent.G2.L5",0.2158344149190518,"Xxx.Ent.G2.L3",0.739404869251578,"Xxx.Ent.G2.L1",0.6240225444637292,0)
Stat=NameEntity(C1,"Xxx.Ent.C50")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Offset
V1=FreeParameter("Distance","Xxx_ext_var_dist2")
C1=OffsetCircle("Xxx.Ent.C50",V1,1)
Stat=NameEntity(C1,"Xxx.Ent.C51")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Offset
V1=FreeParameter("Distance","Xxx_ext_var_dist3")
C1=OffsetCircle("Xxx.Ent.C50",V1,-1)
Stat=NameEntity(C1,"Xxx.Ent.C52")
END RECORD:
     
START RECORD:
Record descr: LINE: Angle Bisector
Ln1=BisectorLine("Xxx.Ent.L44",-1,"Xxx.Ent.L45",1,WsUnTrimmed)
Stat=NameEntity(Ln1,"Xxx.Ent.L53")
END RECORD:
     
START RECORD:
Record descr: POINT: Intersect
P1=ParameterPt("Xxx.Ent.L53",0.04036403015761254)
Pt=Intersect("Xxx.Ent.L53","Xxx.Ent.C51",P1)
Stat=NameEntity(Pt,"Xxx.Ent.P54")
Stat=DeleteEntity(P1)
END RECORD:
     
START RECORD:
Record descr: POINT: Intersect
P1=ParameterPt("Xxx.Ent.L53",0.05407793981790916)
Pt=Intersect("Xxx.Ent.L53","Xxx.Ent.C52",P1)
Stat=NameEntity(Pt,"Xxx.Ent.P55")
Stat=DeleteEntity(P1)
END RECORD:
     
START RECORD:
Record descr: DELETE: Entities
Stat=DeleteEntity("Xxx.Ent.C51")
Stat=DeleteEntity("Xxx.Ent.C50")
Stat=DeleteEntity("Xxx.Ent.C52")
Stat=DeleteEntity("Xxx.Ent.L53")
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.C56")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P54",0,WsGeomCenter)
V1=FreeParameter("Radius",0.09375)
C1=RadiusCenter(V1,Pc)
Stat=NameEntity(C1,"Xxx.Ent.C57")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: CIRCLE: Radius center
Pc=ParameterReturnPt("Xxx.Ent.P54",0,WsGeomCenter)
C1=RadiusCenter("Xxx_ext_var_clamp_pin_dia/2",Pc)
Stat=NameEntity(C1,"Xxx.Ent.C58")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Two points
Ps=ParameterReturnPt("Xxx.Ent.P55",0,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ent.P54",0,WsGeomCenter)
L1=LineTwoPoints(Ps,Pe)
Stat=NameEntity(L1,"Xxx.Ent.L59")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record descr: LINE: Perpendicular
Pc=ParameterReturnPt("Xxx.Ent.P55",0,WsGeomCenter)
L1=Perpendicular("Xxx.Ent.L59",Pc,WsUnTrimmed)
Stat=NameEntity(L1,"Xxx.Ent.L60")
Stat=DeleteEntity(Pc)
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L59","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L61")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
L1=Parallel("Xxx.Ent.L59","Xxx_ext_var_clamp_pin_width/2",WsUnTrimmed,-1)
Stat=NameEntity(L1,"Xxx.Ent.L62")
END RECORD:
     
START RECORD:
Record descr: CIRCLE: orient circle
Stat=OrientCircle("Xxx.Ent.C58","Xxx.Ent.L59")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L60",0.502408324033775)
No_trim=CornerTrim("Xxx.Ent.L60",0,"Xxx.Ent.L61",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L60",0.9888720457150715)
No_trim=CornerTrim("Xxx.Ent.L60",1,"Xxx.Ent.L62",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L61",0.01387964099498593)
No_trim=CornerTrim("Xxx.Ent.L61",0,"Xxx.Ent.C58",0,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L62",0.01708443510318522)
No_trim=CornerTrim("Xxx.Ent.L62",0,"Xxx.Ent.C58",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.P55")
Stat=DeleteEntity("Xxx.Ent.L59")
Stat=DeleteEntity("Xxx.Ent.P54")
END RECORD:
     
START RECORD:
Record descr: LINE: Parallel
V1=FreeParameter("Distance",0.01)
L1=Parallel("Xxx.Ent.G2.L5",V1,WsUnTrimmed,1)
Stat=NameEntity(L1,"Xxx.Ent.L67")
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L67",0.5078010674736302)
No_trim=CornerTrim("Xxx.Ent.L67",1,"Xxx.Ent.L44",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Corner Trim
Selectpt=ParameterPt("Xxx.Ent.L67",0.02421367125122341)
No_trim=CornerTrim("Xxx.Ent.L67",0,"Xxx.Ent.L45",1,Selectpt)
Stat=DeleteEntity(Selectpt)
END RECORD:
     
START RECORD:
Record descr: TRIM: Boundary trim multiple
Stat=NullReference("Xxx.Ent.G2")
Isles=CreateGroup("")
Egroup=CreateGroup("")
Stat=AddToGroup(Egroup,"Xxx.Ent.L44")
Stat=AddToGroup(Egroup,"Xxx.Ent.L67")
Stat=AddToGroup(Egroup,"Xxx.Ent.L45")
Stat=AddToGroup(Egroup,"Xxx.Ent.L47")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G2",Isles,Egroup,V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G68")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
START RECORD:
Record descr: CONTOUR: Auto link
G1=CreateGroup("Xxx.Ent.G69",WsContourGroup)
V1=FreeParameter("Contour_color",0)
V2=FreeParameter("Contour_layer",0)
Stat=SetReverseDir("Xxx.Ent.L60",WsForward)
Stat=AddToContour(G1,"Xxx.Ent.L60",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L61",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.C58",V1,V2)
Stat=AddToContour(G1,"Xxx.Ent.L62",V1,V2)
Stat=NameEntity(G1,"Xxx.Ent.G69")
Stat=SetNoPathFlag(G1,WsTrue)
END RECORD:
     
START RECORD:
Record descr: TRIM: Boundary trim contour
Stat=NullReference("Xxx.Ent.G69")
Isles=CreateGroup("")
V1=FreeParameter("Side",1)
G1=BoundaryTrim("Xxx.Ent.G69",Isles,"Xxx.Ent.G2.L3",V1)
Stat=AutoNameGroup(G1,"Xxx.Ent.G70")
Stat=UnLink(G1)
Stat=DeleteEntity(G1)
Stat=DeleteEntity(Isles)
END RECORD:
     
END OBJECT: O1
     

