Misc. typos

- Tooltip uniformity 
- source comment typo fixes
- remove double whitespaces
This commit is contained in:
luzpaz
2017-11-22 10:12:46 -05:00
committed by Yorik van Havre
parent 794a39684a
commit a225b13bef
22 changed files with 44 additions and 44 deletions

View File

@@ -39,7 +39,7 @@ extern "C"
{
void CamExport initCam()
{
// load dependend module
// load dependent module
try {
Base::Interpreter().loadModule("Part");
Base::Interpreter().loadModule("Mesh");

View File

@@ -120,13 +120,13 @@ public:
Standard_EXPORT BRepAdaptor_CompCurve2(const TopoDS_Wire& W,const Standard_Boolean KnotByCurvilinearAbcissa = Standard_False);
//! Creates a Curve to access to the geometry of edge \p W.
//! Creates a Curve to access to the geometry of edge \p W.
Standard_EXPORT BRepAdaptor_CompCurve2(const TopoDS_Wire& W,const Standard_Boolean KnotByCurvilinearAbcissa,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol);
//! Sets the wire \p W.
//! Sets the wire \p W.
Standard_EXPORT void Initialize(const TopoDS_Wire& W,const Standard_Boolean KnotByCurvilinearAbcissa) ;
//! Sets wire \p W and trimmed parameter.
//! Sets wire \p W and trimmed parameter.
Standard_EXPORT void Initialize(const TopoDS_Wire& W,const Standard_Boolean KnotByCurvilinearAbcissa,const Standard_Real First,const Standard_Real Last,const Standard_Real Tol) ;
//! Set the flag Periodic. <br>
@@ -155,7 +155,7 @@ public:
//! Stores in \<T\> the parameters bounding the intervals of continuity \<S\>. <br>
//! The array must provide enough room to accommodate for the parameters.
//! The array must provide enough room to accommodate for the parameters.
//! i.e. T.Length() > NbIntervals()
Standard_EXPORT void Intervals(TColStd_Array1OfReal& T,const GeomAbs_Shape S) ;

View File

@@ -2198,7 +2198,7 @@ bool cutting_tools::OffsetWires_Spiral()
}
}
//now we know where to start at our PointCloud, its the index t
//now we know where to start at our PointCloud, it's the index t
//Calculate the Slave Toolpath for the current flat area
if (!slave_done)//if we did not calculate the slave toolpath for the current flat area
@@ -2256,7 +2256,7 @@ bool cutting_tools::OffsetWires_Spiral()
//direction_vector.SetZ(0.0);
direction_vector.Normalize();
direction_vector.Multiply(1.0); //Zum testen bauen wir keinen Offset ein
//switch the Spiral-direction if the clockwise flag is checked and the
//switch the Spiral-direction if the clockwise flag is checked and the
//angle between the last and current round is more then 90°
double angle = direction_vector.Angle(last_direction_vector);
if (m_UserSettings.clockwise && angle<(D_PI*0.5))
@@ -2374,7 +2374,7 @@ bool cutting_tools::OffsetWires_Spiral()
continue;
}
//We switch to the end and skip the last point
//as its the same as the point at j=0;
//as it's the same as the point at j=0;
j=j-2;//As the for puts +1 for each step
}
}
@@ -2514,7 +2514,7 @@ bool cutting_tools::OffsetWires_Spiral()
}
}
//now we know where to start at our PointCloud, its the index t
//now we know where to start at our PointCloud, it's the index t
//Calculate the Slave Toolpath for the current flat area
if (!slave_done)//if we did not calculate the slave toolpath for the current flat area
@@ -2559,7 +2559,7 @@ bool cutting_tools::OffsetWires_Spiral()
//direction_vector.SetZ(0.0);
direction_vector.Normalize();
direction_vector.Multiply(10.0);
//switch the Spiral-direction if the clockwise flag is checked and the
//switch the Spiral-direction if the clockwise flag is checked and the
//angle between the last and current round is more then 90°
double angle = direction_vector.Angle(last_direction_vector);
@@ -2677,7 +2677,7 @@ bool cutting_tools::OffsetWires_Spiral()
continue;
}
//We switch to the end and skip the last point
//as its the same as the point at j=0;
//as it's the same as the point at j=0;
j=j-2;//As the for puts +1 for each step
}
}

View File

@@ -55,7 +55,7 @@ extern "C"
return;
}
// load dependend module
// load dependent module
try {
Base::Interpreter().loadModule("Cam");
}