OCC.Core.GeomFill module

GeomFill module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_geomfill.html

class GeomFill_AppSurf(*args)

Bases: OCC.Core.AppBlend.AppBlend_Approx

Return type

None:param Degmin: :type Degmin: int :param Degmax: :type Degmax: int :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float :param NbIt: :type NbIt: int :param KnownParameters: default value is Standard_False :type KnownParameters: bool :rtype: None

Continuity()
  • returns the Continuity used in the approximation
    rtype

    GeomAbs_Shape

CriteriumWeight()
  • returns the Weights (as percent) associed to the criterium used in the optimization.
    param W1

    type W1

    float

    param W2

    type W2

    float

    param W3

    type W3

    float

    rtype

    None

Init()
Parameters

Degmin

type Degmin

int

param Degmax

type Degmax

int

param Tol3d

type Tol3d

float

param Tol2d

type Tol2d

float

param NbIt

type NbIt

int

param KnownParameters

default value is Standard_False

type KnownParameters

bool

rtype

None

ParType()
  • returns the type of parametrization used in the approximation
    rtype

    Approx_ParametrizationType

Perform()
Parameters

Lin

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SectionGenerator

param SpApprox

default value is Standard_False

type SpApprox

bool

rtype

None:param Lin:

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SectionGenerator

param NbMaxP

type NbMaxP

int

rtype

None

PerformSmoothing()
Parameters

Lin

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SectionGenerator

rtype

None

SetContinuity()
  • Define the Continuity used in the approximation
    param C

    type C

    GeomAbs_Shape

    rtype

    None

SetCriteriumWeight()
  • define the Weights associed to the criterium used in the optimization. //! if Wi <= 0
    param W1

    type W1

    float

    param W2

    type W2

    float

    param W3

    type W3

    float

    rtype

    None

SetParType()
  • Define the type of parametrization used in the approximation
    param ParType

    type ParType

    Approx_ParametrizationType

    rtype

    None

property thisown

The membership flag

class GeomFill_AppSweep(*args)

Bases: OCC.Core.AppBlend.AppBlend_Approx

Return type

None:param Degmin: :type Degmin: int :param Degmax: :type Degmax: int :param Tol3d: :type Tol3d: float :param Tol2d: :type Tol2d: float :param NbIt: :type NbIt: int :param KnownParameters: default value is Standard_False :type KnownParameters: bool :rtype: None

Continuity()
  • returns the Continuity used in the approximation
    rtype

    GeomAbs_Shape

CriteriumWeight()
  • returns the Weights (as percent) associed to the criterium used in the optimization.
    param W1

    type W1

    float

    param W2

    type W2

    float

    param W3

    type W3

    float

    rtype

    None

Init()
Parameters

Degmin

type Degmin

int

param Degmax

type Degmax

int

param Tol3d

type Tol3d

float

param Tol2d

type Tol2d

float

param NbIt

type NbIt

int

param KnownParameters

default value is Standard_False

type KnownParameters

bool

rtype

None

ParType()
  • returns the type of parametrization used in the approximation
    rtype

    Approx_ParametrizationType

Perform()
Parameters

Lin

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SweepSectionGenerator

param SpApprox

default value is Standard_False

type SpApprox

bool

rtype

None:param Lin:

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SweepSectionGenerator

param NbMaxP

type NbMaxP

int

rtype

None

PerformSmoothing()
Parameters

Lin

type Lin

GeomFill_Line

param SecGen

type SecGen

GeomFill_SweepSectionGenerator

rtype

None

SetContinuity()
  • Define the Continuity used in the approximation
    param C

    type C

    GeomAbs_Shape

    rtype

    None

SetCriteriumWeight()
  • define the Weights associed to the criterium used in the optimization. //! if Wi <= 0
    param W1

    type W1

    float

    param W2

    type W2

    float

    param W3

    type W3

    float

    rtype

    None

SetParType()
  • Define the type of parametrization used in the approximation
    param ParType

    type ParType

    Approx_ParametrizationType

    rtype

    None

property thisown

The membership flag

class GeomFill_Array1OfLocationLaw(*args)

Bases: object

Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
First()
Init()
IsAllocated()
IsDeletable()
IsEmpty()
Last()
Length()
Lower()
Move()
Resize()
Set()
SetValue()
Size()
Upper()
Value()
begin()
cbegin()
cend()
end()
next()
property thisown

The membership flag

class GeomFill_Array1OfSectionLaw(*args)

Bases: object

Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
First()
Init()
IsAllocated()
IsDeletable()
IsEmpty()
Last()
Length()
Lower()
Move()
Resize()
Set()
SetValue()
Size()
Upper()
Value()
begin()
cbegin()
cend()
end()
next()
property thisown

The membership flag

class GeomFill_BSplineCurves(*args)

Bases: object

  • Constructs a default BSpline surface framework.
    rtype

    None:param C1:

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param C3

    type C3

    Geom_BSplineCurve

    param C4

    type C4

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None:param C1:

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param C3

    type C3

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* Constructs a framework for building a BSpline surface from either - the four contiguous BSpline curves, C1, C2, C3 and C4, or - the three contiguous BSpline curves, C1, C2 and C3, or - the two contiguous BSpline curves, C1 and C2. The type of filling style Type to be used is one of: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch.Constructs a framework for building a BSpline surface common to the two BSpline curves, C1 and C2. Exceptions Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None

Init()
  • if the curves cannot be joined
    param C1

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param C3

    type C3

    Geom_BSplineCurve

    param C4

    type C4

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* if the curves cannot be joined

    param C1

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param C3

    type C3

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BSplineCurve

    param C2

    type C2

    Geom_BSplineCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None

Surface()
  • Returns the BSpline surface Surface resulting from the computation performed by this algorithm.
    rtype

    opencascade::handle<Geom_BSplineSurface>

property thisown

The membership flag

class GeomFill_BezierCurves(*args)

Bases: object

  • Constructs an empty framework for building a Bezier surface from contiguous Bezier curves. You use the Init function to define the boundaries of the surface.
    rtype

    None* Constructs a framework for building a Bezier surface from the four contiguous Bezier curves, C1, C2, C3 and C4 Raises Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param C3

    type C3

    Geom_BezierCurve

    param C4

    type C4

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* Constructs a framework for building a Bezier surface from the three contiguous Bezier curves, C1, C2 and C3 Raises Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param C3

    type C3

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* Constructs a framework for building a Bezier surface from the two contiguous Bezier curves, C1 and C2 Raises Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None

Init()
  • if the curves cannot be joined
    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param C3

    type C3

    Geom_BezierCurve

    param C4

    type C4

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* if the curves cannot be joined

    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param C3

    type C3

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None* Initializes or reinitializes this algorithm with two, three, or four curves - C1, C2, C3, and C4 - and Type, one of the following filling styles: - GeomFill_Stretch - the style with the flattest patch - GeomFill_Coons - a rounded style of patch with less depth than that of Curved - GeomFill_Curved - the style with the most rounded patch. Exceptions Standard_ConstructionError if the curves are not contiguous.

    param C1

    type C1

    Geom_BezierCurve

    param C2

    type C2

    Geom_BezierCurve

    param Type

    type Type

    GeomFill_FillingStyle

    rtype

    None

Surface()
  • Returns the Bezier surface resulting from the computation performed by this algorithm.
    rtype

    opencascade::handle<Geom_BezierSurface>

property thisown

The membership flag

class GeomFill_BoundWithSurf(*args)

