

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

START STRATEGY SETTINGS:
END STRATEGY SETTINGS:

START ENTITY REFERENCES:
Xxx.Ext.Ent.P101: POINT:   First
Xxx.Ext.Ent.P103: POINT:   Second
Xxx.Ext.Ent.P115: POINT:   Third
Xxx.Ext.Ent.P128: POINT:   Fourth
END ENTITY REFERENCES:
  
START VARIABLE REFERENCES:
END VARIABLE REFERENCES:

START OBJECT: Program
Object paths off:
     
START RECORD:
Record linetype: 1
Record descr: TYPE 10: line to corner radius
Last=FindLastType
Ps=ParameterReturnPt("Xxx.Ext.Ent.P101",0,WsGeomCenter)
Pe=ParameterReturnPt("Xxx.Ext.Ent.P103",0,WsGeomCenter)
V2=FreeParameter("Corner radius",0.5)
Tp=Type10(10,Ps,Pe,V2)
Stat=NameEntity(Tp,"Xxx.Ent.Type1")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record linetype: 1
Record descr: TYPE 11: line to corner chamfer
Last=FindLastType
Ps=TypeEndPoint(Last,WsEnd)
V1=FreeParameter("R1",TypeEndRadius(Last,WsEnd))
Pe=ParameterReturnPt("Xxx.Ext.Ent.P115",0,WsGeomCenter)
V2=FreeParameter("Chamfer length",2)
Tp=Type10(11,Ps,Pe,V2)
Stat=JoinTypes(Last,Tp)
Stat=NameEntity(Tp,"Xxx.Ent.Type5")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record linetype: 1
Record descr: TYPE 3: circle line circle
Last=FindLastType
Ps=TypeEndPoint(Last,WsEnd)
V1=FreeParameter("R1",TypeEndRadius(Last,WsEnd))
Pe=ParameterReturnPt("Xxx.Ext.Ent.P128",0,WsGeomCenter)
V2=FreeParameter("R2",1)
Tp=Type3(3,Ps,Pe,V1,V2)
Stat=JoinTypes(Last,Tp)
Stat=NameEntity(Tp,"Xxx.Ent.Type9")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record linetype: 1
Record descr: TYPE 10: line to corner radius
Last=FindLastType
Ps=TypeEndPoint(Last,WsEnd)
V1=FreeParameter("R1",TypeEndRadius(Last,WsEnd))
Pe=ParameterReturnPt("Xxx.Ext.Ent.P101",0,WsGeomCenter)
V2=FreeParameter("Corner radius",1)
Tp=Type3(30,Ps,Pe,V1,V2)
Stat=JoinTypes(Last,Tp)
Stat=NameEntity(Tp,"Xxx.Ent.Type13")
Stat=DeleteEntity(Ps)
Stat=DeleteEntity(Pe)
END RECORD:
     
START RECORD:
Record linetype: 1
Record descr: TYPE: end profile
Last=FindLastType
Stat=CloseType(Last)
Contour=TypesContour(Last,WsFalse)
Stat=RmFullEndCircles(Contour)
Stat=AutoNameGroup(Contour,"Xxx.Ent.G17")
Stat=UnLinkTypes(Last)
END RECORD:
     
START RECORD:
Record linetype: 1
Record descr: SOLIDS: Start variational solid
! WPKEndSession
END RECORD:
     
START RECORD:
Record color: 6
Record linetype: 1
Record descr: SOLID: Contour block
V1=FreeParameter("Height",0)
V2=FreeParameter("Depth",2)
Pkbody=WPKContourBlock("Xxx.Ent.G17",V1,V2)
Stat=WPKNameBody(Pkbody,"Xxx.Ent.Body18")
Stat=WPKSetBodyParent(Pkbody)
END RECORD:
     
START RECORD:
Record color: 6
Record linetype: 1
Record descr: BLEND: constant radius
V1=FreeParameter("Propagate on",1)
V2=FreeParameter("Y blend on",0)
V3=FreeParameter("Vertex blend on",0)
V4=FreeParameter("Propagate angle",1)
V5=FreeParameter("Smooth overflow",1)
V6=FreeParameter("Cliff overflow",1)
V7=FreeParameter("Cliff end overflow",0)
V8=FreeParameter("Notch overflow",1)
V9=FreeParameter("Make sheet body",0)
V9=FreeParameter("Radius1",0.5)
Stat=WPKEdgeBlend("Xxx.Ent.Body18.Edge2",V9,V1,V5,V6,V7,V8)
Stat=WPKEdgeBlend("Xxx.Ent.Body18.Edge3",V9,V1,V5,V6,V7,V8)
Stat=WPKFixBlends("Xxx.Ent.Body18",V1,V4,V2,V3)
Stat=WPKNameBody("Xxx.Ent.Body18","Xxx.Ent.Body18")
Stat=WPKSetBodyParent("Xxx.Ent.Body18",1)
END RECORD:
     
START RECORD:
Record color: 6
Record linetype: 1
Record descr: BLEND: constant radius
V1=FreeParameter("Propagate on",1)
V2=FreeParameter("Y blend on",0)
V3=FreeParameter("Vertex blend on",0)
V4=FreeParameter("Propagate angle",1)
V5=FreeParameter("Smooth overflow",1)
V6=FreeParameter("Cliff overflow",1)
V7=FreeParameter("Cliff end overflow",0)
V8=FreeParameter("Notch overflow",1)
V9=FreeParameter("Make sheet body",0)
V9=FreeParameter("Radius1",0.5)
Stat=WPKEdgeBlend("Xxx.Ent.Body18.Edge16",V9,V1,V5,V6,V7,V8)
Stat=WPKFixBlends("Xxx.Ent.Body18",V1,V4,V2,V3)
Stat=WPKNameBody("Xxx.Ent.Body18","Xxx.Ent.Body18")
Stat=WPKSetBodyParent("Xxx.Ent.Body18",1)
END RECORD:
     
END OBJECT: Program
     

