More typos, grammar fixes, uniformity

This commit is contained in:
luzpaz
2017-11-14 22:01:43 -05:00
parent 5f7576ca7f
commit 987b8db0b5
11 changed files with 19 additions and 19 deletions

View File

@@ -386,7 +386,7 @@ bool cutting_tools::arrangecuts_ZLEVEL()
z_level_corrected = z_level;
cut(z_level,temp_min, aCutShape,z_level_corrected);
if (z_level_corrected != z_level)
std::cout << "Somehow we couldnt cut" << std::endl;
std::cout << "Somehow we couldn't cut" << std::endl;
//Jetzt nur das gewünschte Resultat in den vector schieben (von oben nach unten große usw.)
Edgesort aCuttingShapeSorter(aCutShape);
tempPair.first = z_level_corrected;

View File

@@ -181,7 +181,7 @@ void Simplify::simplify_mesh(int target_count, double tolerance_factor, double a
deleted0.resize(v0.tcount); // normals temporarily
deleted1.resize(v1.tcount); // normals temporarily
// dont remove if flipped
// don't remove if flipped
if (flipped(p,i0,i1,v0,v1,deleted0))
continue;
if (flipped(p,i1,i0,v1,v0,deleted1))

View File

@@ -235,8 +235,8 @@ class Node:
obj.ViewObject.Transparency = transp
elif namel == 'multmatrix':
assert(len(self.children)>0)
m1l=[round(f,12) for f in sum(self.arguments,[])] #Thats the original matrix
m1=FreeCAD.Matrix(*tuple(m1l)) #Thats the original matrix
m1l=[round(f,12) for f in sum(self.arguments,[])] #That's the original matrix
m1=FreeCAD.Matrix(*tuple(m1l)) #That's the original matrix
if isspecialorthogonalpython(fcsubmatrix(m1)): #a Placement can represent the transformation
if len(self.children) == 1:
obj = self.children[0].addtofreecad(doc,fcpar or True)

View File

@@ -89,7 +89,7 @@ Pipe::Pipe()
ADD_PROPERTY_TYPE(AuxillerySpineTangent,(false),"Sweep",App::Prop_None,"Include tangent edges into secondary path");
ADD_PROPERTY_TYPE(AuxilleryCurvelinear, (true), "Sweep", App::Prop_None,"Calculate normal between equidistant points on both spines");
ADD_PROPERTY_TYPE(Mode,(long(0)),"Sweep",App::Prop_None,"Profile mode");
ADD_PROPERTY_TYPE(Binormal,(Base::Vector3d()),"Sweep",App::Prop_None,"Binormal vector for coresponding orientation mode");
ADD_PROPERTY_TYPE(Binormal,(Base::Vector3d()),"Sweep",App::Prop_None,"Binormal vector for corresponding orientation mode");
ADD_PROPERTY_TYPE(Transition,(long(0)),"Sweep",App::Prop_None,"Transition mode");
ADD_PROPERTY_TYPE(Transformation,(long(0)),"Sweep",App::Prop_None,"Section transformation mode");
Mode.setEnums(ModeEnums);

View File

@@ -129,7 +129,7 @@ namespace KDL
tmp(i) = weights(i)*(q_in(i) - opt_pos(i)) / A;
}
// Calcualte J^-1 * J * Jc^-1 = V*S^-1*U' * U*S*V' * tmp
// Calculate J^-1 * J * Jc^-1 = V*S^-1*U' * U*S*V' * tmp
tmp2 = V * Sinv.asDiagonal() * U.transpose() * U * S.asDiagonal() * V.transpose() * tmp;
for (i = 0; i < nj; ++i) {

View File

@@ -101,7 +101,7 @@ from KukaExporter import ExportCompactSub
ExportCompactSub(App.activeDocument().Robot,App.activeDocument().Trajectory,tempfile.gettempdir()+'/TestOut.src')
# and thats kind of how its done:
# and that's kind of how its done:
for w in App.activeDocument().Trajectory.Trajectory.Waypoints:
(A,B,C) = (w.Pos.Rotation.toEuler())
print("LIN {X %.3f,Y %.3f,Z %.3f,A %.3f,B %.3f,C %.3f} ; %s"%(w.Pos.Base.x,w.Pos.Base.y,w.Pos.Base.z,A,B,C,w.Name))

View File

@@ -3376,8 +3376,8 @@ TopoShape Sketch::toShape(void) const
result = *wires.begin();
else if (wires.size() > 1) {
// FIXME: The right way here would be to determine the outer and inner wires and
// generate a face with holes (inner wires have to be taged REVERSE or INNER).
// thats the only way to transport a somewhat more complex sketch...
// generate a face with holes (inner wires have to be tagged REVERSE or INNER).
// that's the only way to transport a somewhat more complex sketch...
//result = *wires.begin();
// I think a compound can be used as container because it is just a collection of

View File

@@ -41,7 +41,7 @@ CmdStartConstraintAxle::CmdStartConstraintAxle()
sAppModule = "Start";
sGroup = QT_TR_NOOP("Start");
sMenuText = QT_TR_NOOP("Constraint Axle...");
sToolTipText = QT_TR_NOOP("set a axle constraint between two objects");
sToolTipText = QT_TR_NOOP("Set an axle constraint between two objects");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "actions/document-new";