[skip ci] Fix typos
Found via `codespell`
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
/** @name Anti-Aliasing modes of the rendered 3D scene
|
||||
* Specifies Anti-Aliasing (AA) method
|
||||
* - Smoothing enables OpenGL line and vertex smoothing (basically depreciated)
|
||||
* - Smoothing enables OpenGL line and vertex smoothing (basically deprecated)
|
||||
* - MSAA is hardware multi sampling (with 2, 4 or 8 passes), a quite common and efficient AA technique
|
||||
*/
|
||||
//@{
|
||||
|
||||
@@ -1626,7 +1626,7 @@ def get_pressure_obj_faces(
|
||||
return pressure_faces
|
||||
|
||||
|
||||
# ***** depreciated method for retrieving pressure faces *****************************************
|
||||
# ***** deprecated method for retrieving pressure faces *****************************************
|
||||
# for constraint pressure and finite solid element mesh
|
||||
# it was switched to the method get_ccxelement_faces_from_binary_search
|
||||
# because of performance and the support of all solid elements
|
||||
|
||||
@@ -1160,7 +1160,7 @@ class FemInputWriterCcx(writerbase.FemInputWriter):
|
||||
f.write("*DLOAD\n")
|
||||
for ref_shape in femobj["PressureFaces"]:
|
||||
# the loop is needed for compatibility reason
|
||||
# in depreciated method get_pressure_obj_faces_depreciated
|
||||
# in deprecated method get_pressure_obj_faces_depreciated
|
||||
# the face ids where per ref_shape
|
||||
f.write("** " + ref_shape[0] + "\n")
|
||||
for face, fno in ref_shape[1]:
|
||||
|
||||
@@ -279,7 +279,7 @@ class FemInputWriter():
|
||||
# it applies here too. Mhh it applies to all constraints ...
|
||||
|
||||
"""
|
||||
# depreciated version
|
||||
# deprecated version
|
||||
# get the faces and face numbers
|
||||
for femobj in self.pressure_objects:
|
||||
# femobj --> dict, FreeCAD document object is femobj["Object"]
|
||||
@@ -308,9 +308,9 @@ class FemInputWriter():
|
||||
self.femelement_table,
|
||||
self.femnodes_ele_table, femobj
|
||||
)
|
||||
# the data model is for compatibility reason with depreciated version
|
||||
# the data model is for compatibility reason with deprecated version
|
||||
# get_pressure_obj_faces_depreciated returns the face ids in a tuple per ref_shape
|
||||
# some_string was the reference_shape_element_string in depreciated method
|
||||
# some_string was the reference_shape_element_string in deprecated method
|
||||
# [(some_string, [ele_id, ele_face_id], [ele_id, ele_face_id], ...])]
|
||||
some_string = "{}: face load".format(femobj["Object"].Name)
|
||||
femobj["PressureFaces"] = [(some_string, pressure_faces)]
|
||||
|
||||
@@ -235,7 +235,7 @@ public:
|
||||
*/
|
||||
std::vector<Base::Vector3f> GetLocalPoints() const;
|
||||
/**
|
||||
* Returns the local bounding box of the transformed points releative to the
|
||||
* Returns the local bounding box of the transformed points relative to the
|
||||
* coordinate system of the plane. If this method is called before the plane is
|
||||
* computed an invalid bounding box is returned.
|
||||
*/
|
||||
|
||||
@@ -76,7 +76,7 @@ public:
|
||||
void analyseMissingPointOnPointCoincident(double angleprecision = M_PI/8);
|
||||
/// Point on Point constraint simple routine Get step (see constructor)
|
||||
std::vector<ConstraintIds> &getMissingPointOnPointConstraints(void) {return vertexConstraints;};
|
||||
/// Vertical/Horinzontal constraints simple routine Set step (see constructor)
|
||||
/// Vertical/Horizontal constraints simple routine Set step (see constructor)
|
||||
void setMissingPointOnPointConstraints(std::vector<ConstraintIds>& cl) {vertexConstraints = cl;};
|
||||
/// Point on Point constraint simple routine Make step (see constructor)
|
||||
/// if onebyone, then the sketch is solved after each individual constraint addition and any redundancy removed.
|
||||
@@ -86,7 +86,7 @@ public:
|
||||
int detectMissingVerticalHorizontalConstraints(double angleprecision = M_PI/8);
|
||||
/// Vertical/Horizontal constraints simple routine Get step (see constructor)
|
||||
std::vector<ConstraintIds> &getMissingVerticalHorizontalConstraints(void) {return verthorizConstraints;};
|
||||
/// Vertical/Horinzontal constraints simple routine Set step (see constructor)
|
||||
/// Vertical/Horizontal constraints simple routine Set step (see constructor)
|
||||
void setMissingVerticalHorizontalConstraints(std::vector<ConstraintIds>& cl) {verthorizConstraints = cl;};
|
||||
/// Vertical/Horizontal constraints simple routine Make step (see constructor)
|
||||
void makeMissingVerticalHorizontal(bool onebyone = false);
|
||||
|
||||
@@ -203,7 +203,7 @@ bool ViewProviderPage::onDelete(const std::vector<std::string> &)
|
||||
|
||||
// check if there is just a template
|
||||
// if there are several objects, the template is never the last one
|
||||
// the ExportName of a template begines always with "Template"
|
||||
// the ExportName of a template always begins with "Template"
|
||||
bool isTemplate = false;
|
||||
for (auto objsIterator : objs) {
|
||||
if (objsIterator->getExportName().substr(0, 8).compare(std::string("Template")) == 0)
|
||||
|
||||
Reference in New Issue
Block a user