ChFiDS
OCCT package ChFiDS: ChFiDS_ChamfMethod, ChFiDS_ChamfMode, ChFiDS_ChamfSpine, ChFiDS_CircSection, and 13 more bound classes.
ChFiDS_ChamfMethod
Properties(3)
ChFiDS_ChamfMode
Properties(3)
ChFiDS_ChamfSpine
Provides data specific to chamfers distances on each of faces.
Constructors(2)
- constructor(Tol: number): ChFiDS_ChamfSpineParameters (1)
Tol
Static methods(2)
- get_type_name(): string
Instance methods(9)
- SetDist(Dis: number): voidParameters (1)
Dis
- GetDist(Dis: number): { Dis: number }Parameters (1)
Dis
- SetDists(Dis1: number, Dis2: number): voidParameters (2)
Dis1Dis2
- Dists(Dis1: number, Dis2: number): { Dis1: number; Dis2: number }Parameters (2)
Dis1Dis2
- GetDistAngle(Dis: number, Angle: number): { Dis: number; Angle: number }Parameters (2)
DisAngle
- SetDistAngle(Dis: number, Angle: number): voidParameters (2)
DisAngle
- SetMode(theMode: ChFiDS_ChamfMode): voidParameters (1)
theMode
Return the method of chamfers used.
ChFiDS_CircSection
A Section of fillet.
Constructors(1)
Instance methods(4)
- Parameters (3)
CFL
- Parameters (3)
CFL
- Parameters (3)
CFL
- Parameters (3)
CFL
ChFiDS_CommonPoint
point start/end of fillet common to 2 adjacent filets and to an edge on one of 2 faces participating in the construction of the fillet
Constructors(1)
Empty constructor.
Instance methods(18)
- Reset(): void
default value for all fields
- SetVertex(theVertex: TopoDS_Vertex): void
Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface.
Parameters (1)theVertex
- SetArc(Tol: number, A: TopoDS_Edge, Param: number, TArc: TopAbs_Orientation): void
Sets the values of a point which is on the arc A, at parameter Param.
Parameters (4)TolAParamTArc
- SetParameter(Param: number): void
Sets the value of the parameter on the spine.
Parameters (1)Param
Set the 3d point for a commonpoint that is not a vertex or on an arc.
Parameters (1)thePoint
Set the output 3d vector.
Parameters (1)theVector
- SetTolerance(Tol: number): void
This method set the fuzziness on the point.
Parameters (1)Tol
- Tolerance(): number
This method returns the fuzziness on the point.
- IsVertex(): boolean
Returns TRUE if the point is a vertex on the initial restriction facet of the surface.
Returns the information about the point when it is on the domain of the first patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised.
- IsOnArc(): boolean
Returns TRUE if the point is a on an edge of the initial restriction facet of the surface.
- Arc(): TopoDS_Edge
Returns the arc of restriction containing the vertex.
Returns the transition of the point on the arc returned by
Arc().- ParameterOnArc(): number
Returns the parameter of the point on the arc returned by the method
Arc(). - Parameter(): number
Returns the parameter on the spine.
Returns the 3d point.
- HasVector(): boolean
Returns TRUE if the output vector is stored.
Returns the output 3d vector.
ChFiDS_ElSpine
Elementary Spine for cheminements and approximations.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(43)
Shallow copy of adaptor.
- FirstParameter(): number
- FirstParameter(P: number): voidParameters (1)
P
- LastParameter(): number
- LastParameter(P: number): voidParameters (1)
P
- GetSavedFirstParameter(): number
- GetSavedLastParameter(): number
- NbIntervals(S: GeomAbs_Shape): number
Returns the number of intervals for continuity . May be one if Continuity(me) >= .
Parameters (1)S
- Intervals(T: NCollection_Array1_double, S: GeomAbs_Shape): void
Stores in <T> the parameters bounding the intervals of continuity .
The array must provide enough room to accommodate for the parameters. i.e. T.Length() >NbIntervals()Parameters (2)T—Mutated in place; read the updated value from this argument after the call.S
- Trim(First: number, Last: number, Tol: number): Adaptor3d_Curve
Returns a curve equivalent of <me> between parameters <First> and <Last>. <Tol> is used to test for 3d points confusion.
Parameters (3)FirstLastTol
- Resolution(R3d: number): number
Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters (1)R3d
Returns the type of the curve in the current interval: Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- IsPeriodic(): boolean
- SetPeriodic(I: boolean): voidParameters (1)
I
- Period(): number
Computes the point of parameter theAbsC on the curve.
Parameters (1)theU
- EvalD1(theU: number): Geom_Curve_ResD1
Computes the point and first derivative at parameter theAbsC.
Parameters (1)theU
- EvalD2(theU: number): Geom_Curve_ResD2
Computes the point and first two derivatives at parameter theAbsC.
Parameters (1)theU
- EvalD3(theU: number): Geom_Curve_ResD3
Computes the point and first three derivatives at parameter theAbsC.
Parameters (1)theU
- SaveFirstParameter(): void
- SaveLastParameter(): void
- SetOrigin(O: number): voidParameters (1)
O
- FirstPointAndTgt(P: gp_Pnt, T: gp_Vec): voidParameters (2)
PT
- LastPointAndTgt(P: gp_Pnt, T: gp_Vec): voidParameters (2)
PT
- NbVertices(): number
- VertexWithTangent(Index: number): gp_Ax1Parameters (1)
Index
- SetFirstPointAndTgt(P: gp_Pnt, T: gp_Vec): voidParameters (2)
PT
- SetLastPointAndTgt(P: gp_Pnt, T: gp_Vec): voidParameters (2)
PT
- AddVertexWithTangent(anAx1: gp_Ax1): voidParameters (1)
anAx1
- SetCurve(C: Geom_Curve): voidParameters (1)
C
ChFiDS_ErrorStatus
Properties(5)
ChFiDS_FaceInterference
interference face/fillet
Constructors(1)
Instance methods(15)
- SetInterference(LineIndex: number, Trans: TopAbs_Orientation, PCurv1: Geom2d_Curve, PCurv2: Geom2d_Curve): voidParameters (4)
LineIndexTransPCurv1PCurv2
- SetTransition(Trans: TopAbs_Orientation): voidParameters (1)
Trans
- SetFirstParameter(U1: number): voidParameters (1)
U1
- SetLastParameter(U1: number): voidParameters (1)
U1
- SetParameter(U1: number, IsFirst: boolean): voidParameters (2)
U1IsFirst
- LineIndex(): number
- SetLineIndex(I: number): voidParameters (1)
I
- FirstParameter(): number
- LastParameter(): number
- Parameter(IsFirst: boolean): numberParameters (1)
IsFirst
ChFiDS_FilSpine
Provides data specific to the fillets - vector or rule of evolution (C2).
Constructors(2)
- constructor(Tol: number): ChFiDS_FilSpineParameters (1)
Tol
Static methods(2)
- get_type_name(): string
Instance methods(18)
- Reset(AllData?: boolean): voidParameters (1)
AllData
- SetRadius(Radius: number): void
initializes the constant vector on all spine.
Parameters (1)Radius
- SetRadius(Radius: number, E: TopoDS_Edge): void
initializes the constant vector on edge E.
Parameters (2)RadiusE
- SetRadius(Radius: number, V: TopoDS_Vertex): void
initializes the vector on Vertex V.
Parameters (2)RadiusV
initializes the vector on the point of parameter W.
Parameters (2)UandRIinC
- SetRadius(C: Law_Function, IinC: number): void
initializes the rule of evolution on all spine.
Parameters (2)CIinC
- UnSetRadius(E: TopoDS_Edge): void
resets the constant vector on edge E.
Parameters (1)E
- UnSetRadius(V: TopoDS_Vertex): void
resets the vector on Vertex V.
Parameters (1)V
- IsConstant(): boolean
returns true if the radius is constant all along the spine.
- IsConstant(IE: number): boolean
returns true if the radius is constant all along the edge E.
Parameters (1)IE
- Radius(): number
returns the radius if the fillet is constant all along the spine.
- Radius(IE: number): number
returns the radius if the fillet is constant all along the edge E.
Parameters (1)IE
- Radius(E: TopoDS_Edge): number
returns the radius if the fillet is constant all along the edge E.
Parameters (1)E
- AppendElSpine(Els: ChFiDS_ElSpine): voidParameters (1)
Els
- Law(Els: ChFiDS_ElSpine): Law_CompositeParameters (1)
Els
returns the elementary law
Parameters (1)E
- MaxRadFromSeqAndLaws(): number
returns the maximum radius if the fillet is non-constant
ChFiDS_Map
Encapsulation of IndexedDataMapOfShapeListOfShape.
Constructors(1)
Create an empty Map.
Instance methods(4)
- Fill(S: TopoDS_Shape, T1: TopAbs_ShapeEnum, T2: TopAbs_ShapeEnum): void
Fills the map with the subshapes of type T1 as keys and the list of ancestors of type T2 as items.
Parameters (3)ST1T2
- Contains(S: TopoDS_Shape): booleanParameters (1)
S
- Parameters (1)
S
- FindFromIndex(I: number): NCollection_List_TopoDS_ShapeParameters (1)
I
ChFiDS_Regul
Storage of a curve and its 2 faces or surfaces of support.
Constructors(1)
Instance methods(8)
- SetCurve(IC: number): voidParameters (1)
IC
- SetS1(IS1: number, IsFace?: boolean): voidParameters (2)
IS1IsFace
- SetS2(IS2: number, IsFace?: boolean): voidParameters (2)
IS2IsFace
- IsSurface1(): boolean
- IsSurface2(): boolean
- Curve(): number
- S1(): number
- S2(): number
ChFiDS_Spine
Contains information necessary for construction of a 3D fillet or chamfer:
- guideline composed of edges of the solid, tangents between them, and borders by faces tangents between them.
Tools for construction of the Sp by propagation from an edge of solid are provided in the Builder of Fil3d.
The Spine contains among others the information about the nature of extremities of the fillet ( on free border , on section or closed ).
IMPORTANT NOTE: the guideline represented in this way is not C2, although the path claims it. Several palliative workarounds (see the methods at the end) are planned, but they are not enough. It is necessary to change the approach and double the Spine of line C2 with the known consequences for management of interactions between KPart Blend in Fil3d.
Constructors(2)
- constructor(Tol: number): ChFiDS_SpineParameters (1)
Tol
Static methods(2)
- get_type_name(): string
Instance methods(70)
- SetEdges(E: TopoDS_Edge): void
store edges composing the guideline
Parameters (1)E
- SetOffsetEdges(E: TopoDS_Edge): void
store offset edges composing the offset guideline
Parameters (1)E
- PutInFirst(E: TopoDS_Edge): void
store the edge at the first position before all others
Parameters (1)E
- PutInFirstOffset(E: TopoDS_Edge): void
store the offset edge at the first position before all others
Parameters (1)E
- NbEdges(): number
- Edges(I: number): TopoDS_EdgeParameters (1)
I
- OffsetEdges(I: number): TopoDS_EdgeParameters (1)
I
- SetFirstStatus(S: ChFiDS_State): void
stores if the start of a set of edges starts on a section of free border or forms a closed contour
Parameters (1)S
- SetLastStatus(S: ChFiDS_State): void
stores if the end of a set of edges starts on a section of free border or forms a closed contour
Parameters (1)S
- AppendElSpine(Els: ChFiDS_ElSpine): voidParameters (1)
Els
- AppendOffsetElSpine(Els: ChFiDS_ElSpine): voidParameters (1)
Els
- ElSpine(IE: number): ChFiDS_ElSpineParameters (1)
IE
- Parameters (1)
E
- ElSpine(W: number): ChFiDS_ElSpineParameters (1)
W
- Reset(AllData?: boolean): voidParameters (1)
AllData
- SplitDone(): boolean
- SplitDone(B: boolean): voidParameters (1)
B
- Load(): void
prepare the guideline depending on the edges that are elementary arks (take parameters from a single curvilinear abscissa); to be able to call methods on the geometry (first,last,value,d1,d2) it is necessary to start with preparation otherwise an exception will be raised
- Resolution(R3d: number): numberParameters (1)
R3d
- IsClosed(): boolean
- FirstParameter(): number
- FirstParameter(IndexSpine: number): number
gives the total length of all arcs before the number IndexSp
Parameters (1)IndexSpine
- LastParameter(): number
- LastParameter(IndexSpine: number): number
gives the total length till the ark with number IndexSpine (inclus)
Parameters (1)IndexSpine
- SetFirstParameter(Par: number): voidParameters (1)
Par
- SetLastParameter(Par: number): voidParameters (1)
Par
- Length(IndexSpine: number): number
gives the length of ark with number IndexSp
Parameters (1)IndexSpine
- IsPeriodic(): boolean
- Period(): number
- Absc(U: number): numberParameters (1)
U
- Absc(V: TopoDS_Vertex): numberParameters (1)
V
- Absc(U: number, I: number): numberParameters (2)
UI
- Parameter(AbsC: number, U: number, Oriented: boolean): { U: number }Parameters (3)
AbsCUOriented
- Parameter(Index: number, AbsC: number, U: number, Oriented: boolean): { U: number }Parameters (4)
IndexAbsCUOriented
- Parameters (1)
AbsC
- Parameters (2)
AbsCP
- Parameters (3)
AbsCPV1
- Parameters (4)
AbsCPV1V2
- SetCurrent(Index: number): voidParameters (1)
Index
- CurrentElementarySpine(Index: number): BRepAdaptor_Curve
sets the current curve and returns it
Parameters (1)Index
- CurrentIndexOfElementarySpine(): number
returns if the set of edges starts on a free boundary or if the first vertex is a breakpoint or if the set is closed
returns the state at the end of the set
- Status(IsFirst: boolean): ChFiDS_StateParameters (1)
IsFirst
returns the type of concavity in the connection
- SetStatus(S: ChFiDS_State, IsFirst: boolean): voidParameters (2)
SIsFirst
- SetTypeOfConcavity(theType: ChFiDS_TypeOfConcavity): void
sets the type of concavity in the connection
Parameters (1)theType
- IsTangencyExtremity(IsFirst: boolean): boolean
returns if the set of edges starts (or end) on Tangency point.
Parameters (1)IsFirst
- SetTangencyExtremity(IsTangency: boolean, IsFirst: boolean): voidParameters (2)
IsTangencyIsFirst
- SetFirstTgt(W: number): voidParameters (1)
W
- SetLastTgt(W: number): voidParameters (1)
W
- HasFirstTgt(): boolean
- HasLastTgt(): boolean
- SetReference(W: number): void
set a parameter reference for the approx.
Parameters (1)W
- SetReference(I: number): void
set a parameter reference for the approx, at the middle of edge I.
Parameters (1)I
- Index(W: number, Forward: boolean): numberParameters (2)
WForward
- Index(E: TopoDS_Edge): numberParameters (1)
E
- UnsetReference(): void
- SetErrorStatus(state: ChFiDS_ErrorStatus): voidParameters (1)
state
Return the mode of chamfers used.
- GetTolesp(): number
Return tolesp parameter.
ChFiDS_State
Properties(7)
ChFiDS_Stripe
Data characterising a band of fillet.
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(52)
- Reset(): void
Reset everything except Spine.
- OrientationOnFace1(Or1: TopAbs_Orientation): voidParameters (1)
Or1
- OrientationOnFace2(Or2: TopAbs_Orientation): voidParameters (1)
Or2
- Choix(): number
- Choix(C: number): voidParameters (1)
C
- FirstParameters(Pdeb: number, Pfin: number): { Pdeb: number; Pfin: number }Parameters (2)
PdebPfin
- LastParameters(Pdeb: number, Pfin: number): { Pdeb: number; Pfin: number }Parameters (2)
PdebPfin
- ChangeFirstParameters(Pdeb: number, Pfin: number): voidParameters (2)
PdebPfin
- ChangeLastParameters(Pdeb: number, Pfin: number): voidParameters (2)
PdebPfin
- FirstCurve(): number
- LastCurve(): number
- ChangeFirstCurve(Index: number): voidParameters (1)
Index
- ChangeLastCurve(Index: number): voidParameters (1)
Index
- FirstPCurveOrientation(O: TopAbs_Orientation): voidParameters (1)
O
- LastPCurveOrientation(O: TopAbs_Orientation): voidParameters (1)
O
- IndexFirstPointOnS1(): number
- IndexFirstPointOnS2(): number
- IndexLastPointOnS1(): number
- IndexLastPointOnS2(): number
- ChangeIndexFirstPointOnS1(Index: number): voidParameters (1)
Index
- ChangeIndexFirstPointOnS2(Index: number): voidParameters (1)
Index
- ChangeIndexLastPointOnS1(Index: number): voidParameters (1)
Index
- ChangeIndexLastPointOnS2(Index: number): voidParameters (1)
Index
- Parameters(First: boolean, Pdeb: number, Pfin: number): { Pdeb: number; Pfin: number }Parameters (3)
FirstPdebPfin
- SetParameters(First: boolean, Pdeb: number, Pfin: number): voidParameters (3)
FirstPdebPfin
- Curve(First: boolean): numberParameters (1)
First
- SetCurve(Index: number, First: boolean): voidParameters (2)
IndexFirst
- PCurve(First: boolean): Geom2d_CurveParameters (1)
First
- ChangePCurve(First: boolean): Geom2d_CurveParameters (1)
First
- Orientation(OnS: number): TopAbs_OrientationParameters (1)
OnS
- Orientation(First: boolean): TopAbs_OrientationParameters (1)
First
- SetOrientation(Or: TopAbs_Orientation, OnS: number): voidParameters (2)
OrOnS
- SetOrientation(Or: TopAbs_Orientation, First: boolean): voidParameters (2)
OrFirst
- IndexPoint(First: boolean, OnS: number): numberParameters (2)
FirstOnS
- SetIndexPoint(Index: number, First: boolean, OnS: number): voidParameters (3)
IndexFirstOnS
- SolidIndex(): number
- SetSolidIndex(Index: number): voidParameters (1)
Index
- InDS(First: boolean, Nb?: number): void
Set nb of SurfData's at end put in DS.
Parameters (2)FirstNb
- IsInDS(First: boolean): number
Returns nb of SurfData's at end being in DS.
Parameters (1)First
ChFiDS_StripeMap
encapsulation of IndexedDataMapOfVertexListOfStripe
Constructors(1)
Instance methods(6)
- Add(V: TopoDS_Vertex, F: ChFiDS_Stripe): voidParameters (2)
VF
- Extent(): number
- Parameters (1)
V
- FindFromIndex(I: number): NCollection_List_handle_ChFiDS_StripeParameters (1)
I
- FindKey(I: number): TopoDS_VertexParameters (1)
I
- Clear(): void
ChFiDS_SurfData
data structure for all information related to the fillet and to 2 faces vis a vis
Constructors(1)
Static methods(2)
- get_type_name(): string
Instance methods(53)
- Copy(Other: ChFiDS_SurfData): voidParameters (1)
Other
- IndexOfS1(): number
- IndexOfS2(): number
- IsOnCurve1(): boolean
- IsOnCurve2(): boolean
- IndexOfC1(): number
- IndexOfC2(): number
- Surf(): number
- ChangeIndexOfS1(Index: number): voidParameters (1)
Index
- ChangeIndexOfS2(Index: number): voidParameters (1)
Index
- ChangeSurf(Index: number): voidParameters (1)
Index
- SetIndexOfC1(Index: number): voidParameters (1)
Index
- SetIndexOfC2(Index: number): voidParameters (1)
Index
- Interference(OnS: number): ChFiDS_FaceInterferenceParameters (1)
OnS
- ChangeInterference(OnS: number): ChFiDS_FaceInterferenceParameters (1)
OnS
- Index(OfS: number): numberParameters (1)
OfS
- Vertex(First: boolean, OnS: number): ChFiDS_CommonPoint
returns one of the four vertices whether First is true or wrong and OnS equals 1 or 2.
Parameters (2)FirstOnS
- ChangeVertex(First: boolean, OnS: number): ChFiDS_CommonPoint
returns one of the four vertices whether First is true or wrong and OnS equals 1 or 2.
Parameters (2)FirstOnS
- IsOnCurve(OnS: number): booleanParameters (1)
OnS
- IndexOfC(OnS: number): numberParameters (1)
OnS
- FirstSpineParam(): number
- FirstSpineParam(Par: number): voidParameters (1)
Par
- LastSpineParam(): number
- LastSpineParam(Par: number): voidParameters (1)
Par
- FirstExtensionValue(): number
- FirstExtensionValue(Extend: number): voidParameters (1)
Extend
- LastExtensionValue(): number
- LastExtensionValue(Extend: number): voidParameters (1)
Extend
- SetSimul(S: Standard_Transient): voidParameters (1)
S
- ResetSimul(): void
- Get2dPoints(First: boolean, OnS: number): gp_Pnt2dParameters (2)
FirstOnS
- Get2dPoints(P2df1: gp_Pnt2d, P2dl1: gp_Pnt2d, P2df2: gp_Pnt2d, P2dl2: gp_Pnt2d): voidParameters (4)
P2df1P2dl1P2df2P2dl2
- Set2dPoints(P2df1: gp_Pnt2d, P2dl1: gp_Pnt2d, P2df2: gp_Pnt2d, P2dl2: gp_Pnt2d): voidParameters (4)
P2df1P2dl1P2df2P2dl2
- TwistOnS1(): boolean
- TwistOnS1(T: boolean): voidParameters (1)
T
- TwistOnS2(): boolean
- TwistOnS2(T: boolean): voidParameters (1)
T