Fix typos

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*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`
This commit is contained in:
luz.paz
2019-07-15 20:10:52 -04:00
committed by Yorik van Havre
parent a2fa902feb
commit ff1a7fd0a8
5 changed files with 8 additions and 8 deletions

View File

@@ -1181,7 +1181,7 @@ def offsetWire(wire,dvec,bind=False,occ=False,widthList=None):
If widthList is provided (values only, not lengths - i.e. no unit),
each value will be used to offset each corresponding edge in the wire
(The 1st value override 'dvec' for 1st segement of wire;
(The 1st value override 'dvec' for 1st segment of wire;
if a value is zero, value of 'widthList[0]' will follow;
if widthList[0]' == 0, but dvec still provided, dvec will be followed)
'''
@@ -1295,7 +1295,7 @@ def connect(edges,closed=False):
#print("debug: DraftGeomUtils.connect prev : ",prev.Vertexes[0].Point,prev.Vertexes[-1].Point)
# If the edge pairs has intersection
# ... and if there is prev v2 (prev v2 was caculated intersection), do not calculate again, just use it as current v1 - avoid chance of slight difference in result
# ... and if there is prev v2 (prev v2 was calculated intersection), do not calculate again, just use it as current v1 - avoid chance of slight difference in result
# Otherwise, if edge pairs has no intersection (parallel edges, line - arc do no intersect, etc.), so just just current edge endpoints as v1
# ... and connect these 2 non-intersecting edges

View File

@@ -63,7 +63,7 @@ namespace Part {
//
// Warnings:
// - The default constructor relies on the default constructor of T for initialisation. Built-in types
// so constructed will be uninitialised. Use the specific constructor from a T to initiliase it. Note
// so constructed will be uninitialised. Use the specific constructor from a T to initialise it. Note
// that the default constructor is required by the type system (see TYPESYSTEM_SOURCE_TEMPLATE_T).
//
// Default assumptions:
@@ -79,7 +79,7 @@ namespace Part {
//
// Instructions:
//
// 1. Read the assumptions above and provide template initilisation if needed.
// 1. Read the assumptions above and provide template initialisation if needed.
// 2. Add an alias to your type under these comments
// 3. Add a TYPESYSTEM_SOURCE_TEMPLATE_T in the cpp file to generate class type information
// 4. Provide a specialisation of getPyObject to generate a py object of the corresponding type (cpp file)

View File

@@ -269,7 +269,7 @@ PyObject* GeometryPy::getExtensionOfType(PyObject *args)
try {
std::shared_ptr<GeometryExtension> ext(this->getGeometryPtr()->getExtension(type));
// we create a copy and tranfer this copy's memory management responsibility to Python
// we create a copy and transfer this copy's memory management responsibility to Python
PyObject* cpy = static_cast<GeometryExtensionPy *>(ext->getPyObject())->copy(Py::new_reference_to(Py::Tuple(size_t(0))));
return cpy;
@@ -303,7 +303,7 @@ PyObject* GeometryPy::getExtensionOfName(PyObject *args)
try {
std::shared_ptr<GeometryExtension> ext(this->getGeometryPtr()->getExtension(std::string(o)));
// we create a copy and tranfer this copy's memory management responsibility to Python
// we create a copy and trasnfer this copy's memory management responsibility to Python
PyObject* cpy = static_cast<GeometryExtensionPy *>(ext->getPyObject())->copy(Py::new_reference_to(Py::Tuple(size_t(0))));
return cpy;

View File

@@ -39,7 +39,7 @@ public:
Frozen = 1, // freeze an external geometry
Detached = 2, // signal the intentions of detaching the geometry from external reference
Missing = 3, // geometry with missing external reference
Sync = 4, // signal the intension to synchronize a frozen geometry
Sync = 4, // signal the intention to synchronize a frozen geometry
NumFlags // Must be the last type
};
// END_CREDIT_BLOCK: Credit under LGPL for this block to Zheng, Lei (realthunder) <realthunder.dev@gmail.com>

View File

@@ -134,7 +134,7 @@ TaskCenterLine::TaskCenterLine(TechDraw::DrawViewPart* partFeat,
} else if (geomType == "Vertex") {
m_type = 2;
} else {
Base::Console().Error("TaskCenterLine - unknow geometry type: %s. Can not proceed.\n", geomType.c_str());
Base::Console().Error("TaskCenterLine - unknown geometry type: %s. Can not proceed.\n", geomType.c_str());
return;
}
setUiPrimary();