VarRadEdgeFillet (Object)

Represents the edge fillet shape with a variable radius.
The resulting shape is made up of edges fillets controlled by couples of radius/vertex.

Properties


Property BitangencyType() As
Returns or set the fillet bitangency type.
Parameters:
iType
The type used to perform the fillet : catSphereBitangencyType or catCircleBitangencyType
Property EdgesToFillet() As (Read Only)
Returns the collection of edges to be filleted.
Example:
The following example returns in edges the edges to fillet of variable radius edge filletfirstVarEdgeFillet:
 Set edges = firstVarEdgeFillet.EdgesToFillet
 
Property FilletSpine() As
Returns or set the spine for circle bitangency fillet.
Parameters:
iSpin
The spine to be used for a circle bitangency fillet
Property FilletVariation() As
Returns or sets the edge fillet radius variation mode.
Example:
The following example returns in mode the radius variation mode of the variable radius edge filletfirstVarEdgeFillet, and then sets it to CATLinearFilletVariation so that the radius variation is linear between two control vertices:
 mode = firstVarEdgeFillet.FilletVariation
 firstVarEdgeFillet.FilletVariation = CATLinearFilletVariation
 
Property ImposedVertices() As (Read Only)
Returns the collection of vertices where a radius has been imposed.
Example:
The following example returns in vertices the collection of imposed vertices of the variable radius edge filletfirstVarEdgeFillet:
 Set vertices = firstVarEdgeFillet.ImposedVertices
 
Property SharpEdgeRemovalMode() As
Returns or set the sharp edge removal mode for variable edge fillet.
Parameters:
iMode
The mode to be used for variable edge fillet

Methods


Sub AddEdgeToFillet( iEdge, iRadius)
Adds a new edge to the variable radius edge fillet.
Parameters:
iEdge
The edge to be filleted
The following object is supported: .
iRadius
The radius to impose along the edge. This radius is imposed at both end points of the edge.
Example:
The following example adds the new edge edge to be filleted to the variable radius edge fillet firstVarEdgeFillet:
 call firstVarEdgeFillet.AddEdgeToFillet(edge, 5.)
 
Sub AddImposedVertex( iVertex, iRadius)
Adds a new control couple. A control couple is made up of a vertex and a radius.
Parameters:
iVertex
The vertex where to impose the radius
iRadius
The radius to impose at the given vertex
Example:
The following example adds a new control couple (vertex, radius) to the variable radius edge fillet firstVarEdgeFillet set with the vertex vertex and a radius of 50.
 call firstVarEdgeFillet.AddImposedVertex(vertex, 50.)
 
Func ImposedVertexRadius( iImposedVertex) As
Returns the fillet radius on an imposed vertex.
Parameters:
iImposedVertex
The vertex where to retrieve the fillet radius
Returns:
The fillet radius
Example:
The following example returns in radius the fillet radius of the variable radius edge fillet firstVarEdgeFillet at the vertex vertex:
 Set radius = firstVarEdgeFillet.ImposedVertexRadius(vertex)
 
Func SwitchToConstFilletType() As
Changes the type of EdgeFillet to constant EdgeFillet and return it.
Parameters:
opConstFillet
The opConstFillet is the variable edge fillet
Sub WithdrawEdgeToFillet( iEdge)
Withdraws an edge from the variable radius edge fillet.
Parameters:
iEdge
The edge to be withdrawn
The following object is supported: .
Example:
The following example withdraws the edge edge from those to be filleted of the variable radius edge fillet firstVarEdgeFillet:
 call firstVarEdgeFillet.WithdrawEdgeToFillet(edge)
 
Sub WithdrawImposedVertex( iVertex)
Withdraws a control couple.
Parameters:
iVertex
The vertex where the radius is imposed
Example:
The following example withdraws the imposed radius on the vertex vertex for the variable radius edge fillet firstVarEdgeFillet:
 call firstVarEdgeFillet.WithdrawImposedVertex(vertex)