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.
|
||||
|
||||
Reference in New Issue
Block a user