Weekly misc. typo fixes

This commit is contained in:
luz.paz
2018-03-05 09:25:42 -05:00
parent 6d54cc57b1
commit bb9d49dd18
6 changed files with 6 additions and 6 deletions

View File

@@ -1117,7 +1117,7 @@ class svgHandler(xml.sax.ContentHandler):
cx = argsplit[1]
cy = argsplit[2]
m.move(Vector(cx,-cy,0))
m.rotateZ(math.radians(-angle)) #mirroring one axis equals changing the direction of rotaion
m.rotateZ(math.radians(-angle)) #mirroring one axis equals changing the direction of rotation
if len(argsplit) >= 3:
m.move(Vector(-cx,cy,0))
elif transformation == 'skewX':

View File

@@ -240,7 +240,7 @@ bool MeshTrimming::GetIntersectionPointsOfPolygonAndFacet(unsigned long ulIndex,
float fP3P4 = (float)(P4-P3).Length();
float fSP3 = (float)(P3-S).Length();
float fSP4 = (float)(P4-S).Length();
// compute propotion of length
// compute proportion of length
float l = fSP1 / fP1P2;
float m = fSP2 / fP1P2;

View File

@@ -201,7 +201,7 @@ void ViewProviderMeshTransformDemolding::valueChangedCallback(void)
rot, // rotation from the dragger
SbVec3f(1,1,1), // no scaling
SbRotation() , // no scaling oriantation
SbVec3f(center.x,center.y,center.z)); // center of rotaion
SbVec3f(center.x,center.y,center.z)); // center of rotation
pcTransformDrag->setMatrix( temp );
}

View File

@@ -369,7 +369,7 @@ void PovTools::transferToArray(const TopoDS_Face& aFace,gp_Vec** vertices,gp_Vec
//BRepMesh_IncrementalMesh MESH(aFace,fDeflection);
Handle(Poly_Triangulation) aPoly = BRep_Tool::Triangulation(aFace,aLoc);
if (aPoly.IsNull()) {
Base::Console().Log("Empty face trianglutaion\n");
Base::Console().Log("Empty face triangulation\n");
nbNodesInFace =0;
nbTriInFace = 0;
vertices = 0l;