Part: typos
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
<UserDocu>
|
||||
setBiNormalMode(direction)
|
||||
Sets a fixed BiNormal direction to perform the sweeping.
|
||||
Angular relations beetween the section(s) and the BiNormal direction will be constant.
|
||||
Angular relations between the section(s) and the BiNormal direction will be constant.
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
|
||||
@@ -148,7 +148,7 @@ void CrossSection::connectEdges (const std::list<TopoDS_Edge>& edges, std::list<
|
||||
|
||||
TopoDS_Wire new_wire = mkWire.Wire(); // current new wire
|
||||
|
||||
// try to connect each edge to the wire, the wire is complete if no more egdes are connectible
|
||||
// try to connect each edge to the wire, the wire is complete if no more edges are connectible
|
||||
bool found = false;
|
||||
do {
|
||||
found = false;
|
||||
|
||||
@@ -229,7 +229,7 @@ Base::Vector3d Extrusion::calculateShapeNormal(const App::PropertyLink& shapeLin
|
||||
gp_Dir normal = surf.Plane().Axis().Direction();
|
||||
|
||||
//now se know the plane. But if there are faces, the
|
||||
//plane normal direction is not dependent on face orientation (because findPlane only uses egdes).
|
||||
//plane normal direction is not dependent on face orientation (because findPlane only uses edges).
|
||||
//let's fix that.
|
||||
TopExp_Explorer ex(sh, TopAbs_FACE);
|
||||
if(ex.More()) {
|
||||
|
||||
@@ -144,7 +144,7 @@ void Primitive::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);
|
||||
|
||||
@@ -490,7 +490,7 @@ Orientation is not taken into account.</UserDocu>
|
||||
</Methode>
|
||||
<Methode Name="tessellate" Const="true">
|
||||
<Documentation>
|
||||
<UserDocu>Tessellate the the shape and return a list of vertices and face indices</UserDocu>
|
||||
<UserDocu>Tessellate the shape and return a list of vertices and face indices</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="project" Const="true">
|
||||
|
||||
@@ -43,7 +43,7 @@ def editAttachment(feature = None,
|
||||
selection.
|
||||
take_selection: if True, current selection is filled into first references (but only
|
||||
if object to be attached doesn't have any references already)
|
||||
create_transaction = if False, no undo transation operations will be done by the
|
||||
create_transaction = if False, no undo transaction operations will be done by the
|
||||
dialog (consequently, canceling the dialog will not reset the feature to original
|
||||
state).
|
||||
callback_OK: function to be called upon OK. Invoked after writing values to feature,
|
||||
|
||||
@@ -61,7 +61,7 @@ def getParamRefine():
|
||||
return FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Part/Boolean").GetBool("RefineModel")
|
||||
|
||||
def cmdCreateJoinFeature(name, mode):
|
||||
"cmdCreateJoinFeature(name, mode): generalized implementaion of GUI commands."
|
||||
"cmdCreateJoinFeature(name, mode): generalized implementation of GUI commands."
|
||||
sel = FreeCADGui.Selection.getSelectionEx()
|
||||
FreeCAD.ActiveDocument.openTransaction("Create "+mode)
|
||||
FreeCADGui.addModule("BOPTools.JoinFeatures")
|
||||
|
||||
@@ -74,7 +74,7 @@ private:
|
||||
SbColor selectionColor;
|
||||
SbColor highlightColor;
|
||||
//#0000834: Minor preselection color bug
|
||||
//To solve this we need a seprate color packer for highlighting and selection
|
||||
//To solve this we need a separate color packer for highlighting and selection
|
||||
SoColorPacker colorpacker1;
|
||||
SoColorPacker colorpacker2;
|
||||
};
|
||||
|
||||
@@ -280,7 +280,7 @@ void ViewProvider2DObject::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);
|
||||
|
||||
@@ -468,7 +468,7 @@ void ViewProviderPartExt::attach(App::DocumentObject *pcFeat)
|
||||
pShapeHints->vertexOrdering = SoShapeHints::COUNTERCLOCKWISE;
|
||||
pShapeHints->shapeType = SoShapeHints::UNKNOWN_SHAPE_TYPE;
|
||||
|
||||
// Avoid any Z-buffer artefacts, so that the lines always appear on top of the faces
|
||||
// Avoid any Z-buffer artifacts, so that the lines always appear on top of the faces
|
||||
// The correct order is Edges, Polygon offset, Faces.
|
||||
SoPolygonOffset* offset = new SoPolygonOffset();
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
virtual std::string getElement(const SoDetail*) const;
|
||||
virtual SoDetail* getDetail(const char*) const;
|
||||
virtual std::vector<Base::Vector3d> getModelPoints(const SoPickedPoint *) const;
|
||||
/// return the higlight lines for a given element or the whole shape
|
||||
/// return the highlight lines for a given element or the whole shape
|
||||
virtual std::vector<Base::Vector3d> getSelectionShape(const char* Element) const;
|
||||
//@}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user