HelixBRep
OCCT package HelixBRep: HelixBRep_BuilderHelix.
HelixBRep_BuilderHelix
Implementation of building helix wire Values of Error Status returned by algo: 0 - OK 1 - object is just initialized, it means that no input parameters were set 2 - approximation fails.
10 - R < tolerance - starting point is too close to axis 11 - step (Pitch) < tolerance 12 - Height < tolerance 13 - TaperAngle < 0 or TaperAngle > Pi/2 - TolAng Warning Status: 0 - OK 1 - tolerance reached by approximation > requested tolerance.
Constructors(1)
Empty constructor.
Instance methods(12)
- SetParameters(theAxis: gp_Ax3, theDiams: NCollection_Array1_double, thePitches: NCollection_Array1_double, theNbTurns: NCollection_Array1_double): void
Sets parameters of general composite helix.
Parameters (4)theAxistheDiamsthePitchestheNbTurns
- SetParameters(theAxis: gp_Ax3, theDiam: number, thePitches: NCollection_Array1_double, theNbTurns: NCollection_Array1_double): void
Sets parameters of pure helix.
Parameters (4)theAxistheDiamthePitchestheNbTurns
- SetParameters(theAxis: gp_Ax3, theDiams: NCollection_Array1_double, theHeights: NCollection_Array1_double, thePitches: NCollection_Array1_double, theIsPitches: NCollection_Array1_bool): void
Sets parameters of general composite helix.
Parameters (5)theAxistheDiamstheHeightsthePitchestheIsPitches
- SetParameters(theAxis: gp_Ax3, theDiam: number, theHeights: NCollection_Array1_double, thePitches: NCollection_Array1_double, theIsPitches: NCollection_Array1_bool): void
Sets parameters of pure helix.
Parameters (5)theAxistheDiamtheHeightsthePitchestheIsPitches
- SetParameters(theAxis: gp_Ax3, theDiam1: number, theDiam2: number, thePitches: NCollection_Array1_double, theNbTurns: NCollection_Array1_double): void
Sets parameters of pure spiral.
Parameters (5)theAxistheDiam1theDiam2thePitchestheNbTurns
- SetParameters(theAxis: gp_Ax3, theDiam1: number, theDiam2: number, theHeights: NCollection_Array1_double, thePitches: NCollection_Array1_double, theIsPitches: NCollection_Array1_bool): void
Sets parameters of pure spiral.
Parameters (6)theAxistheDiam1theDiam2theHeightsthePitchestheIsPitches
- SetApproxParameters(theTolerance: number, theMaxDegree: number, theContinuity: GeomAbs_Shape): void
Sets parameters for approximation.
Parameters (3)theTolerancetheMaxDegreetheContinuity
- Perform(): void
Performs calculations.
- ToleranceReached(): number
Gets tolerance reached by approximation.
- ErrorStatus(): number
Returns error status of algorithm.
- WarningStatus(): number
Returns warning status of algorithm.
Gets result of algorithm.