pycatia.part_interfaces.var_rad_edge_fillet

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.part_interfaces.var_rad_edge_fillet.VarRadEdgeFillet(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
PartInterfaces.DressUpShape
PartInterfaces.Fillet
PartInterfaces.EdgeFillet
VarRadEdgeFillet

Represents the edge fillet shape with a variable radius.
The resulting shape is made up of edges fillets controlled by couples of
radius/vertex.
add_edge_to_fillet(i_edge: Reference, i_radius: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub AddEdgeToFillet(Reference iEdge,
double iRadius)

Adds a new edge to the variable radius edge fillet.

Parameters:

iEdge
The edge to be filleted
The following

Boundary object is supported: TriDimFeatEdge.
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.)
Parameters:
  • i_edge (Reference) –

  • i_radius (float) –

Return type:

None

add_imposed_vertex(i_vertex: Reference, i_radius: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub AddImposedVertex(Reference iVertex,
double 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.)
Parameters:
  • i_vertex (Reference) –

  • i_radius (float) –

Return type:

None

property bitangency_type: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property BitangencyType() As CatFilletBitangencyType

Returns or set the fillet bitangency type.

Parameters:

iType
The type used to perform the fillet : catSphereBitangencyType or catCircleBitangencyType
Returns:

enum cat_fillet_bitangency_type

Return type:

int

property edges_to_fillet: References

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property EdgesToFillet() As References (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
Return type:

References

property fillet_spine: Reference

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property FilletSpine() As Reference

Returns or set the spine for circle bitangency fillet.

Parameters:

iSpin
The spine to be used for a circle bitangency
fillet
Return type:

Reference

property fillet_variation: int

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property FilletVariation() As CatFilletVariation

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
Returns:

enum cat_fillet_variation

Return type:

int

imposed_vertex_radius(i_imposed_vertex: Reference) Length

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Func ImposedVertexRadius(Reference iImposedVertex) As
Length

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)
Parameters:

i_imposed_vertex (Reference) –

Return type:

Length

property imposed_vertices: References

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property ImposedVertices() As References (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
Return type:

References

withdraw_edge_to_fillet(i_edge: Reference) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub WithdrawEdgeToFillet(Reference iEdge)

Withdraws an edge from the variable radius edge fillet.

Parameters:

iEdge
The edge to be withdrawn
The following

Boundary object is supported: TriDimFeatEdge.

Example:
The following example withdraws the edge edge from those to be filleted of
the variable radius edge fillet firstVarEdgeFillet:

call firstVarEdgeFillet.WithdrawEdgeToFillet(edge)
Parameters:

i_edge (Reference) –

Return type:

None

withdraw_imposed_vertex(i_vertex: Reference) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub WithdrawImposedVertex(Reference 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)
Parameters:

i_vertex (Reference) –

Return type:

None