Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
This commit is contained in:
@@ -404,7 +404,7 @@ bool PartGui::DlgProjectionOnSurface::store_part_in_vector(SShapeStore& iCurrent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (currentType == TopAbs_FACE)
|
||||
{
|
||||
iCurrentShape.aFace = TopoDS::Face(iCurrentShape.inputShape);
|
||||
@@ -590,7 +590,7 @@ void PartGui::DlgProjectionOnSurface::higlight_object(Part::Feature* iCurrentObj
|
||||
|
||||
TopoDS_Shape currentShape = subShape;
|
||||
if (subShape.IsNull()) currentShape = partenShape;
|
||||
|
||||
|
||||
auto currentShapeType = currentShape.ShapeType();
|
||||
TopTools_IndexedMapOfShape anIndices;
|
||||
TopExp::MapShapes(partenShape, currentShapeType, anIndices);
|
||||
@@ -668,7 +668,7 @@ void PartGui::DlgProjectionOnSurface::create_projection_face_from_wire(std::vect
|
||||
auto surface = BRep_Tool::Surface(itCurrentShape.surfaceToProject);
|
||||
|
||||
//create a wire of all edges in parametric space on the surface of the face to projected
|
||||
// --> othwerwise BRepBuilderAPI_MakeFace can not make a face from the wire!
|
||||
// --> otherwise BRepBuilderAPI_MakeFace can not make a face from the wire!
|
||||
for (auto itWireVec : itCurrentShape.aProjectedWireVec)
|
||||
{
|
||||
std::vector<TopoDS_Shape> edgeVec;
|
||||
@@ -764,7 +764,7 @@ TopoDS_Wire PartGui::DlgProjectionOnSurface::sort_and_heal_wire(const std::vecto
|
||||
Handle(TopTools_HSequenceOfShape) shapeList = new TopTools_HSequenceOfShape;
|
||||
Handle(TopTools_HSequenceOfShape) aWireHandle;
|
||||
Handle(TopTools_HSequenceOfShape) aWireWireHandle;
|
||||
|
||||
|
||||
for (auto it : iEdgeVec)
|
||||
{
|
||||
shapeList->Append(it);
|
||||
@@ -826,7 +826,7 @@ void PartGui::DlgProjectionOnSurface::store_wire_in_vector(const SShapeStore& iC
|
||||
if (iCurrentShape.inputShape.IsNull()) return;
|
||||
auto currentType = iCurrentShape.inputShape.ShapeType();
|
||||
if (currentType != TopAbs_EDGE) return;
|
||||
|
||||
|
||||
std::vector<TopoDS_Wire> aWireVec;
|
||||
for (TopExp_Explorer aExplorer(iParentShape, TopAbs_WIRE); aExplorer.More(); aExplorer.Next())
|
||||
{
|
||||
@@ -1045,5 +1045,3 @@ void TaskProjectionOnSurface::clicked(int id)
|
||||
}
|
||||
|
||||
#include "moc_DlgProjectionOnSurface.cpp"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user