Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
This commit is contained in:
@@ -354,7 +354,7 @@ bool cutting_tools::arrangecuts_ZLEVEL()
|
||||
for (MOrderIt = m_MachiningOrder.begin();MOrderIt != m_MachiningOrder.end(); ++MOrderIt)
|
||||
{
|
||||
float temp_max = MOrderIt->first.z;
|
||||
//the check if MOrderIt+1 != end is performend at the bottom of the function
|
||||
//the check if MOrderIt+1 != end is performed at the bottom of the function
|
||||
float temp_min = (MOrderIt+1)->first.z;
|
||||
//set the direction flags
|
||||
if (temp_max> temp_min)
|
||||
@@ -828,7 +828,7 @@ TopoDS_Wire cutting_tools::ordercutShape(const TopoDS_Shape &aShape)
|
||||
//
|
||||
// // outfile << projectedPoint.X() <<","<<projectedPoint.Y()<<","<<projectedPoint.Z()<<std::endl;
|
||||
// //Jetzt die aktuelle Kurve als BSpline interpolieren
|
||||
// //check for intersections due to wrong offsetted points
|
||||
// //check for intersections due to wrong offset points
|
||||
// checkPointIntersection(finalPoints);
|
||||
// std::vector<gp_Pnt> finalPointscorrected;
|
||||
// finalPointscorrected.clear();
|
||||
@@ -2738,7 +2738,7 @@ std::vector<SpiralHelper> cutting_tools::OffsetSpiral(const std::vector<SpiralHe
|
||||
}
|
||||
else if ((i+1==SpiralPoints.size()) && (OffsetPoints.rbegin()->SurfacePoint.SquareDistance(OffsetPoint.SurfacePoint)<(Precision::Confusion()*Precision::Confusion())))
|
||||
{
|
||||
//This part is necessary as the last point of the current spiral would otherwise not be offsetted
|
||||
//This part is necessary as the last point of the current spiral would otherwise not be offset
|
||||
OffsetPoints.pop_back();//Delete the two currently last points
|
||||
OffsetPoints.pop_back();
|
||||
OffsetPoints.push_back(OffsetPoint);//Add the last point
|
||||
@@ -3643,4 +3643,3 @@ double cutting_tools::GetEdgeLength(const TopoDS_Edge& anEdge)
|
||||
double length = lProps.Mass();
|
||||
return length;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user