OCC.FilletSurf module¶
This package contains the API givingonly geometric informations about filletsfor Toyota Project UV4.
-
class
FilletSurf_Builder
(*args)¶ Bases:
object
- initialize of the informations necessary for the computation of the fillet on the Shape S from a list of edges E and a radius R. //! Ta is the angular tolerance Tapp3d is the 3d approximation tolerance Tapp2d is the 2d approximation tolerance
Parameters: Return type: -
CurveOnFace1
()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
Parameters: Index (int) – Return type: Handle_Geom_Curve
-
CurveOnFace2
()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
Parameters: Index (int) – Return type: Handle_Geom_Curve
-
EndSectionStatus
()¶ Return type: FilletSurf_StatusType
-
IsDone
()¶ - gives the status about the computation of the fillet returns: IsOK :no problem during the computation IsNotOk: no result is produced IsPartial: the result is partial
Return type: FilletSurf_StatusDone
-
PCurve1OnFillet
()¶ - gives the PCurve associated to CurveOnFace1(Index) on the Fillet
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurve2OnFillet
()¶ - gives the PCurve associated to CurveOnSup2(Index) on the fillet
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurveOnFace1
()¶ - gives the PCurve associated to CurvOnSup1(Index) on the support face
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurveOnFace2
()¶ - gives the PCurve associated to CurveOnSup2(Index) on the support face
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
Section
()¶ Parameters: Return type:
-
StartSectionStatus
()¶ Return type: FilletSurf_StatusType
-
StatusError
()¶ - gives informations about error status if IsDone=IsNotOk returns EdgeNotG1: the edges are not G1 FacesNotG1 : two connected faces on a same support are not G1 EdgeNotOnShape: the edge is not on shape NotSharpEdge: the edge is not sharp PbFilletCompute: problem during the computation of the fillet
Return type: FilletSurf_ErrorTypeStatus
-
SupportFace1
()¶ - gives the first support face relative to SurfaceFillet(Index);
Parameters: Index (int) – Return type: TopoDS_Face
-
SupportFace2
()¶ - gives the second support face relative to SurfaceFillet(Index);
Parameters: Index (int) – Return type: TopoDS_Face
-
SurfaceFillet
()¶ - gives the NUBS surface of index Index.
Parameters: Index (int) – Return type: Handle_Geom_Surface
-
TolApp3d
()¶ - gives the 3d tolerance reached during approximation of surface of index Index
Parameters: Index (int) – Return type: float
-
thisown
¶ The membership flag
-
class
FilletSurf_InternalBuilder
(*args)¶ Bases:
OCC.ChFi3d.ChFi3d_FilBuilder
Parameters: Return type: -
Add
()¶ - Initializes the contour with a list of Edges 0 : no problem 1 : empty list 2 : the edges are not G1 3 : two connected faces on a same support are not G1 4 : the edge is not on shape 5 : NotSharpEdge: the edge is not sharp
Parameters: - E (TopTools_ListOfShape &) –
- R (float) –
Return type:
-
CurveOnFace1
()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
Parameters: Index (int) – Return type: Handle_Geom_Curve
-
CurveOnFace2
()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
Parameters: Index (int) – Return type: Handle_Geom_Curve
-
EndSectionStatus
()¶ Return type: FilletSurf_StatusType
-
PCurve1OnFillet
()¶ - gives the PCurve associated to CurveOnFace1(Index) on the Fillet
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurve2OnFillet
()¶ - gives the PCurve associated to CurveOnSup2(Index) on the fillet
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurveOnFace1
()¶ - gives the PCurve associated to CurvOnSup1(Index) on the support face
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
PCurveOnFace2
()¶ - gives the PCurve associated to CurveOnSup2(Index) on the support face
Parameters: Index (int) – Return type: Handle_Geom2d_Curve
-
Section
()¶ Parameters: Return type:
-
StartSectionStatus
()¶ Return type: FilletSurf_StatusType
-
SupportFace1
()¶ - gives the first support face relative to SurfaceFillet(Index);
Parameters: Index (int) – Return type: TopoDS_Face
-
SupportFace2
()¶ - gives the second support face relative to SurfaceFillet(Index);
Parameters: Index (int) – Return type: TopoDS_Face
-
SurfaceFillet
()¶ - gives the NUBS surface of index Index.
Parameters: Index (int) – Return type: Handle_Geom_Surface
-
TolApp3d
()¶ - gives the 3d tolerance reached during approximation of the surface of index Index
Parameters: Index (int) – Return type: float
-
thisown
¶ The membership flag
-
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases