Fix typos

This commit is contained in:
luzpaz
2023-12-22 13:35:23 +00:00
parent d783f2fce4
commit 9c8a3f27f9
6 changed files with 7 additions and 7 deletions

View File

@@ -1240,7 +1240,7 @@ def get_ref_facenodes_table(
# try to use getccxVolumesByFace() to get the volume ids
# of element with elementfaces on the ref_face
# --> should work for tetra4 and tetra10
# list of tupels (mv, ccx_face_nr)
# list of tuples (mv, ccx_face_nr)
ref_face_volume_elements = femmesh.getccxVolumesByFace(ref_face)
if ref_face_volume_elements: # mesh with tetras
FreeCAD.Console.PrintLog(

View File

@@ -2503,7 +2503,7 @@ void CDxfRead::OnReadArc(double start_angle,
void CDxfRead::OnReadCircle(const double* center, double radius, bool hidden)
{
// OnReadCircle wants a start point, so we pick an arbitrary point on the circunference
// OnReadCircle wants a start point, so we pick an arbitrary point on the circumference
double s[3] = {center[0] + radius, center[1], center[2]};
OnReadCircle(s,

View File

@@ -226,11 +226,11 @@ class TempoVis(object):
# <stack interface>
def _inserted(self, stack, index):
"""calles when this tv is inserted into a stack"""
"""called when this tv is inserted into a stack"""
self.stack = stack
def _withdrawn(self, stack, index):
"""calles when this tv is withdrawn from a stack"""
"""called when this tv is withdrawn from a stack"""
self.stack = None
@property

View File

@@ -146,7 +146,7 @@ void DlgPrefsTechDrawAnnotationImp::loadSettings()
if (ui->pcbLineStandard->count() > Preferences::lineStandard()) {
ui->pcbLineStandard->setCurrentIndex(Preferences::lineStandard());
}
// we have to connect the slot after the inital load or the current standard will
// we have to connect the slot after the initial load or the current standard will
// be set to index 0 when the widget is created
connect(ui->pcbLineStandard, qOverload<int>(&QComboBox::currentIndexChanged),
this, &DlgPrefsTechDrawAnnotationImp::onLineStandardChanged);

View File

@@ -16,7 +16,7 @@
version="1.1"
id="svg8"
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
sodipodi:docname="creates_cosmetic_circunference.svg">
sodipodi:docname="creates_cosmetic_circumference.svg">
<defs
id="defs2">
<linearGradient

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -128,7 +128,7 @@ def getSelEdges(nEdge=1, nSel=0):
def getCoordinateVectors(view):
'''
(px,py,pz) = getCoordinateVectors(view)
view ... selcted view
view ... selected view
(px,py,pz) ... returned tuple of vectors (App.Vector)
calculate projected vectors of x-, y- and z-axis
'''