OCC.FilletSurf module

class OCC.FilletSurf.FilletSurf_Builder(*args)

Bases: object

CurveOnFace1()
  • gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
CurveOnFace2()
  • gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
EndSectionStatus()
Return type:FilletSurf_StatusType
FirstParameter()
  • //!gives the parameter of the fillet on the first edge.
Return type: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
Return type:FilletSurf_StatusDone
LastParameter()
  • gives the parameter of the fillet on the last edge
Return type:float
NbSection()
Parameters:IndexSurf (Standard_Integer) –
Return type:int
NbSurface()
  • gives the number of NUBS surfaces of the Fillet.
Return type:int
PCurve1OnFillet()
  • gives the PCurve associated to CurveOnFace1(Index) on the Fillet
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurve2OnFillet()
  • gives the PCurve associated to CurveOnSup2(Index) on the fillet
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurveOnFace1()
  • //!gives the PCurve associated to CurvOnSup1(Index) on the support face
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurveOnFace2()
  • gives the PCurve associated to CurveOnSup2(Index) on the support face
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
Perform()
  • //!—Purpose computation of the fillet (list of NUBS)
Return type:None
Section()
Parameters:
  • IndexSurf (Standard_Integer) –
  • IndexSec (Standard_Integer) –
  • Circ (Handle_Geom_TrimmedCurve &) –
Return type:

None

Simulate()
Return type:None
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 (Standard_Integer) –
Return type:TopoDS_Face
SupportFace2()
  • //!gives the second support face relative to SurfaceFillet(Index);
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Face
SurfaceFillet()
  • gives the NUBS surface of index Index.
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Surface
TolApp3d()
  • gives the 3d tolerance reached during approximation of surface of index Index
Parameters:Index (Standard_Integer) –
Return type:float
thisown

The membership flag

class OCC.FilletSurf.FilletSurf_InternalBuilder(*args)

Bases: OCC.ChFi3d.ChFi3d_FilBuilder

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:

int

CurveOnFace1()
  • gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
CurveOnFace2()
  • gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Curve
Done()
Return type:bool
EndSectionStatus()
Return type:FilletSurf_StatusType
FirstParameter()
  • //!gives the parameter of the fillet on the first edge.
Return type:float
LastParameter()
  • gives the parameter of the fillet on the last edge
Return type:float
NbSection()
Parameters:IndexSurf (Standard_Integer) –
Return type:int
NbSurface()
  • gives the number of NUBS surfaces of the Fillet.
Return type:int
PCurve1OnFillet()
  • gives the PCurve associated to CurveOnFace1(Index) on the Fillet
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurve2OnFillet()
  • gives the PCurve associated to CurveOnSup2(Index) on the fillet
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurveOnFace1()
  • //!gives the PCurve associated to CurvOnSup1(Index) on the support face
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
PCurveOnFace2()
  • gives the PCurve associated to CurveOnSup2(Index) on the support face
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom2d_Curve
Perform()
Return type:None
Section()
Parameters:
  • IndexSurf (Standard_Integer) –
  • IndexSec (Standard_Integer) –
  • Circ (Handle_Geom_TrimmedCurve &) –
Return type:

None

Simulate()
Return type:None
StartSectionStatus()
Return type:FilletSurf_StatusType
SupportFace1()
  • //!gives the first support face relative to SurfaceFillet(Index);
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Face
SupportFace2()
  • //!gives the second support face relative to SurfaceFillet(Index);
Parameters:Index (Standard_Integer) –
Return type:TopoDS_Face
SurfaceFillet()
  • gives the NUBS surface of index Index.
Parameters:Index (Standard_Integer) –
Return type:Handle_Geom_Surface
TolApp3d()
  • gives the 3d tolerance reached during approximation of the surface of index Index
Parameters:Index (Standard_Integer) –
Return type:float
thisown

The membership flag

class OCC.FilletSurf.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()