PartDesign: typos
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
||||
/**
|
||||
* Base feature and it's subelements to which dressup operation will be applied to.
|
||||
* Unlike Feature::BaseFeature it includes Sublinks and set not only inside a body.
|
||||
* But for consistancy if BaseFeature is nonzero this links to the same body as it.
|
||||
* But for consistency if BaseFeature is nonzero this links to the same body as it.
|
||||
*/
|
||||
App::PropertyLinkSub Base;
|
||||
|
||||
|
||||
@@ -53,8 +53,8 @@ public:
|
||||
/** Create transformations
|
||||
* Returns a list containing one transformation since the first, untransformed instance
|
||||
* is not counted. The transformation will mirror the shape it is applied to on a plane
|
||||
* If MirrorPlane contains a feature and an face name, then the mirror plane will be
|
||||
* the the given face, which must be planar
|
||||
* If MirrorPlane contains a feature and a face name, then the mirror plane will be
|
||||
* the given face, which must be planar
|
||||
*/
|
||||
const std::list<gp_Trsf> getTransformations(const std::vector<App::DocumentObject*>);
|
||||
};
|
||||
|
||||
@@ -61,8 +61,8 @@ public:
|
||||
* exception is Angle = 360 degrees in which case the transformation angle will be
|
||||
* (Angle / Occurrences) so that the last transformed shape is not identical with the original shape
|
||||
* If Axis contains a feature and an edge name, then the transformation axis will be
|
||||
* the the given edge, which must be linear
|
||||
* If Reversed is true, the direction of rotation will be opposite
|
||||
* the given edge, which must be linear.
|
||||
* If Reversed is true, the direction of rotation will be opposite.
|
||||
*/
|
||||
const std::list<gp_Trsf> getTransformations(const std::vector<App::DocumentObject*>);
|
||||
};
|
||||
|
||||
@@ -150,7 +150,7 @@ void Transformed::Restore(Base::XMLReader &reader)
|
||||
Base::Type inputType = Base::Type::fromName(TypeName);
|
||||
if (prop->getTypeId().isDerivedFrom(App::PropertyFloat::getClassTypeId()) &&
|
||||
inputType.isDerivedFrom(App::PropertyFloat::getClassTypeId())) {
|
||||
// Do not directly call the property's Restore method in case the implmentation
|
||||
// Do not directly call the property's Restore method in case the implementation
|
||||
// has changed. So, create a temporary PropertyFloat object and assign the value.
|
||||
App::PropertyFloat floatProp;
|
||||
floatProp.Restore(reader);
|
||||
@@ -288,7 +288,7 @@ App::DocumentObjectExecReturn *Transformed::execute(void)
|
||||
// above you need:
|
||||
// 1. The original support
|
||||
// 2. Any extra support gained by any previous transformation of any previous feature (multi-feature transform)
|
||||
// 3. Any extra support gained by any previous tranformation of this feature (feature multi-trasform)
|
||||
// 3. Any extra support gained by any previous transformation of this feature (feature multi-trasform)
|
||||
//
|
||||
// Therefore, if the transformation succeeded, then we fuse it with the support now, before checking the intersection
|
||||
// of the next transformation.
|
||||
|
||||
@@ -340,7 +340,7 @@ App::DocumentObject* TaskFeaturePick::makeCopy(App::DocumentObject* obj, std::st
|
||||
cprop->Paste(*prop);
|
||||
|
||||
//we are a independent copy, therefore no external geometry was copied. WE therefore can delete all
|
||||
//contraints
|
||||
//constraints
|
||||
if(obj->isDerivedFrom(Sketcher::SketchObject::getClassTypeId()))
|
||||
static_cast<Sketcher::SketchObject*>(copy)->delConstraintsToExternal();
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ void fixSketchSupport (Sketcher::SketchObject* sketch)
|
||||
const App::Document* doc = sketch->getDocument();
|
||||
PartDesign::Body *body = getBodyFor(sketch, /*messageIfNot*/ 0);
|
||||
if (!body) {
|
||||
throw Base::Exception ("Coudn't find body for the sketch");
|
||||
throw Base::Exception ("Couldn't find body for the sketch");
|
||||
}
|
||||
|
||||
// Get the Origin for the body
|
||||
@@ -322,7 +322,7 @@ void relinkToBody (PartDesign::Feature *feature) {
|
||||
PartDesign::Body *body = PartDesign::Body::findBodyOf ( feature );
|
||||
|
||||
if (!body) {
|
||||
throw Base::Exception ("Coudn't find body for the feature");
|
||||
throw Base::Exception ("Couldn't find body for the feature");
|
||||
}
|
||||
|
||||
std::string bodyName = body->getNameInDocument ();
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
//viewprovider properties.
|
||||
void setBodyMode(bool bodymode);
|
||||
|
||||
//makes this viewprovider visible in the scene graph without chaning any properties,
|
||||
//makes this viewprovider visible in the scene graph without changing any properties,
|
||||
//not the visibility one and also not the display mode. This can be used to show the
|
||||
//shape of this viewprovider from other viewproviders without doing anything to the
|
||||
//document and properties.
|
||||
|
||||
@@ -412,7 +412,7 @@ void ViewProviderBody::setVisualBodyMode(bool bodymode) {
|
||||
|
||||
std::vector< std::string > ViewProviderBody::getDisplayModes(void) const {
|
||||
|
||||
//we get all dislay modes and remove the "Group" mode, as this is what we use for "Through"
|
||||
//we get all display modes and remove the "Group" mode, as this is what we use for "Through"
|
||||
//body display mode
|
||||
std::vector< std::string > modes = ViewProviderPart::getDisplayModes();
|
||||
modes.erase(modes.begin());
|
||||
|
||||
@@ -95,7 +95,7 @@ def compute():
|
||||
y=db/2*(math.sin(math.radians(t))-math.radians(t)*math.cos(math.radians(t)))
|
||||
involute.append(Part.Vertex(x,y,0).Point)
|
||||
|
||||
#************ Drawing rigth sides of teeth
|
||||
#************ Drawing right sides of teeth
|
||||
involutesav.extend(involute)
|
||||
involutee.extend(involute)
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ class Shaft:
|
||||
wstr = ["", "wy", "wz"] # Translations
|
||||
sigmaNstr = ["sigmax","sigmay","sigmaz"] # Normal/shear stresses
|
||||
sigmaBstr = ["taut","sigmabz", "sigmaby"] # Torsion/bending stresses
|
||||
# For diagram labelling
|
||||
# For diagram labeling
|
||||
Qstrings = (("Normal force [x]", "x", "mm", "N_x", "N"),
|
||||
("Shear force [y]", "x", "mm", "Q_y", "N"),
|
||||
("Shear force [z]", "x", "mm", "Q_z", "N"))
|
||||
|
||||
Reference in New Issue
Block a user