Misc. typos
This commit is contained in:
@@ -1417,7 +1417,7 @@ void Application::initConfig(int argc, char ** argv)
|
||||
// init python
|
||||
mConfig["PythonSearchPath"] = Interpreter().init(argc,argv);
|
||||
|
||||
// Parse the options which have impact to the init process
|
||||
// Parse the options that have impact on the init process
|
||||
ParseOptions(argc,argv);
|
||||
|
||||
// Init console ===========================================================
|
||||
|
||||
@@ -261,7 +261,7 @@ void Rotation::setValue(const Vector3d & rotateFrom, const Vector3d & rotateTo)
|
||||
Vector3d u(rotateFrom); u.Normalize();
|
||||
Vector3d v(rotateTo); v.Normalize();
|
||||
|
||||
// The vector from x to is the roatation axis because it's the normal of the plane defined by (0,u,v)
|
||||
// The vector from x to is the rotation axis because it's the normal of the plane defined by (0,u,v)
|
||||
const double dot = u * v;
|
||||
Vector3d w = u % v;
|
||||
const double wlen = w.Length();
|
||||
|
||||
@@ -66,7 +66,7 @@ void StdCmdPart::activated(int iMsg)
|
||||
std::string PartName;
|
||||
PartName = getUniqueObjectName("Part");
|
||||
doCommand(Doc,"App.activeDocument().Tip = App.activeDocument().addObject('App::Part','%s')",PartName.c_str());
|
||||
// TODO We really must to set label ourselfs? (2015-08-17, Fat-Zer)
|
||||
// TODO We really must set label ourselves? (2015-08-17, Fat-Zer)
|
||||
doCommand(Doc,"App.activeDocument().%s.Label = '%s'", PartName.c_str(),
|
||||
QObject::tr(PartName.c_str()).toUtf8().data());
|
||||
doCommand(Gui::Command::Gui, "Gui.activeView().setActiveObject('%s', App.activeDocument().%s)",
|
||||
|
||||
@@ -1853,7 +1853,7 @@ Base::BoundBox3f cutting_tools::getWireBBox(TopoDS_Wire aWire)
|
||||
|
||||
TopoDS_Shape cutting_tools::getProperCut(TopoDS_Shape& aShape)
|
||||
{
|
||||
//A cutting Shape is coming as aShape
|
||||
//A cutting Shape is aShape
|
||||
//check direction to decide which Topology to hold and which to delete
|
||||
if (m_direction)//From top to bottom
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user