OCC.Core.FilletSurf module¶
FilletSurf module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_filletsurf.html
-
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
- param S
- type S
TopoDS_Shape &
- param E
- type E
TopTools_ListOfShape &
- param R
- type R
float
- param Ta
default value is 1.0e-2
- type Ta
float
- param Tapp3d
default value is 1.0e-4
- type Tapp3d
float
- param Tapp2d
default value is 1.0e-5
- type Tapp2d
float
- rtype
None
-
CurveOnFace1()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Curve>
-
CurveOnFace2()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Curve>
-
EndSectionStatus()¶ - Return type
FilletSurf_StatusType
-
FirstParameter()¶ - gives the parameter of the fillet on the first edge.
- rtype
float
-
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
- rtype
FilletSurf_StatusDone
-
LastParameter()¶ - gives the parameter of the fillet on the last edge
- rtype
float
-
NbSection()¶ - Parameters
IndexSurf –
- type IndexSurf
int
- rtype
int
-
NbSurface()¶ - gives the number of NUBS surfaces of the Fillet.
- rtype
int
-
PCurve1OnFillet()¶ - gives the PCurve associated to CurveOnFace1(Index) on the Fillet
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurve2OnFillet()¶ - gives the PCurve associated to CurveOnSup2(Index) on the fillet
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurveOnFace1()¶ - gives the PCurve associated to CurvOnSup1(Index) on the support face
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurveOnFace2()¶ - gives the PCurve associated to CurveOnSup2(Index) on the support face
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
Perform()¶ - —Purpose computation of the fillet (list of NUBS)
- rtype
None
-
Section()¶ - Parameters
IndexSurf –
- type IndexSurf
int
- param IndexSec
- type IndexSec
int
- param Circ
- type Circ
opencascade::handle<Geom_TrimmedCurve> &
- rtype
None
-
StartSectionStatus()¶ - Return type
FilletSurf_StatusType
-
StatusError()¶ - gives informations about error status if IsDone=IsNotOk returns EdgeNotG1: the edges are not G1 FacesNotG1two 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
- rtype
FilletSurf_ErrorTypeStatus
-
SupportFace1()¶ - gives the first support face relative to SurfaceFillet(Index);
- param Index
- type Index
int
- rtype
TopoDS_Face
-
SupportFace2()¶ - gives the second support face relative to SurfaceFillet(Index);
- param Index
- type Index
int
- rtype
TopoDS_Face
-
SurfaceFillet()¶ - gives the NUBS surface of index Index.
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Surface>
-
TolApp3d()¶ - gives the 3d tolerance reached during approximation of surface of index Index
- param Index
- type Index
int
- rtype
float
-
property
thisown¶ The membership flag
-
class
FilletSurf_InternalBuilder(*args)¶ Bases:
OCC.Core.ChFi3d.ChFi3d_FilBuilder- Parameters
S –
- type S
TopoDS_Shape &
- param FShape
default value is ChFi3d_Polynomial
- type FShape
ChFi3d_FilletShape
- param Ta
default value is 1.0e-2
- type Ta
float
- param Tapp3d
default value is 1.0e-4
- type Tapp3d
float
- param Tapp2d
default value is 1.0e-5
- type Tapp2d
float
- rtype
None
-
Add()¶ - Initializes the contour with a list of Edges 0no problem 1empty list 2the edges are not G1 3two connected faces on a same support are not G1 4the edge is not on shape 5NotSharpEdge: the edge is not sharp
- param E
- type E
TopTools_ListOfShape &
- param R
- type R
float
- rtype
int
-
CurveOnFace1()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Curve>
-
CurveOnFace2()¶ - gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Curve>
-
EndSectionStatus()¶ - Return type
FilletSurf_StatusType
-
FirstParameter()¶ - gives the parameter of the fillet on the first edge.
- rtype
float
-
LastParameter()¶ - gives the parameter of the fillet on the last edge
- rtype
float
-
NbSection()¶ - Parameters
IndexSurf –
- type IndexSurf
int
- rtype
int
-
NbSurface()¶ - gives the number of NUBS surfaces of the Fillet.
- rtype
int
-
PCurve1OnFillet()¶ - gives the PCurve associated to CurveOnFace1(Index) on the Fillet
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurve2OnFillet()¶ - gives the PCurve associated to CurveOnSup2(Index) on the fillet
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurveOnFace1()¶ - gives the PCurve associated to CurvOnSup1(Index) on the support face
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
PCurveOnFace2()¶ - gives the PCurve associated to CurveOnSup2(Index) on the support face
- param Index
- type Index
int
- rtype
opencascade::handle<Geom2d_Curve>
-
Section()¶ - Parameters
IndexSurf –
- type IndexSurf
int
- param IndexSec
- type IndexSec
int
- param Circ
- type Circ
opencascade::handle<Geom_TrimmedCurve> &
- rtype
None
-
StartSectionStatus()¶ - Return type
FilletSurf_StatusType
-
SupportFace1()¶ - gives the first support face relative to SurfaceFillet(Index);
- param Index
- type Index
int
- rtype
TopoDS_Face
-
SupportFace2()¶ - gives the second support face relative to SurfaceFillet(Index);
- param Index
- type Index
int
- rtype
TopoDS_Face
-
SurfaceFillet()¶ - gives the NUBS surface of index Index.
- param Index
- type Index
int
- rtype
opencascade::handle<Geom_Surface>
-
TolApp3d()¶ - gives the 3d tolerance reached during approximation of the surface of index Index
- param Index
- type Index
int
- rtype
float
-
property
thisown¶ The membership flag