More misc. typos
This commit is contained in:
@@ -750,7 +750,7 @@ Version: V0.1B78 Date: Sun Nov 23 13:15:15 2003 +++++++++++++++++++++++++++++++
|
||||
|
||||
Version: V0.1B77 Date: Fri Nov 14 14:56:14 2003 +++++++++++++++++++++++++++++++
|
||||
* Finished Setup stuff
|
||||
* Removed all relativ paths
|
||||
* Removed all relative paths
|
||||
* config HomePath is now not in bin anymore
|
||||
* all config files one dir up
|
||||
* FC runs now from every directory
|
||||
@@ -1012,7 +1012,7 @@ Version: V0.1B26 Date: Tue Jan 21 05:59:01 2003 +++++++++++++++++++++++++++++++
|
||||
|
||||
Version: V0.1B25 Date: Sun Jan 19 18:20:51 2003 +++++++++++++++++++++++++++++++
|
||||
* Big Linux port patch from Vaclav
|
||||
- some fixes on implicite type conversion (Vaclav)
|
||||
- some fixes on implicit type conversion (Vaclav)
|
||||
- moving all .cxx to .cpp mainly in gui
|
||||
- moving DlgCusomizeImpl to Imp
|
||||
- and InitGui to GuiInit
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace App {
|
||||
* multiple inheritance. If added from python it is a runtime extension and not visible from type.
|
||||
* Hence querying existing extensions of an object and accessing its methods works not by type
|
||||
* casting but by the interface provided in ExtensionContainer. The default workflow is to query if
|
||||
* an extension exists and then get the extension obejct. No matter if added from python or c++ this
|
||||
* an extension exists and then get the extension object. No matter if added from python or c++ this
|
||||
* interface works always the same.
|
||||
* @code
|
||||
* if (object->hasExtension(GroupExtension::getClassTypeId())) {
|
||||
|
||||
@@ -342,7 +342,7 @@ private:
|
||||
Base::Placement _cPos;
|
||||
};
|
||||
|
||||
/** the general Link Poperty
|
||||
/** the general Link Property
|
||||
* Main Purpose of this property is to Link Objects and Features in a document.
|
||||
*/
|
||||
class AppExport PropertyPlacementLink : public PropertyLink
|
||||
|
||||
@@ -242,7 +242,7 @@ public:
|
||||
PropertyLinkListGlobal() {_pcScope = LinkScope::Global;};
|
||||
};
|
||||
|
||||
/** the Link Poperty with sub elements
|
||||
/** the Link Property with sub elements
|
||||
* This property links an object and a defined sequence of
|
||||
* sub elements. These subelements (like Edges of a Shape)
|
||||
* are stored as names, which can be resolved by the
|
||||
|
||||
@@ -411,7 +411,7 @@ void ParameterGrp::SetBool(const char* Name, bool bValue)
|
||||
{
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCBool",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(bValue?"1":"0").unicodeForm());
|
||||
// trigger observer
|
||||
Notify(Name);
|
||||
@@ -476,7 +476,7 @@ void ParameterGrp::SetInt(const char* Name, long lValue)
|
||||
char cBuf[256];
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCInt",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
sprintf(cBuf,"%li",lValue);
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
|
||||
// trigger observer
|
||||
@@ -537,7 +537,7 @@ void ParameterGrp::SetUnsigned(const char* Name, unsigned long lValue)
|
||||
char cBuf[256];
|
||||
// find or create the Element
|
||||
DOMElement *pcElem = FindOrCreateElement(_pGroupNode,"FCUInt",Name);
|
||||
// and set the vaue
|
||||
// and set the value
|
||||
sprintf(cBuf,"%lu",lValue);
|
||||
pcElem->setAttribute(XStr("Value").unicodeForm(), XStr(cBuf).unicodeForm());
|
||||
// trigger observer
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
</Attribute>
|
||||
<Attribute Name="Modified" ReadOnly="true">
|
||||
<Documentation>
|
||||
<UserDocu>Returns True if the document is marked as modified, and False otherwse</UserDocu>
|
||||
<UserDocu>Returns True if the document is marked as modified, and False otherwise</UserDocu>
|
||||
</Documentation>
|
||||
<Parameter Name="Modified" Type="Boolean" />
|
||||
</Attribute>
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #5a5a5a; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ KNOWN BUGS and TO DO
|
||||
/*==================================================================================================
|
||||
Reset elements
|
||||
==================================================================================================*/
|
||||
/* Reseting everything helps to unify styles across different operating systems */
|
||||
/* Resetting everything helps to unify styles across different operating systems */
|
||||
* {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
@@ -497,7 +497,7 @@ QTabBar {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reseted as follows: */
|
||||
/* Workaround for QTabBars created from docked QDockWidgets which don't draw the border if not set and reset as follows: */
|
||||
QTabBar {
|
||||
border-top: 1px solid #d2d2d2; /* set color for all QTabBars */
|
||||
}
|
||||
|
||||
@@ -63,9 +63,9 @@ void View3DInventorViewerPy::init_type()
|
||||
add_varargs_method("seekToPoint",&View3DInventorViewerPy::seekToPoint,"seekToPoint(tuple) -> None\n"
|
||||
"Initiate a seek action towards the 3D intersection of the scene and the\n"
|
||||
"ray from the screen coordinate's point and in the same direction as the\n"
|
||||
"camera is pointing. If the tuple has two entries it is interpretet as the\n"
|
||||
"camera is pointing. If the tuple has two entries it is interpreted as the\n"
|
||||
"screen coordinates xy and the intersection point with the scene is\n"
|
||||
"calculated. If three entries are given it is interpretet as the intersection\n"
|
||||
"calculated. If three entries are given it is interpreted as the intersection\n"
|
||||
"point xyz and the seek is done towards this point"
|
||||
);
|
||||
add_varargs_method("setFocalDistance",&View3DInventorViewerPy::setFocalDistance,"setFocalDistance(float) -> None\n");
|
||||
|
||||
@@ -246,7 +246,7 @@ def write_fenics_mesh_xdmf(fem_mesh_obj, outputfile, group_values_dict={}, encod
|
||||
base_geometry = ET.SubElement(base_grid, "Geometry")
|
||||
|
||||
# TODO: for the general mesh: write out topology and geometry in grid node
|
||||
# TOOD: for every marked group write own grid node with topology (ref if cells)
|
||||
# TODO: for every marked group write own grid node with topology (ref if cells)
|
||||
# geometry ref, attribute
|
||||
|
||||
#####################################
|
||||
|
||||
@@ -810,7 +810,7 @@ int MeshGeomFacet::IntersectWithFacet (const MeshGeomFacet& rclFacet,
|
||||
|
||||
// With extremely acute-angled triangles it may happen that the algorithm
|
||||
// claims an intersection but the intersection points are far outside the
|
||||
// model. So, a plausability check is to verify that the intersection points
|
||||
// model. So, a plausibility check is to verify that the intersection points
|
||||
// are inside the bounding boxes of both triangles.
|
||||
Base::BoundBox3f box1 = this->GetBoundBox();
|
||||
if (!box1.IsInBox(rclPt0) || !box1.IsInBox(rclPt1))
|
||||
|
||||
@@ -382,7 +382,7 @@ bool EarClippingTriangulator::Triangulate::Process(const std::vector<Base::Vecto
|
||||
|
||||
nv--;
|
||||
|
||||
/* resest error detection counter */
|
||||
/* reset error detection counter */
|
||||
count = 2*nv;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1205,7 +1205,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
|
||||
case mmFrenetTN:
|
||||
case mmFrenetTB:
|
||||
case mmRevolutionSection:
|
||||
case mmConcentric: {//all alignments to poing on curve
|
||||
case mmConcentric: {//all alignments to point on curve
|
||||
if (shapes.size() < 1)
|
||||
throw Base::ValueError("AttachEngine3D::calculateAttachedPlacement: no subshapes specified (need one edge, and an optional vertex).");
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ struct SuggestResult{
|
||||
std::set<eRefType> nextRefTypeHint;
|
||||
|
||||
/**
|
||||
* @brief reachableModes. List of modes that can be reached by selecing
|
||||
* @brief reachableModes. List of modes that can be reached by selecting
|
||||
* more references. Is a map, where key is the mode that can be reached,
|
||||
* and value is a list of reference sequences that can be added to reach
|
||||
* the mode (stuff already linked is omitted from these lists; only extra
|
||||
|
||||
@@ -609,7 +609,7 @@ void CmdPartDesignMoveTip::activated(int iMsg)
|
||||
doCommand(Gui,"Gui.activeDocument().show(\"%s\")", selFeature->getNameInDocument());
|
||||
}
|
||||
|
||||
// TOOD: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
|
||||
// TODO: Hide all datum features after the Tip feature? But the user might have already hidden some and wants to see
|
||||
// others, so we would have to remember their state somehow
|
||||
updateActive();
|
||||
}
|
||||
|
||||
@@ -639,7 +639,7 @@ void TaskBoxPrimitives::setPrimitive(QString name)
|
||||
|
||||
// Execute the Python block
|
||||
// No need to open a transaction because this is already done in the command
|
||||
// class or when starting to edit a primitve.
|
||||
// class or when starting to edit a primitive.
|
||||
Gui::Command::runCommand(Gui::Command::Doc, cmd.toUtf8());
|
||||
Gui::Command::runCommand(Gui::Command::Doc, "App.ActiveDocument.recompute()");
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ protected Q_SLOTS:
|
||||
PartDesignGui::ViewProviderTransformed *getTopTransformedView () const;
|
||||
|
||||
/**
|
||||
* Returns the base transformated object
|
||||
* Returns the base transformed object
|
||||
* For stand alone features it will be objects associated with this object
|
||||
* For features inside multitransform it will be the base multitransform object
|
||||
*/
|
||||
|
||||
@@ -3213,7 +3213,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
|
||||
(pstart.*setter)(resume_height);
|
||||
|
||||
gp_Pnt plast,p;
|
||||
// initial vertial rapid pull up to retraction (or start Z height if higher)
|
||||
// initial vertical rapid pull up to retraction (or start Z height if higher)
|
||||
(p.*setter)(std::max(retraction,(pstart.*getter)()));
|
||||
addGCode(false,path,plast,p,"G0");
|
||||
plast = p;
|
||||
@@ -3225,7 +3225,7 @@ void Area::toPath(Toolpath &path, const std::list<TopoDS_Shape> &shapes,
|
||||
plast = p;
|
||||
p = pstart;
|
||||
}
|
||||
// vertial rapid down to feed start
|
||||
// vertical rapid down to feed start
|
||||
addGCode(false,path,plast,p,"G0");
|
||||
|
||||
plast = p;
|
||||
|
||||
@@ -69,7 +69,7 @@ namespace geoff_geometry {
|
||||
bool bClosed = Closed();
|
||||
int nspans = nSpans();
|
||||
if(bClosed) {
|
||||
Get(nspans, curSpan, true); // assign previus span for closed
|
||||
Get(nspans, curSpan, true); // assign previous span for closed
|
||||
|
||||
prevSpanOff = curSpan.Offset(offset);
|
||||
nspans++; // read first again
|
||||
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
void step(double tick);
|
||||
void setToWaypoint(unsigned int n);
|
||||
void setToTime(float t);
|
||||
// apply the start axis angles and set to time 0. Restors the exact start position
|
||||
// apply the start axis angles and set to time 0. Restores the exact start position
|
||||
void reset(void);
|
||||
|
||||
double Pos;
|
||||
|
||||
@@ -115,7 +115,7 @@ void GraphicsView::resizeEvent(QResizeEvent *event)
|
||||
//QDialog *dialog = new QDialog(0, Qt::Window | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
|
||||
|
||||
////dialog->setWindowOpacity(0.8);
|
||||
//dialog->setWindowTitle(tr("Titel"));
|
||||
//dialog->setWindowTitle(tr("Title"));
|
||||
//dialog->setLayout(new QVBoxLayout);
|
||||
//dialog->layout()->addWidget(new QLabel(tr("Use mouse wheel to zoom model, and click and drag to rotate model")));
|
||||
//dialog->layout()->addWidget(new QLabel(tr("Move the sun around to change the light position")));
|
||||
|
||||
@@ -832,7 +832,7 @@ class SpreadsheetView(QtGui.QWidget):
|
||||
self.table.item(r,c).setBackground(brush)
|
||||
|
||||
def changeCell(self,r,c,value=None):
|
||||
"changes the contens of a cell"
|
||||
"changes the contents of a cell"
|
||||
if self.doNotChange:
|
||||
if DEBUG: print("DoNotChange flag is set")
|
||||
self.doNotChange = False
|
||||
|
||||
@@ -166,7 +166,7 @@ void DrawViewDimension::onChanged(const App::Property* prop)
|
||||
}
|
||||
if (prop == &Arbitrary) {
|
||||
if (!Arbitrary.getValue()) {
|
||||
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a useable FormatSpec
|
||||
FormatSpec.setValue(getDefaultFormatSpec().c_str()); //restore a usable FormatSpec
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user