source typo fixes pt5
+ cleaning up some more non-short-URLs Issue #2914
This commit is contained in:
@@ -352,7 +352,7 @@ class MacroWorker(QtCore.QThread):
|
||||
self.info_label.emit("Downloading list of macros...")
|
||||
self.progressbar_show.emit(True)
|
||||
macropath = FreeCAD.ParamGet('User parameter:BaseApp/Preferences/Macro').GetString("MacroPath",os.path.join(FreeCAD.ConfigGet("UserAppData"),"Macro"))
|
||||
u = urllib2.urlopen("http://www.freecadweb.org/wiki/index.php?title=Macros_recipes")
|
||||
u = urllib2.urlopen("http://www.freecadweb.org/wiki/Macros_recipes")
|
||||
p = u.read()
|
||||
u.close()
|
||||
macros = re.findall("title=\"(Macro.*?)\"",p)
|
||||
@@ -428,7 +428,7 @@ class ShowMacroWorker(QtCore.QThread):
|
||||
mac = self.macros[self.idx][0].replace(" ","_")
|
||||
mac = mac.replace("&","%26")
|
||||
mac = mac.replace("+","%2B")
|
||||
url = "http://www.freecadweb.org/wiki/index.php?title=Macro_"+mac
|
||||
url = "http://www.freecadweb.org/wiki/Macro_"+mac
|
||||
self.info_label.emit("Retrieving info from " + str(url))
|
||||
u = urllib2.urlopen(url)
|
||||
p = u.read()
|
||||
|
||||
@@ -129,7 +129,7 @@ class _CutPlaneTaskPanel:
|
||||
def retranslateUi(self, TaskPanel):
|
||||
TaskPanel.setWindowTitle(QtGui.QApplication.translate("Arch", "Cut Plane", None))
|
||||
self.title.setText(QtGui.QApplication.translate("Arch", "Cut Plane options", None))
|
||||
self.infoText.setText(QtGui.QApplication.translate("Arch", "Wich side to cut", None))
|
||||
self.infoText.setText(QtGui.QApplication.translate("Arch", "Which side to cut", None))
|
||||
self.combobox.addItems([QtGui.QApplication.translate("Arch", "Behind", None),
|
||||
QtGui.QApplication.translate("Arch", "Front", None)])
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ if FreeCAD.GuiUp:
|
||||
from PySide import QtCore, QtGui
|
||||
from DraftTools import translate
|
||||
|
||||
__title__ = "Arch Material Managment"
|
||||
__title__ = "Arch Material Management"
|
||||
__author__ = "Yorik van Havre"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ def makeStructure(baseobj=None,length=None,width=None,height=None,name="Structur
|
||||
obj.Length = length
|
||||
else:
|
||||
if not baseobj:
|
||||
# don't set the length if we have a base object, otherwise the lenght X height calc
|
||||
# don't set the length if we have a base object, otherwise the length X height calc
|
||||
# gets wrong
|
||||
obj.Length = p.GetFloat("StructureLength",100)
|
||||
if obj.Height > obj.Length:
|
||||
|
||||
@@ -356,7 +356,7 @@ class Renderer:
|
||||
return 0
|
||||
if DEBUG: print("failed, faces bboxes are not distinct")
|
||||
|
||||
# test 2: if Z bounds dont overlap, it's easy to know the closest
|
||||
# test 2: if Z bounds don't overlap, it's easy to know the closest
|
||||
if DEBUG: print("doing test 2")
|
||||
if b1.ZMax < b2.ZMin:
|
||||
return 2
|
||||
|
||||
@@ -1457,7 +1457,7 @@ class IfcSchema:
|
||||
entity["supertype"] = subtypeofmatch.groups()[0].upper() if subtypeofmatch else None
|
||||
|
||||
# find the shortest string matched from the end of the entity type header to the
|
||||
# first occurence of a NO_ATTR string (when it occurs on a new line)
|
||||
# first occurrence of a NO_ATTR string (when it occurs on a new line)
|
||||
inner_str = re.search(";(.*?)$", raw_entity_str, re.DOTALL).groups()[0]
|
||||
|
||||
attrs_str = min([inner_str.partition("\r\n "+a)[0] for a in self.NO_ATTR])
|
||||
|
||||
@@ -185,7 +185,7 @@ void Workbench::activated()
|
||||
"Use for <b>testing purpose only!</b> The object structure is still changing.<br>"
|
||||
"You might not be able to load your work in a newer Version of FreeCAD. <br><br>"
|
||||
"For further information see the Assembly project page:<br>"
|
||||
" <a href=\"http://www.freecadweb.org/wiki/index.php?title=Assembly_project\">http://www.freecadweb.org/wiki/index.php?title=Assembly_project</a> <br>"
|
||||
" <a href=\"http://www.freecadweb.org/wiki/Assembly_project\">http://www.freecadweb.org/wiki/Assembly_project</a> <br>"
|
||||
"Or the Assembly dedicated portion of our forum:<br>"
|
||||
" <a href=\"http://forum.freecadweb.org/viewforum.php?f=20&sid=2a1a326251c44576f450739e4a74c37d\">http://forum.freecadweb.org/</a> <br>"
|
||||
),
|
||||
|
||||
@@ -129,7 +129,7 @@ def getPoint(target,args,mobile=False,sym=False,workingplane=True,noTracker=Fals
|
||||
if mobile=True, the constraining occurs from the location of
|
||||
mouse cursor when Shift is pressed, otherwise from last entered
|
||||
point. If sym=True, x and y values stay always equal. If workingplane=False,
|
||||
the point wont be projected on the Working Plane. if noTracker is True, the
|
||||
the point won't be projected on the Working Plane. if noTracker is True, the
|
||||
tracking line will not be displayed
|
||||
'''
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@
|
||||
* an example of using tuple, and the more complex example #PARAM_ENUM_CONVERT
|
||||
*
|
||||
* Note that when generating comma separated list, the first and last comma are
|
||||
* conveniently omited, so that the macros can be mixed with others intuitively
|
||||
* conveniently omitted, so that the macros can be mixed with others intuitively
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/cat.hpp>
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
2D shapes, and use them as guides to build architecutral \
|
||||
objects.</p>')"
|
||||
onMouseout="show('')"
|
||||
href="ArchDesign.py">Architectual Design</a></li>
|
||||
href="ArchDesign.py">Architectural Design</a></li>
|
||||
<li><a onMouseover="show('<p>The <b>Mesh Workbench</b> is used to work with \
|
||||
Mesh objects. Meshes are simpler 3D objects than Part objects, \
|
||||
but they are often easier to import and export to/from other \
|
||||
|
||||
@@ -139,7 +139,7 @@ protected:
|
||||
|
||||
/// Annoying helper - keep in sync with DrawProjGroupItem::TypeEnums
|
||||
/*!
|
||||
* \todo {See note regarding App::PropertyEnumeration on my wiki page http://freecadweb.org/wiki/index.php?title=User:Ian.rees}
|
||||
* \todo {See note regarding App::PropertyEnumeration on my wiki page http://freecadweb.org/wiki/User:Ian.rees}
|
||||
* \return true iff 'in' is a valid name for an orthographic/isometric view
|
||||
*/
|
||||
bool checkViewProjType(const char *in);
|
||||
|
||||
Reference in New Issue
Block a user