Bases: OCC.Core.GeomFill.GeomFill_Boundary

  • Constructs a boundary object defined by the 3d curve CurveOnSurf. The surface to be filled along this boundary will be in the tolerance range defined by Tol3d. What’s more, at each point of CurveOnSurf, the angle between the normal to the surface to be filled along this boundary, and the normal to the surface on which CurveOnSurf lies, must not be greater than TolAng. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Warning CurveOnSurf is an adapted curve, that is, an object which is an interface between: - the services provided by a curve lying on a surface from the package Geom - and those required of the curve by the computation algorithm which uses it. The adapted curve is created in the following way: opencascade::handle<Geom_Surface> mySurface = … ; opencascade::handle<Geom2d_Curve> myParamCurve = … ; // where myParamCurve is a 2D curve in the parametric space of the surface mySurface opencascade::handle<GeomAdaptor_HSurface> Surface = new GeomAdaptor_HSurface(mySurface); opencascade::handle<Geom2dAdaptor_HCurve> ParamCurve = new Geom2dAdaptor_HCurve(myParamCurve); CurveOnSurf = Adaptor3d_CurveOnSurface(ParamCurve,Surface); The boundary is then constructed with the CurveOnSurf object: Standard_Real Tol = … ; Standard_Real TolAng = … ; myBoundary = GeomFill_BoundWithSurf ( CurveOnSurf, Tol, TolAng );
    param CurveOnSurf

    type CurveOnSurf

    Adaptor3d_CurveOnSurface

    param Tol3d

    type Tol3d

    float

    param Tolang

    type Tolang

    float

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class GeomFill_Boundary(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Bounds()
Parameters

First

type First

float

param Last

type Last

float

rtype

void

D1()
Parameters

U

type U

float

param P

type P

gp_Pnt

param V

type V

gp_Vec

rtype

void

D1Norm()
Parameters

U

type U

float

param N

type N

gp_Vec

param DN

type DN

gp_Vec

rtype

void

static DownCast(t)
HasNormals()
Return type

bool

IsDegenerated()
Return type

bool

Norm()
Parameters

U

type U

float

rtype

gp_Vec

Points()
Parameters

PFirst

type PFirst

gp_Pnt

param PLast

type PLast

gp_Pnt

rtype

None

Reparametrize()
Parameters

First

type First

float

param Last

type Last

float

param HasDF

type HasDF

bool

param HasDL

type HasDL

bool

param DF

type DF

float

param DL

type DL

float

param Rev

type Rev

bool

rtype

void

Tol3d()
Return type

float:param Tol: :type Tol: float :rtype: None

Tolang()
Return type

float:param Tol: :type Tol: float :rtype: None

Value()
Parameters

U

type U

float

rtype

gp_Pnt

property thisown

The membership flag

class GeomFill_CircularBlendFunc(*args)

Bases: OCC.Core.Approx.Approx_SweepFunction

  • Create a Blend with a constant radius with 2 guide-line. <FShape> sets the type of fillet surface. The – default value is Convert_TgtThetaOver2 (classical – nurbs – representation of circles). ChFi3d_QuasiAngular – corresponds to a nurbs representation of circles – which parameterisation matches the circle one. – ChFi3d_Polynomial corresponds to a polynomial – representation of circles.
    param Path

    type Path

    Adaptor3d_HCurve

    param Curve1

    type Curve1

    Adaptor3d_HCurve

    param Curve2

    type Curve2

    Adaptor3d_HCurve

    param Radius

    type Radius

    float

    param Polynomial

    default value is Standard_False

    type Polynomial

    bool

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class GeomFill_ConstantBiNormal(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Parameters

BiNormal

type BiNormal

gp_Dir

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_ConstrainedFilling(*args)

Bases: object

  • Constructs an empty framework for filling a surface from boundaries. The boundaries of the surface will be defined, and the surface will be built by using the function Init. The surface will respect the following constraints: - its degree will not be greater than MaxDeg - the maximum number of segments MaxSeg which BSpline surfaces can have.
    param MaxDeg

    type MaxDeg

    int

    param MaxSeg

    type MaxSeg

    int

    rtype

    None

Boundary()
  • Returns the bound of index i after sort.
    param I

    type I

    int

    rtype

    opencascade::handle<GeomFill_Boundary>

CheckApprox()
  • Computes values and normals along the bound I and compare them to the approx result curves (bound and tgte field) , draw the normals and tangents.
    param I

    type I

    int

    rtype

    None

CheckCoonsAlgPatch()
  • Computes the fields of tangents on 30 points along the bound I, these are not the constraint tangents but gives an idea of the coonsAlgPatch regularity.
    param I

    type I

    int

    rtype

    None

CheckResult()
  • Computes values and normals along the bound I on both constraint surface and result surface, draw the normals, and computes the max distance between values and the max angle between normals.
    param I

    type I

    int

    rtype

    None

CheckTgteField()
  • Computes the fields of tangents and normals on 30 points along the bound I, draw them, and computes the max dot product that must be near than 0.
    param I

    type I

    int

    rtype

    None

Eval()
  • Internal use for Advmath approximation call.
    param W

    type W

    float

    param Ord

    type Ord

    int

    param Result

    type Result

    float

    rtype

    int

Init()
Parameters

B1

type B1

GeomFill_Boundary

param B2

type B2

GeomFill_Boundary

param B3

type B3

GeomFill_Boundary

param NoCheck

default value is Standard_False

type NoCheck

bool

rtype

None* Constructs a BSpline surface filled from the series of boundaries B1, B2, B3 and, if need be, B4, which serve: - as path constraints - and optionally, as tangency constraints if they are GeomFill_BoundWithSurf curves. The boundaries may be given in any order: they are classified and if necessary, reversed and reparameterized. The surface will also respect the following constraints: - its degree will not be greater than the maximum degree defined at the time of construction of this framework, and - the maximum number of segments MaxSeg which BSpline surfaces can have

param B1

type B1

GeomFill_Boundary

param B2

type B2

GeomFill_Boundary

param B3

type B3

GeomFill_Boundary

param B4

type B4

GeomFill_Boundary

param NoCheck

default value is Standard_False

type NoCheck

bool

rtype

None

ReBuild()
  • Computes the new poles of the surface using the new blending functions set by several calls to SetDomain.
    rtype

    None

SetDomain()
  • Allows to modify domain on witch the blending function associated to the constrained boundary B will propag the influence of the field of tangency. Can be usefull to reduce influence of boundaries on whitch the Coons compatibility conditions are not respected. l is a relative value of the parametric range of B. Default value for l is 1 (used in Init). Warning: Must be called after Init with a constrained boundary used in the call to Init.
    param l

    type l

    float

    param B

    type B

    GeomFill_BoundWithSurf

    rtype

    None

Surface()
  • Returns the BSpline surface after computation of the fill by this framework.
    rtype

    opencascade::handle<Geom_BSplineSurface>

property thisown

The membership flag

class GeomFill_Coons(*args)

Bases: OCC.Core.GeomFill.GeomFill_Filling

Return type

None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :rtype: None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :param W1: :type W1: TColStd_Array1OfReal :param W2: :type W2: TColStd_Array1OfReal :param W3: :type W3: TColStd_Array1OfReal :param W4: :type W4: TColStd_Array1OfReal :rtype: None

Init()
Parameters

P1

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

rtype

None:param P1:

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

param W1

type W1

TColStd_Array1OfReal

param W2

type W2

TColStd_Array1OfReal

param W3

type W3

TColStd_Array1OfReal

param W4

type W4

TColStd_Array1OfReal

rtype

None

property thisown

The membership flag

class GeomFill_CoonsAlgPatch(*args)

Bases: OCC.Core.Standard.Standard_Transient

  • Constructs the algorithmic patch. By Default the constructed blending functions are linear. Warning: No control is done on the bounds. B1/B3 and B2/B4 must be same range and well oriented.
    param B1

    type B1

    GeomFill_Boundary

    param B2

    type B2

    GeomFill_Boundary

    param B3

    type B3

    GeomFill_Boundary

    param B4

    type B4

    GeomFill_Boundary

    rtype

    None

Bound()
Parameters

I

type I

int

rtype

opencascade::handle<GeomFill_Boundary>

Corner()
Parameters

I

type I

int

rtype

gp_Pnt

D1U()
  • Computes the d/dU partial derivative on the algorithmic patch at parameters U and V.
    param U

    type U

    float

    param V

    type V

    float

    rtype

    gp_Vec

D1V()
  • Computes the d/dV partial derivative on the algorithmic patch at parameters U and V.
    param U

    type U

    float

    param V

    type V

    float

    rtype

    gp_Vec

DUV()
  • Computes the d2/dUdV partial derivative on the algorithmic patch made with linear blending functions at parameter U and V.
    param U

    type U

    float

    param V

    type V

    float

    rtype

    gp_Vec

static DownCast(t)
Func()
  • Give the blending functions.
    param f1

    type f1

    Law_Function

    param f2

    type f2

    Law_Function

    rtype

    None:param I:

    type I

    int

    rtype

    opencascade::handle<Law_Function>

SetFunc()
  • Set the blending functions.
    param f1

    type f1

    Law_Function

    param f2

    type f2

    Law_Function

    rtype

    None

Value()
  • Computes the value on the algorithmic patch at parameters U and V.
    param U

    type U

    float

    param V

    type V

    float

    rtype

    gp_Pnt

property thisown

The membership flag

class GeomFill_CornerState(*args)

Bases: object

Return type

None

Constraint()
Return type

None

DoKill()
Parameters

Scal

type Scal

float

rtype

None

Gap()
Return type

float:param G: :type G: float :rtype: None

HasConstraint()
Return type

bool

IsToKill()
Parameters

Scal

type Scal

float

rtype

bool

NorAng()
Return type

float:param Ang: :type Ang: float :rtype: None

TgtAng()
Return type

float:param Ang: :type Ang: float :rtype: None

property thisown

The membership flag

class GeomFill_CorrectedFrenet(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Return type

None:param ForEvaluation: :type ForEvaluation: bool :rtype: None

static DownCast(t)
EvaluateBestMode()
  • Tries to define the best trihedron mode for the curve. It can be: - Frenet - CorrectedFrenet - DiscreteTrihedron Warning: the CorrectedFrenet must be constructed with option ForEvaluation = True, the curve must be set by method SetCurve.
    rtype

    GeomFill_Trihedron

property thisown

The membership flag

class GeomFill_CurveAndTrihedron(*args)

Bases: OCC.Core.GeomFill.GeomFill_LocationLaw

Parameters

Trihedron

type Trihedron

GeomFill_TrihedronLaw

rtype

None

D0()
  • compute Location and 2d points
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    rtype

    bool* compute Location and 2d points

    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    rtype

    bool

static DownCast(t)
property thisown

The membership flag

class GeomFill_Curved(*args)

Bases: OCC.Core.GeomFill.GeomFill_Filling

Return type

None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :rtype: None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :param W1: :type W1: TColStd_Array1OfReal :param W2: :type W2: TColStd_Array1OfReal :param W3: :type W3: TColStd_Array1OfReal :param W4: :type W4: TColStd_Array1OfReal :rtype: None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :rtype: None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param W1: :type W1: TColStd_Array1OfReal :param W2: :type W2: TColStd_Array1OfReal :rtype: None

Init()
Parameters

P1

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

rtype

None:param P1:

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

param W1

type W1

TColStd_Array1OfReal

param W2

type W2

TColStd_Array1OfReal

param W3

type W3

TColStd_Array1OfReal

param W4

type W4

TColStd_Array1OfReal

rtype

None:param P1:

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

rtype

None:param P1:

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param W1

type W1

TColStd_Array1OfReal

param W2

type W2

TColStd_Array1OfReal

rtype

None

property thisown

The membership flag

class GeomFill_Darboux(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Return type

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_DegeneratedBound(*args)

Bases: OCC.Core.GeomFill.GeomFill_Boundary

Parameters

Point

type Point

gp_Pnt

param First

type First

float

param Last

type Last

float

param Tol3d

type Tol3d

float

param Tolang

type Tolang

float

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_DiscreteTrihedron(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Return type

None

static DownCast(t)
Init()
Return type

None

property thisown

The membership flag

class GeomFill_DraftTrihedron(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Parameters

BiNormal

type BiNormal

gp_Vec

param Angle

type Angle

float

rtype

None

static DownCast(t)
SetAngle()
Parameters

Angle

type Angle

float

rtype

None

property thisown

The membership flag

class GeomFill_EvolvedSection(*args)

Bases: OCC.Core.GeomFill.GeomFill_SectionLaw

  • Make an SectionLaw with a Curve and a real Law.
    param C

    type C

    Geom_Curve

    param L

    type L

    Law_Function

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class GeomFill_Filling(*args)

Bases: object

Return type

None

NbUPoles()
Return type

int

NbVPoles()
Return type

int

Poles()
Parameters

Poles

type Poles

TColgp_Array2OfPnt

rtype

None

Weights()
Parameters

Weights

type Weights

TColStd_Array2OfReal

rtype

None

isRational()
Return type

bool

property thisown

The membership flag

class GeomFill_Fixed(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Parameters

Tangent

type Tangent

gp_Vec

param Normal

type Normal

gp_Vec

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_Frenet(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

Return type

None

static DownCast(t)
Init()
Return type

None

property thisown

The membership flag

class GeomFill_FunctionDraft(*args)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

Parameters

S

type S

Adaptor3d_HSurface

param C

type C

Adaptor3d_HCurve

rtype

None

Deriv2T()
  • returns the values <F> of the T2 derivatives for the parameter Param .
    param C

    type C

    Adaptor3d_HCurve

    param Param

    type Param

    float

    param W

    type W

    float

    param d2N

    type d2N

    gp_Vec

    param teta

    type teta

    float

    param F

    type F

    math_Vector

    rtype

    bool

Deriv2X()
  • returns the values <T> of the X2 derivatives for the parameter Param .
    param X

    type X

    math_Vector

    param T

    type T

    GeomFill_Tensor

    rtype

    bool

DerivT()
  • returns the values <F> of the T derivatives for the parameter Param .
    param C

    type C

    Adaptor3d_HCurve

    param Param

    type Param

    float

    param W

    type W

    float

    param dN

    type dN

    gp_Vec

    param teta

    type teta

    float

    param F

    type F

    math_Vector

    rtype

    bool

DerivTX()
  • returns the values <D> of the TX derivatives for the parameter Param .
    param dN

    type dN

    gp_Vec

    param teta

    type teta

    float

    param D

    type D

    math_Matrix

    rtype

    bool

property thisown

The membership flag

class GeomFill_FunctionGuide(*args)

Bases: OCC.Core.math.math_FunctionSetWithDerivatives

Parameters

S

type S

GeomFill_SectionLaw

param Guide

type Guide

Adaptor3d_HCurve

param ParamOnLaw

default value is 0.0

type ParamOnLaw

float

rtype

None

DerivT()
  • returns the values <F> of the T derivatives for the parameter Param .
    param X

    type X

    math_Vector

    param DCentre

    type DCentre

    gp_XYZ

    param DDir

    type DDir

    gp_XYZ

    param DFDT

    type DFDT

    math_Vector

    rtype

    bool

SetParam()
Parameters

Param

type Param

float

param Centre

type Centre

gp_Pnt

param Dir

type Dir

gp_XYZ

param XDir

type XDir

gp_XYZ

rtype

None

property thisown

The membership flag

class GeomFill_Generator(*args)

Bases: OCC.Core.GeomFill.GeomFill_Profiler

Return type

None

Surface()
Return type

opencascade::handle<Geom_Surface>

property thisown

The membership flag

class GeomFill_GuideTrihedronAC(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronWithGuide

Parameters

guide

type guide

Adaptor3d_HCurve

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_GuideTrihedronPlan(*args)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronWithGuide

Parameters

theGuide

type theGuide

Adaptor3d_HCurve

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_HArray1OfLocationLaw(*args)

Bases: OCC.Core.GeomFill.GeomFill_Array1OfLocationLaw, OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Array1()
ChangeArray1()
static DownCast(t)
property thisown

The membership flag

class GeomFill_HArray1OfSectionLaw(*args)

Bases: OCC.Core.GeomFill.GeomFill_Array1OfSectionLaw, OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Array1()
ChangeArray1()
static DownCast(t)
property thisown

The membership flag

class GeomFill_HSequenceOfAx2(*args)

Bases: OCC.Core.GeomFill.GeomFill_SequenceOfAx2, OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Append()
ChangeSequence()
static DownCast(t)
Sequence()
property thisown

The membership flag

class GeomFill_Line(*args)

Bases: OCC.Core.Standard.Standard_Transient

Return type

None:param NbPoints: :type NbPoints: int :rtype: None

static DownCast(t)
NbPoints()
Return type

int

Point()
Parameters

Index

type Index

int

rtype

int

property thisown

The membership flag

class GeomFill_LocFunction(*args)

Bases: object

Parameters

Law

type Law

GeomFill_LocationLaw

rtype

None

D0()
  • compute the section for v = param
    param Param

    type Param

    float

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    bool

D1()
  • compute the first derivative in v direction of the section for v = param
    param Param

    type Param

    float

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    bool

D2()
  • compute the second derivative in v direction of the section for v = param
    param Param

    type Param

    float

    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    bool

DN()
Parameters

Param

type Param

float

param First

type First

float

param Last

type Last

float

param Order

type Order

int

param Result

type Result

float

param Ier

type Ier

int

rtype

None

property thisown

The membership flag

class GeomFill_LocationDraft(*args)

Bases: OCC.Core.GeomFill.GeomFill_LocationLaw

Parameters

Direction

type Direction

gp_Dir

param Angle

type Angle

float

rtype

None

D0()
  • compute Location
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    rtype

    bool* compute Location and 2d points

    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    rtype

    bool

Direction()
Return type

gp_Dir

static DownCast(t)
IsIntersec()
  • Say if the generatrice interset the surface
    rtype

    bool

SetAngle()
Parameters

Angle

type Angle

float

rtype

None

SetStopSurf()
Parameters

Surf

type Surf

Adaptor3d_HSurface

rtype

None

property thisown

The membership flag

class GeomFill_LocationGuide(*args)

Bases: OCC.Core.GeomFill.GeomFill_LocationLaw

Parameters

Triedre

type Triedre

GeomFill_TrihedronWithGuide

rtype

None

ComputeAutomaticLaw()
Parameters

ParAndRad

type ParAndRad

TColgp_HArray1OfPnt2d

rtype

GeomFill_PipeError

D0()
  • compute Location
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    rtype

    bool* compute Location and 2d points

    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    rtype

    bool

static DownCast(t)
EraseRotation()
Return type

None

Guide()
Return type

opencascade::handle<Adaptor3d_HCurve>

Section()
Return type

opencascade::handle<Geom_Curve>

Set()
Parameters

Section

type Section

GeomFill_SectionLaw

param rotat

type rotat

bool

param SFirst

type SFirst

float

param SLast

type SLast

float

param PrecAngle

type PrecAngle

float

param LastAngle

type LastAngle

float

rtype

None

SetOrigine()
Parameters

Param1

type Param1

float

param Param2

type Param2

float

rtype

None

property thisown

The membership flag

class GeomFill_LocationLaw(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Copy()
Return type

opencascade::handle<GeomFill_LocationLaw>

D0()
  • compute Location
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    rtype

    bool* compute Location and 2d points

    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    rtype

    bool

D1()
  • compute location 2d points and associated first derivatives. WarningIt used only for C1 or C2 aproximation
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param DM

    type DM

    gp_Mat

    param DV

    type DV

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    rtype

    bool

D2()
  • compute location 2d points and associated first and seconde derivatives. WarningIt used only for C2 aproximation
    param Param

    type Param

    float

    param M

    type M

    gp_Mat

    param V

    type V

    gp_Vec

    param DM

    type DM

    gp_Mat

    param DV

    type DV

    gp_Vec

    param D2M

    type D2M

    gp_Mat

    param D2V

    type D2V

    gp_Vec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param D2Poles2d

    type D2Poles2d

    TColgp_Array1OfVec2d

    rtype

    bool

static DownCast(t)
ErrorStatus()
  • Give a status to the Law Returns PipeOk (default implementation)
    rtype

    GeomFill_PipeError

GetAverageLaw()
  • Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces.
    param AM

    type AM

    gp_Mat

    param AV

    type AV

    gp_Vec

    rtype

    void

GetCurve()
Return type

opencascade::handle<Adaptor3d_HCurve>

GetDomain()
  • Gets the bounds of the function parametric domain. Warning: This domain it is not modified by the SetValue method
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

GetInterval()
  • Gets the bounds of the parametric interval on the function
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

GetMaximalNorm()
  • Get the maximum Norm of the matrix-location part. It is usful to find an good Tolerance to approx M(t).
    rtype

    float

HasFirstRestriction()
  • Say if the first restriction is defined in this class. If it is true the first element of poles array in D0,D1,D2… Correspond to this restriction. Returns Standard_False (default implementation)
    rtype

    bool

HasLastRestriction()
  • Say if the last restriction is defined in this class. If it is true the last element of poles array in D0,D1,D2… Correspond to this restriction. Returns Standard_False (default implementation)
    rtype

    bool

Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
    param T

    type T

    TColStd_Array1OfReal

    param S

    type S

    GeomAbs_Shape

    rtype

    void

IsRotation()
  • Say if the Location Law, is a rotation of Location The default implementation is ‘ returns False ‘.
    param Error

    type Error

    float

    rtype

    bool

IsTranslation()
  • Say if the Location Law, is an translation of Location The default implementation is ‘ returns False ‘.
    param Error

    type Error

    float

    rtype

    bool

Nb2dCurves()
  • get the number of 2d curves (Restrictions + Traces) to approximate.
    rtype

    int

NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
    param S

    type S

    GeomAbs_Shape

    rtype

    int

Resolution()
  • Returns the resolutions in the sub-space 2d <Index> This information is usfull to find an good tolerance in 2d approximation.
    param Index

    type Index

    int

    param Tol

    type Tol

    float

    param TolU

    type TolU

    float

    param TolV

    type TolV

    float

    rtype

    void

Rotation()
Parameters

Center

type Center

gp_Pnt

rtype

void

SetCurve()
Parameters

C

type C

Adaptor3d_HCurve

rtype

void

SetInterval()
  • Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

SetTolerance()
  • Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 The default implementation make nothing.
    param Tol3d

    type Tol3d

    float

    param Tol2d

    type Tol2d

    float

    rtype

    void

SetTrsf()
  • Set a transformation Matrix like the law M(t) become Mat * M(t)
    param Transfo

    type Transfo

    gp_Mat

    rtype

    void

TraceNumber()
  • Give the number of trace (Curves 2d wich are not restriction) Returns 0 (default implementation)
    rtype

    int

property thisown

The membership flag

class GeomFill_Pipe(*args)

Bases: object

  • Constructs an empty algorithm for building pipes. Use the function Init to initialize it.
    rtype

    None:param Path:

    type Path

    Geom_Curve

    param Radius

    type Radius

    float

    rtype

    None* Create a pipe with a constant section (<FirstSection>) and a path (<Path>) Option can be - GeomFill_IsCorrectedFrenet - GeomFill_IsFrenet - GeomFill_IsConstant

    param Path

    type Path

    Geom_Curve

    param FirstSect

    type FirstSect

    Geom_Curve

    param Option

    default value is GeomFill_IsCorrectedFrenet

    type Option

    GeomFill_Trihedron

    rtype

    None* Create a pipe with a constant section (<FirstSection>) and a path defined by <Path> and <Support>

    param Path

    type Path

    Geom2d_Curve

    param Support

    type Support

    Geom_Surface

    param FirstSect

    type FirstSect

    Geom_Curve

    rtype

    None* Create a pipe with a constant section (<FirstSection>) and a path <Path> and a fixed binormal direction <Dir>

    param Path

    type Path

    Geom_Curve

    param FirstSect

    type FirstSect

    Geom_Curve

    param Dir

    type Dir

    gp_Dir

    rtype

    None* Create a pipe with an evolving section The section evoluate from First to Last Section

    param Path

    type Path

    Geom_Curve

    param FirstSect

    type FirstSect

    Geom_Curve

    param LastSect

    type LastSect

    Geom_Curve

    rtype

    None* Create a pipe with N sections The section evoluate from First to Last Section

    param Path

    type Path

    Geom_Curve

    param NSections

    type NSections

    TColGeom_SequenceOfCurve

    rtype

    None* Create a pipe with a constant radius with 2 guide-line.

    param Path

    type Path

    Geom_Curve

    param Curve1

    type Curve1

    Geom_Curve

    param Curve2

    type Curve2

    Geom_Curve

    param Radius

    type Radius

    float

    rtype

    None* Create a pipe with a constant radius with 2 guide-line.

    param Path

    type Path

    Adaptor3d_HCurve

    param Curve1

    type Curve1

    Adaptor3d_HCurve

    param Curve2

    type Curve2

    Adaptor3d_HCurve

    param Radius

    type Radius

    float

    rtype

    None* Create a pipe with a constant section and with 1 guide-line. Use the function Perform to build the surface. All standard specific cases are detected in order to construct, according to the respective geometric nature of Path and the sections, a planar, cylindrical, conical, spherical or toroidal surface, a surface of linear extrusion or a surface of revolution. In the general case, the result is a BSpline surface (NURBS) built by approximation of a series of sections where: - the number of sections N is chosen automatically by the algorithm according to the respective geometries of Path and the sections. N is greater than or equal to 2; - N points Pi (with i in the range [ 1,N ]) are defined at regular intervals along the curve Path from its first point to its end point. At each point Pi, a coordinate system Ti is computed with Pi as origin, and with the tangential and normal vectors to Path defining two of its coordinate axes. In the case of a pipe with a constant circular section, the first section is a circle of radius Radius centered on the origin of Path and whose ‘Z Axis’ is aligned along the vector tangential to the origin of Path. In the case of a pipe with a constant section, the first section is the curve FirstSect. In these two cases, the ith section (for values of i greater than 1) is obtained by applying to a copy of this first section the geometric transformation which transforms coordinate system T1 into coordinate system Ti. In the case of an evolving section, N-2 intermediate curves Si are first computed (if N is greater than 2, and with i in the range [ 2,N-1 ]) whose geometry evolves regularly from the curve S1=FirstSect to the curve SN=LastSect. The first section is FirstSect, and the ith section (for values of i greater than 1) is obtained by applying to the curve Si the geometric transformation which transforms coordinate system T1 into coordinate system Ti.

    param Path

    type Path

    Geom_Curve

    param Guide

    type Guide

    Adaptor3d_HCurve

    param FirstSect

    type FirstSect

    Geom_Curve

    param ByACR

    type ByACR

    bool

    param rotat

    type rotat

    bool

    rtype

    None

ErrorOnSurf()
  • Returns the approximation’s error. if the Surface is plane, cylinder … this error can be 0.
    rtype

    float

ExchangeUV()
  • The u parametric direction of the surface constructed by this algorithm usually corresponds to the evolution along the path and the v parametric direction corresponds to the evolution along the section(s). However, this rule is not respected when constructing certain specific Geom surfaces (typically cylindrical surfaces, surfaces of revolution, etc.) for which the parameterization is inversed. The ExchangeUV function checks for this, and returns true in all these specific cases. Warning Do not use this function before the surface is built.
    rtype

    bool

GenerateParticularCase()
  • Sets a flag to try to create as many planes, cylinder,… as possible. Default value is <Standard_False>.
    param B

    type B

    bool

    rtype

    None* Returns the flag.

    rtype

    bool

Init()
Parameters

Path

type Path

Geom_Curve

param Radius

type Radius

float

rtype

None:param Path:

type Path

Geom_Curve

param FirstSect

type FirstSect

Geom_Curve

param Option

default value is GeomFill_IsCorrectedFrenet

type Option

GeomFill_Trihedron

rtype

None:param Path:

type Path

Geom2d_Curve

param Support

type Support

Geom_Surface

param FirstSect

type FirstSect

Geom_Curve

rtype

None:param Path:

type Path

Geom_Curve

param FirstSect

type FirstSect

Geom_Curve

param Dir

type Dir

gp_Dir

rtype

None:param Path:

type Path

Geom_Curve

param FirstSect

type FirstSect

Geom_Curve

param LastSect

type LastSect

Geom_Curve

rtype

None:param Path:

type Path

Geom_Curve

param NSections

type NSections

TColGeom_SequenceOfCurve

rtype

None* Create a pipe with a constant radius with 2 guide-line.

param Path

type Path

Adaptor3d_HCurve

param Curve1

type Curve1

Adaptor3d_HCurve

param Curve2

type Curve2

Adaptor3d_HCurve

param Radius

type Radius

float

rtype

None* Initializes this pipe algorithm to build the following surface: - a pipe with a constant circular section of radius Radius along the path Path, or - a pipe with constant section FirstSect along the path Path, or - a pipe where the section evolves from FirstSect to LastSect along the path Path. Use the function Perform to build the surface. Note: a description of the resulting surface is given under Constructors.

param Path

type Path

Geom_Curve

param Guide

type Guide

Adaptor3d_HCurve

param FirstSect

type FirstSect

Geom_Curve

param ByACR

type ByACR

bool

param rotat

type rotat

bool

rtype

None

IsDone()
  • Returns whether approximation was done.
    rtype

    bool

Perform()
  • Builds the pipe defined at the time of initialization of this algorithm. A description of the resulting surface is given under Constructors. If WithParameters (defaulted to false) is set to true, the approximation algorithm (used only in the general case of construction of a BSpline surface) builds the surface with a u parameter corresponding to the one of the path. Exceptions Standard_ConstructionError if a surface cannot be constructed from the data. Warning: It is the old Perform method, the next methode is recommended.
    param WithParameters

    default value is Standard_False

    type WithParameters

    bool

    param myPolynomial

    default value is Standard_False

    type myPolynomial

    bool

    rtype

    None* detects the particular cases. And compute the surface. if none particular case is detected we make an approximation with respect of the Tolerance <Tol>, the continuty <Conti>, the maximum degree <MaxDegree>, the maximum number of span <NbMaxSegment> and the spine parametrization. If we can’t create a surface with the data

    param Tol

    type Tol

    float

    param Polynomial

    type Polynomial

    bool

    param Conti

    default value is GeomAbs_C1

    type Conti

    GeomAbs_Shape

    param MaxDegree

    default value is 11

    type MaxDegree

    int

    param NbMaxSegment

    default value is 30

    type NbMaxSegment

    int

    rtype

    None

Surface()
  • Returns the surface built by this algorithm. Warning Do not use this function before the surface is built (in this case the function will return a null handle).
    rtype

    opencascade::handle<Geom_Surface>

property thisown

The membership flag

class GeomFill_PlanFunc(*args)

Bases: OCC.Core.math.math_FunctionWithDerivative

Parameters

P

type P

gp_Pnt

param V

type V

gp_Vec

param C

type C

Adaptor3d_HCurve

rtype

None

D2()
Parameters

X

type X

float

param F

type F

float

param D1

type D1

float

param D2

type D2

float

rtype

None

D2E()
Parameters

X

type X

float

param DP

type DP

gp_Vec

param D2P

type D2P

gp_Vec

param DV

type DV

gp_Vec

param D2V

type D2V

gp_Vec

param DFDT

type DFDT

float

param D2FDT2

type D2FDT2

float

param D2FDTDX

type D2FDTDX

float

rtype

None

DEDT()
Parameters

X

type X

float

param DP

type DP

gp_Vec

param DV

type DV

gp_Vec

param DF

type DF

float

rtype

None

property thisown

The membership flag

class GeomFill_PolynomialConvertor(*args)

Bases: object

Return type

None

Init()
Return type

None

Initialized()
  • say if <self> is Initialized
    rtype

    bool

Section()
Parameters

FirstPnt

type FirstPnt

gp_Pnt

param Center

type Center

gp_Pnt

param Dir

type Dir

gp_Vec

param Angle

type Angle

float

param Poles

type Poles

TColgp_Array1OfPnt

rtype

None:param FirstPnt:

type FirstPnt

gp_Pnt

param DFirstPnt

type DFirstPnt

gp_Vec

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param Dir

type Dir

gp_Vec

param DDir

type DDir

gp_Vec

param Angle

type Angle

float

param DAngle

type DAngle

float

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

rtype

None:param FirstPnt:

type FirstPnt

gp_Pnt

param DFirstPnt

type DFirstPnt

gp_Vec

param D2FirstPnt

type D2FirstPnt

gp_Vec

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param D2Center

type D2Center

gp_Vec

param Dir

type Dir

gp_Vec

param DDir

type DDir

gp_Vec

param D2Dir

type D2Dir

gp_Vec

param Angle

type Angle

float

param DAngle

type DAngle

float

param D2Angle

type D2Angle

float

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param D2Poles

type D2Poles

TColgp_Array1OfVec

rtype

None

property thisown

The membership flag

class GeomFill_Profiler(*args)

Bases: object

Return type

None

AddCurve()
Parameters

Curve

type Curve

Geom_Curve

rtype

None

Curve()
Parameters

Index

type Index

int

rtype

opencascade::handle<Geom_Curve>

Degree()
  • Raises if not yet perform
    rtype

    int

IsPeriodic()
Return type

bool

KnotsAndMults()
  • Raises if not yet perform Raises if the lengthes of <Knots> and <Mults> are not equal to NbKnots().
    param Knots

    type Knots

    TColStd_Array1OfReal

    param Mults

    type Mults

    TColStd_Array1OfInteger

    rtype

    None

NbKnots()
  • Raises if not yet perform
    rtype

    int

NbPoles()
  • Raises if not yet perform
    rtype

    int

Perform()
  • Converts all curves to BSplineCurves. Set them to the common profile. <PTol> is used to compare 2 knots.
    param PTol

    type PTol

    float

    rtype

    void

Poles()
  • returns in <Poles> the poles of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] if the length of <Poles> is not equal to NbPoles().
    param Index

    type Index

    int

    param Poles

    type Poles

    TColgp_Array1OfPnt

    rtype

    None

Weights()
  • returns in <Weights> the weights of the BSplineCurve from index <Index> adjusting to the current profile. Raises if not yet perform Raises if <Index> not in the range [1,NbCurves] or if the length of <Weights> is not equal to NbPoles().
    param Index

    type Index

    int

    param Weights

    type Weights

    TColStd_Array1OfReal

    rtype

    None

property thisown

The membership flag

class GeomFill_QuasiAngularConvertor(*args)

Bases: object

Return type

None

Init()
Return type

None

Initialized()
  • say if <self> is Initialized
    rtype

    bool

Section()
Parameters

FirstPnt

type FirstPnt

gp_Pnt

param Center

type Center

gp_Pnt

param Dir

type Dir

gp_Vec

param Angle

type Angle

float

param Poles

type Poles

TColgp_Array1OfPnt

param Weights

type Weights

TColStd_Array1OfReal

rtype

None:param FirstPnt:

type FirstPnt

gp_Pnt

param DFirstPnt

type DFirstPnt

gp_Vec

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param Dir

type Dir

gp_Vec

param DDir

type DDir

gp_Vec

param Angle

type Angle

float

param DAngle

type DAngle

float

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param Weights

type Weights

TColStd_Array1OfReal

param DWeights

type DWeights

TColStd_Array1OfReal

rtype

None:param FirstPnt:

type FirstPnt

gp_Pnt

param DFirstPnt

type DFirstPnt

gp_Vec

param D2FirstPnt

type D2FirstPnt

gp_Vec

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param D2Center

type D2Center

gp_Vec

param Dir

type Dir

gp_Vec

param DDir

type DDir

gp_Vec

param D2Dir

type D2Dir

gp_Vec

param Angle

type Angle

float

param DAngle

type DAngle

float

param D2Angle

type D2Angle

float

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param D2Poles

type D2Poles

TColgp_Array1OfVec

param Weights

type Weights

TColStd_Array1OfReal

param DWeights

type DWeights

TColStd_Array1OfReal

param D2Weights

type D2Weights

TColStd_Array1OfReal

rtype

None

property thisown

The membership flag

class GeomFill_SectionGenerator(*args)

Bases: OCC.Core.GeomFill.GeomFill_Profiler

Return type

None

GetShape()
Parameters

NbPoles

type NbPoles

int

param NbKnots

type NbKnots

int

param Degree

type Degree

int

param NbPoles2d

type NbPoles2d

int

rtype

None

Knots()
Parameters

TKnots

type TKnots

TColStd_Array1OfReal

rtype

None

Mults()
Parameters

TMults

type TMults

TColStd_Array1OfInteger

rtype

None

Parameter()
  • Returns the parameter of Section<P>, to impose it for the approximation.
    param P

    type P

    int

    rtype

    float

Section()
  • Used for the first and last section The method returns Standard_True if the derivatives are computed, otherwise it returns Standard_False.
    param P

    type P

    int

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param DPoles2d

    type DPoles2d

    TColgp_Array1OfVec2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    rtype

    bool:param P:

    type P

    int

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param Poles2d

    type Poles2d

    TColgp_Array1OfPnt2d

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    None

SetParam()
Parameters

Params

type Params

TColStd_HArray1OfReal

rtype

None

property thisown

The membership flag

class GeomFill_SectionLaw(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

BSplineSurface()
  • give if possible an bspline Surface, like iso-v are the section. If it is not possible this methode have to get an Null Surface. It is the default implementation.
    rtype

    opencascade::handle<Geom_BSplineSurface>

BarycentreOfSurf()
  • Get the barycentre of Surface. An very poor estimation is sufficent. This information is usefull to perform well conditioned rational approximation. Warning: Used only if <self> IsRational
    rtype

    gp_Pnt

CirclSection()
  • Return the circle section at parameter <Param>, if <self> a IsConicalLaw
    param Param

    type Param

    float

    rtype

    opencascade::handle<Geom_Curve>

ConstantSection()
  • Return a copy of the constant Section, if me IsConstant
    rtype

    opencascade::handle<Geom_Curve>

D0()
  • compute the section for v = param
    param Param

    type Param

    float

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    bool

D1()
  • compute the first derivative in v direction of the section for v = param WarningIt used only for C1 or C2 aproximation
    param Param

    type Param

    float

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    rtype

    bool

D2()
  • compute the second derivative in v direction of the section for v = param WarningIt used only for C2 aproximation
    param Param

    type Param

    float

    param Poles

    type Poles

    TColgp_Array1OfPnt

    param DPoles

    type DPoles

    TColgp_Array1OfVec

    param D2Poles

    type D2Poles

    TColgp_Array1OfVec

    param Weigths

    type Weigths

    TColStd_Array1OfReal

    param DWeigths

    type DWeigths

    TColStd_Array1OfReal

    param D2Weigths

    type D2Weigths

    TColStd_Array1OfReal

    rtype

    bool

static DownCast(t)
GetDomain()
  • Gets the bounds of the function parametric domain. Warning: This domain it is not modified by the SetValue method
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

GetInterval()
  • Gets the bounds of the parametric interval on the function
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

GetMinimalWeight()
  • Compute the minimal value of weight for each poles in all sections. This information is usefull to control error in rational approximation. Warning: Used only if <self> IsRational
    param Weigths

    type Weigths

    TColStd_Array1OfReal

    rtype

    void

GetTolerance()
  • Returns the tolerances associated at each poles to reach in approximation, to satisfy: BoundTol error at the Boundary AngleTol tangent error at the Boundary (in radian) SurfTol error inside the surface.
    param BoundTol

    type BoundTol

    float

    param SurfTol

    type SurfTol

    float

    param AngleTol

    type AngleTol

    float

    param Tol3d

    type Tol3d

    TColStd_Array1OfReal

    rtype

    void

Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
    param T

    type T

    TColStd_Array1OfReal

    param S

    type S

    GeomAbs_Shape

    rtype

    void

IsConicalLaw()
  • Returns True if all section are circle, with same plane,same center and linear radius evolution Return False by Default.
    param Error

    type Error

    float

    rtype

    bool

IsConstant()
  • Say if all sections are equals
    param Error

    type Error

    float

    rtype

    bool

IsRational()
  • Returns if the sections are rationnal or not
    rtype

    bool

IsUPeriodic()
  • Returns if the sections are periodic or not
    rtype

    bool

IsVPeriodic()
  • Returns if law is periodic or not
    rtype

    bool

Knots()
  • get the Knots of the section
    param TKnots

    type TKnots

    TColStd_Array1OfReal

    rtype

    void

MaximalSection()
  • Returns the length of the greater section. This information is usefull to G1’s control. Warning: With an little value, approximation can be slower.
    rtype

    float

Mults()
  • get the Multplicities of the section
    param TMults

    type TMults

    TColStd_Array1OfInteger

    rtype

    void

NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
    param S

    type S

    GeomAbs_Shape

    rtype

    int

SectionShape()
  • get the format of an section
    param NbPoles

    type NbPoles

    int

    param NbKnots

    type NbKnots

    int

    param Degree

    type Degree

    int

    rtype

    void

SetInterval()
  • Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

SetTolerance()
  • Is usefull, if (me) have to run numerical algorithm to perform D0, D1 or D2 The default implementation make nothing.
    param Tol3d

    type Tol3d

    float

    param Tol2d

    type Tol2d

    float

    rtype

    void

property thisown

The membership flag

class GeomFill_SectionPlacement(*args)

Bases: object

Parameters

L

type L

GeomFill_LocationLaw

param Section

type Section

Geom_Geometry

rtype

None

Angle()
Return type

float

Distance()
Return type

float

IsDone()
Return type

bool

ModifiedSection()
  • Compute the Section, in the coordinate syteme given by the Location Law. To have the Normal to section equal to the Location Law Normal. If <WithTranslation> contact beetween <Section> and <Path> is forced.
    param WithTranslation

    type WithTranslation

    bool

    rtype

    opencascade::handle<Geom_Curve>

ParameterOnPath()
Return type

float

ParameterOnSection()
Return type

float

Perform()
Parameters

Tol

type Tol

float

rtype

None:param Path:

type Path

Adaptor3d_HCurve

param Tol

type Tol

float

rtype

None:param ParamOnPath:

type ParamOnPath

float

param Tol

type Tol

float

rtype

None

Section()
  • Compute the Section, in the coordinate syteme given by the Location Law. If <WithTranslation> contact beetween <Section> and <Path> is forced.
    param WithTranslation

    type WithTranslation

    bool

    rtype

    opencascade::handle<Geom_Curve>

SetLocation()
  • To change the section Law
    param L

    type L

    GeomFill_LocationLaw

    rtype

    None

Transformation()
Parameters

WithTranslation

type WithTranslation

bool

param WithCorrection

default value is Standard_False

type WithCorrection

bool

rtype

gp_Trsf

property thisown

The membership flag

class GeomFill_SequenceOfAx2(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class GeomFill_SequenceOfTrsf(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class GeomFill_SimpleBound(*args)

Bases: OCC.Core.GeomFill.GeomFill_Boundary

  • Constructs the boundary object defined by the 3d curve. The surface to be built along this boundary will be in the tolerance range defined by Tol3d. This object is to be used as a boundary for a GeomFill_ConstrainedFilling framework. Dummy is initialized but has no function in this class. Warning Curve is an adapted curve, that is, an object which is an interface between: - the services provided by a 3D curve from the package Geom - and those required of the curve by the computation algorithm which uses it. The adapted curve is created in one of the following ways: - First sequence: opencascade::handle<Geom_Curve> myCurve = … ; opencascade::handle<GeomAdaptor_HCurve> Curve = new GeomAdaptor_HCurve(myCurve); - Second sequence: // Step 1 opencascade::handle<Geom_Curve> myCurve = … ; GeomAdaptor_Curve Crv (myCurve); // Step 2 opencascade::handle<GeomAdaptor_HCurve> Curve = new GeomAdaptor_HCurve(Crv); You use the second part of this sequence if you already have the adapted curve Crv. The boundary is then constructed with the Curve object: Standard_Real Tol = … ; Standard_Real dummy = 0. ; myBoundary = GeomFill_SimpleBound (Curve,Tol,dummy);
    param Curve

    type Curve

    Adaptor3d_HCurve

    param Tol3d

    type Tol3d

    float

    param Tolang

    type Tolang

    float

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class GeomFill_SnglrFunc(*args)

Bases: OCC.Core.Adaptor3d.Adaptor3d_Curve

Parameters

HC

type HC

Adaptor3d_HCurve

rtype

None

SetRatio()
Parameters

Ratio

type Ratio

float

rtype

None

property thisown

The membership flag

class GeomFill_Stretch(*args)

Bases: OCC.Core.GeomFill.GeomFill_Filling

Return type

None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :rtype: None:param P1: :type P1: TColgp_Array1OfPnt :param P2: :type P2: TColgp_Array1OfPnt :param P3: :type P3: TColgp_Array1OfPnt :param P4: :type P4: TColgp_Array1OfPnt :param W1: :type W1: TColStd_Array1OfReal :param W2: :type W2: TColStd_Array1OfReal :param W3: :type W3: TColStd_Array1OfReal :param W4: :type W4: TColStd_Array1OfReal :rtype: None

Init()
Parameters

P1

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

rtype

None:param P1:

type P1

TColgp_Array1OfPnt

param P2

type P2

TColgp_Array1OfPnt

param P3

type P3

TColgp_Array1OfPnt

param P4

type P4

TColgp_Array1OfPnt

param W1

type W1

TColStd_Array1OfReal

param W2

type W2

TColStd_Array1OfReal

param W3

type W3

TColStd_Array1OfReal

param W4

type W4

TColStd_Array1OfReal

rtype

None

property thisown

The membership flag

class GeomFill_Sweep(*args)

Bases: object

Parameters

Location

type Location

GeomFill_LocationLaw

param WithKpart

default value is Standard_True

type WithKpart

bool

rtype

None

Build()
  • Build the Sweeep Surface ApproxStyle defines Approximation Strategy - GeomFill_SectionThe composed FunctionLocation X Section is directly approximed. - GeomFill_LocationThe location law is approximed, and the SweepSurface is build algebric composition of approximed location law and section law This option is Ok, if Section.Surface() methode is effective. ContinuityThe continuity in v waiting on the surface DegmaxThe maximum degree in v requiered on the surface SegmaxThe maximum number of span in v requiered on the surface //! raise If Domain are infinite or Profile not Setted.
    param Section

    type Section

    GeomFill_SectionLaw

    param Methode

    default value is GeomFill_Location

    type Methode

    GeomFill_ApproxStyle

    param Continuity

    default value is GeomAbs_C2

    type Continuity

    GeomAbs_Shape

    param Degmax

    default value is 10

    type Degmax

    int

    param Segmax

    default value is 30

    type Segmax

    int

    rtype

    None

ErrorOnRestriction()
  • Gets the Approximation error.
    param IsFirst

    type IsFirst

    bool

    param UError

    type UError

    float

    param VError

    type VError

    float

    rtype

    None

ErrorOnSurface()
  • Gets the Approximation error.
    rtype

    float

ErrorOnTrace()
  • Gets the Approximation error.
    param IndexOfTrace

    type IndexOfTrace

    int

    param UError

    type UError

    float

    param VError

    type VError

    float

    rtype

    None

ExchangeUV()
  • returns true if sections are U-Iso This can be produce in some cases when <WithKpart> is True.
    rtype

    bool

IsDone()
  • Tells if the Surface is Buildt.
    rtype

    bool

NumberOfTrace()
Return type

int

Restriction()
Parameters

IsFirst

type IsFirst

bool

rtype

opencascade::handle<Geom2d_Curve>

SetDomain()
  • Set parametric information [<First>, <Last>] Sets the parametric bound of the sweeping surface to build. <SectionFirst>, <SectionLast> gives coresponding bounds parameter on the section law of <First> and <Last> //! V-Iso on Sweeping Surface S(u,v) is defined by Location(v) and Section(w) where w = SectionFirst + (v - First) / (Last-First) * (SectionLast - SectionFirst) //! By default w = v, and First and Last are given by First and Last parameter stored in LocationLaw.
    param First

    type First

    float

    param Last

    type Last

    float

    param SectionFirst

    type SectionFirst

    float

    param SectionLast

    type SectionLast

    float

    rtype

    None

SetForceApproxC1()
  • Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
    param ForceApproxC1

    type ForceApproxC1

    bool

    rtype

    None

SetTolerance()
  • Set Approximation Tolerance Tol3dTolerance to surface approximation Tol2dTolerance used to perform curve approximation Normaly the 2d curve are approximated with a tolerance given by the resolution method define in <LocationLaw> but if this tolerance is too large Tol2d is used. TolAngularTolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface
    param Tol3d

    type Tol3d

    float

    param BoundTol

    default value is 1.0

    type BoundTol

    float

    param Tol2d

    default value is 1.0e-5

    type Tol2d

    float

    param TolAngular

    default value is 1.0

    type TolAngular

    float

    rtype

    None

Surface()
Return type

opencascade::handle<Geom_Surface>

Trace()
Parameters

IndexOfTrace

type IndexOfTrace

int

rtype

opencascade::handle<Geom2d_Curve>

UReversed()
  • returns true if Parametrisation sens in U is inverse of parametrisation sens of section (or of path if ExchangeUV)
    rtype

    bool

VReversed()
  • returns true if Parametrisation sens in V is inverse of parametrisation sens of path (or of section if ExchangeUV)
    rtype

    bool

property thisown

The membership flag

class GeomFill_SweepFunction(*args)

Bases: OCC.Core.Approx.Approx_SweepFunction

Parameters

Section

type Section

GeomFill_SectionLaw

param Location

type Location

GeomFill_LocationLaw

param FirstParameter

type FirstParameter

float

param FirstParameterOnS

type FirstParameterOnS

float

param RatioParameterOnS

type RatioParameterOnS

float

rtype

None

static DownCast(t)
property thisown

The membership flag

class GeomFill_Tensor(*args)

Bases: object

Parameters

NbRow

type NbRow

int

param NbCol

type NbCol

int

param NbMat

type NbMat

int

rtype

None

GetChangeValue(GeomFill_Tensor self, Standard_Integer const Row, Standard_Integer const Col, Standard_Integer const Mat) → Standard_Real
Init()
  • Initialize all the elements of a Tensor to InitialValue.
    param InitialValue

    type InitialValue

    float

    rtype

    None

Multiply()
Parameters

Right

type Right

math_Vector

param Product

type Product

math_Matrix

rtype

None

SetChangeValue(GeomFill_Tensor self, Standard_Integer const Row, Standard_Integer const Col, Standard_Integer const Mat, Standard_Real value)
Value()
  • accesses (in read or write mode) the value of index <Row>, <Col> and <Mat> of a Tensor. An exception is raised if <Row>, <Col> or <Mat> are not in the correct range.
    param Row

    type Row

    int

    param Col

    type Col

    int

    param Mat

    type Mat

    int

    rtype

    float

property thisown

The membership flag

class GeomFill_TgtField(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

D1()
  • Computes the derivative of the field of tangency at parameter W.
    param W

    type W

    float

    rtype

    gp_Vec* Computes the value and the derivative of the field of tangency at parameter W.

    param W

    type W

    float

    param V

    type V

    gp_Vec

    param DV

    type DV

    gp_Vec

    rtype

    void

static DownCast(t)
IsScalable()
Return type

bool

Scale()
Parameters

Func

type Func

Law_BSpline

rtype

void

Value()
  • Computes the value of the field of tangency at parameter W.
    param W

    type W

    float

    rtype

    gp_Vec

property thisown

The membership flag

class GeomFill_TgtOnCoons(*args)

Bases: OCC.Core.GeomFill.GeomFill_TgtField

Parameters

K

type K

GeomFill_CoonsAlgPatch

param I

type I

int

rtype

None

D1()
  • Computes the derivative of the field of tangency at parameter W.
    param W

    type W

    float

    rtype

    gp_Vec* Computes the value and the derivative of the field of tangency at parameter W.

    param W

    type W

    float

    param T

    type T

    gp_Vec

    param DT

    type DT

    gp_Vec

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class GeomFill_TrihedronLaw(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

Copy()
Return type

opencascade::handle<GeomFill_TrihedronLaw>

D0()
  • compute Triedrhon on curve at parameter <Param>
    param Param

    type Param

    float

    param Tangent

    type Tangent

    gp_Vec

    param Normal

    type Normal

    gp_Vec

    param BiNormal

    type BiNormal

    gp_Vec

    rtype

    bool

D1()
  • compute Triedrhon and derivative Trihedron on curve at parameter <Param> WarningIt used only for C1 or C2 aproximation
    param Param

    type Param

    float

    param Tangent

    type Tangent

    gp_Vec

    param DTangent

    type DTangent

    gp_Vec

    param Normal

    type Normal

    gp_Vec

    param DNormal

    type DNormal

    gp_Vec

    param BiNormal

    type BiNormal

    gp_Vec

    param DBiNormal

    type DBiNormal

    gp_Vec

    rtype

    bool

D2()
  • compute Trihedron on curve first and seconde derivatives. WarningIt used only for C2 aproximation
    param Param

    type Param

    float

    param Tangent

    type Tangent

    gp_Vec

    param DTangent

    type DTangent

    gp_Vec

    param D2Tangent

    type D2Tangent

    gp_Vec

    param Normal

    type Normal

    gp_Vec

    param DNormal

    type DNormal

    gp_Vec

    param D2Normal

    type D2Normal

    gp_Vec

    param BiNormal

    type BiNormal

    gp_Vec

    param DBiNormal

    type DBiNormal

    gp_Vec

    param D2BiNormal

    type D2BiNormal

    gp_Vec

    rtype

    bool

static DownCast(t)
ErrorStatus()
  • Give a status to the Law Returns PipeOk (default implementation)
    rtype

    GeomFill_PipeError

GetAverageLaw()
  • Get average value of M(t) and V(t) it is usfull to make fast approximation of rational surfaces.
    param ATangent

    type ATangent

    gp_Vec

    param ANormal

    type ANormal

    gp_Vec

    param ABiNormal

    type ABiNormal

    gp_Vec

    rtype

    void

GetInterval()
  • Gets the bounds of the parametric interval on the function
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    None

Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
    param T

    type T

    TColStd_Array1OfReal

    param S

    type S

    GeomAbs_Shape

    rtype

    void

IsConstant()
  • Say if the law is Constant
    rtype

    bool

IsOnlyBy3dCurve()
  • Say if the law is defined, only by the 3d Geometry of the setted Curve Return False by Default.
    rtype

    bool

NbIntervals()
  • Returns the number of intervals for continuity <S>. May be one if Continuity(me) >= <S>
    param S

    type S

    GeomAbs_Shape

    rtype

    int

SetCurve()
Parameters

C

type C

Adaptor3d_HCurve

rtype

void

SetInterval()
  • Sets the bounds of the parametric interval on the function This determines the derivatives in these values if the function is not Cn.
    param First

    type First

    float

    param Last

    type Last

    float

    rtype

    void

property thisown

The membership flag

class GeomFill_TrihedronWithGuide(*args, **kwargs)

Bases: OCC.Core.GeomFill.GeomFill_TrihedronLaw

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

CurrentPointOnGuide()
  • Returns the current point on guide found by D0, D1 or D2.
    rtype

    gp_Pnt

static DownCast(t)
Guide()
Return type

opencascade::handle<Adaptor3d_HCurve>

Origine()
Parameters

Param1

type Param1

float

param Param2

type Param2

float

rtype

void

property thisown

The membership flag

class GeomFill_UniformSection(*args)

Bases: OCC.Core.GeomFill.GeomFill_SectionLaw

  • Make an constant Law with C. [First, Last] define law definition domain
    param C

    type C

    Geom_Curve

    param FirstParameter

    default value is 0.0

    type FirstParameter

    float

    param LastParameter

    default value is 1.0

    type LastParameter

    float

    rtype

    None

static DownCast(t)
property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class geomfill

Bases: object

static GetCircle()
Parameters

TConv

type TConv

Convert_ParameterisationType

param ns1

type ns1

gp_Vec

param ns2

type ns2

gp_Vec

param nplan

type nplan

gp_Vec

param pt1

type pt1

gp_Pnt

param pt2

type pt2

gp_Pnt

param Rayon

type Rayon

float

param Center

type Center

gp_Pnt

param Poles

type Poles

TColgp_Array1OfPnt

param Weigths

type Weigths

TColStd_Array1OfReal

rtype

void:param TConv:

type TConv

Convert_ParameterisationType

param ns1

type ns1

gp_Vec

param ns2

type ns2

gp_Vec

param dn1w

type dn1w

gp_Vec

param dn2w

type dn2w

gp_Vec

param nplan

type nplan

gp_Vec

param dnplan

type dnplan

gp_Vec

param pts1

type pts1

gp_Pnt

param pts2

type pts2

gp_Pnt

param tang1

type tang1

gp_Vec

param tang2

type tang2

gp_Vec

param Rayon

type Rayon

float

param DRayon

type DRayon

float

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param Weigths

type Weigths

TColStd_Array1OfReal

param DWeigths

type DWeigths

TColStd_Array1OfReal

rtype

bool:param TConv:

type TConv

Convert_ParameterisationType

param ns1

type ns1

gp_Vec

param ns2

type ns2

gp_Vec

param dn1w

type dn1w

gp_Vec

param dn2w

type dn2w

gp_Vec

param d2n1w

type d2n1w

gp_Vec

param d2n2w

type d2n2w

gp_Vec

param nplan

type nplan

gp_Vec

param dnplan

type dnplan

gp_Vec

param d2nplan

type d2nplan

gp_Vec

param pts1

type pts1

gp_Pnt

param pts2

type pts2

gp_Pnt

param tang1

type tang1

gp_Vec

param tang2

type tang2

gp_Vec

param Dtang1

type Dtang1

gp_Vec

param Dtang2

type Dtang2

gp_Vec

param Rayon

type Rayon

float

param DRayon

type DRayon

float

param D2Rayon

type D2Rayon

float

param Center

type Center

gp_Pnt

param DCenter

type DCenter

gp_Vec

param D2Center

type D2Center

gp_Vec

param Poles

type Poles

TColgp_Array1OfPnt

param DPoles

type DPoles

TColgp_Array1OfVec

param D2Poles

type D2Poles

TColgp_Array1OfVec

param Weigths

type Weigths

TColStd_Array1OfReal

param DWeigths

type DWeigths

TColStd_Array1OfReal

param D2Weigths

type D2Weigths

TColStd_Array1OfReal

rtype

bool

static GetMinimalWeights()
Parameters

TConv

type TConv

Convert_ParameterisationType

param AngleMin

type AngleMin

float

param AngleMax

type AngleMax

float

param Weigths

type Weigths

TColStd_Array1OfReal

rtype

void

static GetShape()
Parameters

MaxAng

type MaxAng

float

param NbPoles

type NbPoles

int

param NbKnots

type NbKnots

int

param Degree

type Degree

int

param TypeConv

type TypeConv

Convert_ParameterisationType

rtype

void

static GetTolerance()
  • Used by the generical classes to determine Tolerance for approximation
    param TConv

    type TConv

    Convert_ParameterisationType

    param AngleMin

    type AngleMin

    float

    param Radius

    type Radius

    float

    param AngularTol

    type AngularTol

    float

    param SpatialTol

    type SpatialTol

    float

    rtype

    float

static Knots()
Parameters

TypeConv

type TypeConv

Convert_ParameterisationType

param TKnots

type TKnots

TColStd_Array1OfReal

rtype

void

static Mults()
Parameters

TypeConv

type TypeConv

Convert_ParameterisationType

param TMults

type TMults

TColStd_Array1OfInteger

rtype

void

static Surface()
  • Builds a ruled surface between the two curves, Curve1 and Curve2.
    param Curve1

    type Curve1

    Geom_Curve

    param Curve2

    type Curve2

    Geom_Curve

    rtype

    opencascade::handle<Geom_Surface>

property thisown

The membership flag