Misc. typos
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
This commit is contained in:
@@ -2537,7 +2537,7 @@ DocumentObject * Document::addObject(const char* sType, const char* pObjectName,
|
||||
pcObject->pcNameInDocument = &(d->objectMap.find(ObjectName)->first);
|
||||
// insert in the vector
|
||||
d->objectArray.push_back(pcObject);
|
||||
// insert in the adjacence list and referenc through the ConectionMap
|
||||
// insert in the adjacence list and reference through the ConectionMap
|
||||
//_DepConMap[pcObject] = add_vertex(_DepList);
|
||||
|
||||
// If we are restoring, don't set the Label object now; it will be restored later. This is to avoid potential duplicate
|
||||
|
||||
@@ -198,7 +198,7 @@ private:
|
||||
/** The property of an observed object has changed */
|
||||
virtual void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
|
||||
/** This method gets called when all observed objects are deleted or the whole document is deleted.
|
||||
* This method can be re-implemented to perform an extra step like closing a dialog tht observes
|
||||
* This method can be re-implemented to perform an extra step like closing a dialog that observes
|
||||
* a document.
|
||||
*/
|
||||
virtual void cancelObservation();
|
||||
|
||||
@@ -101,7 +101,7 @@ class PyObjectBase;
|
||||
/** Python Object handle class
|
||||
* Using pointers on classes derived from PyObjectBase would
|
||||
* be potentionaly dangerous because you would have to take
|
||||
* care of the referenc counting of python by your self. There
|
||||
* care of the reference counting of python by your self. There
|
||||
* fore this class was designd. It takes care of references and
|
||||
* as long as a object of this class exists the handled class get
|
||||
* not destructed. That means a PyObjectBase derived object you can
|
||||
@@ -135,7 +135,7 @@ public:
|
||||
}
|
||||
|
||||
/** destructor
|
||||
* Release the referenc count which cause,
|
||||
* Release the reference count which cause,
|
||||
* if was the last one, the referenced object to
|
||||
* destruct!
|
||||
*/
|
||||
|
||||
@@ -784,8 +784,8 @@ void PythonConsole::appendOutput(const QString& output, int state)
|
||||
void PythonConsole::runSource(const QString& line)
|
||||
{
|
||||
/**
|
||||
* Check if there's a "source drain", which want's to consume the source in another way then just executing it.
|
||||
* If so, put the source to the drain and emit a signal to notify the consumer, whoever this may be.
|
||||
* Check if there's a "source drain", which wants to consume the source in another way then just executing it.
|
||||
* If so, put the source to the drain and emit a signal to notify the consumer, whomever this may be.
|
||||
*/
|
||||
if (this->_sourceDrain)
|
||||
{
|
||||
|
||||
@@ -201,7 +201,7 @@ protected:
|
||||
void removeTaskWatcher(void);
|
||||
/// update the visibility of the TaskWatcher accordant to the selection
|
||||
void updateWatcher(void);
|
||||
/// used by Gui::Contol to register Dialogs
|
||||
/// used by Gui::Control to register Dialogs
|
||||
void showDialog(TaskDialog *dlg);
|
||||
// removes the running dialog after accept() or reject() from the TaskView
|
||||
void removeDialog(void);
|
||||
|
||||
@@ -52,7 +52,7 @@ View3DInventorRiftViewer::View3DInventorRiftViewer() : CoinRiftWidget()
|
||||
|
||||
|
||||
scale = new SoScale ;
|
||||
scale->scaleFactor.setValue(0.001f,0.001f,0.001f); // scale from mm to m as neede by the Rift
|
||||
scale->scaleFactor.setValue(0.001f,0.001f,0.001f); // scale from mm to m as needed by the Rift
|
||||
workplace->addChild(scale);
|
||||
|
||||
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Oculus");
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
namespace AssemblyGui {
|
||||
|
||||
//class for internal use to alllow access to protected functions of view provider part.
|
||||
//class for internal use to allow access to protected functions of view provider part.
|
||||
class AssemblyGuiExport ViewProviderConstraintInternal : public PartGui::ViewProviderPart {
|
||||
|
||||
PROPERTY_HEADER(AssemblyGui::ViewProviderConstraintInternal);
|
||||
|
||||
@@ -277,7 +277,7 @@ class DraftTool:
|
||||
self.commitList.append((name,func))
|
||||
|
||||
def getStrings(self,addrot=None):
|
||||
"returns a couple of useful strings fro building python commands"
|
||||
"returns a couple of useful strings for building python commands"
|
||||
|
||||
# current plane rotation
|
||||
p = plane.getRotation()
|
||||
|
||||
@@ -580,7 +580,7 @@ def SQRT(V):
|
||||
# ===================
|
||||
#15.24 Tan - arithmetic function
|
||||
#FUNCTION TAN ( V:NUMBER ) : REAL;
|
||||
#The tan function returns the tangent of of an angle.
|
||||
#The tan function returns the tangent of an angle.
|
||||
#Parameters : V is a number representing an angle expressed in radians.
|
||||
#Result : The tangent of the angle. If the angle is npi/2, where n is an odd integer, indeterminate
|
||||
#(?) is returned.
|
||||
|
||||
@@ -276,9 +276,9 @@ def findConnectedEdges(edgelist,eps=1e-6,debug=False):
|
||||
return retlist
|
||||
|
||||
def endpointdistance(edges):
|
||||
'''return the distance of of vertices in path (list of edges) as
|
||||
'''return the distance of vertices in path (list of edges) as
|
||||
maximum, minimum and distance between start and endpoint
|
||||
it expects the edges to be traversed forward from starting from Vertex 0'''
|
||||
it expects the edges to be traversed forward starting from Vertex 0'''
|
||||
numedges=len(edges)
|
||||
if numedges == 1 and len(edges[0].Vertexes) == 1:
|
||||
return 0.0,0.0,0.0
|
||||
@@ -292,9 +292,9 @@ def endpointdistance(edges):
|
||||
return 0.0,0.0,outerdistance
|
||||
|
||||
def endpointdistancedebuglist(debuglist):
|
||||
'''return the distance of of vertices in path (list of edges) as
|
||||
'''return the distance of vertices in path (list of edges) as
|
||||
maximum, minimum and distance between start and endpoint
|
||||
it it expects a 'not reversed' flag for every edge'''
|
||||
it expects a 'not reversed' flag for every edge'''
|
||||
numedges=len(debuglist)
|
||||
if numedges == 1 and len(debuglist[0][0].Vertexes) == 1:
|
||||
return 0.0,0.0,0.0
|
||||
|
||||
@@ -1302,7 +1302,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
|
||||
case mmFrenetTB:
|
||||
if (N.Magnitude() == 0.0)
|
||||
throw Base::ValueError("AttachEngine3D::calculateAttachedPlacement: Frenet-Serret normal is undefined. Can't align to TB plane.");
|
||||
SketchNormal = N.Reversed();//it is more convenient to sketch on something looking it it so it is convex.
|
||||
SketchNormal = N.Reversed();//it is more convenient to sketch on something looking at it so it is convex.
|
||||
SketchXAxis = T;
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -52,7 +52,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
/// Constructer
|
||||
/// Constructor
|
||||
TopoShapePyOld(PyTypeObject *T = &Type);
|
||||
TopoShapePyOld(const TopoDS_Shape &cShape, PyTypeObject *T = &TopoShapePyOld::Type);
|
||||
/// for Construction in python
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace PartGui
|
||||
*/
|
||||
bool getShapeFromStrings(TopoDS_Shape &shapeOut, const std::string &doc, const std::string &object, const std::string &sub);
|
||||
/*!examine pre selection
|
||||
* @param shape1 firt shape in current selection
|
||||
* @param shape1 first shape in current selection
|
||||
* @param shape2 second shape in current selection
|
||||
* @return signal if preselection is valid. false means shape1 and shape2 are invalid.
|
||||
*/
|
||||
@@ -349,7 +349,7 @@ private:
|
||||
/*!start of the measure angular command*/
|
||||
void goDimensionAngularRoot();
|
||||
/*!examine angular pre selection
|
||||
* @param vector1Out firt shape in current selection
|
||||
* @param vector1Out first shape in current selection
|
||||
* @param vector2Out second shape in current selection
|
||||
* @return signal if preselection is valid. false means vector1Out and vector2Out are invalid.
|
||||
*/
|
||||
|
||||
@@ -111,7 +111,7 @@ void ViewProviderBody::setDisplayMode(const char* ModeName) {
|
||||
|
||||
//if we show "Through" we must avoid to set the display mask modes, as this would result
|
||||
//in going into "tip" mode. When through is chosen the child features are displayed, and all
|
||||
//we need to ensure is that the display mode change is propagated to them fro within the
|
||||
//we need to ensure is that the display mode change is propagated to them from within the
|
||||
//onChanged() method.
|
||||
if(DisplayModeBody.getValue() == 1)
|
||||
PartGui::ViewProviderPartExt::setDisplayMode(ModeName);
|
||||
|
||||
@@ -108,7 +108,7 @@ void RobotAlgos::Test(void)
|
||||
kinematics_status = fksolver.JntToCart(jointpositions,cartpos);
|
||||
if(kinematics_status>=0){
|
||||
std::cout << cartpos <<std::endl;
|
||||
printf("%s \n","Succes, thanks KDL!");
|
||||
printf("%s \n","Success, thanks KDL!");
|
||||
}else{
|
||||
printf("%s \n","Error: could not calculate forward kinematics :(");
|
||||
}
|
||||
|
||||
@@ -324,7 +324,7 @@ backend : TkAgg
|
||||
#legend.columnspacing : 2. # the border between the axes and legend edge in fraction of fontsize
|
||||
#legend.shadow : False
|
||||
#legend.frameon : True # whether or not to draw a frame around legend
|
||||
#legend.framealpha : None # opacity of of legend frame
|
||||
#legend.framealpha : None # opacity of legend frame
|
||||
#legend.scatterpoints : 3 # number of scatter points
|
||||
|
||||
### FIGURE
|
||||
|
||||
Reference in New Issue
Block a user